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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_models.h

Issue 12207140: re-commit r181807: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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: chrome/browser/ui/autofill/autofill_dialog_models.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_models.h b/chrome/browser/ui/autofill/autofill_dialog_models.h
index 9c942eee0bcc2cbaea2b7473a7373c1188c0c046..9cb3d4e30ed50e17c58f5b683ed06d0c8d51b0d0 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_models.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_models.h
@@ -38,6 +38,9 @@ class SuggestionsMenuModel : public ui::SimpleMenuModel,
// Adds an item and its identifying key to the model. Keys needn't be unique.
void AddKeyedItem(const std::string& key, const string16& display_label);
+ // Resets the model to empty.
+ void Reset();
+
// Returns the ID key for the item at |index|.
std::string GetItemKeyAt(int index) const;
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc ('k') | chrome/browser/ui/autofill/autofill_dialog_models.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698