Add context menu support at drag-end behind a web preference.
This is an experimental CL that delays the firing of a contextmenu event from long-press to end-of-drag. This only affects "stationary" drags of draggable elements (a drag spanning a few pixels is considered stationary to accommodate shaky finger movements). Like regular contextmenu events, the event can be cancelled to suppress the menu. The change is gated by a web preference. Bug: 1096189 Change-Id: Ibd3632ef7066315bebd0a1bfac52186112315ef3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2340287 Commit-Queue: Mustaq Ahmed <mustaq@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Reviewed-by:
Robert Flack <flackr@chromium.org> Cr-Commit-Position: refs/heads/master@{#806225}
Showing
Please register or sign in to comment