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

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

Issue 1402363013: Update location bar bubble/icon behavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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/zoom_view.cc
diff --git a/chrome/browser/ui/views/location_bar/zoom_view.cc b/chrome/browser/ui/views/location_bar/zoom_view.cc
index 42cc9b6811628a4fc64f67a0fcf509a1fada6e62..fcde26145115736e8e42f15637e5281eec488657 100644
--- a/chrome/browser/ui/views/location_bar/zoom_view.cc
+++ b/chrome/browser/ui/views/location_bar/zoom_view.cc
@@ -48,7 +48,8 @@ void ZoomView::Update(ui_zoom::ZoomController* zoom_controller) {
}
void ZoomView::OnExecuting(BubbleIconView::ExecuteSource source) {
- ZoomBubbleView::ShowBubble(location_bar_delegate_->GetWebContents(), false);
+ ZoomBubbleView::ShowBubble(location_bar_delegate_->GetWebContents(),
+ ZoomBubbleView::USER_GESTURE);
}
void ZoomView::GetAccessibleState(ui::AXViewState* state) {

Powered by Google App Engine
This is Rietveld 408576698