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

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

Issue 2808823002: MacViews: Allows the toolkit-views Manage Passwords Dialog to be used (Closed)
Patch Set: MacViews: Allows the toolkit-views Manage Passwords Dialog to be used (rebase) Created 3 years, 8 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_bubble_delegate_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h b/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h
index c83cd4314e09be680995ac25bf090640ef2e58f3..453d7e0cf215ca07d4e9479a3d5c3e416b27b702 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h
@@ -34,6 +34,15 @@ class LocationBarBubbleDelegateView : public views::BubbleDialogDelegateView,
AUTOMATIC,
};
+ // Constructs LocationBarBubbleDelegateView. Anchors the bubble to
+ // |anchor_view| when it is not nullptr or alternatively, to |anchor_point|.
+ // Registers with a fullscreen controller identified by |web_contents| to
+ // close the bubble if the fullscreen state changes.
+ LocationBarBubbleDelegateView(views::View* anchor_view,
+ const gfx::Point& anchor_point,
+ content::WebContents* web_contents);
+
+ // TODO(varkha): Delete this override and use the constructor above.
LocationBarBubbleDelegateView(views::View* anchor_view,
content::WebContents* web_contents);
~LocationBarBubbleDelegateView() override;

Powered by Google App Engine
This is Rietveld 408576698