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

Side by Side Diff: components/autofill/core/browser/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_AUTOFILL_CLIENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 virtual void UpdateAutofillPopupDataListValues( 96 virtual void UpdateAutofillPopupDataListValues(
97 const std::vector<base::string16>& values, 97 const std::vector<base::string16>& values,
98 const std::vector<base::string16>& labels) = 0; 98 const std::vector<base::string16>& labels) = 0;
99 99
100 // Hide the Autofill popup if one is currently showing. 100 // Hide the Autofill popup if one is currently showing.
101 virtual void HideAutofillPopup() = 0; 101 virtual void HideAutofillPopup() = 0;
102 102
103 // Whether the Autocomplete feature of Autofill should be enabled. 103 // Whether the Autocomplete feature of Autofill should be enabled.
104 virtual bool IsAutocompleteEnabled() = 0; 104 virtual bool IsAutocompleteEnabled() = 0;
105 105
106 // Pass the form structures to the password generation manager to detect
107 // account creation forms.
108 virtual void DetectAccountCreationForms(
109 const std::vector<autofill::FormStructure*>& forms) = 0;
110
111 // Inform the client that the field has been filled. 106 // Inform the client that the field has been filled.
112 virtual void DidFillOrPreviewField( 107 virtual void DidFillOrPreviewField(
113 const base::string16& autofilled_value, 108 const base::string16& autofilled_value,
114 const base::string16& profile_full_name) = 0; 109 const base::string16& profile_full_name) = 0;
115 }; 110 };
116 111
117 } // namespace autofill 112 } // namespace autofill
118 113
119 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 114 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698