Add a mojo channel for frame messages

Desktop / Chromium - dtapuska [chromium.org] - 26 May 2017 15:06 EDT

These messages are currently disabled since all input messages need to be moved over to use mojo. But this enables a set of them
via the command line --mojo-input-messages

BUG=722928 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2884243003 Cr-Commit-Position: refs/heads/master@{#475079}

9d46ef7 Add a mojo channel for frame messages.
content/browser/BUILD.gn | 2 +
content/browser/android/ime_adapter_android.cc | 21 +-
.../browser/browser_plugin/browser_plugin_guest.cc | 6 +-
content/browser/frame_host/input/OWNERS | 7 +
.../input/legacy_ipc_frame_input_handler.cc | 146 ++++++++
.../input/legacy_ipc_frame_input_handler.h | 62 ++++
.../browser/frame_host/interstitial_page_impl.cc | 12 +-
.../browser/frame_host/render_frame_host_impl.cc | 31 +-
.../browser/frame_host/render_frame_host_impl.h | 21 +-
.../renderer_host/render_widget_host_view_aura.cc | 2 +-
content/browser/site_per_process_browsertest.cc | 3 +-
content/browser/web_contents/web_contents_impl.cc | 39 +-
content/common/BUILD.gn | 1 +
content/common/input/OWNERS | 2 +
content/common/input/input_handler.mojom | 84 +++++
.../public/app/mojo/content_renderer_manifest.json | 1 +
content/public/browser/DEPS | 1 +
content/public/browser/render_frame_host.h | 3 +
content/public/common/content_switches.cc | 3 +
content/public/common/content_switches.h | 1 +
content/renderer/BUILD.gn | 2 +
content/renderer/input/frame_input_handler_impl.cc | 391 +++++++++++++++++++++
content/renderer/input/frame_input_handler_impl.h | 113 ++++++
content/renderer/render_frame_impl.cc | 4 +
content/renderer/render_frame_impl.h | 26 +-
content/renderer/render_widget.cc | 4 +
content/renderer/render_widget.h | 2 +
27 files changed, 903 insertions(+), 87 deletions(-)

Upstream: git.chromium.org


  • Share