Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Issue 2884243003: Add a mojo channel for frame messages. (Closed)

Created:
3 years, 7 months ago by dtapuska
Modified:
3 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, yusukes+watch_chromium.org, Aaron Boodman, shuchen+watch_chromium.org, nasko+codewatch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, dtapuska+chromiumwatch_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, James Su, darin (slow to review), viettrungluu+watch_chromium.org, qsr+mojo_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a mojo channel for frame messages. 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} Committed: https://chromium.googlesource.com/chromium/src/+/9d46ef7db2e30e99230aaf9584723a9dab06a2d3

Patch Set 1 #

Total comments: 12

Patch Set 2 : Fix dcheng's initial comments #

Total comments: 8

Patch Set 3 : Use WeakPtr inside FrameInputHandlerImpl, add comments #

Total comments: 6

Patch Set 4 : Get rid of ref counted object #

Patch Set 5 : Rebase #

Total comments: 8

Patch Set 6 : Fix nits #

Patch Set 7 : Fix presubmit warning I ignored #

Unified diffs Side-by-side diffs Delta from patch set Stats (+896 lines, -89 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/android/ime_adapter_android.cc View 1 2 3 4 5 4 chunks +11 lines, -10 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
A + content/browser/frame_host/input/OWNERS View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
A content/browser/frame_host/input/legacy_ipc_frame_input_handler.h View 1 1 chunk +62 lines, -0 lines 0 comments Download
A content/browser/frame_host/input/legacy_ipc_frame_input_handler.cc View 1 1 chunk +146 lines, -0 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 2 3 4 4 chunks +4 lines, -8 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 4 chunks +6 lines, -15 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 chunks +16 lines, -15 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 15 chunks +16 lines, -23 lines 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/common/input/OWNERS View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A content/common/input/input_handler.mojom View 1 2 3 1 chunk +84 lines, -0 lines 0 comments Download
M content/public/app/mojo/content_renderer_manifest.json View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/render_frame_host.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A content/renderer/input/frame_input_handler_impl.h View 1 2 3 1 chunk +113 lines, -0 lines 0 comments Download
A content/renderer/input/frame_input_handler_impl.cc View 1 2 3 4 5 1 chunk +391 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 4 chunks +16 lines, -10 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (17 generated)
dtapuska
Daniel you mind taking a pass at this?
3 years, 7 months ago (2017-05-16 18:19:44 UTC) #3
dcheng
https://codereview.chromium.org/2884243003/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/2884243003/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc#newcode894 content/browser/browser_plugin/browser_plugin_guest.cc:894: name, base::Optional<std::string>()); Or just nullopt https://codereview.chromium.org/2884243003/diff/1/content/browser/frame_host/input/legacy_ipc_frame_input_handler.cc File content/browser/frame_host/input/legacy_ipc_frame_input_handler.cc (right): ...
3 years, 7 months ago (2017-05-17 04:49:06 UTC) #8
dtapuska
https://codereview.chromium.org/2884243003/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/2884243003/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc#newcode894 content/browser/browser_plugin/browser_plugin_guest.cc:894: name, base::Optional<std::string>()); On 2017/05/17 04:49:06, dcheng (in AEST) wrote: ...
3 years, 7 months ago (2017-05-17 17:08:08 UTC) #9
dtapuska
On 2017/05/17 17:08:08, dtapuska wrote: > https://codereview.chromium.org/2884243003/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc > File content/browser/browser_plugin/browser_plugin_guest.cc (right): > > https://codereview.chromium.org/2884243003/diff/1/content/browser/browser_plugin/browser_plugin_guest.cc#newcode894 > ...
3 years, 7 months ago (2017-05-19 14:13:36 UTC) #10
dcheng
https://codereview.chromium.org/2884243003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2884243003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode994 content/browser/frame_host/render_frame_host_impl.cc:994: if (legacy_frame_input_handler_.get()) Nit: no.get() in conditional tests https://codereview.chromium.org/2884243003/diff/20001/content/common/input/input_handler.mojom File ...
3 years, 7 months ago (2017-05-19 14:59:34 UTC) #11
dtapuska
https://codereview.chromium.org/2884243003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2884243003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode994 content/browser/frame_host/render_frame_host_impl.cc:994: if (legacy_frame_input_handler_.get()) On 2017/05/19 14:59:33, dcheng wrote: > Nit: ...
3 years, 7 months ago (2017-05-23 16:01:19 UTC) #12
dtapuska
On 2017/05/23 16:01:19, dtapuska wrote: > https://codereview.chromium.org/2884243003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc > File content/browser/frame_host/render_frame_host_impl.cc (right): > > https://codereview.chromium.org/2884243003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode994 > ...
3 years, 7 months ago (2017-05-24 21:44:12 UTC) #13
dcheng
LGTM with comments addressed https://codereview.chromium.org/2884243003/diff/40001/content/common/input/input_handler.mojom File content/common/input/input_handler.mojom (right): https://codereview.chromium.org/2884243003/diff/40001/content/common/input/input_handler.mojom#newcode25 content/common/input/input_handler.mojom:25: SetCompositionFromExistingText(int32 start, int32 end, array<ui.mojom.CompositionUnderline> ...
3 years, 7 months ago (2017-05-25 00:03:58 UTC) #14
dtapuska
https://codereview.chromium.org/2884243003/diff/40001/content/common/input/input_handler.mojom File content/common/input/input_handler.mojom (right): https://codereview.chromium.org/2884243003/diff/40001/content/common/input/input_handler.mojom#newcode25 content/common/input/input_handler.mojom:25: SetCompositionFromExistingText(int32 start, int32 end, array<ui.mojom.CompositionUnderline> underlines); On 2017/05/25 00:03:58, ...
3 years, 7 months ago (2017-05-26 14:02:06 UTC) #15
dtapuska
avi@chromium.org: Please review changes in content/*
3 years, 7 months ago (2017-05-26 14:22:09 UTC) #17
Avi (use Gerrit)
lgtm with nits https://codereview.chromium.org/2884243003/diff/80001/content/browser/android/ime_adapter_android.cc File content/browser/android/ime_adapter_android.cc (right): https://codereview.chromium.org/2884243003/diff/80001/content/browser/android/ime_adapter_android.cc#newcode356 content/browser/android/ime_adapter_android.cc:356: rfh->GetFrameInputHandler()->DeleteSurroundingTextInCodePoints(before, Multi-line if() body needs {}. ...
3 years, 7 months ago (2017-05-26 16:08:40 UTC) #18
dtapuska
https://codereview.chromium.org/2884243003/diff/80001/content/browser/android/ime_adapter_android.cc File content/browser/android/ime_adapter_android.cc (right): https://codereview.chromium.org/2884243003/diff/80001/content/browser/android/ime_adapter_android.cc#newcode356 content/browser/android/ime_adapter_android.cc:356: rfh->GetFrameInputHandler()->DeleteSurroundingTextInCodePoints(before, On 2017/05/26 16:08:40, Avi (ping after 24h) wrote: ...
3 years, 7 months ago (2017-05-26 16:25:24 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2884243003/100001
3 years, 7 months ago (2017-05-26 16:26:21 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/448807)
3 years, 7 months ago (2017-05-26 16:37:15 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2884243003/120001
3 years, 7 months ago (2017-05-26 16:40:48 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/224606)
3 years, 7 months ago (2017-05-26 18:18:54 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2884243003/120001
3 years, 7 months ago (2017-05-26 18:21:34 UTC) #31
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 19:06:44 UTC) #35
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/9d46ef7db2e30e99230aaf958472...

Powered by Google App Engine
This is Rietveld 408576698