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

Unified Diff: chrome/browser/cocoa/location_bar/page_action_decoration.h

Issue 2825048: [Mac] Allow omnibox decorations to decline mouse events. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Rohit's comment comment, and merge with content-setting change. Created 10 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/cocoa/location_bar/page_action_decoration.h
diff --git a/chrome/browser/cocoa/location_bar/page_action_decoration.h b/chrome/browser/cocoa/location_bar/page_action_decoration.h
index 17a7e3361ced2bc1f60a4b5c6cdf4677d24f2fcb..7bbf443712c5bcc228564e47bb0ea016e6f3d13f 100644
--- a/chrome/browser/cocoa/location_bar/page_action_decoration.h
+++ b/chrome/browser/cocoa/location_bar/page_action_decoration.h
@@ -50,6 +50,7 @@ class PageActionDecoration : public ImageDecoration,
NSPoint GetBubblePointInFrame(NSRect frame);
// Overridden from |LocationBarDecoration|
+ virtual bool AcceptsMousePress() { return true; }
virtual bool OnMousePressed(NSRect frame);
virtual NSString* GetToolTip();
virtual NSMenu* GetMenu();
« no previous file with comments | « chrome/browser/cocoa/location_bar/location_icon_decoration.h ('k') | chrome/browser/cocoa/location_bar/star_decoration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698