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

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

Issue 113123: Fleshes out WidgetGTK and WindowGTK a bit more. This is still vary... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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
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 CHROME_VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ 5 #ifndef CHROME_VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_
6 #define CHROME_VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ 6 #define CHROME_VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_
7 7
8 class ChromeFont; 8 class ChromeFont;
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 16
16 // A specialization of NativeControlWrapper that hosts a platform-native button. 17 // A specialization of NativeControlWrapper that hosts a platform-native button.
17 class NativeButtonWrapper { 18 class NativeButtonWrapper {
18 public: 19 public:
19 // Updates the native button's label from the state stored in its associated 20 // Updates the native button's label from the state stored in its associated
20 // NativeButton. 21 // NativeButton.
21 virtual void UpdateLabel() = 0; 22 virtual void UpdateLabel() = 0;
22 23
23 // Updates the native button's label font from the state stored in its 24 // Updates the native button's label font from the state stored in its
24 // associated NativeButton. 25 // associated NativeButton.
(...skipping 28 matching lines...) Expand all
53 static NativeButtonWrapper* CreateNativeButtonWrapper(NativeButton* button); 54 static NativeButtonWrapper* CreateNativeButtonWrapper(NativeButton* button);
54 static NativeButtonWrapper* CreateCheckboxWrapper(Checkbox* checkbox); 55 static NativeButtonWrapper* CreateCheckboxWrapper(Checkbox* checkbox);
55 static NativeButtonWrapper* CreateRadioButtonWrapper( 56 static NativeButtonWrapper* CreateRadioButtonWrapper(
56 RadioButton* radio_button); 57 RadioButton* radio_button);
57 58
58 }; 59 };
59 60
60 } // namespace views 61 } // namespace views
61 62
62 #endif // #ifndef CHROME_VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ 63 #endif // #ifndef CHROME_VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698