Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: views/controls/button/native_button_wrapper.h

Issue 3032024: Add undeclared virtual destructors part 2... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « views/controls/button/button.h ('k') | views/controls/combobox/native_combobox_wrapper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "gfx/native_widget_types.h" 8 #include "gfx/native_widget_types.h"
9 9
10 namespace views { 10 namespace views {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // Return the width of the button. Used for fixed size buttons (checkboxes and 60 // Return the width of the button. Used for fixed size buttons (checkboxes and
61 // radio buttons) only. 61 // radio buttons) only.
62 static int GetFixedWidth(); 62 static int GetFixedWidth();
63 63
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
70 protected:
71 virtual ~NativeButtonWrapper() {}
69 }; 72 };
70 73
71 } // namespace views 74 } // namespace views
72 75
73 #endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ 76 #endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_
OLDNEW
« no previous file with comments | « views/controls/button/button.h ('k') | views/controls/combobox/native_combobox_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698