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

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

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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) 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_GTK_H_ 5 #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_GTK_H_
6 #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_GTK_H_ 6 #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "app/gtk_signal.h" 9 #include "ui/base/gtk/gtk_signal.h"
10 #include "views/controls/button/native_button_wrapper.h" 10 #include "views/controls/button/native_button_wrapper.h"
11 #include "views/controls/native_control_gtk.h" 11 #include "views/controls/native_control_gtk.h"
12 12
13 namespace views { 13 namespace views {
14 14
15 // A View that hosts a native GTK button. 15 // A View that hosts a native GTK button.
16 class NativeButtonGtk : public NativeControlGtk, public NativeButtonWrapper { 16 class NativeButtonGtk : public NativeControlGtk, public NativeButtonWrapper {
17 public: 17 public:
18 explicit NativeButtonGtk(NativeButton* native_button); 18 explicit NativeButtonGtk(NativeButton* native_button);
19 virtual ~NativeButtonGtk(); 19 virtual ~NativeButtonGtk();
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void SetGroupFrom(NativeButtonWrapper* wrapper); 105 void SetGroupFrom(NativeButtonWrapper* wrapper);
106 // Invoked when the radio button's state is changed. 106 // Invoked when the radio button's state is changed.
107 void OnToggled(); 107 void OnToggled();
108 108
109 DISALLOW_COPY_AND_ASSIGN(NativeRadioButtonGtk); 109 DISALLOW_COPY_AND_ASSIGN(NativeRadioButtonGtk);
110 }; 110 };
111 111
112 } // namespace views 112 } // namespace views
113 113
114 #endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_GTK_H_ 114 #endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_GTK_H_
OLDNEW
« no previous file with comments | « views/accessibility/view_accessibility.cc ('k') | views/controls/combobox/native_combobox_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698