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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

Issue 10854169: Closes zoom bubble when tab is changed within a browser window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index e18b1183ad24c99b1cd562e194c0d77a7bfe3484..936ffd56a778f196c4cdd385e5f72fac5d67c381 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -412,6 +412,8 @@ void LocationBarView::Update(const WebContents* tab_for_state_restoring) {
ChromeToMobileServiceFactory::GetForProfile(profile_)->HasMobiles();
command_updater_->UpdateCommandEnabled(IDC_CHROME_TO_MOBILE_PAGE, enabled);
+ ZoomBubbleView::CloseBubble();
Peter Kasting 2012/08/15 19:19:20 Nit: Put this next to zoom_view_->Update().
Kyle Horimoto 2012/08/15 19:29:15 Done.
+
// Don't Update in app launcher mode so that the location entry does not show
// a URL or security background.
if (mode_ != APP_LAUNCHER)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698