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

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

Issue 2868076: [Mac] Don't offer profiles for billing addresses that have no address data.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_dialog_controller_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DIALOG_CONTROLLER_MAC_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_MAC_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_MAC_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 - (IBAction)openHelp:(id)sender; 149 - (IBAction)openHelp:(id)sender;
150 150
151 // NSTableView data source methods. 151 // NSTableView data source methods.
152 - (id)tableView:(NSTableView *)tableView 152 - (id)tableView:(NSTableView *)tableView
153 objectValueForTableColumn:(NSTableColumn *)tableColumn 153 objectValueForTableColumn:(NSTableColumn *)tableColumn
154 row:(NSInteger)rowIndex; 154 row:(NSInteger)rowIndex;
155 155
156 - (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView; 156 - (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView;
157 157
158 // Returns an array of labels representing the addresses in the |profiles_|. 158 // Returns an array of labels representing the addresses in the |profiles_|.
159 // Only returns labels for which there exists address information.
159 - (NSArray*)addressLabels; 160 - (NSArray*)addressLabels;
160 161
161 @end 162 @end
162 163
163 // Interface exposed for unit testing. 164 // Interface exposed for unit testing.
164 @interface AutoFillDialogController (ExposedForUnitTests) 165 @interface AutoFillDialogController (ExposedForUnitTests)
165 // Returns an instance of AutoFillDialogController. See |-initWithObserver| 166 // Returns an instance of AutoFillDialogController. See |-initWithObserver|
166 // for details about arguments. 167 // for details about arguments.
167 // Note: controller is autoreleased when |-closeDialog| is called. 168 // Note: controller is autoreleased when |-closeDialog| is called.
168 + (AutoFillDialogController*)controllerWithObserver: 169 + (AutoFillDialogController*)controllerWithObserver:
(...skipping 10 matching lines...) Expand all
179 - (AutoFillAddressSheetController*)addressSheetController; 180 - (AutoFillAddressSheetController*)addressSheetController;
180 - (AutoFillCreditCardSheetController*)creditCardSheetController; 181 - (AutoFillCreditCardSheetController*)creditCardSheetController;
181 - (void)selectAddressAtIndex:(size_t)i; 182 - (void)selectAddressAtIndex:(size_t)i;
182 - (void)selectCreditCardAtIndex:(size_t)i; 183 - (void)selectCreditCardAtIndex:(size_t)i;
183 - (void)addSelectedAddressAtIndex:(size_t)i; 184 - (void)addSelectedAddressAtIndex:(size_t)i;
184 - (void)addSelectedCreditCardAtIndex:(size_t)i; 185 - (void)addSelectedCreditCardAtIndex:(size_t)i;
185 - (BOOL)editButtonEnabled; 186 - (BOOL)editButtonEnabled;
186 @end 187 @end
187 188
188 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_MAC_ 189 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_MAC_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_dialog_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698