layout/mathml/nsMathMLmmultiscriptsFrame.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 nsMathMLmmultiscriptsFrame_h___
     7 #define nsMathMLmmultiscriptsFrame_h___
     9 #include "mozilla/Attributes.h"
    10 #include "nsMathMLContainerFrame.h"
    12 //
    13 // <mmultiscripts> -- attach prescripts and tensor indices to a base 
    14 // <msub> -- attach a subscript to a base
    15 // <msubsup> -- attach a subscript-superscript pair to a base
    16 // <msup> -- attach a superscript to a base
    17 //
    19 class nsMathMLmmultiscriptsFrame : public nsMathMLContainerFrame {
    20 public:
    21   NS_DECL_FRAMEARENA_HELPERS
    23   friend nsIFrame* NS_NewMathMLmmultiscriptsFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
    25   NS_IMETHOD
    26   TransmitAutomaticData() MOZ_OVERRIDE;
    28   virtual nsresult
    29   Place(nsRenderingContext& aRenderingContext,
    30         bool                 aPlaceOrigin,
    31         nsHTMLReflowMetrics& aDesiredSize) MOZ_OVERRIDE;
    33   static nsresult
    34   PlaceMultiScript(nsPresContext*      aPresContext,
    35                     nsRenderingContext& aRenderingContext,
    36                     bool                 aPlaceOrigin,
    37                     nsHTMLReflowMetrics& aDesiredSize,
    38                     nsMathMLContainerFrame* aForFrame,
    39                     nscoord              aUserSubScriptShift,
    40                     nscoord              aUserSupScriptShift,
    41                     nscoord              aScriptSpace);
    43   uint8_t
    44   ScriptIncrement(nsIFrame* aFrame) MOZ_OVERRIDE;
    46 protected:
    47   nsMathMLmmultiscriptsFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
    48   virtual ~nsMathMLmmultiscriptsFrame();
    51 };
    53 #endif /* nsMathMLmmultiscriptsFrame_h___ */

mercurial