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

Unified Diff: third_party/WebKit/Source/core/page/ContextMenuClient.h

Issue 2785853002: Selection Action mode triggered like a context menu (Closed)
Patch Set: fix tests Created 3 years, 7 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: third_party/WebKit/Source/core/page/ContextMenuClient.h
diff --git a/third_party/WebKit/Source/core/page/ContextMenuClient.h b/third_party/WebKit/Source/core/page/ContextMenuClient.h
index 56fa88138602897e08805639b015c106750625f0..be8ab1caecb9484fda1989296f292fd423b0e55b 100644
--- a/third_party/WebKit/Source/core/page/ContextMenuClient.h
+++ b/third_party/WebKit/Source/core/page/ContextMenuClient.h
@@ -26,6 +26,8 @@
#ifndef ContextMenuClient_h
#define ContextMenuClient_h
+#include "core/events/MouseEvent.h"
+
namespace blink {
class ContextMenu;
@@ -35,7 +37,8 @@ class ContextMenuClient {
virtual ~ContextMenuClient() {}
// Returns whether a Context Menu was actually shown.
- virtual bool ShowContextMenu(const ContextMenu*, bool from_touch) = 0;
+ virtual bool ShowContextMenu(const ContextMenu*,
+ MouseEvent::SyntheticEventType) = 0;
virtual void ClearContextMenu() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698