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

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: Removed the unnecessary command 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..dadfe51b247b1f23496a08709f37aa19e2f06ec9 100644
--- a/chrome/browser/ui/views/location_bar/bubble_icon_view.h
+++ b/chrome/browser/ui/views/location_bar/bubble_icon_view.h
@@ -27,6 +27,9 @@ class BubbleIconView : public views::ImageView {
// Invoked prior to executing the command.
virtual void OnExecuting(ExecuteSource execute_source) = 0;
+ // Invoked when the mouse pressed event is ignored.
+ virtual void OnMousePressedIgnored() {}
Mike West 2014/07/22 12:08:40 Nit: How about 'OnMousePressSuppressed()' for cons
vasilii 2014/07/22 14:18:51 Done.
+
// views::ImageView:
virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE;
virtual bool GetTooltipText(const gfx::Point& p, base::string16* tooltip)

Powered by Google App Engine
This is Rietveld 408576698