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___
|
|
|
|
|
2012-09-14 20:10:08 +04:00
|
|
|
#include "mozilla/Attributes.h"
|
1999-09-21 06:12:01 +04:00
|
|
|
#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
|
2012-08-22 19:56:38 +04:00
|
|
|
AttributeChanged(int32_t aNameSpaceID,
|
2002-01-10 07:42:55 +03:00
|
|
|
nsIAtom* aAttribute,
|
2012-08-22 19:56:38 +04:00
|
|
|
int32_t 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
|
2012-09-14 20:10:08 +04:00
|
|
|
TransmitAutomaticData() MOZ_OVERRIDE;
|
1999-09-21 06:12:01 +04:00
|
|
|
|
|
|
|
NS_IMETHOD
|
2012-08-22 19:56:38 +04:00
|
|
|
UpdatePresentationData(uint32_t aFlagsValues,
|
2012-09-14 20:10:08 +04:00
|
|
|
uint32_t aFlagsToUpdate) MOZ_OVERRIDE;
|
1999-09-21 06:12:01 +04:00
|
|
|
|
|
|
|
NS_IMETHOD
|
2012-08-22 19:56:38 +04:00
|
|
|
UpdatePresentationDataFromChildAt(int32_t aFirstIndex,
|
|
|
|
int32_t aLastIndex,
|
|
|
|
uint32_t aFlagsValues,
|
2012-09-14 20:10:08 +04:00
|
|
|
uint32_t aFlagsToUpdate) MOZ_OVERRIDE;
|
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___ */
|