OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_COCOA_PASSWORDS_AUTO_SIGNIN_VIEW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_AUTO_SIGNIN_VIEW_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_AUTO_SIGNIN_VIEW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_AUTO_SIGNIN_VIEW_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #import "chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controlle
r.h" | 12 #import "chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controlle
r.h" |
13 | 13 |
14 @class AccountAvatarFetcherManager; | 14 @class AccountAvatarFetcherManager; |
15 @class CredentialItemView; | 15 @class CredentialItemView; |
16 class ManagePasswordsBubbleModel; | |
17 | 16 |
18 namespace base { | 17 namespace base { |
19 class Timer; | 18 class Timer; |
20 } // namespace base | 19 } // namespace base |
21 | 20 |
22 // Manages the view that informs the user they're being automatically signed in. | 21 // Manages the view that informs the user they're being automatically signed in. |
23 @interface ManagePasswordsBubbleAutoSigninViewController | 22 @interface AutoSigninViewController : BasePasswordsContentViewController { |
24 : ManagePasswordsBubbleContentViewController { | |
25 @private | 23 @private |
26 ManagePasswordsBubbleModel* model_; // weak | |
27 base::scoped_nsobject<CredentialItemView> credentialView_; | 24 base::scoped_nsobject<CredentialItemView> credentialView_; |
28 base::scoped_nsobject<AccountAvatarFetcherManager> avatarManager_; | 25 base::scoped_nsobject<AccountAvatarFetcherManager> avatarManager_; |
29 scoped_ptr<base::Timer> timer_; | 26 scoped_ptr<base::Timer> timer_; |
30 } | 27 } |
31 - (id)initWithModel:(ManagePasswordsBubbleModel*)model | 28 - (instancetype)initWithDelegate:(id<BasePasswordsContentViewDelegate>)delegate; |
32 delegate:(id<ManagePasswordsBubbleContentViewDelegate>)delegate; | |
33 @end | 29 @end |
34 | 30 |
35 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_AUTO_SIGNIN_VIEW_CONTROLLER_H_ | 31 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_AUTO_SIGNIN_VIEW_CONTROLLER_H_ |
OLD | NEW |