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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

Issue 12315069: Mac: Update zoom bubble UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 7 years, 10 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/location_bar/location_bar_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
index e96f6e19bcf8080fac8fe6d6a07c1e1243ef7bd4..462d1892b2306fe444fad50a77d236fb4ab933ba 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
@@ -516,7 +516,7 @@ void LocationBarViewMac::ZoomChangedForActiveTab(bool can_show_bubble) {
OnDecorationsChanged();
if (can_show_bubble && zoom_decoration_->IsVisible())
- zoom_decoration_->ShowBubble(YES);
+ zoom_decoration_->ToggleBubble(YES);
}
NSPoint LocationBarViewMac::GetActionBoxAnchorPoint() const {

Powered by Google App Engine
This is Rietveld 408576698