-
Eugene But authored
Context menu is sometimes invoked for parent elements. f.e. a link can be a parent element of an image and even though user has pressed on the image, context menu is still shown for link, not for image. This CL checks -webkit-touch-callout style on element it is about to present a menu for (which can be a parent). Before the change -webkit-touch-callout was always checked for a parent causing system context menu to show up. Bug: 736480 Change-Id: I9239d75a1bfd9926dd67d1c742763c56837b0c38 Reviewed-on: https://chromium-review.googlesource.com/578215 Commit-Queue: Eugene But <eugenebut@chromium.org> Reviewed-by:
Mike Dougherty <michaeldo@chromium.org> Cr-Commit-Position: refs/heads/master@{#488423}
1e1006ab