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

Side by Side Diff: components/autofill/core/browser/test_autofill_client.cc

Issue 796493004: Remove FrameDetached and FrameWillClose listeners from AutofillAgent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add test and fix code Created 6 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/autofill/core/browser/test_autofill_client.h" 5 #include "components/autofill/core/browser/test_autofill_client.h"
6 6
7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
8 8
9 namespace autofill { 9 namespace autofill {
10 10
(...skipping 30 matching lines...) Expand all
41 bool TestAutofillClient::HasCreditCardScanFeature() { 41 bool TestAutofillClient::HasCreditCardScanFeature() {
42 return false; 42 return false;
43 } 43 }
44 44
45 void TestAutofillClient::ScanCreditCard( 45 void TestAutofillClient::ScanCreditCard(
46 const CreditCardScanCallback& callback) { 46 const CreditCardScanCallback& callback) {
47 } 47 }
48 48
49 void TestAutofillClient::ShowRequestAutocompleteDialog( 49 void TestAutofillClient::ShowRequestAutocompleteDialog(
50 const FormData& form, 50 const FormData& form,
51 const GURL& source_url, 51 content::RenderFrameHost* rfh,
52 const ResultCallback& callback) { 52 const ResultCallback& callback) {
53 } 53 }
54 54
55 void TestAutofillClient::ShowAutofillPopup( 55 void TestAutofillClient::ShowAutofillPopup(
56 const gfx::RectF& element_bounds, 56 const gfx::RectF& element_bounds,
57 base::i18n::TextDirection text_direction, 57 base::i18n::TextDirection text_direction,
58 const std::vector<Suggestion>& suggestions, 58 const std::vector<Suggestion>& suggestions,
59 base::WeakPtr<AutofillPopupDelegate> delegate) { 59 base::WeakPtr<AutofillPopupDelegate> delegate) {
60 } 60 }
61 61
(...skipping 16 matching lines...) Expand all
78 78
79 void TestAutofillClient::DidFillOrPreviewField( 79 void TestAutofillClient::DidFillOrPreviewField(
80 const base::string16& autofilled_value, 80 const base::string16& autofilled_value,
81 const base::string16& profile_full_name) { 81 const base::string16& profile_full_name) {
82 } 82 }
83 83
84 void TestAutofillClient::OnFirstUserGestureObserved() { 84 void TestAutofillClient::OnFirstUserGestureObserved() {
85 } 85 }
86 86
87 } // namespace autofill 87 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698