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

Unified Diff: components/autofill/core/browser/autofill_driver.h

Issue 223133003: Allow deleting autofill password suggestions on Shift+Delete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed problems in previous patch Created 6 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/autofill_driver.h
diff --git a/components/autofill/core/browser/autofill_driver.h b/components/autofill/core/browser/autofill_driver.h
index 629d85f8a5bbf8c51f30935df4a2d116e1574eba..20eb505bd49b315a8cbcbcc44aa7f6ac5213aca0 100644
--- a/components/autofill/core/browser/autofill_driver.h
+++ b/components/autofill/core/browser/autofill_driver.h
@@ -20,6 +20,7 @@ class URLRequestContextGetter;
namespace autofill {
class FormStructure;
+struct PasswordForm;
// Interface that allows Autofill core code to interact with its driver (i.e.,
// obtain information from it and give information to it). A concrete
@@ -64,6 +65,11 @@ class AutofillDriver {
virtual void SendAutofillTypePredictionsToRenderer(
const std::vector<FormStructure*>& forms) = 0;
+ // Remove the saved login that has the username |username_to_remove|
+ // from suggestions.
+ virtual void RemovePasswordAutofillSuggestion(
+ const base::string16& username_to_remove) = 0;
+
// Tells the renderer to accept data list suggestions for |value|.
virtual void RendererShouldAcceptDataListSuggestion(
const base::string16& value) = 0;

Powered by Google App Engine
This is Rietveld 408576698