Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* vim: set ts=2 et sw=2 tw=80: */ |
michael@0 | 3 | |
michael@0 | 4 | /* This Source Code is subject to the terms of the Mozilla Public License |
michael@0 | 5 | * version 2.0 (the "License"). You can obtain a copy of the License at |
michael@0 | 6 | * http://mozilla.org/MPL/2.0/. */ |
michael@0 | 7 | |
michael@0 | 8 | /* rendering object for CSS "display: grid" */ |
michael@0 | 9 | |
michael@0 | 10 | #ifndef nsGridContainerFrame_h___ |
michael@0 | 11 | #define nsGridContainerFrame_h___ |
michael@0 | 12 | |
michael@0 | 13 | #include "nsContainerFrame.h" |
michael@0 | 14 | |
michael@0 | 15 | nsIFrame* NS_NewGridContainerFrame(nsIPresShell* aPresShell, |
michael@0 | 16 | nsStyleContext* aContext); |
michael@0 | 17 | |
michael@0 | 18 | typedef nsContainerFrame nsGridContainerFrameSuper; |
michael@0 | 19 | |
michael@0 | 20 | class nsGridContainerFrame : public nsGridContainerFrameSuper { |
michael@0 | 21 | |
michael@0 | 22 | NS_DECL_FRAMEARENA_HELPERS |
michael@0 | 23 | NS_DECL_QUERYFRAME_TARGET(nsGridContainerFrame) |
michael@0 | 24 | NS_DECL_QUERYFRAME |
michael@0 | 25 | |
michael@0 | 26 | // Factory method: |
michael@0 | 27 | friend nsIFrame* NS_NewGridContainerFrame(nsIPresShell* aPresShell, |
michael@0 | 28 | nsStyleContext* aContext); |
michael@0 | 29 | |
michael@0 | 30 | public: |
michael@0 | 31 | // nsIFrame overrides |
michael@0 | 32 | virtual nsIAtom* GetType() const MOZ_OVERRIDE; |
michael@0 | 33 | #ifdef DEBUG_FRAME_DUMP |
michael@0 | 34 | virtual nsresult GetFrameName(nsAString& aResult) const MOZ_OVERRIDE; |
michael@0 | 35 | #endif |
michael@0 | 36 | |
michael@0 | 37 | protected: |
michael@0 | 38 | // Protected constructor & destructor |
michael@0 | 39 | nsGridContainerFrame(nsStyleContext* aContext) : nsGridContainerFrameSuper(aContext) {} |
michael@0 | 40 | virtual ~nsGridContainerFrame(); |
michael@0 | 41 | }; |
michael@0 | 42 | |
michael@0 | 43 | #endif /* nsGridContainerFrame_h___ */ |