Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Unified Diff: content/public/common/context_menu_params.h

Issue 2785853002: Selection Action mode triggered like a context menu (Closed)
Patch Set: Fixing rebase bug Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698