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

Unified Diff: chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h

Issue 2348423002: [Signin Error Dialog] (3/3) Added the triggering code (Closed)
Patch Set: Fix malformed function declaration on mac. Created 4 years, 3 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/profiles/signin_view_controller_delegate_views.h
diff --git a/chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h b/chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h
index 70c9665d65aa1f44f311ea41c8a88deafa203cf1..2ec0c7abc6861e99777898fc86a14ade2c410cf2 100644
--- a/chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h
+++ b/chrome/browser/ui/views/profiles/signin_view_controller_delegate_views.h
@@ -37,20 +37,24 @@ class SigninViewControllerDelegateViews : public views::DialogDelegateView,
// be called by the base class before displaying the constrained window.
SigninViewControllerDelegateViews(
SigninViewController* signin_view_controller,
- views::WebView* content_view,
+ std::unique_ptr<views::WebView> content_view,
Browser* browser,
bool wait_for_size);
// Creates the web view that contains the signin flow in |mode| using
// |profile| as the web content's profile, then sets |delegate| as the created
// web content's delegate.
- static views::WebView* CreateGaiaWebView(
+ static std::unique_ptr<views::WebView> CreateGaiaWebView(
content::WebContentsDelegate* delegate,
profiles::BubbleViewMode mode,
Browser* browser,
signin_metrics::AccessPoint access_point);
- static views::WebView* CreateSyncConfirmationWebView(Browser* browser);
+ static std::unique_ptr<views::WebView> CreateSyncConfirmationWebView(
+ Browser* browser);
+
+ static std::unique_ptr<views::WebView> CreateSigninErrorWebView(
+ Browser* browser);
// views::DialogDelegateView:
views::View* GetContentsView() override;

Powered by Google App Engine
This is Rietveld 408576698