OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ | 5 #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ |
6 #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ | 6 #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ |
7 | 7 |
8 class ChromeFont; | |
9 | |
10 namespace views { | 8 namespace views { |
11 | 9 |
12 class Checkbox; | 10 class Checkbox; |
13 class NativeButton; | 11 class NativeButton; |
14 class RadioButton; | 12 class RadioButton; |
15 class View; | 13 class View; |
16 | 14 |
17 // A specialization of NativeControlWrapper that hosts a platform-native button. | 15 // A specialization of NativeControlWrapper that hosts a platform-native button. |
18 class NativeButtonWrapper { | 16 class NativeButtonWrapper { |
19 public: | 17 public: |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 static NativeButtonWrapper* CreateNativeButtonWrapper(NativeButton* button); | 52 static NativeButtonWrapper* CreateNativeButtonWrapper(NativeButton* button); |
55 static NativeButtonWrapper* CreateCheckboxWrapper(Checkbox* checkbox); | 53 static NativeButtonWrapper* CreateCheckboxWrapper(Checkbox* checkbox); |
56 static NativeButtonWrapper* CreateRadioButtonWrapper( | 54 static NativeButtonWrapper* CreateRadioButtonWrapper( |
57 RadioButton* radio_button); | 55 RadioButton* radio_button); |
58 | 56 |
59 }; | 57 }; |
60 | 58 |
61 } // namespace views | 59 } // namespace views |
62 | 60 |
63 #endif // #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ | 61 #endif // #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ |
OLD | NEW |