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

Side by Side Diff: views/controls/native_control_gtk.h

Issue 231022: Reverting 27113. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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/native_control.cc ('k') | views/controls/native_control_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Deleted: svn:eol-style
- LF
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_NATIVE_CONTROL_GTK_H_ 5 #ifndef VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_
6 #define VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_ 6 #define VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "views/controls/native/native_view_host.h" 10 #include "views/controls/native/native_view_host.h"
(...skipping 18 matching lines...) Expand all
29 // valid Widget. The NativeControlGtk should use this opportunity to create 29 // valid Widget. The NativeControlGtk should use this opportunity to create
30 // its associated GtkWidget. 30 // its associated GtkWidget.
31 virtual void CreateNativeControl() = 0; 31 virtual void CreateNativeControl() = 0;
32 32
33 // MUST be called by the subclass implementation of |CreateNativeControl| 33 // MUST be called by the subclass implementation of |CreateNativeControl|
34 // immediately after creating the control GtkWidget, otherwise it won't be 34 // immediately after creating the control GtkWidget, otherwise it won't be
35 // attached to the GtkView and will be effectively orphaned. 35 // attached to the GtkView and will be effectively orphaned.
36 virtual void NativeControlCreated(GtkWidget* widget); 36 virtual void NativeControlCreated(GtkWidget* widget);
37 37
38 private: 38 private:
39 static void CallFocusIn(GtkWidget* widget,
40 GdkEventFocus* event,
41 NativeControlGtk* button);
42
39 DISALLOW_COPY_AND_ASSIGN(NativeControlGtk); 43 DISALLOW_COPY_AND_ASSIGN(NativeControlGtk);
40 }; 44 };
41 45
42 } // namespace views 46 } // namespace views
43 47
44 #endif // #ifndef VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_ 48 #endif // #ifndef VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_
OLDNEW
« no previous file with comments | « views/controls/native_control.cc ('k') | views/controls/native_control_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698