Bug 785860 - fix sts preload list tests to skip private mode tests if private browsin...
[gecko.git] / layout / forms / nsLegendFrame.h
blobf4fc309a136fff4d01fa6ef4e07a4b6cc2ee1f12
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 "nsBlockFrame.h"
11 class nsLegendFrame : public nsBlockFrame {
12 public:
13 NS_DECL_QUERYFRAME_TARGET(nsLegendFrame)
14 NS_DECL_QUERYFRAME
15 NS_DECL_FRAMEARENA_HELPERS
17 nsLegendFrame(nsStyleContext* aContext) : nsBlockFrame(aContext) {}
19 NS_IMETHOD Reflow(nsPresContext* aPresContext,
20 nsHTMLReflowMetrics& aDesiredSize,
21 const nsHTMLReflowState& aReflowState,
22 nsReflowStatus& aStatus);
24 virtual void DestroyFrom(nsIFrame* aDestructRoot);
26 virtual nsIAtom* GetType() const;
28 #ifdef DEBUG
29 NS_IMETHOD GetFrameName(nsAString& aResult) const;
30 #endif
32 int32_t GetAlign();
36 #endif // guard