Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: chrome/browser/autofill/autofill_address_view_controller_mac.h

Issue 558066: Autofill dialog for the Mac. This is UI only at this point. The UI is not h... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 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_AUTOFILL_AUTOFILL_ADDRESS_VIEW_CONTROLLER_MAC_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_VIEW_CONTROLLER_MAC_
7
8 #import <Cocoa/Cocoa.h>
9 #import "chrome/browser/cocoa/disclosure_view_controller.h"
10
11 @class AutoFillAddressModel;
12 class AutoFillProfile;
13
14 // A class that coordinates the |addressModel| and the associated view
15 // held in AutoFillAddressFormView.xib.
16 // |initWithProfile:| is the designated initializer. It takes |profile|
17 // and transcribes it to |addressModel| to which the view is bound.
18 @interface AutoFillAddressViewController : DisclosureViewController {
19 @private
20 // The primary model for this controller. The model is instantiated
21 // from within |initWithProfile|. We do not hold it as a scoped_nsobject
22 // because it is exposed as a KVO compliant property.
23 AutoFillAddressModel* addressModel_; // strong reference
24 }
25
26 @property (nonatomic, retain) AutoFillAddressModel* addressModel;
27
28 // Designated initializer. Takes a copy of the data in |profile|,
29 // it is not held as a reference.
30 - (id)initWithProfile:(const AutoFillProfile&)profile;
31
32 // Copy data from internal model to |profile|.
33 - (void)copyModelToProfile:(AutoFillProfile*)profile;
34
35 @end
36
37 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_VIEW_CONTROLLER_MAC_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_address_model_mac.mm ('k') | chrome/browser/autofill/autofill_address_view_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698