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

Unified Diff: chrome/browser/ui/gtk/browser_window_gtk.cc

Issue 23536075: Fix multiple problems with omnibox text handling across focus changes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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/ui/gtk/browser_window_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/browser_window_gtk.cc (revision 224205)
+++ chrome/browser/ui/gtk/browser_window_gtk.cc (working copy)
@@ -1244,6 +1244,10 @@
// Update all the UI bits.
UpdateTitleBar();
MaybeShowBookmarkBar(false);
+
+ // The Browser expects a platform-specific TabStripModelObserver to call
+ // OnActiveTabChanged().
+ browser_->OnActiveTabChanged(old_contents, new_contents, index, reason);
}
void BrowserWindowGtk::ActiveWindowChanged(GdkWindow* active_window) {

Powered by Google App Engine
This is Rietveld 408576698