layout/forms/nsGfxRadioControlFrame.h
author Steve Fink <sfink@mozilla.com>
Thu, 05 Feb 2015 10:43:51 -0800
changeset 227957 ad796c7bd98a82e7c70a9fe61acbfe1078e67f70
parent 202858 9d4e083655b993f73ba3eca84e0f14cdd270bcda
child 234933 ac4464790ec4896a5188fa50cfc69ae0ffeddc08
permissions -rw-r--r--
Bug 1129314 - On OOM, abort the stats collection entirely, r=terrence

/* -*- 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 nsGfxRadioControlFrame_h___
#define nsGfxRadioControlFrame_h___

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


// nsGfxRadioControlFrame

class nsGfxRadioControlFrame : public nsFormControlFrame
{
public:
  explicit nsGfxRadioControlFrame(nsStyleContext* aContext);
  ~nsGfxRadioControlFrame();

  NS_DECL_FRAMEARENA_HELPERS

#ifdef ACCESSIBILITY
  virtual mozilla::a11y::AccType AccessibleType() MOZ_OVERRIDE;
#endif

  virtual void BuildDisplayList(nsDisplayListBuilder*   aBuilder,
                                const nsRect&           aDirtyRect,
                                const nsDisplayListSet& aLists) MOZ_OVERRIDE;
};

#endif