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

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

Issue 23432002: Generate passwords only for forms that autofill server marks as account creation forms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix password generation manager browser test. Created 7 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_MANAGER_DELEGATE_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Update the data list values shown by the Autofill popup, if visible. 88 // Update the data list values shown by the Autofill popup, if visible.
89 virtual void UpdateAutofillPopupDataListValues( 89 virtual void UpdateAutofillPopupDataListValues(
90 const std::vector<base::string16>& values, 90 const std::vector<base::string16>& values,
91 const std::vector<base::string16>& labels) = 0; 91 const std::vector<base::string16>& labels) = 0;
92 92
93 // Hide the Autofill popup if one is currently showing. 93 // Hide the Autofill popup if one is currently showing.
94 virtual void HideAutofillPopup() = 0; 94 virtual void HideAutofillPopup() = 0;
95 95
96 // Whether the Autocomplete feature of Autofill should be enabled. 96 // Whether the Autocomplete feature of Autofill should be enabled.
97 virtual bool IsAutocompleteEnabled() = 0; 97 virtual bool IsAutocompleteEnabled() = 0;
98
99 // Pass the form structures to the password generation manager to detect
100 // account creation forms.
101 virtual void DetectAccountCreationForms(
102 const std::vector<autofill::FormStructure*>& forms) = 0;
98 }; 103 };
99 104
100 } // namespace autofill 105 } // namespace autofill
101 106
102 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ 107 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | components/autofill/core/browser/autofill_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698