Chromium Code Reviews| Index: content/public/common/context_menu_params.h |
| diff --git a/content/public/common/context_menu_params.h b/content/public/common/context_menu_params.h |
| index f052d3ffdb0cd95392fbb9da46e04f337464ecc2..2b7777639e765b68bba788ea529bcb7c411f5658 100644 |
| --- a/content/public/common/context_menu_params.h |
| +++ b/content/public/common/context_menu_params.h |
| @@ -24,6 +24,7 @@ |
| #if defined(OS_ANDROID) |
| #include "ui/gfx/geometry/point.h" |
| +#include "ui/gfx/geometry/rect.h" |
| #endif |
| namespace content { |
| @@ -165,6 +166,10 @@ struct CONTENT_EXPORT ContextMenuParams { |
| // If this node is an input field, the type of that field. |
| blink::WebContextMenuData::InputFieldType input_field_type; |
| + |
| + gfx::Rect selection_rect; |
|
boliu
2017/04/21 21:20:19
comment explaining this, what coordinate space is
|
| + |
| + bool from_touch; |
|
boliu
2017/04/21 21:20:19
how is from_touch different from the two source ty
|
| }; |
| } // namespace content |