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

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

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.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/search_button_decoration.mm b/chrome/browser/ui/cocoa/location_bar/search_button_decoration.mm
index cf08abce64a9d47dd571de6b9b8d46c2c189676d..aa1bbba21f984f91c5822120589163cbb91bce4a 100644
--- a/chrome/browser/ui/cocoa/location_bar/search_button_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/search_button_decoration.mm
@@ -47,7 +47,7 @@ void SearchButtonDecoration::DrawInFrame(NSRect frame, NSView* control_view) {
ButtonDecoration::DrawInFrame(frame, control_view);
}
-bool SearchButtonDecoration::OnMousePressed(NSRect frame) {
+bool SearchButtonDecoration::OnMousePressed(NSRect frame, NSPoint location) {
owner_->GetOmniboxView()->model()->AcceptInput(
owner_->GetWindowOpenDisposition(), false);
return true;

Powered by Google App Engine
This is Rietveld 408576698