layout/mathml/nsMathMLsemanticsFrame.h
author Nicholas Nethercote <nnethercote@mozilla.com>
Thu, 29 May 2014 22:40:33 -0700
changeset 206102 038794b1a5bc9886976d9eac1d626f7b31e027b3
parent 145677 761fa2e9b325d905f3273c59b7257e3716f5afff
child 225756 9d4e083655b993f73ba3eca84e0f14cdd270bcda
permissions -rw-r--r--
Bug 1014377 - Convert the first quarter of MFBT to Gecko style. r=froydnj.

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 : public nsMathMLSelectedFrame {
public:
  NS_DECL_FRAMEARENA_HELPERS

  friend nsIFrame* NS_NewMathMLsemanticsFrame(nsIPresShell* aPresShell,
                                              nsStyleContext* aContext);

protected:
  nsMathMLsemanticsFrame(nsStyleContext* aContext) :
    nsMathMLSelectedFrame(aContext) {}
  virtual ~nsMathMLsemanticsFrame();

  nsIFrame* GetSelectedFrame() MOZ_OVERRIDE;
};

#endif /* nsMathMLsemanticsFrame_h___ */