~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/layout/mathml/base/src/nsMathMLmstyleFrame.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * The contents of this file are subject to the Mozilla Public
 
3
 * License Version 1.1 (the "License"); you may not use this file
 
4
 * except in compliance with the License. You may obtain a copy of
 
5
 * the License at http://www.mozilla.org/MPL/
 
6
 *
 
7
 * Software distributed under the License is distributed on an "AS
 
8
 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 
9
 * implied. See the License for the specific language governing
 
10
 * rights and limitations under the License.
 
11
 *
 
12
 * The Original Code is Mozilla MathML Project.
 
13
 *
 
14
 * The Initial Developer of the Original Code is The University Of
 
15
 * Queensland.  Portions created by The University Of Queensland are
 
16
 * Copyright (C) 1999 The University Of Queensland.  All Rights Reserved.
 
17
 *
 
18
 * Contributor(s):
 
19
 *   Roger B. Sidje <rbs@maths.uq.edu.au>
 
20
 *   David J. Fiddes <D.J.Fiddes@hw.ac.uk>
 
21
 */
 
22
 
 
23
#ifndef nsMathMLmstyleFrame_h___
 
24
#define nsMathMLmstyleFrame_h___
 
25
 
 
26
#include "nsCOMPtr.h"
 
27
#include "nsMathMLContainerFrame.h"
 
28
 
 
29
//
 
30
// <mstyle> -- style change
 
31
//
 
32
 
 
33
class nsMathMLmstyleFrame : public nsMathMLContainerFrame {
 
34
public:
 
35
  friend nsresult NS_NewMathMLmstyleFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame);
 
36
 
 
37
  NS_IMETHOD
 
38
  AttributeChanged(nsIPresContext* aPresContext,
 
39
                   nsIContent*     aContent,
 
40
                   PRInt32         aNameSpaceID,
 
41
                   nsIAtom*        aAttribute,
 
42
                   PRInt32         aModType);
 
43
 
 
44
  NS_IMETHOD
 
45
  InheritAutomaticData(nsIPresContext* aPresContext,
 
46
                       nsIFrame*       aParent);
 
47
 
 
48
  NS_IMETHOD
 
49
  TransmitAutomaticData(nsIPresContext* aPresContext);
 
50
 
 
51
  NS_IMETHOD
 
52
  UpdatePresentationData(nsIPresContext* aPresContext,
 
53
                         PRInt32         aScriptLevelIncrement,
 
54
                         PRUint32        aFlagsValues,
 
55
                         PRUint32        aFlagsToUpdate);
 
56
 
 
57
  NS_IMETHOD
 
58
  UpdatePresentationDataFromChildAt(nsIPresContext* aPresContext,
 
59
                                    PRInt32         aFirstIndex,
 
60
                                    PRInt32         aLastIndex,
 
61
                                    PRInt32         aScriptLevelIncrement,
 
62
                                    PRUint32        aFlagsValues,
 
63
                                    PRUint32        aFlagsToUpdate);
 
64
 
 
65
protected:
 
66
  nsMathMLmstyleFrame();
 
67
  virtual ~nsMathMLmstyleFrame();
 
68
 
 
69
  virtual PRIntn GetSkipSides() const { return 0; }
 
70
};
 
71
 
 
72
#endif /* nsMathMLmstyleFrame_h___ */