OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ | 5 #ifndef UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |
6 #define UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ | 6 #define UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |
7 | 7 |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "ui/views/controls/button/checkbox.h" | 9 #include "ui/views/controls/button/checkbox.h" |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 // Overridden from View: | 23 // Overridden from View: |
24 virtual const char* GetClassName() const OVERRIDE; | 24 virtual const char* GetClassName() const OVERRIDE; |
25 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; | 25 virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; |
26 virtual View* GetSelectedViewForGroup(int group) OVERRIDE; | 26 virtual View* GetSelectedViewForGroup(int group) OVERRIDE; |
27 virtual bool IsGroupFocusTraversable() const OVERRIDE; | 27 virtual bool IsGroupFocusTraversable() const OVERRIDE; |
28 virtual void OnFocus() OVERRIDE; | 28 virtual void OnFocus() OVERRIDE; |
29 | 29 |
30 // Overridden from Button: | 30 // Overridden from Button: |
31 virtual void NotifyClick(const ui::Event& event) OVERRIDE; | 31 virtual void NotifyClick(const ui::Event& event) OVERRIDE; |
32 | 32 |
33 // Overridden from LabelButton: | 33 // Overridden from TextButtonBase: |
34 virtual ui::NativeTheme::Part GetThemePart() const OVERRIDE; | 34 virtual ui::NativeTheme::Part GetThemePart() const OVERRIDE; |
35 | 35 |
36 // Overridden from Checkbox: | 36 // Overridden from Checkbox: |
37 virtual void SetChecked(bool checked) OVERRIDE; | 37 virtual void SetChecked(bool checked) OVERRIDE; |
38 | 38 |
39 private: | 39 private: |
40 DISALLOW_COPY_AND_ASSIGN(RadioButton); | 40 DISALLOW_COPY_AND_ASSIGN(RadioButton); |
41 }; | 41 }; |
42 | 42 |
43 } // namespace views | 43 } // namespace views |
44 | 44 |
45 #endif // UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ | 45 #endif // UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |
OLD | NEW |