| OLD | NEW |
| (Empty) | |
| 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_SECTION_CONTAINER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SECTION_CONTAINER_H_ |
| 7 |
| 8 #import <Cocoa/Cocoa.h> |
| 9 |
| 10 #include "base/memory/scoped_nsobject.h" |
| 11 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" |
| 12 |
| 13 namespace autofill { |
| 14 class AutofillDialogController; |
| 15 } |
| 16 |
| 17 @interface AutofillSectionContainer : NSViewController { |
| 18 @private |
| 19 autofill::DialogSection section_; |
| 20 autofill::AutofillDialogController* controller_; // Not owned. |
| 21 } |
| 22 |
| 23 @property(readonly, nonatomic) autofill::DialogSection section; |
| 24 |
| 25 - (id)initWithController:(autofill::AutofillDialogController*)controller |
| 26 forSection:(autofill::DialogSection)section; |
| 27 |
| 28 @end |
| 29 |
| 30 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_SECTION_CONTAINER_H_ |
| OLD | NEW |