summaryrefslogtreecommitdiffstats
path: root/layout/forms/nsGfxRadioControlFrame.h
diff options
context:
space:
mode:
Diffstat (limited to 'layout/forms/nsGfxRadioControlFrame.h')
-rw-r--r--layout/forms/nsGfxRadioControlFrame.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/layout/forms/nsGfxRadioControlFrame.h b/layout/forms/nsGfxRadioControlFrame.h
new file mode 100644
index 000000000..f91e6b94c
--- /dev/null
+++ b/layout/forms/nsGfxRadioControlFrame.h
@@ -0,0 +1,32 @@
+/* -*- 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() override;
+#endif
+
+ virtual void BuildDisplayList(nsDisplayListBuilder* aBuilder,
+ const nsRect& aDirtyRect,
+ const nsDisplayListSet& aLists) override;
+};
+
+#endif