Bug 1591736 - Fix AddonManagerWebAPI::IsAPIEnabled in out-of-process iframes r=mixedpuppy
[gecko.git] / layout / mathml / nsMathMLsemanticsFrame.h
blob148c0f5697e52d73858d52036069e834453ab403
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"
13 namespace mozilla {
14 class PresShell;
15 } // namespace mozilla
18 // <semantics> -- associate annotations with a MathML expression
21 class nsMathMLsemanticsFrame final : public nsMathMLSelectedFrame {
22 public:
23 NS_DECL_FRAMEARENA_HELPERS(nsMathMLsemanticsFrame)
25 friend nsIFrame* NS_NewMathMLsemanticsFrame(mozilla::PresShell* aPresShell,
26 ComputedStyle* aStyle);
28 protected:
29 explicit nsMathMLsemanticsFrame(ComputedStyle* aStyle,
30 nsPresContext* aPresContext)
31 : nsMathMLSelectedFrame(aStyle, aPresContext, kClassID) {}
32 virtual ~nsMathMLsemanticsFrame();
34 nsIFrame* GetSelectedFrame() override;
37 #endif /* nsMathMLsemanticsFrame_h___ */