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

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

Issue 1134793004: Autofill item deletion on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fix Created 5 years, 7 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
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | components/autofill_strings.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_popup_delegate.h
diff --git a/components/autofill/core/browser/autofill_popup_delegate.h b/components/autofill/core/browser/autofill_popup_delegate.h
index 2eff7c1141f8fc1fbd78fb966f3fae6fad43ea8f..8c77edb445b7310541f36afe62a8ecc228c512f8 100644
--- a/components/autofill/core/browser/autofill_popup_delegate.h
+++ b/components/autofill/core/browser/autofill_popup_delegate.h
@@ -28,6 +28,13 @@ class AutofillPopupDelegate {
virtual void DidAcceptSuggestion(const base::string16& value,
int identifier) = 0;
+ // Returns whether the given value can be deleted, and if true,
+ // fills out |title| and |body|.
+ virtual bool GetDeletionConfirmationText(const base::string16& value,
+ int identifier,
+ base::string16* title,
+ base::string16* body) = 0;
+
// Delete the described suggestion. Returns true if something was deleted,
// or false if deletion is not allowed.
virtual bool RemoveSuggestion(const base::string16& value,
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | components/autofill_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698