nsMathMLsemanticsFrame.h 981 B

1234567891011121314151617181920212223242526272829303132
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #ifndef nsMathMLsemanticsFrame_h___
  6. #define nsMathMLsemanticsFrame_h___
  7. #include "mozilla/Attributes.h"
  8. #include "nsMathMLSelectedFrame.h"
  9. //
  10. // <semantics> -- associate annotations with a MathML expression
  11. //
  12. class nsMathMLsemanticsFrame : public nsMathMLSelectedFrame {
  13. public:
  14. NS_DECL_FRAMEARENA_HELPERS
  15. friend nsIFrame* NS_NewMathMLsemanticsFrame(nsIPresShell* aPresShell,
  16. nsStyleContext* aContext);
  17. protected:
  18. explicit nsMathMLsemanticsFrame(nsStyleContext* aContext) :
  19. nsMathMLSelectedFrame(aContext) {}
  20. virtual ~nsMathMLsemanticsFrame();
  21. nsIFrame* GetSelectedFrame() override;
  22. };
  23. #endif /* nsMathMLsemanticsFrame_h___ */