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

Unified Diff: chrome/browser/cocoa/location_bar/location_icon_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/location_icon_decoration.h
diff --git a/chrome/browser/cocoa/location_bar/location_icon_decoration.h b/chrome/browser/cocoa/location_bar/location_icon_decoration.h
index 18952d29e8c7e6e90bda5638ff6cd30d99c27f50..9d705a8f74458ef6c620b576b4fa14cc5e6ffe65 100644
--- a/chrome/browser/cocoa/location_bar/location_icon_decoration.h
+++ b/chrome/browser/cocoa/location_bar/location_icon_decoration.h
@@ -26,6 +26,7 @@ class LocationIconDecoration : public ImageDecoration {
// Show the page info panel on click.
virtual bool OnMousePressed(NSRect frame);
+ virtual bool AcceptsMousePress() { return true; }
private:
// The location bar view that owns us.

Powered by Google App Engine
This is Rietveld 408576698