layout/forms/nsGfxCheckboxControlFrame.h

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5 #ifndef nsGfxCheckboxControlFrame_h___
michael@0 6 #define nsGfxCheckboxControlFrame_h___
michael@0 7
michael@0 8 #include "mozilla/Attributes.h"
michael@0 9 #include "nsFormControlFrame.h"
michael@0 10
michael@0 11 class nsGfxCheckboxControlFrame : public nsFormControlFrame
michael@0 12 {
michael@0 13 public:
michael@0 14 NS_DECL_FRAMEARENA_HELPERS
michael@0 15
michael@0 16 nsGfxCheckboxControlFrame(nsStyleContext* aContext);
michael@0 17 virtual ~nsGfxCheckboxControlFrame();
michael@0 18
michael@0 19 #ifdef DEBUG_FRAME_DUMP
michael@0 20 virtual nsresult GetFrameName(nsAString& aResult) const MOZ_OVERRIDE {
michael@0 21 return MakeFrameName(NS_LITERAL_STRING("CheckboxControl"), aResult);
michael@0 22 }
michael@0 23 #endif
michael@0 24
michael@0 25 virtual void BuildDisplayList(nsDisplayListBuilder* aBuilder,
michael@0 26 const nsRect& aDirtyRect,
michael@0 27 const nsDisplayListSet& aLists) MOZ_OVERRIDE;
michael@0 28
michael@0 29 #ifdef ACCESSIBILITY
michael@0 30 virtual mozilla::a11y::AccType AccessibleType() MOZ_OVERRIDE;
michael@0 31 #endif
michael@0 32
michael@0 33 protected:
michael@0 34
michael@0 35 bool IsChecked();
michael@0 36 bool IsIndeterminate();
michael@0 37 };
michael@0 38
michael@0 39 #endif
michael@0 40

mercurial