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

Issue 2208583005: Request to start/stop calculating composition info from RenderWidget when it is active/inactive. (Closed)

Created:
4 years, 4 months ago by EhsanK
Modified:
4 years, 4 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, 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

Request to start/stop calculating composition info from RenderWidget when it is active/inactive. This CL sends the request to start/stop updating composition info to the widget which became active/inactive, rather than sending it only to the top level's render widget. This CL also revises the test TrackCompositionRangeForAllFrames so that it addresses OOPIFs. BUG=578168, 602723, 624714 Committed: https://crrev.com/56a714e089de70102b0308f82bfe9b181b891022 Cr-Commit-Position: refs/heads/master@{#411278}

Patch Set 1 #

Patch Set 2 : Fixing a Crash due to Pure Virtual Call #

Total comments: 7

Patch Set 3 : Addressing creis@ comments #

Total comments: 7

Patch Set 4 : Addressing kenrb@'s Comments #

Patch Set 5 : Rebased (nona@'s patch relanded) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -53 lines) Patch
M chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc View 1 2 3 4 1 chunk +17 lines, -19 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 3 chunks +18 lines, -9 lines 0 comments Download
M content/public/test/text_input_test_utils.h View 1 chunk +5 lines, -9 lines 0 comments Download
M content/public/test/text_input_test_utils.cc View 2 chunks +9 lines, -16 lines 0 comments Download

Messages

Total messages: 38 (22 generated)
EhsanK
PTAL. Adding nona@ who implemented CL 2029423003. https://codereview.chromium.org/2208583005/diff/20001/content/public/test/text_input_test_utils.h File content/public/test/text_input_test_utils.h (right): https://codereview.chromium.org/2208583005/diff/20001/content/public/test/text_input_test_utils.h#newcode56 content/public/test/text_input_test_utils.h:56: bool RequestCompositionInfoFromActiveWidget(WebContents* ...
4 years, 4 months ago (2016-08-03 22:07:29 UTC) #8
Charlie Reis
A few minor thoughts below, but otherwise I'm happy to approve once Ken does. https://codereview.chromium.org/2208583005/diff/20001/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc ...
4 years, 4 months ago (2016-08-03 22:16:23 UTC) #11
EhsanK
Thanks Charlie! PTAL. https://codereview.chromium.org/2208583005/diff/20001/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/2208583005/diff/20001/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc#newcode230 chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc:230: LOG(INFO) << "View: " << tester()->GetUpdatedView(); ...
4 years, 4 months ago (2016-08-04 18:57:59 UTC) #14
Charlie Reis
One other small issue below, but otherwise still happy to stamp when Ken approves. https://codereview.chromium.org/2208583005/diff/40001/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc ...
4 years, 4 months ago (2016-08-08 17:12:01 UTC) #17
EhsanK
The issue which caused the regression on collecting composition info is reverted (2029423003).
4 years, 4 months ago (2016-08-08 17:12:48 UTC) #18
Charlie Reis
On 2016/08/08 17:12:48, EhsanK wrote: > The issue which caused the regression on collecting composition ...
4 years, 4 months ago (2016-08-08 17:45:36 UTC) #19
EhsanK
On 2016/08/08 17:45:36, Charlie Reis wrote: > On 2016/08/08 17:12:48, EhsanK wrote: > > The ...
4 years, 4 months ago (2016-08-08 17:51:12 UTC) #20
kenrb
lgtm with a nit https://codereview.chromium.org/2208583005/diff/40001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2208583005/diff/40001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode3016 content/browser/renderer_host/render_widget_host_view_aura.cc:3016: last_active_widget_process_id_, last_active_widget_routing_id_); It feels weird ...
4 years, 4 months ago (2016-08-08 19:15:51 UTC) #21
EhsanK
Thank you Ken for the reviews! I have addressed the issues, but, the original CL ...
4 years, 4 months ago (2016-08-09 16:42:29 UTC) #22
Charlie Reis
On 2016/08/09 16:42:29, EhsanK wrote: > Thank you Ken for the reviews! > > I ...
4 years, 4 months ago (2016-08-10 19:41:07 UTC) #23
EhsanK
Thanks for reviews! FYI, nona@'s patch has landed so I have rebased and can try ...
4 years, 4 months ago (2016-08-10 21:05:03 UTC) #26
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/2208583005/80001
4 years, 4 months ago (2016-08-10 22:14:26 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/275610)
4 years, 4 months ago (2016-08-11 02:20:55 UTC) #33
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/2208583005/80001
4 years, 4 months ago (2016-08-11 05:45:10 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-11 06:47:56 UTC) #36
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 06:49:30 UTC) #38
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/56a714e089de70102b0308f82bfe9b181b891022
Cr-Commit-Position: refs/heads/master@{#411278}

Powered by Google App Engine
This is Rietveld 408576698