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

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

Issue 1487283005: Implement the new Sync Confirmation dialog on Linux and Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add some tests. Created 5 years 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.h
diff --git a/chrome/browser/ui/views/profiles/signin_view_controller.h b/chrome/browser/ui/views/profiles/signin_view_controller.h
index 668be1489e9e2141e059bb48dbfbc618742a1d76..bffd3be692687aff81c7e26d3ba0b5a31a8dd6ca 100644
--- a/chrome/browser/ui/views/profiles/signin_view_controller.h
+++ b/chrome/browser/ui/views/profiles/signin_view_controller.h
@@ -37,6 +37,8 @@ class SigninViewController {
profiles::BubbleViewMode mode,
Profile* profile);
+ static views::WebView* CreateSyncConfirmationWebView(Profile* profile);
+
// Shows the signin flow as a tab modal dialog attached to |browser|'s active
// web contents.
void ShowModalSignin(profiles::BubbleViewMode mode, Browser* browser);
@@ -45,6 +47,8 @@ class SigninViewController {
// SigninViewController, if one exists. Does nothing otherwise.
void CloseModalSignin();
+ void ShowModalSyncConfirmationDialog(Browser* browser);
+
// Notifies this object that it's |modal_signin_delegate_| member has become
// invalid.
void ResetModalSigninDelegate();

Powered by Google App Engine
This is Rietveld 408576698