| 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_MAIN_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/memory/scoped_nsobject.h" | 10 #include "base/memory/scoped_nsobject.h" |
| 11 | 11 |
| 12 @class AutofillAccountChooser; | 12 @class AutofillAccountChooser; |
| 13 @class AutofillDetailsContainer; |
| 13 @class AutofillDialogWindowController; | 14 @class AutofillDialogWindowController; |
| 14 @class GTMWidthBasedTweaker; | 15 @class GTMWidthBasedTweaker; |
| 15 | 16 |
| 16 namespace autofill { | 17 namespace autofill { |
| 17 class AutofillDialogController; | 18 class AutofillDialogController; |
| 18 } | 19 } |
| 19 | 20 |
| 20 @interface AutofillMainContainer : NSViewController { | 21 @interface AutofillMainContainer : NSViewController { |
| 21 @private | 22 @private |
| 22 scoped_nsobject<AutofillAccountChooser> accountChooser_; | 23 scoped_nsobject<AutofillAccountChooser> accountChooser_; |
| 23 scoped_nsobject<GTMWidthBasedTweaker> buttonContainer_; | 24 scoped_nsobject<GTMWidthBasedTweaker> buttonContainer_; |
| 25 scoped_nsobject<AutofillDetailsContainer> detailsContainer_; |
| 24 AutofillDialogWindowController* target_; | 26 AutofillDialogWindowController* target_; |
| 25 autofill::AutofillDialogController* controller_; // Not owned. | 27 autofill::AutofillDialogController* controller_; // Not owned. |
| 26 } | 28 } |
| 27 | 29 |
| 28 @property(assign, nonatomic) AutofillDialogWindowController* target; | 30 @property(assign, nonatomic) AutofillDialogWindowController* target; |
| 29 | 31 |
| 30 - (id)initWithController:(autofill::AutofillDialogController*)controller; | 32 - (id)initWithController:(autofill::AutofillDialogController*)controller; |
| 31 - (AutofillAccountChooser*)accountChooser; | 33 - (AutofillAccountChooser*)accountChooser; |
| 32 | 34 |
| 33 @end | 35 @end |
| 34 | 36 |
| 35 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ | 37 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_MAIN_CONTAINER_H_ |
| OLD | NEW |