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

Unified Diff: chrome/browser/cocoa/location_bar/star_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
« no previous file with comments | « chrome/browser/cocoa/location_bar/page_action_decoration.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/location_bar/star_decoration.h
diff --git a/chrome/browser/cocoa/location_bar/star_decoration.h b/chrome/browser/cocoa/location_bar/star_decoration.h
index e39f9a805eb914dc46d9188f64d0a2bb442c8f7a..6fbe91d1210958dd7310e5ba318f239d162e8a95 100644
--- a/chrome/browser/cocoa/location_bar/star_decoration.h
+++ b/chrome/browser/cocoa/location_bar/star_decoration.h
@@ -26,6 +26,7 @@ class StarDecoration : public ImageDecoration {
NSPoint GetBubblePointInFrame(NSRect frame);
// Implement |LocationBarDecoration|.
+ virtual bool AcceptsMousePress() { return true; }
virtual bool OnMousePressed(NSRect frame);
virtual NSString* GetToolTip();
« no previous file with comments | « chrome/browser/cocoa/location_bar/page_action_decoration.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698