1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/forms/nsLegendFrame.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#ifndef nsLegendFrame_h___ 1.10 +#define nsLegendFrame_h___ 1.11 + 1.12 +#include "mozilla/Attributes.h" 1.13 +#include "nsBlockFrame.h" 1.14 + 1.15 +class nsLegendFrame : public nsBlockFrame { 1.16 +public: 1.17 + NS_DECL_QUERYFRAME_TARGET(nsLegendFrame) 1.18 + NS_DECL_QUERYFRAME 1.19 + NS_DECL_FRAMEARENA_HELPERS 1.20 + 1.21 + nsLegendFrame(nsStyleContext* aContext) : nsBlockFrame(aContext) {} 1.22 + 1.23 + virtual nsresult Reflow(nsPresContext* aPresContext, 1.24 + nsHTMLReflowMetrics& aDesiredSize, 1.25 + const nsHTMLReflowState& aReflowState, 1.26 + nsReflowStatus& aStatus) MOZ_OVERRIDE; 1.27 + 1.28 + virtual void DestroyFrom(nsIFrame* aDestructRoot) MOZ_OVERRIDE; 1.29 + 1.30 + virtual nsIAtom* GetType() const MOZ_OVERRIDE; 1.31 + 1.32 +#ifdef DEBUG_FRAME_DUMP 1.33 + virtual nsresult GetFrameName(nsAString& aResult) const MOZ_OVERRIDE; 1.34 +#endif 1.35 + 1.36 + int32_t GetAlign(); 1.37 +}; 1.38 + 1.39 + 1.40 +#endif // guard