2007-06-12 10:10:23 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
1999-09-21 06:12:01 +04:00
|
|
|
|
|
|
|
#ifndef nsMathMLmstyleFrame_h___
|
|
|
|
#define nsMathMLmstyleFrame_h___
|
|
|
|
|
|
|
|
#include "nsCOMPtr.h"
|
|
|
|
#include "nsMathMLContainerFrame.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
// <mstyle> -- style change
|
|
|
|
//
|
|
|
|
|
|
|
|
class nsMathMLmstyleFrame : public nsMathMLContainerFrame {
|
|
|
|
public:
|
2009-09-12 20:49:24 +04:00
|
|
|
NS_DECL_FRAMEARENA_HELPERS
|
|
|
|
|
2006-03-27 01:30:36 +04:00
|
|
|
friend nsIFrame* NS_NewMathMLmstyleFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
|
1999-09-21 06:12:01 +04:00
|
|
|
|
2002-01-10 07:42:55 +03:00
|
|
|
NS_IMETHOD
|
2005-09-07 20:49:21 +04:00
|
|
|
AttributeChanged(PRInt32 aNameSpaceID,
|
2002-01-10 07:42:55 +03:00
|
|
|
nsIAtom* aAttribute,
|
2003-07-12 01:16:12 +04:00
|
|
|
PRInt32 aModType);
|
2002-01-10 07:42:55 +03:00
|
|
|
|
1999-09-21 06:12:01 +04:00
|
|
|
NS_IMETHOD
|
2005-02-07 04:57:50 +03:00
|
|
|
InheritAutomaticData(nsIFrame* aParent);
|
2002-02-01 18:10:50 +03:00
|
|
|
|
|
|
|
NS_IMETHOD
|
2005-02-07 04:57:50 +03:00
|
|
|
TransmitAutomaticData();
|
1999-09-21 06:12:01 +04:00
|
|
|
|
|
|
|
NS_IMETHOD
|
2008-01-09 12:38:28 +03:00
|
|
|
UpdatePresentationData(PRUint32 aFlagsValues,
|
2002-01-10 07:42:55 +03:00
|
|
|
PRUint32 aFlagsToUpdate);
|
1999-09-21 06:12:01 +04:00
|
|
|
|
|
|
|
NS_IMETHOD
|
2005-02-07 04:57:50 +03:00
|
|
|
UpdatePresentationDataFromChildAt(PRInt32 aFirstIndex,
|
2001-02-23 19:10:51 +03:00
|
|
|
PRInt32 aLastIndex,
|
|
|
|
PRUint32 aFlagsValues,
|
|
|
|
PRUint32 aFlagsToUpdate);
|
1999-09-21 06:12:01 +04:00
|
|
|
|
|
|
|
protected:
|
2006-03-27 01:30:36 +04:00
|
|
|
nsMathMLmstyleFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
1999-09-21 06:12:01 +04:00
|
|
|
virtual ~nsMathMLmstyleFrame();
|
|
|
|
|
2012-08-09 11:09:40 +04:00
|
|
|
virtual int GetSkipSides() const { return 0; }
|
1999-09-21 06:12:01 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* nsMathMLmstyleFrame_h___ */
|