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

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_bubble_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 (tests compile) 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/passwords/manage_passwords_bubble_view.h
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
index 170b63424089b189dac82647269cb402e80306af..081f8ffac0df9247f640f1f3e8c4baef79796b9f 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
@@ -35,11 +35,19 @@ class ManagePasswordsBubbleView : public LocationBarBubbleDelegateView {
// Makes the bubble the foreground window.
static void ActivateBubble();
+ // Returns true if a bubble is currently shown.
+ static bool IsBubbleShown();
tapted 2017/04/12 05:08:42 nit: maybe `IsBubbleShowing()` (`shown` may imply
varkha 2017/04/12 09:16:43 Done.
+
// Returns a pointer to the bubble.
static ManagePasswordsBubbleView* manage_password_bubble() {
return manage_passwords_bubble_;
}
+ ManagePasswordsBubbleView(content::WebContents* web_contents,
+ views::View* anchor_view,
+ const gfx::Point& anchor_point,
+ DisplayReason reason);
+
content::WebContents* web_contents() const;
#if defined(UNIT_TEST)
@@ -62,9 +70,6 @@ class ManagePasswordsBubbleView : public LocationBarBubbleDelegateView {
class SignInPromoView;
class UpdatePendingView;
- ManagePasswordsBubbleView(content::WebContents* web_contents,
- views::View* anchor_view,
- DisplayReason reason);
~ManagePasswordsBubbleView() override;
// LocationBarBubbleDelegateView:

Powered by Google App Engine
This is Rietveld 408576698