Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1222)

Issue 2287803002: Add support for edit commands in OOPIFs. (Closed)

Created:
4 years, 3 months ago by alexmos
Modified:
4 years, 3 months ago
Reviewers:
Charlie Reis, dcheng, lfg
CC:
chromium-reviews, yusukes+watch_chromium.org, nasko+codewatch_chromium.org, sievers+watch_chromium.org, kinuko+watch, jam, jbauman+watch_chromium.org, nona+watch_chromium.org, dglazkov+blink, darin-cc_chromium.org, gavinp+loader_chromium.org, blink-reviews, kalyank, blink-reviews-api_chromium.org, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, loading-reviews_chromium.org, piman+watch_chromium.org, Nate Chapin, tyoshino+watch_chromium.org, shuchen+watch_chromium.org, danakj+watch_chromium.org, James Su, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for edit commands in OOPIFs. Previously, edit commands from the browser were sent via InputMsg_SetEditCommandsForNextKeyEvent to focused RenderWidgets, but for OOPIFs the IPC was dropped since it was only handled in RenderViews. To fix this, this CL moves the IPC handling and associated edit command bookkeeping to RenderWidget. BUG=640706 Committed: https://crrev.com/5656749d827dc6af03caed97958bd1ff035d1e61 Cr-Commit-Position: refs/heads/master@{#418126}

Patch Set 1 #

Patch Set 2 : Fix widget lookup #

Patch Set 3 : Cleanup #

Total comments: 2

Patch Set 4 : Add TODO #

Total comments: 4

Patch Set 5 : Charlie's nits (and rebase - sorry) #

Patch Set 6 : Remove WebFrameClient null checks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -69 lines) Patch
M chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc View 1 2 3 4 3 chunks +89 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/public/renderer/render_view.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 chunks +0 lines, -8 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 chunks +2 lines, -38 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 4 chunks +12 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 3 chunks +18 lines, -2 lines 0 comments Download
M content/renderer/render_widget_owner_delegate.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/EditorKeyBindings.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/EditorClient.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/EditorClientImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/EditorClientImpl.cpp View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 1 2 3 4 5 3 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebViewClient.h View 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 43 (31 generated)
alexmos
Lucas, can you please take an initial look? This is somewhat related to the view/widget ...
4 years, 3 months ago (2016-08-31 23:00:36 UTC) #12
lfg
lgtm On 2016/08/31 23:00:36, alexmos (OOO until 9-6) wrote: > Lucas, can you please take ...
4 years, 3 months ago (2016-09-02 17:20:02 UTC) #16
alexmos
Thanks! Responses below. > I think this should be plumbed through WebFrameTestProxy, since we are ...
4 years, 3 months ago (2016-09-07 00:03:00 UTC) #19
alexmos
Charlie, can you please review content/ for OWNERS? And Daniel, can you please review the ...
4 years, 3 months ago (2016-09-07 00:05:13 UTC) #21
Charlie Reis
content/ and test LGTM with nits. https://codereview.chromium.org/2287803002/diff/60001/chrome/browser/site_per_process_interactive_browsertest.cc File chrome/browser/site_per_process_interactive_browsertest.cc (right): https://codereview.chromium.org/2287803002/diff/60001/chrome/browser/site_per_process_interactive_browsertest.cc#newcode185 chrome/browser/site_per_process_interactive_browsertest.cc:185: SubframeKeyboardEditCommands) { I ...
4 years, 3 months ago (2016-09-07 20:41:42 UTC) #24
alexmos
Daniel: friendly ping for the Blink-side review :) Charlie: thanks - nits fixed. https://codereview.chromium.org/2287803002/diff/60001/chrome/browser/site_per_process_interactive_browsertest.cc File ...
4 years, 3 months ago (2016-09-08 21:00:07 UTC) #27
dcheng
blink bits seem fine, but I'm not sure the null checks are necessary: they were ...
4 years, 3 months ago (2016-09-09 06:28:28 UTC) #30
alexmos
Daniel, PTAL. On 2016/09/09 06:28:28, dcheng wrote: > blink bits seem fine, but I'm not ...
4 years, 3 months ago (2016-09-13 00:35:33 UTC) #35
dcheng
lgtm
4 years, 3 months ago (2016-09-13 00:45:43 UTC) #36
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/2287803002/100001
4 years, 3 months ago (2016-09-13 00:48:51 UTC) #39
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-13 00:53:12 UTC) #41
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 00:54:50 UTC) #43
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5656749d827dc6af03caed97958bd1ff035d1e61
Cr-Commit-Position: refs/heads/master@{#418126}

Powered by Google App Engine
This is Rietveld 408576698