Bumping manifests a=b2g-bump
[gecko.git] / layout / mathml / nsMathMLmunderoverFrame.h
blobed6c7dbbb241c7342f294a1f3a91bf0ee7e1fcbb
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 nsMathMLmunderoverFrame_h___
7 #define nsMathMLmunderoverFrame_h___
9 #include "mozilla/Attributes.h"
10 #include "nsMathMLContainerFrame.h"
13 // <munderover> -- attach an underscript-overscript pair to a base
16 class nsMathMLmunderoverFrame : public nsMathMLContainerFrame {
17 public:
18 NS_DECL_FRAMEARENA_HELPERS
20 friend nsIFrame* NS_NewMathMLmunderoverFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
22 virtual nsresult
23 Place(nsRenderingContext& aRenderingContext,
24 bool aPlaceOrigin,
25 nsHTMLReflowMetrics& aDesiredSize) MOZ_OVERRIDE;
27 NS_IMETHOD
28 InheritAutomaticData(nsIFrame* aParent) MOZ_OVERRIDE;
30 NS_IMETHOD
31 TransmitAutomaticData() MOZ_OVERRIDE;
33 NS_IMETHOD
34 UpdatePresentationData(uint32_t aFlagsValues,
35 uint32_t aFlagsToUpdate) MOZ_OVERRIDE;
37 virtual nsresult
38 AttributeChanged(int32_t aNameSpaceID,
39 nsIAtom* aAttribute,
40 int32_t aModType) MOZ_OVERRIDE;
42 uint8_t
43 ScriptIncrement(nsIFrame* aFrame) MOZ_OVERRIDE;
45 protected:
46 explicit nsMathMLmunderoverFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext),
47 mIncrementUnder(false),
48 mIncrementOver(false) {}
49 virtual ~nsMathMLmunderoverFrame();
51 private:
52 bool mIncrementUnder;
53 bool mIncrementOver;
57 #endif /* nsMathMLmunderoverFrame_h___ */