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 |