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

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 (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/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..b584af2f2262b349477dd2ae28387a8472a06144 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
#include "chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h"
+#include "ui/base/ui_features.h"
namespace content {
class WebContents;
@@ -25,9 +26,11 @@ class ManagePasswordsBubbleView : public LocationBarBubbleDelegateView {
public:
static constexpr int kDesiredBubbleWidth = 370;
+#if !defined(OS_MACOSX) || BUILDFLAG(MAC_VIEWS_BROWSER)
// Shows the bubble.
static void ShowBubble(content::WebContents* web_contents,
DisplayReason reason);
+#endif
// Closes the existing bubble.
static void CloseCurrentBubble();
@@ -40,6 +43,11 @@ class ManagePasswordsBubbleView : public LocationBarBubbleDelegateView {
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