michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsMathMLsemanticsFrame_h___ michael@0: #define nsMathMLsemanticsFrame_h___ michael@0: michael@0: #include "mozilla/Attributes.h" michael@0: #include "nsMathMLSelectedFrame.h" michael@0: michael@0: // michael@0: // -- associate annotations with a MathML expression michael@0: // michael@0: michael@0: class nsMathMLsemanticsFrame : public nsMathMLSelectedFrame { michael@0: public: michael@0: NS_DECL_FRAMEARENA_HELPERS michael@0: michael@0: friend nsIFrame* NS_NewMathMLsemanticsFrame(nsIPresShell* aPresShell, michael@0: nsStyleContext* aContext); michael@0: michael@0: protected: michael@0: nsMathMLsemanticsFrame(nsStyleContext* aContext) : michael@0: nsMathMLSelectedFrame(aContext) {} michael@0: virtual ~nsMathMLsemanticsFrame(); michael@0: michael@0: nsIFrame* GetSelectedFrame() MOZ_OVERRIDE; michael@0: }; michael@0: michael@0: #endif /* nsMathMLsemanticsFrame_h___ */