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

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

Issue 2834493007: MacViews: Allows the toolkit-views Zoom Dialog to be used (Closed)
Patch Set: MacViews: Allows the toolkit-views Zoom Dialog to be used (keep anchoring) Created 3 years, 8 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/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 5536a492e6f6f98592530eaa5fab5081a90c4c40..284f8672adcee772b35cd6d0e4879e2190544d6c 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -321,7 +321,8 @@ void LocationBarView::ZoomChangedForActiveTab(bool can_show_bubble) {
WebContents* web_contents = GetWebContents();
if (can_show_bubble && zoom_view_->visible() && web_contents)
- ZoomBubbleView::ShowBubble(web_contents, ZoomBubbleView::AUTOMATIC);
+ ZoomBubbleView::ShowBubble(web_contents, gfx::Point(),
+ ZoomBubbleView::AUTOMATIC);
}
void LocationBarView::SetStarToggled(bool on) {
« no previous file with comments | « chrome/browser/ui/views/browser_dialogs_views_mac.cc ('k') | chrome/browser/ui/views/location_bar/zoom_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698