summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/public/WebContextMenuData.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/public/WebContextMenuData.h')
-rw-r--r--WebKit/chromium/public/WebContextMenuData.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/WebKit/chromium/public/WebContextMenuData.h b/WebKit/chromium/public/WebContextMenuData.h
index b4acb1c..5d67046 100644
--- a/WebKit/chromium/public/WebContextMenuData.h
+++ b/WebKit/chromium/public/WebContextMenuData.h
@@ -97,6 +97,19 @@ struct WebContextMenuData {
// Whether context is editable.
bool isEditable;
+ enum CheckableMenuItemFlags {
+ CheckableMenuItemDisabled = 0x0,
+ CheckableMenuItemEnabled = 0x1,
+ CheckableMenuItemChecked = 0x2,
+ };
+
+ // Writing direction menu items - values are unions of
+ // CheckableMenuItemFlags.
+ // Currently only used on OS X.
+ int writingDirectionDefault;
+ int writingDirectionLeftToRight;
+ int writingDirectionRightToLeft;
+
enum EditFlags {
CanDoNone = 0x0,
CanUndo = 0x1,