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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_gtk.cc

Issue 194041: Making the focus remembering across tab switch work. (Closed)
Patch Set: Fix for conflicts 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
Index: chrome/browser/renderer_host/render_widget_host_view_gtk.cc
diff --git a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc
index adc109f91d5a857905cf683f8390902921496027..83c28b76ca9b6f0c12f03a2aeed3303eef4709bb 100644
--- a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc
+++ b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc
@@ -148,7 +148,7 @@ class RenderWidgetHostViewGtkWidget {
}
host_view->ShowCurrentCursor();
- host_view->GetRenderWidgetHost()->Focus();
+ host_view->GetRenderWidgetHost()->GotFocus();
// The only way to enable a GtkIMContext object is to call its focus in
// handler.
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit_view_win.cc ('k') | chrome/browser/views/frame/browser_frame_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698