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

Unified Diff: chrome/browser/cocoa/location_bar/content_setting_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/content_setting_decoration.h
diff --git a/chrome/browser/cocoa/location_bar/content_setting_decoration.h b/chrome/browser/cocoa/location_bar/content_setting_decoration.h
index 9ff6eda2fb6a45e4ba9ce060af540105023e3e04..bba21408d56d8453bbf6735dc7e2019c833ee614 100644
--- a/chrome/browser/cocoa/location_bar/content_setting_decoration.h
+++ b/chrome/browser/cocoa/location_bar/content_setting_decoration.h
@@ -28,6 +28,7 @@ class ContentSettingDecoration : public ImageDecoration {
void UpdateFromTabContents(const TabContents* tab_contents);
// Overridden from |LocationBarDecoration|
+ virtual bool AcceptsMousePress() { return true; }
virtual bool OnMousePressed(NSRect frame);
virtual NSString* GetToolTip();

Powered by Google App Engine
This is Rietveld 408576698