LCOV - code coverage report
Current view: top level - layout/mathml - nsMathMLmmultiscriptsFrame.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 3 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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/. */
       5             : 
       6             : #ifndef nsMathMLmmultiscriptsFrame_h___
       7             : #define nsMathMLmmultiscriptsFrame_h___
       8             : 
       9             : #include "mozilla/Attributes.h"
      10             : #include "nsMathMLContainerFrame.h"
      11             : 
      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             : //
      18             : 
      19             : class nsMathMLmmultiscriptsFrame : public nsMathMLContainerFrame {
      20             : public:
      21           0 :   NS_DECL_FRAMEARENA_HELPERS(nsMathMLmmultiscriptsFrame)
      22             : 
      23             :   friend nsIFrame* NS_NewMathMLmmultiscriptsFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
      24             : 
      25             :   NS_IMETHOD
      26             :   TransmitAutomaticData() override;
      27             : 
      28             :   virtual nsresult
      29             :   Place(DrawTarget*          aDrawTarget,
      30             :         bool                 aPlaceOrigin,
      31             :         ReflowOutput& aDesiredSize) override;
      32             : 
      33             :   static nsresult
      34             :   PlaceMultiScript(nsPresContext*          aPresContext,
      35             :                    DrawTarget*             aDrawTarget,
      36             :                    bool                    aPlaceOrigin,
      37             :                    ReflowOutput&    aDesiredSize,
      38             :                    nsMathMLContainerFrame* aForFrame,
      39             :                    nscoord                 aUserSubScriptShift,
      40             :                    nscoord                 aUserSupScriptShift,
      41             :                    float                   aFontSizeInflation);
      42             : 
      43             :   uint8_t
      44             :   ScriptIncrement(nsIFrame* aFrame) override;
      45             : 
      46             : protected:
      47           0 :   explicit nsMathMLmmultiscriptsFrame(nsStyleContext* aContext)
      48           0 :     : nsMathMLContainerFrame(aContext, kClassID) {}
      49             :   virtual ~nsMathMLmmultiscriptsFrame();
      50             : 
      51             : 
      52             : };
      53             : 
      54             : #endif /* nsMathMLmmultiscriptsFrame_h___ */

Generated by: LCOV version 1.13