OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ | 5 #ifndef VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |
6 #define VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ | 6 #define VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "views/controls/button/checkbox.h" | 9 #include "views/controls/button/checkbox.h" |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 61 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
62 virtual View* GetSelectedViewForGroup(int group_id) OVERRIDE; | 62 virtual View* GetSelectedViewForGroup(int group_id) OVERRIDE; |
63 virtual bool IsGroupFocusTraversable() const OVERRIDE; | 63 virtual bool IsGroupFocusTraversable() const OVERRIDE; |
64 virtual void OnFocus() OVERRIDE; | 64 virtual void OnFocus() OVERRIDE; |
65 | 65 |
66 // Overridden from Button: | 66 // Overridden from Button: |
67 virtual void NotifyClick(const views::Event& event) OVERRIDE; | 67 virtual void NotifyClick(const views::Event& event) OVERRIDE; |
68 | 68 |
69 // Overridden from TextButtonBase: | 69 // Overridden from TextButtonBase: |
70 virtual gfx::NativeTheme::Part GetThemePart() const OVERRIDE; | 70 virtual gfx::NativeTheme::Part GetThemePart() const OVERRIDE; |
| 71 virtual void GetExtraParams( |
| 72 gfx::NativeTheme::ExtraParams* params) const OVERRIDE; |
71 | 73 |
72 // Overridden from Checkbox: | 74 // Overridden from Checkbox: |
73 virtual void SetChecked(bool checked) OVERRIDE; | 75 virtual void SetChecked(bool checked) OVERRIDE; |
74 | 76 |
75 DISALLOW_COPY_AND_ASSIGN(RadioButton); | 77 DISALLOW_COPY_AND_ASSIGN(RadioButton); |
76 }; | 78 }; |
77 | 79 |
78 } // namespace views | 80 } // namespace views |
79 | 81 |
80 #endif // VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ | 82 #endif // VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |
OLD | NEW |