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

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

Issue 2619963003: Change the views sign-in dialog to be tab modal. (Closed)
Patch Set: Created 3 years, 11 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 64c9e7533d4663389a33814dfa932d1d3f9ab775..98fac86b2bc380abac92d61d7b546f9f7d41190b 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
@@ -38,6 +38,7 @@ class SigninViewControllerDelegateViews : public views::DialogDelegateView,
SigninViewController* signin_view_controller,
std::unique_ptr<views::WebView> content_view,
Browser* browser,
+ DialogModalType dialog_modal_type,
bool wait_for_size);
// Creates the web view that contains the signin flow in |mode| using
@@ -79,6 +80,10 @@ class SigninViewControllerDelegateViews : public views::DialogDelegateView,
// content's size has been laid out and measured so that the constrained
// window is sized to the content.
bool wait_for_size_;
+
jlebel 2017/01/10 13:20:18 I would remove the empty line.
msarda 2017/01/10 17:32:27 We prefer having a blank line if the comment start
+ // The dialog modal presentation type.
Peter Kasting 2017/01/11 01:24:45 Nit: I agree with your rationale on adding blank l
msarda 2017/01/11 09:54:25 Done.
+ DialogModalType dialog_modal_type_;
+
jlebel 2017/01/10 13:20:18 Same here.
msarda 2017/01/10 17:32:27 Ditto.
Browser* browser_;
DISALLOW_COPY_AND_ASSIGN(SigninViewControllerDelegateViews);

Powered by Google App Engine
This is Rietveld 408576698