Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
michael@0 | 1 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | #ifndef nsMathMLmmultiscriptsFrame_h___ |
michael@0 | 7 | #define nsMathMLmmultiscriptsFrame_h___ |
michael@0 | 8 | |
michael@0 | 9 | #include "mozilla/Attributes.h" |
michael@0 | 10 | #include "nsMathMLContainerFrame.h" |
michael@0 | 11 | |
michael@0 | 12 | // |
michael@0 | 13 | // <mmultiscripts> -- attach prescripts and tensor indices to a base |
michael@0 | 14 | // <msub> -- attach a subscript to a base |
michael@0 | 15 | // <msubsup> -- attach a subscript-superscript pair to a base |
michael@0 | 16 | // <msup> -- attach a superscript to a base |
michael@0 | 17 | // |
michael@0 | 18 | |
michael@0 | 19 | class nsMathMLmmultiscriptsFrame : public nsMathMLContainerFrame { |
michael@0 | 20 | public: |
michael@0 | 21 | NS_DECL_FRAMEARENA_HELPERS |
michael@0 | 22 | |
michael@0 | 23 | friend nsIFrame* NS_NewMathMLmmultiscriptsFrame(nsIPresShell* aPresShell, nsStyleContext* aContext); |
michael@0 | 24 | |
michael@0 | 25 | NS_IMETHOD |
michael@0 | 26 | TransmitAutomaticData() MOZ_OVERRIDE; |
michael@0 | 27 | |
michael@0 | 28 | virtual nsresult |
michael@0 | 29 | Place(nsRenderingContext& aRenderingContext, |
michael@0 | 30 | bool aPlaceOrigin, |
michael@0 | 31 | nsHTMLReflowMetrics& aDesiredSize) MOZ_OVERRIDE; |
michael@0 | 32 | |
michael@0 | 33 | static nsresult |
michael@0 | 34 | PlaceMultiScript(nsPresContext* aPresContext, |
michael@0 | 35 | nsRenderingContext& aRenderingContext, |
michael@0 | 36 | bool aPlaceOrigin, |
michael@0 | 37 | nsHTMLReflowMetrics& aDesiredSize, |
michael@0 | 38 | nsMathMLContainerFrame* aForFrame, |
michael@0 | 39 | nscoord aUserSubScriptShift, |
michael@0 | 40 | nscoord aUserSupScriptShift, |
michael@0 | 41 | nscoord aScriptSpace); |
michael@0 | 42 | |
michael@0 | 43 | uint8_t |
michael@0 | 44 | ScriptIncrement(nsIFrame* aFrame) MOZ_OVERRIDE; |
michael@0 | 45 | |
michael@0 | 46 | protected: |
michael@0 | 47 | nsMathMLmmultiscriptsFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {} |
michael@0 | 48 | virtual ~nsMathMLmmultiscriptsFrame(); |
michael@0 | 49 | |
michael@0 | 50 | |
michael@0 | 51 | }; |
michael@0 | 52 | |
michael@0 | 53 | #endif /* nsMathMLmmultiscriptsFrame_h___ */ |