| OLD | NEW |
| 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 27 matching lines...) Expand all Loading... |
| 38 const std::vector<base::string16>& values, | 38 const std::vector<base::string16>& values, |
| 39 const std::vector<base::string16>& labels, | 39 const std::vector<base::string16>& labels, |
| 40 const std::vector<base::string16>& icons, | 40 const std::vector<base::string16>& icons, |
| 41 const std::vector<int>& identifiers, | 41 const std::vector<int>& identifiers, |
| 42 base::WeakPtr<AutofillPopupDelegate> delegate) override; | 42 base::WeakPtr<AutofillPopupDelegate> delegate) override; |
| 43 void UpdateAutofillPopupDataListValues( | 43 void UpdateAutofillPopupDataListValues( |
| 44 const std::vector<base::string16>& values, | 44 const std::vector<base::string16>& values, |
| 45 const std::vector<base::string16>& labels) override; | 45 const std::vector<base::string16>& labels) override; |
| 46 void HideAutofillPopup() override; | 46 void HideAutofillPopup() override; |
| 47 bool IsAutocompleteEnabled() override; | 47 bool IsAutocompleteEnabled() override; |
| 48 | |
| 49 void DetectAccountCreationForms( | 48 void DetectAccountCreationForms( |
| 49 content::RenderFrameHost* rfh, |
| 50 const std::vector<autofill::FormStructure*>& forms) override; | 50 const std::vector<autofill::FormStructure*>& forms) override; |
| 51 | |
| 52 void DidFillOrPreviewField(const base::string16& autofilled_value, | 51 void DidFillOrPreviewField(const base::string16& autofilled_value, |
| 53 const base::string16& profile_full_name) override; | 52 const base::string16& profile_full_name) override; |
| 53 void OnFirstUserGestureObserved() override; |
| 54 | 54 |
| 55 void SetPrefs(scoped_ptr<PrefService> prefs) { prefs_ = prefs.Pass(); } | 55 void SetPrefs(scoped_ptr<PrefService> prefs) { prefs_ = prefs.Pass(); } |
| 56 | 56 |
| 57 private: | 57 private: |
| 58 // NULL by default. | 58 // NULL by default. |
| 59 scoped_ptr<PrefService> prefs_; | 59 scoped_ptr<PrefService> prefs_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); | 61 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace autofill | 64 } // namespace autofill |
| 65 | 65 |
| 66 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 66 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
| OLD | NEW |