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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 2693803002: Fix position of permission bubbles anchored off the padlock. (Closed)
Patch Set: fix ternary if-else (+respond to comments) Created 3 years, 10 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/views/location_bar/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index 54f184dee8ee9070f24879a5ca1ec7f707a12e1e..16e4b021a8e236a7bc47a894c4f2549bf023cfa2 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -197,9 +197,13 @@ class LocationBarView : public LocationBar,
LocationIconView* location_icon_view() { return location_icon_view_; }
- // Return the point suitable for anchoring location-bar-anchored bubbles at.
- // The point will be returned in the coordinates of the LocationBarView.
- gfx::Point GetLocationBarAnchorPoint() const;
+ // Where InfoBar arrows should point. The point will be returned in the
+ // coordinates of the LocationBarView.
+ gfx::Point GetInfoBarAnchorPoint() const;
+
+ // The anchor view for security-related bubbles. That is, those anchored to
+ // the leading edge of the Omnibox, under the padlock.
+ views::View* GetSecurityBubbleAnchorView();
OmniboxViewViews* omnibox_view() { return omnibox_view_; }
const OmniboxViewViews* omnibox_view() const { return omnibox_view_; }
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698