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

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

Issue 6258017: Mac: Never have a space between @property and ( (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: comments Created 9 years, 11 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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_AUTOFILL_AUTOFILL_ADDRESS_SHEET_CONTROLLER_MAC_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_SHEET_CONTROLLER_MAC_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_SHEET_CONTROLLER_MAC_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_SHEET_CONTROLLER_MAC_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 21 matching lines...) Expand all
32 // The primary model for this controller. The model is instantiated 32 // The primary model for this controller. The model is instantiated
33 // from within |initWithProfile:|. We do not hold it as a scoped_nsobject 33 // from within |initWithProfile:|. We do not hold it as a scoped_nsobject
34 // because it is exposed as a KVO compliant property. 34 // because it is exposed as a KVO compliant property.
35 // Strong reference. 35 // Strong reference.
36 AutoFillAddressModel* addressModel_; 36 AutoFillAddressModel* addressModel_;
37 37
38 // Either "Add" or "Edit" mode of sheet. 38 // Either "Add" or "Edit" mode of sheet.
39 AutoFillAddressMode mode_; 39 AutoFillAddressMode mode_;
40 } 40 }
41 41
42 @property (nonatomic, retain) AutoFillAddressModel* addressModel; 42 @property(nonatomic, retain) AutoFillAddressModel* addressModel;
43 43
44 // IBActions for save and cancel buttons. Both invoke |endSheet:|. 44 // IBActions for save and cancel buttons. Both invoke |endSheet:|.
45 - (IBAction)save:(id)sender; 45 - (IBAction)save:(id)sender;
46 - (IBAction)cancel:(id)sender; 46 - (IBAction)cancel:(id)sender;
47 47
48 // Designated initializer. Takes a copy of the data in |profile|, 48 // Designated initializer. Takes a copy of the data in |profile|,
49 // it is not held as a reference. 49 // it is not held as a reference.
50 - (id)initWithProfile:(const AutoFillProfile&)profile 50 - (id)initWithProfile:(const AutoFillProfile&)profile
51 mode:(AutoFillAddressMode)mode; 51 mode:(AutoFillAddressMode)mode;
52 52
53 // Copy data from internal model to |profile|. 53 // Copy data from internal model to |profile|.
54 - (void)copyModelToProfile:(AutoFillProfile*)profile; 54 - (void)copyModelToProfile:(AutoFillProfile*)profile;
55 55
56 @end 56 @end
57 57
58 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_SHEET_CONTROLLER_MAC_ 58 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_ADDRESS_SHEET_CONTROLLER_MAC_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_address_model_mac.h ('k') | chrome/browser/autofill/autofill_credit_card_model_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698