Index: third_party/WebKit/public/web/WebContextMenuData.h |
diff --git a/third_party/WebKit/public/web/WebContextMenuData.h b/third_party/WebKit/public/web/WebContextMenuData.h |
index 9e261cb4ff879e36dabf2aba8a5be9e99705fcb7..95183d836690acab2bb3d26bc1bdf9dce8981aad 100644 |
--- a/third_party/WebKit/public/web/WebContextMenuData.h |
+++ b/third_party/WebKit/public/web/WebContextMenuData.h |
@@ -32,6 +32,7 @@ |
#define WebContextMenuData_h |
#include "../platform/WebPoint.h" |
+#include "../platform/WebRect.h" |
#include "../platform/WebReferrerPolicy.h" |
#include "../platform/WebString.h" |
#include "../platform/WebURL.h" |
@@ -188,6 +189,10 @@ struct WebContextMenuData { |
// Custom context menu items provided by the WebCore internals. |
WebVector<WebMenuItemInfo> custom_items; |
+ WebRect selection_rect; |
+ |
+ bool from_touch; |
+ |
WebContextMenuData() |
: media_type(kMediaTypeNone), |
has_image_contents(false), |
@@ -197,7 +202,8 @@ struct WebContextMenuData { |
writing_direction_default(kCheckableMenuItemDisabled), |
writing_direction_left_to_right(kCheckableMenuItemEnabled), |
writing_direction_right_to_left(kCheckableMenuItemEnabled), |
- edit_flags(0) {} |
+ edit_flags(0), |
+ from_touch(false) {} |
}; |
} // namespace blink |