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

Unified Diff: chrome/browser/ui/views/location_bar/bubble_icon_view.h

Issue 394403003: Close the password bubble on the icon click. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Peter's comments Created 6 years, 5 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/bubble_icon_view.h
diff --git a/chrome/browser/ui/views/location_bar/bubble_icon_view.h b/chrome/browser/ui/views/location_bar/bubble_icon_view.h
index 8133b0ffbcaff29557a162b54571f20800b412e9..6981d7a612701767ac076ef24a928ac9168f2195 100644
--- a/chrome/browser/ui/views/location_bar/bubble_icon_view.h
+++ b/chrome/browser/ui/views/location_bar/bubble_icon_view.h
@@ -38,6 +38,10 @@ class BubbleIconView : public views::ImageView {
// ui::EventHandler:
virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
+ bool suppress_mouse_released_action() const {
Peter Kasting 2014/07/23 17:58:23 Rather than add this, we could do the following, w
vasilii 2014/07/24 15:43:18 I didn't get your proposal. BubbleIconView is used
+ return suppress_mouse_released_action_;
+ }
+
private:
// The CommandUpdater for the Browser object that owns the location bar.
CommandUpdater* command_updater_;

Powered by Google App Engine
This is Rietveld 408576698