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

Issue 1249013005: Merge ViewHostMsg_TextInputTypeChanged and ViewHostMsg_TextInputStateChanged into one. (Closed)

Created:
5 years, 5 months ago by Shu Chen
Modified:
5 years, 4 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, yusukes+watch_chromium.org, shuchen+watch_chromium.org, nasko+codewatch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, aurimas (slooooooooow)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Merge ViewHostMsg_TextInputTypeChanged and ViewHostMsg_TextInputStateChanged into one. This is reland of cl https://codereview.chromium.org/326403002, which used to cause regresssion crbug.com/417152. As mentioned #13 of crbug.com/417152, the regression root cause was due to the |input_method_active_| flag in RenderWidget which caused on windows, UpdateTextInputType() always sends IPC while UpdateTextInputState() doesn't. After |input_method_active_| is removed by cl https://codereview.chromium.org/1234193002, we can reland it safely. BUG=377169, 474828 TEST=crbug.com/417152 not repro with this cl and trybots green. Committed: https://crrev.com/913f8b627c442721376c7ae6c5ceaf33f684a434 Cr-Commit-Position: refs/heads/master@{#341324}

Patch Set 1 #

Patch Set 2 : rebased. #

Patch Set 3 : #

Total comments: 14

Patch Set 4 : nits. #

Total comments: 7

Patch Set 5 : addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -216 lines) Patch
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 3 chunks +14 lines, -12 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 chunk +2 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 2 chunks +5 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 chunks +2 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 chunks +1 line, -11 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 3 chunks +4 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 2 chunks +10 lines, -23 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 1 chunk +6 lines, -9 lines 0 comments Download
M content/common/view_messages.h View 1 2 chunks +3 lines, -6 lines 0 comments Download
M content/renderer/npapi/webplugin_delegate_proxy.cc View 1 2 3 4 1 chunk +6 lines, -5 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 2 chunks +6 lines, -8 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 4 5 chunks +26 lines, -19 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 3 chunks +0 lines, -6 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 4 chunks +19 lines, -57 lines 0 comments Download
M content/test/test_render_view_host.h View 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 46 (17 generated)
Shu Chen
nasko@, can you please help to review this cl? Thanks
5 years, 5 months ago (2015-07-23 02:10:30 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1249013005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1249013005/1
5 years, 5 months ago (2015-07-23 02:10:53 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/90613) mac_chromium_compile_dbg_ng on ...
5 years, 5 months ago (2015-07-23 02:12:10 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1249013005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1249013005/20001
5 years, 5 months ago (2015-07-23 02:38:06 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/77016)
5 years, 5 months ago (2015-07-23 02:47:23 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1249013005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1249013005/40001
5 years, 5 months ago (2015-07-23 04:33:50 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-23 06:13:14 UTC) #14
jdduke (slow)
Thank you! As a non-owner and person unfamiliar with many of these details, the Android ...
5 years, 5 months ago (2015-07-23 15:12:50 UTC) #16
Shu Chen
Since nasko@ is out, +wfh@ for approval of content/common/view_messages.h. +sievers@@ for approval of other changes ...
5 years, 5 months ago (2015-07-24 08:59:17 UTC) #18
Shu Chen
https://codereview.chromium.org/1249013005/diff/40001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1249013005/diff/40001/content/renderer/render_frame_impl.cc#newcode3024 content/renderer/render_frame_impl.cc:3024: RenderWidget::NO_SHOW_IME, RenderWidget::FROM_NON_IME); On 2015/07/23 15:12:50, jdduke wrote: > I ...
5 years, 5 months ago (2015-07-24 09:14:05 UTC) #19
jdduke (slow)
On 2015/07/24 09:14:05, Shu Chen wrote: > https://codereview.chromium.org/1249013005/diff/40001/content/renderer/render_frame_impl.cc > File content/renderer/render_frame_impl.cc (right): > > https://codereview.chromium.org/1249013005/diff/40001/content/renderer/render_frame_impl.cc#newcode3024 ...
5 years, 5 months ago (2015-07-24 15:10:49 UTC) #20
yukawa
lgtm from the viewpoint of IME support. https://codereview.chromium.org/1249013005/diff/40001/content/browser/renderer_host/render_widget_host_view_base.h File content/browser/renderer_host/render_widget_host_view_base.h (right): https://codereview.chromium.org/1249013005/diff/40001/content/browser/renderer_host/render_widget_host_view_base.h#newcode211 content/browser/renderer_host/render_widget_host_view_base.h:211: // Updates ...
5 years, 5 months ago (2015-07-24 20:05:54 UTC) #21
Will Harris
view_messages.h IPC looks okay from security. lgtm. https://codereview.chromium.org/1249013005/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h File content/browser/browser_plugin/browser_plugin_guest.h (right): https://codereview.chromium.org/1249013005/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h#newcode51 content/browser/browser_plugin/browser_plugin_guest.h:51: struct ViewHostMsg_TextInputState_Params; ...
5 years, 5 months ago (2015-07-24 21:41:06 UTC) #22
Shu Chen
On 2015/07/24 15:10:49, jdduke wrote: > On 2015/07/24 09:14:05, Shu Chen wrote: > > > ...
5 years, 4 months ago (2015-07-27 01:59:18 UTC) #23
Shu Chen
https://codereview.chromium.org/1249013005/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h File content/browser/browser_plugin/browser_plugin_guest.h (right): https://codereview.chromium.org/1249013005/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h#newcode51 content/browser/browser_plugin/browser_plugin_guest.h:51: struct ViewHostMsg_TextInputState_Params; On 2015/07/24 21:41:06, Will Harris wrote: > ...
5 years, 4 months ago (2015-07-27 02:01:17 UTC) #24
Shu Chen
Pinging... sievers@/nasko, can you please take a look? Thanks
5 years, 4 months ago (2015-07-29 01:46:46 UTC) #25
nasko
wfh@ already reviewed what you included me for, but I did a quick pass anyway. ...
5 years, 4 months ago (2015-07-29 17:41:08 UTC) #26
no sievers
https://codereview.chromium.org/1249013005/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (left): https://codereview.chromium.org/1249013005/diff/60001/content/browser/renderer_host/render_widget_host_view_aura.cc#oldcode497 content/browser/renderer_host/render_widget_host_view_aura.cc:497: IPC_MESSAGE_HANDLER(ViewHostMsg_SetNeedsBeginFrames, On 2015/07/29 17:41:07, nasko wrote: > This IPC ...
5 years, 4 months ago (2015-07-30 00:10:58 UTC) #27
Shu Chen
https://codereview.chromium.org/1249013005/diff/40001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/1249013005/diff/40001/content/renderer/render_widget.cc#newcode1383 content/renderer/render_widget.cc:1383: // The following two can result in further layout ...
5 years, 4 months ago (2015-07-30 00:47:22 UTC) #28
no sievers
lgtm. Btw putting the rebase in a separate patch set does make reviewing deltas easier ...
5 years, 4 months ago (2015-07-30 17:11:20 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1249013005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1249013005/80001
5 years, 4 months ago (2015-07-31 03:18:52 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/22860)
5 years, 4 months ago (2015-07-31 04:22:25 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1249013005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1249013005/80001
5 years, 4 months ago (2015-07-31 04:47:11 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/22876)
5 years, 4 months ago (2015-07-31 06:17:49 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1249013005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1249013005/80001
5 years, 4 months ago (2015-07-31 10:49:01 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/22985)
5 years, 4 months ago (2015-07-31 11:36:55 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1249013005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1249013005/80001
5 years, 4 months ago (2015-07-31 12:24:22 UTC) #44
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-07-31 13:23:04 UTC) #45
commit-bot: I haz the power
5 years, 4 months ago (2015-07-31 13:23:40 UTC) #46
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/913f8b627c442721376c7ae6c5ceaf33f684a434
Cr-Commit-Position: refs/heads/master@{#341324}

Powered by Google App Engine
This is Rietveld 408576698