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

Unified Diff: chrome/browser/cocoa/location_bar/ev_bubble_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/ev_bubble_decoration.h
diff --git a/chrome/browser/cocoa/location_bar/ev_bubble_decoration.h b/chrome/browser/cocoa/location_bar/ev_bubble_decoration.h
index ea1697a1a414e31ee654adeb4826aa57a060d4e7..0cdd960b634fdc161362e463346e212342c1582a 100644
--- a/chrome/browser/cocoa/location_bar/ev_bubble_decoration.h
+++ b/chrome/browser/cocoa/location_bar/ev_bubble_decoration.h
@@ -29,6 +29,7 @@ class EVBubbleDecoration : public BubbleDecoration {
virtual NSPasteboard* GetDragPasteboard();
virtual NSImage* GetDragImage();
virtual bool OnMousePressed(NSRect frame);
+ virtual bool AcceptsMousePress() { return true; }
private:
LocationIconDecoration* location_icon_; // weak, owned by location bar.

Powered by Google App Engine
This is Rietveld 408576698