OLD | NEW |
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_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_DELEGATE_H_ |
7 | 7 |
8 #include "chrome/browser/ui/profile_chooser_constants.h" | 8 #include "chrome/browser/ui/profile_chooser_constants.h" |
9 #include "content/public/browser/web_contents_delegate.h" | 9 #include "content/public/browser/web_contents_delegate.h" |
10 | 10 |
11 class Browser; | 11 class Browser; |
12 class ModalSigninDelegate; | |
13 class SigninViewController; | 12 class SigninViewController; |
14 | 13 |
15 namespace signin_metrics { | 14 namespace signin_metrics { |
16 enum class AccessPoint; | 15 enum class AccessPoint; |
17 } | 16 } |
18 | 17 |
19 // Abstract base class to the platform-specific managers of the Signin and Sync | 18 // Abstract base class to the platform-specific managers of the Signin and Sync |
20 // confirmation tab-modal dialogs. This and its platform-specific | 19 // confirmation tab-modal dialogs. This and its platform-specific |
21 // implementations are responsible for actually creating and owning the dialogs, | 20 // implementations are responsible for actually creating and owning the dialogs, |
22 // as well as managing the navigation inside them. | 21 // as well as managing the navigation inside them. |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 83 |
85 private: | 84 private: |
86 bool CanGoBack(content::WebContents* web_ui_web_contents) const; | 85 bool CanGoBack(content::WebContents* web_ui_web_contents) const; |
87 | 86 |
88 SigninViewController* signin_view_controller_; // Not owned. | 87 SigninViewController* signin_view_controller_; // Not owned. |
89 content::WebContents* web_contents_; // Not owned. | 88 content::WebContents* web_contents_; // Not owned. |
90 DISALLOW_COPY_AND_ASSIGN(SigninViewControllerDelegate); | 89 DISALLOW_COPY_AND_ASSIGN(SigninViewControllerDelegate); |
91 }; | 90 }; |
92 | 91 |
93 #endif // CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_DELEGATE_H_ | 92 #endif // CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_DELEGATE_H_ |
OLD | NEW |