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

Unified Diff: components/autofill/core/browser/autofill_manager.cc

Issue 133893004: Allow deleting autofill password suggestions on Shift+Delete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Allow deleting autofill password suggestions on Shift+Delete Created 6 years, 11 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_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index 22ec8be61893c33aa0bae1a85613c3fa0eeaf2ea..c01eca51abbf28c3af5df2b79c0359cd6d61e1c5 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -357,6 +357,7 @@ void AutofillManager::OnTextFieldDidChange(const FormData& form,
void AutofillManager::OnQueryFormFieldAutofill(int query_id,
const FormData& form,
const FormFieldData& field,
+ const PasswordForm& passwordform,
const gfx::RectF& bounding_box,
bool display_warning) {
std::vector<base::string16> values;
@@ -367,6 +368,7 @@ void AutofillManager::OnQueryFormFieldAutofill(int query_id,
external_delegate_->OnQuery(query_id,
form,
field,
+ passwordform,
bounding_box,
display_warning);
@@ -612,10 +614,12 @@ void AutofillManager::OnAddPasswordFormMapping(
void AutofillManager::OnShowPasswordSuggestions(
const FormFieldData& field,
+ const PasswordForm& passwordform,
const gfx::RectF& bounds,
const std::vector<base::string16>& suggestions,
const std::vector<base::string16>& realms) {
external_delegate_->OnShowPasswordSuggestions(suggestions,
+ passwordform,
realms,
field,
bounds);

Powered by Google App Engine
This is Rietveld 408576698