layout/forms/nsLegendFrame.h

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #ifndef nsLegendFrame_h___
     7 #define nsLegendFrame_h___
     9 #include "mozilla/Attributes.h"
    10 #include "nsBlockFrame.h"
    12 class nsLegendFrame : public nsBlockFrame {
    13 public:
    14   NS_DECL_QUERYFRAME_TARGET(nsLegendFrame)
    15   NS_DECL_QUERYFRAME
    16   NS_DECL_FRAMEARENA_HELPERS
    18   nsLegendFrame(nsStyleContext* aContext) : nsBlockFrame(aContext) {}
    20   virtual nsresult Reflow(nsPresContext*           aPresContext,
    21                           nsHTMLReflowMetrics&     aDesiredSize,
    22                           const nsHTMLReflowState& aReflowState,
    23                           nsReflowStatus&          aStatus) MOZ_OVERRIDE;
    25   virtual void DestroyFrom(nsIFrame* aDestructRoot) MOZ_OVERRIDE;
    27   virtual nsIAtom* GetType() const MOZ_OVERRIDE;
    29 #ifdef DEBUG_FRAME_DUMP
    30   virtual nsresult GetFrameName(nsAString& aResult) const MOZ_OVERRIDE;
    31 #endif
    33   int32_t GetAlign();
    34 };
    37 #endif // guard

mercurial