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

Unified Diff: chrome/browser/ui/cocoa/location_bar/translate_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/translate_decoration.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/translate_decoration.mm b/chrome/browser/ui/cocoa/location_bar/translate_decoration.mm
index 6acf5a27a5bc14f154daa8b18b4eec5e47f1b07a..f7959d4d33948a2522b12bcdf886d059abaac77f 100644
--- a/chrome/browser/ui/cocoa/location_bar/translate_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/translate_decoration.mm
@@ -32,7 +32,7 @@ bool TranslateDecoration::AcceptsMousePress() {
return true;
}
-bool TranslateDecoration::OnMousePressed(NSRect frame) {
+bool TranslateDecoration::OnMousePressed(NSRect frame, NSPoint location) {
command_updater_->ExecuteCommand(IDC_TRANSLATE_PAGE);
return true;
}
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/translate_decoration.h ('k') | chrome/browser/ui/cocoa/location_bar/zoom_decoration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698