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

Unified Diff: chrome/browser/autofill/autofill_popup_view.h

Issue 10408070: Upgrade Seperator in New Autofill UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 | « chrome/browser/autofill/autofill_popup_unittest.cc ('k') | chrome/browser/autofill/autofill_popup_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_popup_view.h
diff --git a/chrome/browser/autofill/autofill_popup_view.h b/chrome/browser/autofill/autofill_popup_view.h
index 4fac0240a26086872c4a5ead883635471a20b587..a6d397e5567707f590ab30351b5147f86c34b21a 100644
--- a/chrome/browser/autofill/autofill_popup_view.h
+++ b/chrome/browser/autofill/autofill_popup_view.h
@@ -88,15 +88,14 @@ class AutofillPopupView : public content::NotificationObserver {
// The user has removed a suggestion.
bool RemoveSelectedLine();
- // Return true if the index is the first element of a new section and should
- // have a separator above it.
- bool IsSeparatorIndex(int index);
-
// Get the resource value for the given resource, returning -1 if the
// resource isn't recognized.
int GetIconResourceID(const string16& resource_name);
private:
+ // Returns true if the given id refers to an element that can be accepted.
+ bool CanAccept(int id);
+
// Returns true if the given id refers to an element that can be deleted.
bool CanDelete(int id);
« no previous file with comments | « chrome/browser/autofill/autofill_popup_unittest.cc ('k') | chrome/browser/autofill/autofill_popup_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698