commit | 9e6471cbcd8905ab142a1cac1089de5029f414ba | [log] [tgz] |
---|---|---|
author | Dmitry Gozman <dgozman@chromium.org> | Wed Jun 13 20:23:39 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 13 20:23:39 2018 |
tree | a4121d2812cbaf5c0287ff39f00f93cd04b03bc3 | |
parent | 7ab21d83e332c7cf2c0759fd7885aab2005bda81 [diff] |
FrameLoader: remove FrameLoadRequest::TriggeringEvent The event is only used by default click handlers and form submission. This patch replaces event with NavigationPolicy calculated on the call sites and (unfortunately) WebEventTriggeringInfo. Replaced one unit test with layout test which exercises real click instead of simulating it. Next patch will encapsulate all navigation policy logic in navigation_policy.cc and fix a bug with form submissions ignoring event modifiers (see issue). TBR=haraken@chromium.org Bug: 849055 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: Ic64b0eec02d69e58d0dbe283abd7ee157f46f747 Reviewed-on: https://chromium-review.googlesource.com/1084323 Commit-Queue: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#566969}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .