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 nsMathMLmrowFrame_h___
|
|
|
|
#define nsMathMLmrowFrame_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"
|
|
|
|
|
|
|
|
//
|
|
|
|
// <mrow> -- horizontally group any number of subexpressions
|
|
|
|
//
|
|
|
|
|
|
|
|
class nsMathMLmrowFrame : 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_NewMathMLmrowFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
|
2002-02-07 07:38:08 +03:00
|
|
|
|
2006-09-19 08:43:14 +04:00
|
|
|
NS_IMETHOD
|
2012-08-22 19:56:38 +04:00
|
|
|
AttributeChanged(int32_t aNameSpaceID,
|
2006-09-19 08:43:14 +04:00
|
|
|
nsIAtom* aAttribute,
|
2012-08-22 19:56:38 +04:00
|
|
|
int32_t aModType);
|
2006-09-19 08:43:14 +04:00
|
|
|
|
1999-09-21 06:12:01 +04:00
|
|
|
NS_IMETHOD
|
2005-02-07 04:57:50 +03:00
|
|
|
InheritAutomaticData(nsIFrame* aParent);
|
1999-09-21 06:12:01 +04:00
|
|
|
|
2011-03-25 06:38:59 +03:00
|
|
|
NS_IMETHOD
|
2012-09-14 20:10:08 +04:00
|
|
|
TransmitAutomaticData() MOZ_OVERRIDE {
|
2011-03-25 06:38:59 +03:00
|
|
|
return TransmitAutomaticDataForMrowLikeElement();
|
|
|
|
}
|
|
|
|
|
1999-09-21 06:12:01 +04:00
|
|
|
protected:
|
2006-03-27 01:30:36 +04:00
|
|
|
nsMathMLmrowFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
1999-09-21 06:12:01 +04:00
|
|
|
virtual ~nsMathMLmrowFrame();
|
2002-02-07 07:38:08 +03:00
|
|
|
|
2012-08-09 11:09:40 +04:00
|
|
|
virtual int GetSkipSides() const { return 0; }
|
1999-09-21 06:12:01 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* nsMathMLmrowFrame_h___ */
|