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

Issue 2213503002: Tracking SelectionBounds for all RenderWidgets on the Browser Side (Mac) (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, nona+watch_chromium.org, darin-cc_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

Tracking SelectionBounds for all RenderWidgets on the Browser Side (Mac) This CL uses the TextInputManager code path for tracking selection bounds on Mac OSX (a follow up to https://codereview.chromium.org/2057803002 for aura). Other important changes include: * Activating the test SitePerProcessTextInputManagerTest.TrackSelectionBoundsForAllFrames on Mac OSX. * Removing all the overrides of SelectionBoundsChanged form Mac and Android. BUG=578168, 602723, 602427 Committed: https://crrev.com/2f52009f42519eac3e40ff20718e31365c976773 Cr-Commit-Position: refs/heads/master@{#413568}

Patch Set 1 #

Patch Set 2 : Fixing a Compile Error on Aura #

Patch Set 3 : Fixed a crash #

Total comments: 5

Patch Set 4 : Rebased #

Patch Set 5 : Rebased #

Patch Set 6 : Removing some #ifdefs #

Total comments: 6

Patch Set 7 : Reordered the tests #

Patch Set 8 : Addressing erikchen@'s comments #

Patch Set 9 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -71 lines) Patch
M chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc View 1 2 3 4 5 6 7 8 3 chunks +2 lines, -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 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 6 chunks +16 lines, -12 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac_unittest.mm View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -1 line 0 comments Download
M content/browser/renderer_host/text_input_manager.h View 1 2 3 4 5 6 7 8 4 chunks +33 lines, -23 lines 0 comments Download
M content/browser/renderer_host/text_input_manager.cc View 1 2 3 4 5 6 7 8 3 chunks +23 lines, -15 lines 0 comments Download

Messages

Total messages: 57 (34 generated)
EhsanK
PTAL.
4 years, 4 months ago (2016-08-03 23:16:36 UTC) #7
Charlie Reis
Adding Ken to review as well. I'm concerned about the platform-specific code within TextInputManager, so ...
4 years, 4 months ago (2016-08-04 18:44:51 UTC) #9
EhsanK
No new patch just some thoughts on how to avoid #ifdefs. Also adding nasko@ since ...
4 years, 4 months ago (2016-08-04 23:53:03 UTC) #11
Charlie Reis
Avi, can you see if you have any suggestions for how to handle Mac-specific code ...
4 years, 4 months ago (2016-08-08 20:58:01 UTC) #13
kenrb
https://codereview.chromium.org/2213503002/diff/40001/content/browser/renderer_host/text_input_manager.h File content/browser/renderer_host/text_input_manager.h (right): https://codereview.chromium.org/2213503002/diff/40001/content/browser/renderer_host/text_input_manager.h#newcode112 content/browser/renderer_host/text_input_manager.h:112: #elif defined(OS_MACOSX) On 2016/08/04 23:53:02, EhsanK wrote: > On ...
4 years, 4 months ago (2016-08-08 22:03:05 UTC) #14
EhsanK
On 2016/08/08 22:03:05, kenrb wrote: > https://codereview.chromium.org/2213503002/diff/40001/content/browser/renderer_host/text_input_manager.h > File content/browser/renderer_host/text_input_manager.h (right): > > https://codereview.chromium.org/2213503002/diff/40001/content/browser/renderer_host/text_input_manager.h#newcode112 > ...
4 years, 4 months ago (2016-08-16 14:00:48 UTC) #15
EhsanK
kenrb@, avi@: Could you please take a look at this (hopefully) the last Mac-IME-OOPIF CL? ...
4 years, 4 months ago (2016-08-17 20:26:36 UTC) #26
Avi (use Gerrit)
lgtm
4 years, 4 months ago (2016-08-17 20:31:41 UTC) #27
erikchen
https://codereview.chromium.org/2213503002/diff/160001/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/2213503002/diff/160001/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc#newcode599 chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc:599: bounds_observer.Wait(); I know that this is the same test ...
4 years, 4 months ago (2016-08-17 23:31:16 UTC) #28
EhsanK
Thank you for the reviews! PTAL. https://codereview.chromium.org/2213503002/diff/160001/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/2213503002/diff/160001/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc#newcode599 chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc:599: bounds_observer.Wait(); On 2016/08/17 ...
4 years, 4 months ago (2016-08-22 14:48:29 UTC) #33
erikchen
On 2016/08/22 14:48:29, EhsanK wrote: > Thank you for the reviews! > > PTAL. > ...
4 years, 4 months ago (2016-08-22 17:30:10 UTC) #34
EhsanK
Thanks erikchen@ for the reviews! sky@: Could you please take a look at this change? ...
4 years, 4 months ago (2016-08-22 17:32:51 UTC) #36
sky
LGTM
4 years, 4 months ago (2016-08-22 18:14:30 UTC) #37
EhsanK
Thanks for the reviews! FYI, I will CQ after dry-run. Thanks!
4 years, 4 months ago (2016-08-22 18:16:41 UTC) #38
erikchen
On 2016/08/22 18:16:41, EhsanK wrote: > Thanks for the reviews! FYI, I will CQ after ...
4 years, 4 months ago (2016-08-22 18:18:35 UTC) #40
EhsanK
On 2016/08/22 18:18:35, erikchen wrote: > On 2016/08/22 18:16:41, EhsanK wrote: > > Thanks for ...
4 years, 4 months ago (2016-08-22 18:19:23 UTC) #41
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/2213503002/220001
4 years, 4 months ago (2016-08-22 18:33:00 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/127158)
4 years, 4 months ago (2016-08-22 19:44:01 UTC) #47
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/2213503002/220001
4 years, 4 months ago (2016-08-22 19:56:53 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/127294)
4 years, 4 months ago (2016-08-22 22:05:38 UTC) #51
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/2213503002/220001
4 years, 4 months ago (2016-08-22 22:08:52 UTC) #53
commit-bot: I haz the power
Committed patchset #9 (id:220001)
4 years, 4 months ago (2016-08-22 23:10:45 UTC) #55
commit-bot: I haz the power
4 years, 4 months ago (2016-08-22 23:12:53 UTC) #57
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/2f52009f42519eac3e40ff20718e31365c976773
Cr-Commit-Position: refs/heads/master@{#413568}

Powered by Google App Engine
This is Rietveld 408576698