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

Unified Diff: chrome/browser/ui/cocoa/location_bar/content_setting_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/content_setting_decoration.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
index b237a2c900d5366e239f0214749807a61d5d5140..2dc8906e550afd38158e8a0bc36cb95e0d56d927 100644
--- a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
@@ -263,7 +263,7 @@ bool ContentSettingDecoration::AcceptsMousePress() {
return true;
}
-bool ContentSettingDecoration::OnMousePressed(NSRect frame) {
+bool ContentSettingDecoration::OnMousePressed(NSRect frame, NSPoint location) {
// Get host. This should be shared on linux/win/osx medium-term.
Browser* browser = owner_->browser();
WebContents* web_contents = owner_->GetWebContents();

Powered by Google App Engine
This is Rietveld 408576698