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

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

Issue 1986783002: Text selected with double-tap should not cause vibration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added description of return value of showContextMenu Created 4 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 b4335d92fa15f7ede8a4b4dc93902c2488cfd6cf..5b1f19ab7ec203e45f39d201a0663c50fdc4ce39 100644
--- a/third_party/WebKit/Source/core/page/ContextMenuClient.h
+++ b/third_party/WebKit/Source/core/page/ContextMenuClient.h
@@ -33,7 +33,9 @@ class ContextMenu;
class ContextMenuClient {
public:
virtual ~ContextMenuClient() { }
- virtual void showContextMenu(const ContextMenu*) = 0;
+
+ // Returns whether a Context Menu was actually shown.
+ virtual bool showContextMenu(const ContextMenu*, bool fromTouch) = 0;
virtual void clearContextMenu() = 0;
};
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/core/page/ContextMenuController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698