layout/mathml/nsMathMLsemanticsFrame.h
author ffxbld <release@mozilla.com>
Mon, 21 Jan 2019 04:50:01 -0800
changeset 514624 e43944736829dc575bb12821f0e28bf1bc02c285
parent 508163 6f3709b3878117466168c40affa7bca0b60cf75b
child 518473 525e804dc7e63855e026be9557af15340d71455a
permissions -rw-r--r--
No bug - Tagging mozilla-central 254bd88c107271f3d1c2ca9969acc0ed507f0a8d with FIREFOX_BETA_66_BASE a=release DONTBUILD CLOSED TREE

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef nsMathMLsemanticsFrame_h___
#define nsMathMLsemanticsFrame_h___

#include "mozilla/Attributes.h"
#include "nsMathMLSelectedFrame.h"

//
// <semantics> -- associate annotations with a MathML expression
//

class nsMathMLsemanticsFrame final : public nsMathMLSelectedFrame {
 public:
  NS_DECL_FRAMEARENA_HELPERS(nsMathMLsemanticsFrame)

  friend nsIFrame* NS_NewMathMLsemanticsFrame(nsIPresShell* aPresShell,
                                              ComputedStyle* aStyle);

 protected:
  explicit nsMathMLsemanticsFrame(ComputedStyle* aStyle)
      : nsMathMLSelectedFrame(aStyle, kClassID) {}
  virtual ~nsMathMLsemanticsFrame();

  nsIFrame* GetSelectedFrame() override;
};

#endif /* nsMathMLsemanticsFrame_h___ */