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

Unified Diff: views/controls/native/native_view_host_gtk.h

Issue 214029: Adding focus to NaviteViewHost. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/native/native_view_host.cc ('k') | views/controls/native/native_view_host_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/native/native_view_host_gtk.h
===================================================================
--- views/controls/native/native_view_host_gtk.h (revision 27081)
+++ views/controls/native/native_view_host_gtk.h (working copy)
@@ -36,7 +36,6 @@
virtual void UninstallClip();
virtual void ShowWidget(int x, int y, int w, int h);
virtual void HideWidget();
- virtual void SetFocus();
private:
// Create and Destroy the GtkFixed that performs clipping on our hosted
@@ -55,9 +54,9 @@
static void CallDestroy(GtkObject* object, NativeViewHostGtk* host);
// Invoked from the 'focus-in-event' signal.
- static void CallFocusIn(GtkWidget* widget,
- GdkEventFocus* event,
- NativeViewHostGtk* button);
+ static gboolean CallFocusIn(GtkWidget* widget,
+ GdkEventFocus* event,
+ NativeViewHostGtk* button);
// Our associated NativeViewHost.
NativeViewHost* host_;
@@ -86,4 +85,3 @@
} // namespace views
#endif // VIEWS_CONTROLS_NATIVE_HOST_VIEW_GTK_H_
-
« no previous file with comments | « views/controls/native/native_view_host.cc ('k') | views/controls/native/native_view_host_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698