Index: public/web/WebContextMenuData.h |
diff --git a/public/web/WebContextMenuData.h b/public/web/WebContextMenuData.h |
index 859728aaaeb55fc769a4691184870de1b3b209d2..b369385a4d4b82aed2b2450bc9d35b0b974bcb23 100644 |
--- a/public/web/WebContextMenuData.h |
+++ b/public/web/WebContextMenuData.h |
@@ -140,6 +140,21 @@ struct WebContextMenuData { |
// Whether context is editable. |
bool isEditable; |
+ enum InputFieldType { |
+ // Not an input field. |
+ InputFieldTypeNone, |
+ // type = text, tel, search, number, email, url |
+ InputFieldTypePlainText, |
+ // type = password |
+ InputFieldTypePassword, |
+ // type = <etc.> |
+ InputFieldTypeOther, |
+ InputFieldTypeLast = InputFieldTypeOther |
+ }; |
+ |
+ // If this node is an input field, the type of that field. |
+ InputFieldType inputFieldType; |
+ |
enum CheckableMenuItemFlags { |
CheckableMenuItemDisabled = 0x0, |
CheckableMenuItemEnabled = 0x1, |