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

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm

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/cocoa/tabs/tab_strip_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm (revision 224205)
+++ chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm (working copy)
@@ -1401,6 +1401,10 @@
newContents->WasShown();
newContents->GetView()->RestoreFocus();
}
+
+ // The Browser expects a platform-specific TabStripModelObserver to call
+ // OnActiveTabChanged().
+ browser_->OnActiveTabChanged(oldContents, newContents, modelIndex, reason);
}
- (void)tabReplacedWithContents:(content::WebContents*)newContents

Powered by Google App Engine
This is Rietveld 408576698