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

Unified Diff: Source/WebKit/chromium/public/WebAutofillClient.h

Issue 10037002: Datalist UI (WebKit part) (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk
Patch Set: fixed Created 8 years, 8 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 | « Source/WebKit/chromium/features.gypi ('k') | Source/WebKit/chromium/public/WebDataListElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/public/WebAutofillClient.h
diff --git a/Source/WebKit/chromium/public/WebAutofillClient.h b/Source/WebKit/chromium/public/WebAutofillClient.h
index 5824f170a38cff7febc61ffa3c51c8e37852d085..d78f31b212a5637ad0a4e76cd5d57b6db47ca1d8 100644
--- a/Source/WebKit/chromium/public/WebAutofillClient.h
+++ b/Source/WebKit/chromium/public/WebAutofillClient.h
@@ -33,6 +33,16 @@
namespace WebKit {
+enum {
+ AutocompleteEntryMenuItemID = 0,
+ WarningMessageMenuItemID = -1,
+ PasswordEntryMenuItemID = -2,
+ SeparatorMenuItemID = -3,
+ ClearFormMenuItemID = -4,
+ AutofillOptionsMenuItemID = -5,
+ DataListEntryMenuItemID = -6
+};
+
class WebInputElement;
class WebKeyboardEvent;
class WebNode;
@@ -49,7 +59,7 @@ public:
virtual void didAcceptAutofillSuggestion(const WebNode&,
const WebString& value,
const WebString& label,
- int uniqueID,
+ int itemID,
unsigned index) { }
// Informs the browser that the user has selected an Autofill suggestion for
@@ -58,7 +68,7 @@ public:
virtual void didSelectAutofillSuggestion(const WebNode&,
const WebString& name,
const WebString& label,
- int uniqueID) { }
+ int itemID) { }
// Informs the browser that the user has cleared the selection from the
// Autofill suggestions popup. This happens when a user uses the arrow
« no previous file with comments | « Source/WebKit/chromium/features.gypi ('k') | Source/WebKit/chromium/public/WebDataListElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698