| 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 #include "base/gfx/native_widget_types.h" | 8 #include "app/gfx/native_widget_types.h" |
| 9 | 9 |
| 10 namespace views { | 10 namespace views { |
| 11 | 11 |
| 12 class Checkbox; | 12 class Checkbox; |
| 13 class NativeButton; | 13 class NativeButton; |
| 14 class RadioButton; | 14 class RadioButton; |
| 15 class View; | 15 class View; |
| 16 | 16 |
| 17 // A specialization of NativeControlWrapper that hosts a platform-native button. | 17 // A specialization of NativeControlWrapper that hosts a platform-native button. |
| 18 class NativeButtonWrapper { | 18 class NativeButtonWrapper { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 // Creates an appropriate NativeButtonWrapper for the platform. | 64 // Creates an appropriate NativeButtonWrapper for the platform. |
| 65 static NativeButtonWrapper* CreateNativeButtonWrapper(NativeButton* button); | 65 static NativeButtonWrapper* CreateNativeButtonWrapper(NativeButton* button); |
| 66 static NativeButtonWrapper* CreateCheckboxWrapper(Checkbox* checkbox); | 66 static NativeButtonWrapper* CreateCheckboxWrapper(Checkbox* checkbox); |
| 67 static NativeButtonWrapper* CreateRadioButtonWrapper( | 67 static NativeButtonWrapper* CreateRadioButtonWrapper( |
| 68 RadioButton* radio_button); | 68 RadioButton* radio_button); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace views | 71 } // namespace views |
| 72 | 72 |
| 73 #endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ | 73 #endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ |
| OLD | NEW |