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

Unified Diff: chrome/browser/ui/cocoa/location_bar/search_button_decoration.h

Issue 233623002: Shows the info bubble when the location bar icon is clicked in the origin chip. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 7 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/ui/cocoa/location_bar/search_button_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/search_button_decoration.h b/chrome/browser/ui/cocoa/location_bar/search_button_decoration.h
index ed0d486ee5cc28d6f00f518f464068a89249f966..428667e63be517698c9cb1414112a181fa36e7b0 100644
--- a/chrome/browser/ui/cocoa/location_bar/search_button_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/search_button_decoration.h
@@ -21,7 +21,7 @@ class SearchButtonDecoration : public ButtonDecoration {
// Implement |LocationBarDecoration|.
virtual CGFloat GetWidthForSpace(CGFloat width) OVERRIDE;
virtual void DrawInFrame(NSRect frame, NSView* control_view) OVERRIDE;
- virtual bool OnMousePressed(NSRect frame) OVERRIDE;
+ virtual bool OnMousePressed(NSRect frame, NSPoint location) OVERRIDE;
private:
// The control view that owns this. Weak.

Powered by Google App Engine
This is Rietveld 408576698