| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_AUTOFILL_AUTOFILL_SIGN_IN_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SIGN_IN_CONTAINER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SIGN_IN_CONTAINER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SIGN_IN_CONTAINER_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 | 11 |
| 12 namespace autofill { | 12 namespace autofill { |
| 13 class AutofillDialogController; | 13 class AutofillDialogViewDelegate; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
| 17 class WebContents; | 17 class WebContents; |
| 18 class NavigationController; | 18 class NavigationController; |
| 19 } | 19 } |
| 20 | 20 |
| 21 // Controls the sign-in dialog of the AutofillDialog. | 21 // Controls the sign-in dialog of the AutofillDialog. |
| 22 @interface AutofillSignInContainer : NSViewController { | 22 @interface AutofillSignInContainer : NSViewController { |
| 23 @private | 23 @private |
| 24 autofill::AutofillDialogController* controller_; // Not owned. | 24 autofill::AutofillDialogViewDelegate* delegate_; // Not owned. |
| 25 scoped_ptr<content::WebContents> webContents_; | 25 scoped_ptr<content::WebContents> webContents_; |
| 26 } | 26 } |
| 27 | 27 |
| 28 - (id)initWithController:(autofill::AutofillDialogController*)controller; | 28 - (id)initWithDelegate:(autofill::AutofillDialogViewDelegate*)delegate; |
| 29 - (void)loadSignInPage; | 29 - (void)loadSignInPage; |
| 30 - (content::NavigationController*)navigationController; | 30 - (content::NavigationController*)navigationController; |
| 31 | 31 |
| 32 @end | 32 @end |
| 33 | 33 |
| 34 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SIGN_IN_CONTAINER_H_ | 34 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SIGN_IN_CONTAINER_H_ |
| 35 | 35 |
| OLD | NEW |