autofill_sign_in_container.h revision d0247b1b59f9c528cb6df88b4f2b9afaf80d181e
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 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SIGN_IN_CONTAINER_H_ 6#define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SIGN_IN_CONTAINER_H_ 7 8#import <Cocoa/Cocoa.h> 9 10#include "base/memory/scoped_ptr.h" 11 12namespace autofill { 13class AutofillDialogCocoa; 14class AutofillDialogSignInDelegate; 15} 16 17namespace content { 18class WebContents; 19class NavigationController; 20} 21 22// Controls the sign-in dialog of the AutofillDialog. 23@interface AutofillSignInContainer : NSViewController { 24 @private 25 autofill::AutofillDialogCocoa* dialog_; // Not owned. 26 scoped_ptr<content::WebContents> webContents_; 27 scoped_ptr<autofill::AutofillDialogSignInDelegate> signInDelegate_; 28} 29 30- (id)initWithDialog:(autofill::AutofillDialogCocoa*)dialog; 31- (void)loadSignInPage; 32- (content::NavigationController*)navigationController; 33 34@end 35 36#endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SIGN_IN_CONTAINER_H_ 37