OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" | 5 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 2430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2441 wrapper->FillInputs(MutableRequestedFieldsForSection(popup_section_)); | 2441 wrapper->FillInputs(MutableRequestedFieldsForSection(popup_section_)); |
2442 view_->FillSection(popup_section_, popup_input_type); | 2442 view_->FillSection(popup_section_, popup_input_type); |
2443 | 2443 |
2444 AutofillMetrics::LogDialogPopupEvent( | 2444 AutofillMetrics::LogDialogPopupEvent( |
2445 AutofillMetrics::DIALOG_POPUP_FORM_FILLED); | 2445 AutofillMetrics::DIALOG_POPUP_FORM_FILLED); |
2446 | 2446 |
2447 // TODO(estade): not sure why it's necessary to do this explicitly. | 2447 // TODO(estade): not sure why it's necessary to do this explicitly. |
2448 HidePopup(); | 2448 HidePopup(); |
2449 } | 2449 } |
2450 | 2450 |
| 2451 bool AutofillDialogControllerImpl::GetDeletionConfirmationText( |
| 2452 const base::string16& value, |
| 2453 int identifier, |
| 2454 base::string16* title, |
| 2455 base::string16* body) { |
| 2456 return false; |
| 2457 } |
| 2458 |
2451 bool AutofillDialogControllerImpl::RemoveSuggestion( | 2459 bool AutofillDialogControllerImpl::RemoveSuggestion( |
2452 const base::string16& value, | 2460 const base::string16& value, |
2453 int identifier) { | 2461 int identifier) { |
2454 // TODO(estade): implement. | 2462 // TODO(estade): implement. |
2455 return false; | 2463 return false; |
2456 } | 2464 } |
2457 | 2465 |
2458 void AutofillDialogControllerImpl::ClearPreviewedForm() { | 2466 void AutofillDialogControllerImpl::ClearPreviewedForm() { |
2459 // TODO(estade): implement. | 2467 // TODO(estade): implement. |
2460 } | 2468 } |
(...skipping 1648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4109 view_->UpdateButtonStrip(); | 4117 view_->UpdateButtonStrip(); |
4110 } | 4118 } |
4111 | 4119 |
4112 void AutofillDialogControllerImpl::FetchWalletCookie() { | 4120 void AutofillDialogControllerImpl::FetchWalletCookie() { |
4113 net::URLRequestContextGetter* request_context = profile_->GetRequestContext(); | 4121 net::URLRequestContextGetter* request_context = profile_->GetRequestContext(); |
4114 signin_helper_.reset(new wallet::WalletSigninHelper(this, request_context)); | 4122 signin_helper_.reset(new wallet::WalletSigninHelper(this, request_context)); |
4115 signin_helper_->StartWalletCookieValueFetch(); | 4123 signin_helper_->StartWalletCookieValueFetch(); |
4116 } | 4124 } |
4117 | 4125 |
4118 } // namespace autofill | 4126 } // namespace autofill |
OLD | NEW |