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

Side by Side Diff: chrome/browser/ui/signin_view_controller.h

Issue 1814513002: Fix sizing issues in the tab modal signin flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/profile_chooser_constants.h" 9 #include "chrome/browser/ui/profile_chooser_constants.h"
10 10
(...skipping 25 matching lines...) Expand all
36 void ShowModalSyncConfirmationDialog(Browser* browser); 36 void ShowModalSyncConfirmationDialog(Browser* browser);
37 37
38 // Closes the tab-modal signin flow previously shown using this 38 // Closes the tab-modal signin flow previously shown using this
39 // SigninViewController, if one exists. Does nothing otherwise. 39 // SigninViewController, if one exists. Does nothing otherwise.
40 void CloseModalSignin(); 40 void CloseModalSignin();
41 41
42 // Notifies this object that it's |signin_view_controller_delegate_| 42 // Notifies this object that it's |signin_view_controller_delegate_|
43 // member has become invalid. 43 // member has become invalid.
44 void ResetModalSigninDelegate(); 44 void ResetModalSigninDelegate();
45 45
46 SigninViewControllerDelegate* delegate() {
47 return signin_view_controller_delegate_;
48 }
49
46 private: 50 private:
47 SigninViewControllerDelegate* signin_view_controller_delegate_; 51 SigninViewControllerDelegate* signin_view_controller_delegate_;
48 52
49 DISALLOW_COPY_AND_ASSIGN(SigninViewController); 53 DISALLOW_COPY_AND_ASSIGN(SigninViewController);
50 }; 54 };
51 55
52 #endif // CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_ 56 #endif // CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698