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

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

Issue 1134793004: Autofill item deletion on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fix Created 5 years, 7 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
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_impl.h ('k') | chrome/browser/ui/autofill/autofill_popup_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698