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

Issue 2354793003: Browser Side TextInputState Tracking for Android (Closed)

Created:
4 years, 3 months ago by EhsanK
Modified:
4 years ago
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, James Su, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Browser Side TextInputState Tracking for Android To enable OOPIF and Top Document Isolation for Android, we need to track the text input state from multiple RenderWidgetHosts. To this end, the TextInputStateChanged updates should be routed through TextInputManager which keeps a map of all RenderWidgetHost(View) and their corresponding TextInputState. This CL will also enable some site-per-process tests on android. BUG=578168, 602723 Committed: https://crrev.com/06b277144e9e48f754e82ec5224076eeeac347b5 Cr-Commit-Position: refs/heads/master@{#434683}

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Rebased #

Patch Set 4 : Rebased #

Total comments: 4

Patch Set 5 : Addressing kenrb@'s comments #

Total comments: 11

Patch Set 6 : Rebased #

Patch Set 7 : Addressing creis@'s comments #

Total comments: 4

Patch Set 8 : Addressing shuchen@'s comment #

Patch Set 9 : Rebased + Removed unused Forward Dec #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -81 lines) Patch
M chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc View 1 2 3 4 5 6 7 8 4 chunks +53 lines, -53 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +1 line, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 7 8 5 chunks +8 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 8 3 chunks +22 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/text_input_manager.h View 1 2 3 4 5 6 1 chunk +6 lines, -3 lines 0 comments Download
M content/browser/renderer_host/text_input_manager.cc View 1 2 3 4 5 6 7 4 chunks +13 lines, -6 lines 0 comments Download

Messages

Total messages: 54 (41 generated)
EhsanK
Please take a look at this CL. cries@: general IME and content/ permissions. kenrb@: general ...
4 years, 1 month ago (2016-11-02 05:47:11 UTC) #18
kenrb
Looks good, just some comments on the test file. https://codereview.chromium.org/2354793003/diff/60001/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc File chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc (left): https://codereview.chromium.org/2354793003/diff/60001/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc#oldcode1045 chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc:1045: ...
4 years, 1 month ago (2016-11-02 17:22:49 UTC) #19
EhsanK
Thanks Ken! PTAL. https://codereview.chromium.org/2354793003/diff/60001/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc File chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc (left): https://codereview.chromium.org/2354793003/diff/60001/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc#oldcode1045 chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc:1045: LookUpStringForRangeRoutesToFocusedWidget) { On 2016/11/02 17:22:48, kenrb ...
4 years, 1 month ago (2016-11-02 20:45:53 UTC) #24
Charlie Reis
[+site-isolation-reviews] LGTM with nits, and one question about AreDifferentTextInputStates. https://codereview.chromium.org/2354793003/diff/80001/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc File chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc (right): https://codereview.chromium.org/2354793003/diff/80001/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc#newcode1131 chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc:1131: ...
4 years, 1 month ago (2016-11-02 22:23:13 UTC) #25
EhsanK
Sorry it took me a while to update this CL. Thank you Charlie for reviews! ...
4 years, 1 month ago (2016-11-18 19:55:59 UTC) #28
Shu Chen
https://codereview.chromium.org/2354793003/diff/120001/content/browser/renderer_host/text_input_manager.cc File content/browser/renderer_host/text_input_manager.cc (right): https://codereview.chromium.org/2354793003/diff/120001/content/browser/renderer_host/text_input_manager.cc#newcode27 content/browser/renderer_host/text_input_manager.cc:27: #else Can you please add #elif defined(OS_ANDROID) for this? ...
4 years, 1 month ago (2016-11-21 02:10:53 UTC) #31
EhsanK
Thanks for the reviews. PTAL with one Question regarding remaining platform for either shuchen@ or ...
4 years, 1 month ago (2016-11-21 20:44:21 UTC) #32
Charlie Reis
https://codereview.chromium.org/2354793003/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2354793003/diff/80001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode770 content/browser/renderer_host/render_widget_host_view_android.cc:770: TextInputManager* text_input_manager, On 2016/11/18 19:55:59, EhsanK wrote: > On ...
4 years ago (2016-11-23 23:27:21 UTC) #33
Shu Chen
lgtm
4 years ago (2016-11-24 03:17:21 UTC) #34
EhsanK
Thanks for the reviews. I will try to CQ soon. https://codereview.chromium.org/2354793003/diff/120001/content/browser/renderer_host/text_input_manager.cc File content/browser/renderer_host/text_input_manager.cc (right): https://codereview.chromium.org/2354793003/diff/120001/content/browser/renderer_host/text_input_manager.cc#newcode27 ...
4 years ago (2016-11-24 03:59:46 UTC) #35
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/2354793003/160001
4 years ago (2016-11-28 17:50:57 UTC) #50
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years ago (2016-11-28 17:55:39 UTC) #52
commit-bot: I haz the power
4 years ago (2016-11-28 17:58:18 UTC) #54
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/06b277144e9e48f754e82ec5224076eeeac347b5
Cr-Commit-Position: refs/heads/master@{#434683}

Powered by Google App Engine
This is Rietveld 408576698