layout/generic/nsGridContainerFrame.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     2 /* vim: set ts=2 et sw=2 tw=80: */
     4 /* This Source Code is subject to the terms of the Mozilla Public License
     5  * version 2.0 (the "License"). You can obtain a copy of the License at
     6  * http://mozilla.org/MPL/2.0/. */
     8 /* rendering object for CSS "display: grid" */
    10 #ifndef nsGridContainerFrame_h___
    11 #define nsGridContainerFrame_h___
    13 #include "nsContainerFrame.h"
    15 nsIFrame* NS_NewGridContainerFrame(nsIPresShell* aPresShell,
    16                                    nsStyleContext* aContext);
    18 typedef nsContainerFrame nsGridContainerFrameSuper;
    20 class nsGridContainerFrame : public nsGridContainerFrameSuper {
    22   NS_DECL_FRAMEARENA_HELPERS
    23   NS_DECL_QUERYFRAME_TARGET(nsGridContainerFrame)
    24   NS_DECL_QUERYFRAME
    26   // Factory method:
    27   friend nsIFrame* NS_NewGridContainerFrame(nsIPresShell* aPresShell,
    28                                             nsStyleContext* aContext);
    30 public:
    31   // nsIFrame overrides
    32   virtual nsIAtom* GetType() const MOZ_OVERRIDE;
    33 #ifdef DEBUG_FRAME_DUMP
    34   virtual nsresult GetFrameName(nsAString& aResult) const MOZ_OVERRIDE;
    35 #endif
    37 protected:
    38   // Protected constructor & destructor
    39   nsGridContainerFrame(nsStyleContext* aContext) : nsGridContainerFrameSuper(aContext) {}
    40   virtual ~nsGridContainerFrame();
    41 };
    43 #endif /* nsGridContainerFrame_h___ */

mercurial