1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef nsMathMLsemanticsFrame_h___
8 #define nsMathMLsemanticsFrame_h___
10 #include "mozilla/Attributes.h"
11 #include "nsMathMLSelectedFrame.h"
15 } // namespace mozilla
18 // <semantics> -- associate annotations with a MathML expression
21 class nsMathMLsemanticsFrame final
: public nsMathMLSelectedFrame
{
23 NS_DECL_FRAMEARENA_HELPERS(nsMathMLsemanticsFrame
)
25 friend nsIFrame
* NS_NewMathMLsemanticsFrame(mozilla::PresShell
* aPresShell
,
26 ComputedStyle
* aStyle
);
29 explicit nsMathMLsemanticsFrame(ComputedStyle
* aStyle
,
30 nsPresContext
* aPresContext
)
31 : nsMathMLSelectedFrame(aStyle
, aPresContext
, kClassID
) {}
32 virtual ~nsMathMLsemanticsFrame();
34 nsIFrame
* GetSelectedFrame() override
;
37 #endif /* nsMathMLsemanticsFrame_h___ */