| 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..7c104b8ed164687faf8f52a601a432d72ad6d755 100644
|
| --- a/content/public/common/context_menu_params.h
|
| +++ b/content/public/common/context_menu_params.h
|
| @@ -20,12 +20,9 @@
|
| #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
|
| #include "third_party/WebKit/public/web/WebContextMenuData.h"
|
| #include "ui/base/ui_base_types.h"
|
| +#include "ui/gfx/geometry/rect.h"
|
| #include "url/gurl.h"
|
|
|
| -#if defined(OS_ANDROID)
|
| -#include "ui/gfx/geometry/point.h"
|
| -#endif
|
| -
|
| namespace content {
|
|
|
| struct CONTENT_EXPORT CustomContextMenuContext {
|
| @@ -156,15 +153,11 @@ struct CONTENT_EXPORT ContextMenuParams {
|
| // Extra properties for the context menu.
|
| std::map<std::string, std::string> properties;
|
|
|
| -#if defined(OS_ANDROID)
|
| - // Points representing the coordinates in the document space of the start and
|
| - // end of the selection, if there is one.
|
| - gfx::Point selection_start;
|
| - gfx::Point selection_end;
|
| -#endif
|
| -
|
| // If this node is an input field, the type of that field.
|
| blink::WebContextMenuData::InputFieldType input_field_type;
|
| +
|
| + // Rect representing the coordinates in the document space of the selection.
|
| + gfx::Rect selection_rect;
|
| };
|
|
|
| } // namespace content
|
|
|