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

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

Issue 3041045: Merge 54839 - [Mac] Adjust browser-action and content-setting popup points... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 5 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/content_setting_decoration.h
===================================================================
--- chrome/browser/cocoa/location_bar/content_setting_decoration.h (revision 54844)
+++ chrome/browser/cocoa/location_bar/content_setting_decoration.h (working copy)
@@ -33,6 +33,11 @@
virtual NSString* GetToolTip();
private:
+ // Helper to get where the bubble point should land. Similar to
+ // |PageActionDecoration| or |StarDecoration| (|LocationBarViewMac|
+ // calls those).
+ NSPoint GetBubblePointInFrame(NSRect frame);
+
void SetToolTip(NSString* tooltip);
scoped_ptr<ContentSettingImageModel> content_setting_image_model_;

Powered by Google App Engine
This is Rietveld 408576698