2007-06-12 06:10:23 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00: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 02:12:01 +00:00
|
|
|
|
|
|
|
#ifndef nsMathMLmstyleFrame_h___
|
|
|
|
#define nsMathMLmstyleFrame_h___
|
|
|
|
|
2012-09-14 16:10:08 +00:00
|
|
|
#include "mozilla/Attributes.h"
|
1999-09-21 02:12:01 +00:00
|
|
|
#include "nsCOMPtr.h"
|
|
|
|
#include "nsMathMLContainerFrame.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
// <mstyle> -- style change
|
|
|
|
//
|
|
|
|
|
|
|
|
class nsMathMLmstyleFrame : public nsMathMLContainerFrame {
|
|
|
|
public:
|
2009-09-12 16:49:24 +00:00
|
|
|
NS_DECL_FRAMEARENA_HELPERS
|
|
|
|
|
2006-03-26 21:30:36 +00:00
|
|
|
friend nsIFrame* NS_NewMathMLmstyleFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
|
1999-09-21 02:12:01 +00:00
|
|
|
|
2002-01-10 04:42:55 +00:00
|
|
|
NS_IMETHOD
|
2012-08-22 15:56:38 +00:00
|
|
|
AttributeChanged(int32_t aNameSpaceID,
|
2002-01-10 04:42:55 +00:00
|
|
|
nsIAtom* aAttribute,
|
2013-05-14 16:33:23 +00:00
|
|
|
int32_t aModType) MOZ_OVERRIDE;
|
2002-01-10 04:42:55 +00:00
|
|
|
|
1999-09-21 02:12:01 +00:00
|
|
|
NS_IMETHOD
|
2013-05-14 16:33:23 +00:00
|
|
|
InheritAutomaticData(nsIFrame* aParent) MOZ_OVERRIDE;
|
2002-02-01 15:10:50 +00:00
|
|
|
|
|
|
|
NS_IMETHOD
|
2012-09-14 16:10:08 +00:00
|
|
|
TransmitAutomaticData() MOZ_OVERRIDE;
|
1999-09-21 02:12:01 +00:00
|
|
|
|
|
|
|
NS_IMETHOD
|
2012-08-22 15:56:38 +00:00
|
|
|
UpdatePresentationData(uint32_t aFlagsValues,
|
2012-09-14 16:10:08 +00:00
|
|
|
uint32_t aFlagsToUpdate) MOZ_OVERRIDE;
|
1999-09-21 02:12:01 +00:00
|
|
|
|
|
|
|
NS_IMETHOD
|
2012-08-22 15:56:38 +00:00
|
|
|
UpdatePresentationDataFromChildAt(int32_t aFirstIndex,
|
|
|
|
int32_t aLastIndex,
|
|
|
|
uint32_t aFlagsValues,
|
2012-09-14 16:10:08 +00:00
|
|
|
uint32_t aFlagsToUpdate) MOZ_OVERRIDE;
|
1999-09-21 02:12:01 +00:00
|
|
|
|
|
|
|
protected:
|
2006-03-26 21:30:36 +00:00
|
|
|
nsMathMLmstyleFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
1999-09-21 02:12:01 +00:00
|
|
|
virtual ~nsMathMLmstyleFrame();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* nsMathMLmstyleFrame_h___ */
|