/src/mozilla-central/layout/mathml/nsMathMLsemanticsFrame.h
Line | Count | Source (jump to first uncovered line) |
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/. */ |
6 | | |
7 | | #ifndef nsMathMLsemanticsFrame_h___ |
8 | | #define nsMathMLsemanticsFrame_h___ |
9 | | |
10 | | #include "mozilla/Attributes.h" |
11 | | #include "nsMathMLSelectedFrame.h" |
12 | | |
13 | | // |
14 | | // <semantics> -- associate annotations with a MathML expression |
15 | | // |
16 | | |
17 | | class nsMathMLsemanticsFrame final : public nsMathMLSelectedFrame |
18 | | { |
19 | | public: |
20 | | NS_DECL_FRAMEARENA_HELPERS(nsMathMLsemanticsFrame) |
21 | | |
22 | | friend nsIFrame* NS_NewMathMLsemanticsFrame(nsIPresShell* aPresShell, |
23 | | ComputedStyle* aStyle); |
24 | | |
25 | | protected: |
26 | | explicit nsMathMLsemanticsFrame(ComputedStyle* aStyle) : |
27 | 0 | nsMathMLSelectedFrame(aStyle, kClassID) {} |
28 | | virtual ~nsMathMLsemanticsFrame(); |
29 | | |
30 | | nsIFrame* GetSelectedFrame() override; |
31 | | }; |
32 | | |
33 | | #endif /* nsMathMLsemanticsFrame_h___ */ |