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

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

Issue 1028163002: Processing USERNAME reply from Autofill server in Password Manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 virtual void UpdateAutofillPopupDataListValues( 149 virtual void UpdateAutofillPopupDataListValues(
150 const std::vector<base::string16>& values, 150 const std::vector<base::string16>& values,
151 const std::vector<base::string16>& labels) = 0; 151 const std::vector<base::string16>& labels) = 0;
152 152
153 // Hide the Autofill popup if one is currently showing. 153 // Hide the Autofill popup if one is currently showing.
154 virtual void HideAutofillPopup() = 0; 154 virtual void HideAutofillPopup() = 0;
155 155
156 // Whether the Autocomplete feature of Autofill should be enabled. 156 // Whether the Autocomplete feature of Autofill should be enabled.
157 virtual bool IsAutocompleteEnabled() = 0; 157 virtual bool IsAutocompleteEnabled() = 0;
158 158
159 // Pass the form structures to the password generation manager to detect 159 // Pass the form structures to the password manager to choose correct username
160 // account creation forms. 160 // and to the password generation manager to detect account creation forms.
161 virtual void DetectAccountCreationForms( 161 virtual void PropagateAutofillPredictions(
162 content::RenderFrameHost* rfh, 162 content::RenderFrameHost* rfh,
163 const std::vector<autofill::FormStructure*>& forms) = 0; 163 const std::vector<autofill::FormStructure*>& forms) = 0;
164 164
165 // Inform the client that the field has been filled. 165 // Inform the client that the field has been filled.
166 virtual void DidFillOrPreviewField( 166 virtual void DidFillOrPreviewField(
167 const base::string16& autofilled_value, 167 const base::string16& autofilled_value,
168 const base::string16& profile_full_name) = 0; 168 const base::string16& profile_full_name) = 0;
169 169
170 // Informs the client that a user gesture has been observed. 170 // Informs the client that a user gesture has been observed.
171 virtual void OnFirstUserGestureObserved() = 0; 171 virtual void OnFirstUserGestureObserved() = 0;
172 172
173 // Opens |url| with the supplied |disposition|. 173 // Opens |url| with the supplied |disposition|.
174 virtual void LinkClicked(const GURL& url, 174 virtual void LinkClicked(const GURL& url,
175 WindowOpenDisposition disposition) = 0; 175 WindowOpenDisposition disposition) = 0;
176 }; 176 };
177 177
178 } // namespace autofill 178 } // namespace autofill
179 179
180 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 180 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
OLDNEW
« no previous file with comments | « components/autofill/content/renderer/password_generation_agent.cc ('k') | components/autofill/core/browser/autofill_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698