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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h

Issue 20420002: Make Wallet respect whether or not shipping address is required. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Wallet client respects delegates shipping preference. Created 7 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/ui/autofill/autofill_dialog_controller_impl.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 // SuggestionsMenuModelDelegate implementation. 200 // SuggestionsMenuModelDelegate implementation.
201 virtual void SuggestionItemSelected(SuggestionsMenuModel* model, 201 virtual void SuggestionItemSelected(SuggestionsMenuModel* model,
202 size_t index) OVERRIDE; 202 size_t index) OVERRIDE;
203 203
204 // wallet::WalletClientDelegate implementation. 204 // wallet::WalletClientDelegate implementation.
205 virtual const AutofillMetrics& GetMetricLogger() const OVERRIDE; 205 virtual const AutofillMetrics& GetMetricLogger() const OVERRIDE;
206 virtual DialogType GetDialogType() const OVERRIDE; 206 virtual DialogType GetDialogType() const OVERRIDE;
207 virtual std::string GetRiskData() const OVERRIDE; 207 virtual std::string GetRiskData() const OVERRIDE;
208 virtual std::string GetWalletCookieValue() const OVERRIDE; 208 virtual std::string GetWalletCookieValue() const OVERRIDE;
209 virtual bool IsShippingAddressRequired() const OVERRIDE;
209 virtual void OnDidAcceptLegalDocuments() OVERRIDE; 210 virtual void OnDidAcceptLegalDocuments() OVERRIDE;
210 virtual void OnDidAuthenticateInstrument(bool success) OVERRIDE; 211 virtual void OnDidAuthenticateInstrument(bool success) OVERRIDE;
211 virtual void OnDidGetFullWallet( 212 virtual void OnDidGetFullWallet(
212 scoped_ptr<wallet::FullWallet> full_wallet) OVERRIDE; 213 scoped_ptr<wallet::FullWallet> full_wallet) OVERRIDE;
213 virtual void OnDidGetWalletItems( 214 virtual void OnDidGetWalletItems(
214 scoped_ptr<wallet::WalletItems> wallet_items) OVERRIDE; 215 scoped_ptr<wallet::WalletItems> wallet_items) OVERRIDE;
215 virtual void OnDidSaveToWallet( 216 virtual void OnDidSaveToWallet(
216 const std::string& instrument_id, 217 const std::string& instrument_id,
217 const std::string& address_id, 218 const std::string& address_id,
218 const std::vector<wallet::RequiredAction>& required_actions, 219 const std::vector<wallet::RequiredAction>& required_actions,
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 // show a bubble as the dialog closes to confirm a user's new card info was 707 // show a bubble as the dialog closes to confirm a user's new card info was
707 // saved. Never populated while incognito (as nothing's actually saved). 708 // saved. Never populated while incognito (as nothing's actually saved).
708 scoped_ptr<CreditCard> newly_saved_card_; 709 scoped_ptr<CreditCard> newly_saved_card_;
709 710
710 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 711 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
711 }; 712 };
712 713
713 } // namespace autofill 714 } // namespace autofill
714 715
715 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 716 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698