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

Side by Side Diff: chrome/browser/autofill/autofill_credit_card_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_CREDIT_CARD_SHEET_CONTROLLER_MAC_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_SHEET_CONTROLLER_MAC_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_SHEET_CONTROLLER_MAC_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_SHEET_CONTROLLER_MAC_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 #include <vector> 10 #include <vector>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // Contents of the expiration month and year popups. Strongly owned. We do 46 // Contents of the expiration month and year popups. Strongly owned. We do
47 // not hold them as scoped_nsobjects because they are exposed as KVO compliant 47 // not hold them as scoped_nsobjects because they are exposed as KVO compliant
48 // properties. 48 // properties.
49 NSArray* expirationMonthContents_; 49 NSArray* expirationMonthContents_;
50 NSArray* expirationYearContents_; 50 NSArray* expirationYearContents_;
51 51
52 // Either "Add" or "Edit" mode of sheet. 52 // Either "Add" or "Edit" mode of sheet.
53 AutoFillCreditCardMode mode_; 53 AutoFillCreditCardMode mode_;
54 } 54 }
55 55
56 @property (nonatomic, retain) AutoFillCreditCardModel* creditCardModel; 56 @property(nonatomic, retain) AutoFillCreditCardModel* creditCardModel;
57 @property (nonatomic, retain) NSArray* expirationMonthContents; 57 @property(nonatomic, retain) NSArray* expirationMonthContents;
58 @property (nonatomic, retain) NSArray* expirationYearContents; 58 @property(nonatomic, retain) NSArray* expirationYearContents;
59 59
60 // Designated initializer. Takes a copy of the data in |creditCard|, 60 // Designated initializer. Takes a copy of the data in |creditCard|,
61 // it is not held as a reference. 61 // it is not held as a reference.
62 - (id)initWithCreditCard:(const CreditCard&)creditCard 62 - (id)initWithCreditCard:(const CreditCard&)creditCard
63 mode:(AutoFillCreditCardMode)mode; 63 mode:(AutoFillCreditCardMode)mode;
64 64
65 // IBActions for save and cancel buttons. Both invoke |endSheet:|. 65 // IBActions for save and cancel buttons. Both invoke |endSheet:|.
66 - (IBAction)save:(id)sender; 66 - (IBAction)save:(id)sender;
67 - (IBAction)cancel:(id)sender; 67 - (IBAction)cancel:(id)sender;
68 68
69 // Copy data from internal model to |creditCard|. 69 // Copy data from internal model to |creditCard|.
70 - (void)copyModelToCreditCard:(CreditCard*)creditCard; 70 - (void)copyModelToCreditCard:(CreditCard*)creditCard;
71 71
72 @end 72 @end
73 73
74 // Interface exposed for unit testing. 74 // Interface exposed for unit testing.
75 @interface AutoFillCreditCardSheetController (ExposedForUnitTests) 75 @interface AutoFillCreditCardSheetController (ExposedForUnitTests)
76 - (NSTextField*)creditCardNumberField; 76 - (NSTextField*)creditCardNumberField;
77 @end 77 @end
78 78
79 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_SHEET_CONTROLLER_MAC_ 79 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_CREDIT_CARD_SHEET_CONTROLLER_MAC_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_credit_card_model_mac.h ('k') | chrome/browser/autofill/autofill_dialog_controller_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698