layout/mathml/nsMathMLSelectedFrame.h

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

     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 nsMathMLSelectedFrame_h___
     7 #define nsMathMLSelectedFrame_h___
     9 #include "nsMathMLContainerFrame.h"
    11 class nsMathMLSelectedFrame : public nsMathMLContainerFrame {
    12 public:
    13   virtual void
    14   Init(nsIContent*      aContent,
    15        nsIFrame*        aParent,
    16        nsIFrame*        aPrevInFlow) MOZ_OVERRIDE;
    18   NS_IMETHOD
    19   TransmitAutomaticData() MOZ_OVERRIDE;
    21   virtual nsresult
    22   SetInitialChildList(ChildListID     aListID,
    23                       nsFrameList&    aChildList) MOZ_OVERRIDE;
    25   virtual nsresult
    26   ChildListChanged(int32_t aModType) MOZ_OVERRIDE;
    28   virtual void BuildDisplayList(nsDisplayListBuilder*   aBuilder,
    29                                 const nsRect&           aDirtyRect,
    30                                 const nsDisplayListSet& aLists) MOZ_OVERRIDE;
    32   virtual nsresult
    33   Place(nsRenderingContext& aRenderingContext,
    34         bool                 aPlaceOrigin,
    35         nsHTMLReflowMetrics& aDesiredSize) MOZ_OVERRIDE;
    37   virtual nsresult
    38   Reflow(nsPresContext*          aPresContext,
    39          nsHTMLReflowMetrics&     aDesiredSize,
    40          const nsHTMLReflowState& aReflowState,
    41          nsReflowStatus&          aStatus) MOZ_OVERRIDE;
    43   virtual nsQueryFrame::FrameIID GetFrameId() = 0;
    45 protected:
    46   nsMathMLSelectedFrame(nsStyleContext* aContext) :
    47     nsMathMLContainerFrame(aContext) {}
    48   virtual ~nsMathMLSelectedFrame();
    50   virtual nsIFrame* GetSelectedFrame() = 0;
    51   nsIFrame*       mSelectedFrame;
    53   bool            mInvalidMarkup;
    55 private:
    56   void* operator new(size_t, nsIPresShell*) MOZ_MUST_OVERRIDE MOZ_DELETE;
    57 };
    59 #endif /* nsMathMLSelectedFrame_h___ */

mercurial