OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // source code is governed by a BSD-style license that can be found in the | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // 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 |
11 namespace views { | 11 namespace views { |
12 | 12 |
13 class NativeRadioButtonGtk; | 13 class NativeRadioButtonGtk; |
(...skipping 18 matching lines...) Expand all Loading... |
32 | 32 |
33 protected: | 33 protected: |
34 virtual std::string GetClassName() const; | 34 virtual std::string GetClassName() const; |
35 | 35 |
36 // Overridden from NativeButton: | 36 // Overridden from NativeButton: |
37 virtual NativeButtonWrapper* CreateWrapper(); | 37 virtual NativeButtonWrapper* CreateWrapper(); |
38 | 38 |
39 private: | 39 private: |
40 friend class NativeRadioButtonGtk; | 40 friend class NativeRadioButtonGtk; |
41 | 41 |
42 // Accessor for |native_wrapper_|. | |
43 NativeButtonWrapper* native_wrapper() { return native_wrapper_; } | 42 NativeButtonWrapper* native_wrapper() { return native_wrapper_; } |
44 | 43 |
45 private: | |
46 DISALLOW_COPY_AND_ASSIGN(RadioButton); | 44 DISALLOW_COPY_AND_ASSIGN(RadioButton); |
47 }; | 45 }; |
48 | 46 |
49 } // namespace views | 47 } // namespace views |
50 | 48 |
51 #endif // #ifndef VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ | 49 #endif // VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |
OLD | NEW |