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

Unified Diff: third_party/WebKit/Source/core/loader/EmptyClients.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/loader/EmptyClients.h
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.h b/third_party/WebKit/Source/core/loader/EmptyClients.h
index adedd76b46f6a31eb960e1ed5e2eabf7b4c85172..f8d32a70d2e2f06389b555c99fe016a7e11ab1b0 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.h
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.h
@@ -32,6 +32,7 @@
#include <memory>
#include "core/CoreExport.h"
+#include "core/events/MouseEvent.h"
#include "core/frame/ContentSettingsClient.h"
#include "core/frame/LocalFrameClient.h"
#include "core/frame/RemoteFrameClient.h"
@@ -447,7 +448,10 @@ class EmptyContextMenuClient final : public ContextMenuClient {
public:
EmptyContextMenuClient() {}
~EmptyContextMenuClient() override {}
- bool ShowContextMenu(const ContextMenu*, bool) override { return false; }
+ bool ShowContextMenu(const ContextMenu*,
+ MouseEvent::SyntheticEventType) override {
+ return false;
+ }
void ClearContextMenu() override {}
};

Powered by Google App Engine
This is Rietveld 408576698