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/macros.h" |
8 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
9 #include "ui/views/controls/button/checkbox.h" | 10 #include "ui/views/controls/button/checkbox.h" |
10 | 11 |
11 namespace views { | 12 namespace views { |
12 | 13 |
13 // A native themed class representing a radio button. This class does not use | 14 // A native themed class representing a radio button. This class does not use |
14 // platform specific objects to replicate the native platforms looks and feel. | 15 // platform specific objects to replicate the native platforms looks and feel. |
15 class VIEWS_EXPORT RadioButton : public Checkbox { | 16 class VIEWS_EXPORT RadioButton : public Checkbox { |
16 public: | 17 public: |
17 // The button's class name. | 18 // The button's class name. |
(...skipping 18 matching lines...) Expand all Loading... |
36 // Overridden from Checkbox: | 37 // Overridden from Checkbox: |
37 void SetChecked(bool checked) override; | 38 void SetChecked(bool checked) override; |
38 | 39 |
39 private: | 40 private: |
40 DISALLOW_COPY_AND_ASSIGN(RadioButton); | 41 DISALLOW_COPY_AND_ASSIGN(RadioButton); |
41 }; | 42 }; |
42 | 43 |
43 } // namespace views | 44 } // namespace views |
44 | 45 |
45 #endif // UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ | 46 #endif // UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |
OLD | NEW |