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

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

Issue 133893004: Allow deleting autofill password suggestions on Shift+Delete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 6 years, 9 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_external_delegate.h
diff --git a/components/autofill/core/browser/autofill_external_delegate.h b/components/autofill/core/browser/autofill_external_delegate.h
index 96f069e55feed1aec8b1f7a6d1362a2756134d6a..df67bb24adfc47f6794b35e8af006b16d1f5794c 100644
--- a/components/autofill/core/browser/autofill_external_delegate.h
+++ b/components/autofill/core/browser/autofill_external_delegate.h
@@ -36,8 +36,8 @@ class AutofillExternalDelegate
public:
// Creates an AutofillExternalDelegate for the specified AutofillManager and
// AutofillDriver.
- AutofillExternalDelegate(AutofillManager* manager,
- AutofillDriver* driver);
+ AutofillExternalDelegate(AutofillManager* autofill_manager,
vabr (Chromium) 2014/04/01 16:56:08 Please undo this change (adding the "autofill_" pr
rchtara 2014/04/03 08:44:50 Done.
+ AutofillDriver* autofill_driver);
virtual ~AutofillExternalDelegate();
// AutofillPopupDelegate implementation.
@@ -77,6 +77,7 @@ class AutofillExternalDelegate
void OnShowPasswordSuggestions(const std::vector<base::string16>& suggestions,
const std::vector<base::string16>& realms,
const FormFieldData& field,
+ const PasswordForm& password_form,
const gfx::RectF& bounds);
// Set the data list value associated with the current field.
@@ -143,6 +144,8 @@ class AutofillExternalDelegate
// The current form and field selected by Autofill.
FormData query_form_;
FormFieldData query_field_;
+ // The current password selected by Autofill.
+ PasswordForm query_password_form_;
// The bounds of the form field that user is interacting with.
gfx::RectF element_bounds_;

Powered by Google App Engine
This is Rietveld 408576698