Revert "Reland "Populate pointerId, pointerType for contextmenu event""

This reverts commit d02efa408f9e1cdd3299e0068e27f7d54c2061dc.

Reason for revert: Suspicious about causing test failures of
external/wpt/pointerevents/pointerevent_contextmenu_is_a_pointerevent.html?touch
https://ci.chromium.org/ui/p/chromium/builders/ci/Mac10.13%20Tests/41310/overview

Original change's description:
> Reland "Populate pointerId, pointerType for contextmenu event"
>
> This is a reland of a6d69d5243dd02afbd8ef02e5a5c557dd8c4a9e9
>
> I believe the reason for the test failures when this landed
> the first time was related to how pointerId was populated
> for the contextmenu pointer event.
> With crrev.com/c/2889205 landed, we have a robust way to
> associate the gesture event sequence with the corresponding
> pointer event sequence.
> This CL uses the approach in crrev.com/c/2889205 to populate
> the pointerId for the contextmenu pointer event.
>
>
> Original change's description:
> > Populate pointerId, pointerType for contextmenu event
> >
> > For contextmenu as a pointer event pointerId and pointerType
> > were not populated.
> >
> > In this CL we are populating pointerId/pointerType for contextmenu
> > coming from touch and mouse.
> > For touch we use a similar approach to crrev.com/c/2800231
> > for populating pointerId,pointerType for clicks generated in
> > GestureManager::HandleGestureTap.
> > The main change will be in EventHandler::SendContextMenuEvent
> > where we'll be passing id and pointer type to the call to
> > MouseEventManager::DispatchMouseEvent. This in turn will
> > populate pointerId and pointerType correctly when the contextmenu
> > PointerEvent is created.
> >
> > Bug: 1150442,1150441
> > TEST: external/wpt/pointerevents/pointerevent_contextmenu_is_a_pointerevent.html
> > Change-Id: If2408d9cf0d5f00b08efcf2236ff7933472972ce
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2874026
> > Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
> > Reviewed-by: Robert Flack <flackr@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#881145}
>
> Bug: 1150442,1150441,1207709
> Change-Id: Iffaa60373a3811a10f54ff123e64850801450883
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3101585
> Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
> Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
> Reviewed-by: Robert Flack <flackr@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#916130}

Bug: 1150442,1150441,1207709
Change-Id: Ie5c5ae516f3ed428c25a3d2feac9557fce8755fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3128400
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
Owners-Override: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/main@{#916304}
6 files changed
tree: 200f00fa320de833105a995ad629aacd16c94cf0
  1. android_webview/
  2. apps/
  3. ash/
  4. base/
  5. build/
  6. build_overrides/
  7. buildtools/
  8. cc/
  9. chrome/
  10. chromecast/
  11. chromeos/
  12. cloud_print/
  13. codelabs/
  14. components/
  15. content/
  16. courgette/
  17. crypto/
  18. dbus/
  19. device/
  20. docs/
  21. extensions/
  22. fuchsia/
  23. gin/
  24. google_apis/
  25. google_update/
  26. gpu/
  27. headless/
  28. infra/
  29. ios/
  30. ipc/
  31. jingle/
  32. media/
  33. mojo/
  34. native_client_sdk/
  35. net/
  36. pdf/
  37. ppapi/
  38. printing/
  39. remoting/
  40. rlz/
  41. sandbox/
  42. services/
  43. skia/
  44. sql/
  45. storage/
  46. styleguide/
  47. testing/
  48. third_party/
  49. tools/
  50. ui/
  51. url/
  52. weblayer/
  53. .clang-format
  54. .clang-tidy
  55. .eslintrc.js
  56. .git-blame-ignore-revs
  57. .gitattributes
  58. .gitignore
  59. .gn
  60. .mailmap
  61. .vpython
  62. .vpython3
  63. .yapfignore
  64. AUTHORS
  65. BUILD.gn
  66. CODE_OF_CONDUCT.md
  67. codereview.settings
  68. DEPS
  69. DIR_METADATA
  70. ENG_REVIEW_OWNERS
  71. LICENSE
  72. LICENSE.chromium_os
  73. OWNERS
  74. PRESUBMIT.py
  75. PRESUBMIT_test.py
  76. PRESUBMIT_test_mocks.py
  77. README.md
  78. WATCHLISTS
README.md

Logo Chromium

Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.

The project's web site is https://www.chromium.org.

To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.

Documentation in the source is rooted in docs/README.md.

Learn how to Get Around the Chromium Source Code Directory Structure .

For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.

If you found a bug, please file it at https://crbug.com/new.