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

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

Issue 707173004: Refactor Autofill for out of process iframes (OOPIF). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 26 matching lines...) Expand all
37 const std::vector<base::string16>& labels, 37 const std::vector<base::string16>& labels,
38 const std::vector<base::string16>& icons, 38 const std::vector<base::string16>& icons,
39 const std::vector<int>& identifiers, 39 const std::vector<int>& identifiers,
40 base::WeakPtr<AutofillPopupDelegate> delegate) override; 40 base::WeakPtr<AutofillPopupDelegate> delegate) override;
41 void UpdateAutofillPopupDataListValues( 41 void UpdateAutofillPopupDataListValues(
42 const std::vector<base::string16>& values, 42 const std::vector<base::string16>& values,
43 const std::vector<base::string16>& labels) override; 43 const std::vector<base::string16>& labels) override;
44 void HideAutofillPopup() override; 44 void HideAutofillPopup() override;
45 bool IsAutocompleteEnabled() override; 45 bool IsAutocompleteEnabled() override;
46 46
47 void DetectAccountCreationForms(
48 const std::vector<autofill::FormStructure*>& forms) override;
49
50 void DidFillOrPreviewField(const base::string16& autofilled_value, 47 void DidFillOrPreviewField(const base::string16& autofilled_value,
51 const base::string16& profile_full_name) override; 48 const base::string16& profile_full_name) override;
52 49
53 void SetPrefs(scoped_ptr<PrefService> prefs) { prefs_ = prefs.Pass(); } 50 void SetPrefs(scoped_ptr<PrefService> prefs) { prefs_ = prefs.Pass(); }
54 51
55 private: 52 private:
56 // NULL by default. 53 // NULL by default.
57 scoped_ptr<PrefService> prefs_; 54 scoped_ptr<PrefService> prefs_;
58 55
59 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); 56 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient);
60 }; 57 };
61 58
62 } // namespace autofill 59 } // namespace autofill
63 60
64 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ 61 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698