OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 | 10 |
11 namespace views { | 11 namespace views { |
12 | 12 |
13 class Checkbox; | 13 class Checkbox; |
14 class NativeButton; | 14 class NativeButton; |
15 class RadioButton; | 15 class RadioButton; |
16 class View; | 16 class View; |
17 | 17 |
18 // A specialization of NativeControlWrapper that hosts a platform-native button. | 18 // A specialization of NativeControlWrapper that hosts a platform-native button. |
19 class NativeButtonWrapper { | 19 class NativeButtonWrapper { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 static NativeButtonWrapper* CreateRadioButtonWrapper( | 72 static NativeButtonWrapper* CreateRadioButtonWrapper( |
73 RadioButton* radio_button); | 73 RadioButton* radio_button); |
74 | 74 |
75 protected: | 75 protected: |
76 virtual ~NativeButtonWrapper() {} | 76 virtual ~NativeButtonWrapper() {} |
77 }; | 77 }; |
78 | 78 |
79 } // namespace views | 79 } // namespace views |
80 | 80 |
81 #endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ | 81 #endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ |
OLD | NEW |