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

Issue 2382003002: Fix dictionary look-up for highlighted text in Mac. (Closed)

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

Description

Fix dictionary look-up for highlighted text in Mac. Currently, TextInputClientMac only taks to the main frames RenderWidgetHost in order to obtian the string from specific range. This CL fixes this issue by routing the request to the focused RenderWidgetHost. BUG=651519 Committed: https://crrev.com/3f7daa9733a4d5d3c06359b9f92c3bde20c7dd5d Cr-Commit-Position: refs/heads/master@{#426030}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebased #

Patch Set 3 : Added a test #

Total comments: 12

Patch Set 4 : Addressing comments #

Patch Set 5 : Rebased #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -5 lines) Patch
M chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc View 1 2 3 3 chunks +183 lines, -1 line 1 comment Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 1 chunk +24 lines, -4 lines 0 comments Download
M content/public/test/text_input_test_utils.h View 1 2 3 3 chunks +52 lines, -0 lines 0 comments Download
A content/public/test/text_input_test_utils_mac.mm View 1 2 3 1 chunk +78 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (13 generated)
EhsanK
This was mostly fixed in the previous CL on Mac dictionary for OOPIF. I just ...
4 years, 2 months ago (2016-09-29 18:20:35 UTC) #4
erikchen
lgtm
4 years, 2 months ago (2016-09-29 20:37:40 UTC) #7
EhsanK
On 2016/09/29 20:37:40, erikchen wrote: > lgtm Thanks erikchen@ for the review. creis@ (regarding adding ...
4 years, 2 months ago (2016-09-30 03:20:35 UTC) #8
Charlie Reis
Ok, thanks. RS LGTM for owners, but a test would be good to include if ...
4 years, 2 months ago (2016-09-30 23:00:55 UTC) #9
EhsanK
Thanks Charlie. I added a test which needed some changes. PTAL. https://codereview.chromium.org/2382003002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): ...
4 years, 2 months ago (2016-10-06 19:36:09 UTC) #10
Charlie Reis
Apologies for the long delay, and I'm not sure if I'm going to have time ...
4 years, 2 months ago (2016-10-07 19:07:21 UTC) #12
Avi (use Gerrit)
https://codereview.chromium.org/2382003002/diff/40001/content/public/test/text_input_test_utils.h File content/public/test/text_input_test_utils.h (right): https://codereview.chromium.org/2382003002/diff/40001/content/public/test/text_input_test_utils.h#newcode228 content/public/test/text_input_test_utils.h:228: const gfx::Range& range); Typo in the function name: "Dictionary" ...
4 years, 2 months ago (2016-10-07 21:11:27 UTC) #13
EhsanK
Thanks for the reviews. PTAL. https://codereview.chromium.org/2382003002/diff/40001/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/2382003002/diff/40001/chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc#newcode355 chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc:355: // inside |rfh|. Apologies. ...
4 years, 2 months ago (2016-10-11 19:31:57 UTC) #14
Avi (use Gerrit)
lgtm
4 years, 2 months ago (2016-10-11 19:37:30 UTC) #15
EhsanK
Thanks for the reviews. creis@: Could you please take another look at this regarding the ...
4 years, 2 months ago (2016-10-17 15:55:39 UTC) #16
Charlie Reis
On 2016/10/17 15:55:39, EhsanK wrote: > Thanks for the reviews. > > creis@: Could you ...
4 years, 2 months ago (2016-10-17 21:35:03 UTC) #17
EhsanK
Thanks Charlie! I think I already added a comment in the more recent patches. Please ...
4 years, 2 months ago (2016-10-18 04:02:08 UTC) #18
Charlie Reis
Yes, that comment is fine, thanks.
4 years, 2 months ago (2016-10-18 16:29:59 UTC) #19
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/2382003002/80001
4 years, 2 months ago (2016-10-18 20:07:26 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-18 20:15:00 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:02:31 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3f7daa9733a4d5d3c06359b9f92c3bde20c7dd5d
Cr-Commit-Position: refs/heads/master@{#426030}

Powered by Google App Engine
This is Rietveld 408576698