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

Unified Diff: chrome/browser/cocoa/location_bar/location_icon_decoration.h

Issue 3461016: [Mac] Convert the page info window to a bubble. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Address nits Created 10 years, 3 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/location_icon_decoration.h
diff --git a/chrome/browser/cocoa/location_bar/location_icon_decoration.h b/chrome/browser/cocoa/location_bar/location_icon_decoration.h
index 028a0abf501f2e7deed9de4ba41c4cca1fcf5b21..4cba72ff99bc8e37826acf56cd85968c0b4df361 100644
--- a/chrome/browser/cocoa/location_bar/location_icon_decoration.h
+++ b/chrome/browser/cocoa/location_bar/location_icon_decoration.h
@@ -28,6 +28,10 @@ class LocationIconDecoration : public ImageDecoration {
return GetDrawRectInFrame(frame);
}
+ // Get the point where the page info bubble should point within the
+ // decoration's frame, in the |owner_|'s coordinates.
+ NSPoint GetBubblePointInFrame(NSRect frame);
+
// Show the page info panel on click.
virtual bool OnMousePressed(NSRect frame);
virtual bool AcceptsMousePress() { return true; }

Powered by Google App Engine
This is Rietveld 408576698