| OLD | NEW |
| 1 // Copyright (c) 2012 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 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/string16.h" | 9 #include "base/string16.h" |
| 10 #include "ui/views/controls/button/checkbox.h" | 10 #include "ui/views/controls/button/checkbox.h" |
| 11 | 11 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 25 virtual std::string GetClassName() const OVERRIDE; | 25 virtual std::string GetClassName() const OVERRIDE; |
| 26 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 26 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| 27 virtual View* GetSelectedViewForGroup(int group) OVERRIDE; | 27 virtual View* GetSelectedViewForGroup(int group) OVERRIDE; |
| 28 virtual bool IsGroupFocusTraversable() const OVERRIDE; | 28 virtual bool IsGroupFocusTraversable() const OVERRIDE; |
| 29 virtual void OnFocus() OVERRIDE; | 29 virtual void OnFocus() OVERRIDE; |
| 30 | 30 |
| 31 // Overridden from Button: | 31 // Overridden from Button: |
| 32 virtual void NotifyClick(const views::Event& event) OVERRIDE; | 32 virtual void NotifyClick(const views::Event& event) OVERRIDE; |
| 33 | 33 |
| 34 // Overridden from TextButtonBase: | 34 // Overridden from TextButtonBase: |
| 35 virtual ui::NativeTheme::Part GetThemePart() const OVERRIDE; | 35 virtual gfx::NativeTheme::Part GetThemePart() const OVERRIDE; |
| 36 | 36 |
| 37 // Overridden from Checkbox: | 37 // Overridden from Checkbox: |
| 38 virtual void SetChecked(bool checked) OVERRIDE; | 38 virtual void SetChecked(bool checked) OVERRIDE; |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 DISALLOW_COPY_AND_ASSIGN(RadioButton); | 41 DISALLOW_COPY_AND_ASSIGN(RadioButton); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace views | 44 } // namespace views |
| 45 | 45 |
| 46 #endif // UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ | 46 #endif // UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |
| OLD | NEW |