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

Issue 1914603002: Replace ViewHostMsg_TextInputState_Params with content::TextInputState. (Closed)

Created:
4 years, 8 months ago by EhsanK
Modified:
4 years, 8 months ago
Reviewers:
kenrb, Charlie Reis
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, 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, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace ViewHostMsg_TextInputState_Params with content::TextInputState. This refactoring is the first step in relanding "Browser Side Text Input State Tracking for OOPIF" (original CL: https://codereview.chromium.org/1652483002). For context on initialization of all struct variables refer to this CL: https://codereview.chromium.org/1894473002. For context on the default copy constructor refer to this CL: https://codereview.chromium.org/1867153002. BUG=578168 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/9053e57bfd10c2466cbcb0fe50389e473c1682ef Cr-Commit-Position: refs/heads/master@{#389863}

Patch Set 1 #

Total comments: 17

Patch Set 2 : Addressing creis@ comments #

Total comments: 6

Patch Set 3 : Addressing Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -87 lines) Patch
M content/browser/browser_plugin/browser_plugin_guest.h View 4 chunks +3 lines, -5 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 3 chunks +2 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 3 chunks +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 3 chunks +2 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 3 chunks +2 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 3 chunks +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mus.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mus.cc View 2 chunks +2 lines, -1 line 0 comments Download
A content/common/text_input_state.h View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
A content/common/text_input_state.cc View 1 chunk +23 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 4 chunks +16 lines, -40 lines 0 comments Download
M content/content_common.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_widget.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M content/test/test_render_view_host.h View 1 3 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
EhsanK
kenrb@chromium.org: Please review changes in creis@chromium.org: Please review changes in This is the first part ...
4 years, 8 months ago (2016-04-22 19:12:29 UTC) #3
Charlie Reis
Thanks! Mostly nits, but one outstanding question from kinaba's CL. On 2016/04/22 19:12:29, ehsaaan wrote: ...
4 years, 8 months ago (2016-04-22 23:02:38 UTC) #4
Charlie Reis
[+site-isolation-reviews]
4 years, 8 months ago (2016-04-22 23:03:17 UTC) #6
EhsanK
Please, take another look. https://codereview.chromium.org/1914603002/diff/1/content/browser/frame_host/render_widget_host_view_child_frame.h File content/browser/frame_host/render_widget_host_view_child_frame.h (right): https://codereview.chromium.org/1914603002/diff/1/content/browser/frame_host/render_widget_host_view_child_frame.h#newcode36 content/browser/frame_host/render_widget_host_view_child_frame.h:36: struct TextInputState; On 2016/04/22 23:02:38, ...
4 years, 8 months ago (2016-04-25 19:09:00 UTC) #7
Charlie Reis
Thanks, LGTM if Ken is happy. Side note: If you need to rebase between patch ...
4 years, 8 months ago (2016-04-26 06:13:23 UTC) #8
EhsanK
On 2016/04/26 06:13:23, Charlie Reis wrote: > Thanks, LGTM if Ken is happy. > > ...
4 years, 8 months ago (2016-04-26 14:29:05 UTC) #9
kenrb
lgtm with a couple of nits. https://codereview.chromium.org/1914603002/diff/20001/content/browser/frame_host/render_widget_host_view_guest.cc File content/browser/frame_host/render_widget_host_view_guest.cc (right): https://codereview.chromium.org/1914603002/diff/20001/content/browser/frame_host/render_widget_host_view_guest.cc#newcode350 content/browser/frame_host/render_widget_host_view_guest.cc:350: const TextInputState& params) ...
4 years, 8 months ago (2016-04-26 15:54:19 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/1914603002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914603002/40001
4 years, 8 months ago (2016-04-26 18:02:20 UTC) #12
EhsanK
Thank you for the reviews! FYI, I will commit this patch after Dry Run. https://codereview.chromium.org/1914603002/diff/20001/content/browser/frame_host/render_widget_host_view_guest.cc ...
4 years, 8 months ago (2016-04-26 18:02:47 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-26 19:54:55 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914603002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914603002/40001
4 years, 8 months ago (2016-04-26 19:55:52 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-26 20:00:53 UTC) #20
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 20:01:54 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9053e57bfd10c2466cbcb0fe50389e473c1682ef
Cr-Commit-Position: refs/heads/master@{#389863}

Powered by Google App Engine
This is Rietveld 408576698