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

Issue 1321983003: Revert of Avoid sync IPCs for firstRectForCharacterRange/attributedSubstringForProposedRange. (Closed)

Created:
5 years, 3 months ago by Shu Chen
Modified:
5 years, 3 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Avoid sync IPCs for firstRectForCharacterRange/attributedSubstringForProposedRange. (patchset #9 id:160001 of https://codereview.chromium.org/1301173002/ ) Reason for revert: Caused regression: crbug.com/526611. Need to support asynchronous "Look Up in Dictionary" with attributed string by context menu. Original issue's description: > Avoid sync IPCs for firstRectForCharacterRange/attributedSubstringForProposedRange. > > For firstRectForCharacterRange, always uses the cached rect. And it will make > IME get the wrong/old rect to position its suggestion window. > For attributedSubstringForProposedRange, always uses composition or > selection text. And it will drop the string format (fonts/color/etc.) information. > > This cl is a trade-off between making IME behave properly and avoid freezing UI. > > I try to make this change as small as possible so that it can be easily > rolled back for potential regressions. > The changes of cleanning up the IPC defitions and code in > TextInputClientMac will be done in a separated cl. > > BUG=121917, 473850 > TEST=Verified bug not repro on local build. > > Committed: https://crrev.com/bc6b777b385ff691d69479691cd259215cb32e4f > Cr-Commit-Position: refs/heads/master@{#345828} TBR=asvitkine@chromium.org,yukawa@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=121917, 473850 Committed: https://crrev.com/64883bfcc6088e2cc7b447aa419d972d8346884f Cr-Commit-Position: refs/heads/master@{#346386}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -51 lines) Patch
M content/browser/renderer_host/render_widget_host_view_mac.h View 2 chunks +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 3 chunks +6 lines, -42 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac_unittest.mm View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Shu Chen
Created Revert of Avoid sync IPCs for firstRectForCharacterRange/attributedSubstringForProposedRange.
5 years, 3 months ago (2015-08-31 15:09:18 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321983003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321983003/1
5 years, 3 months ago (2015-08-31 15:09:44 UTC) #2
commit-bot: I haz the power
Failed to apply patch for content/browser/renderer_host/render_widget_host_view_mac.mm: While running git apply --index -3 -p1; error: patch ...
5 years, 3 months ago (2015-08-31 15:10:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321983003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321983003/1
5 years, 3 months ago (2015-08-31 15:12:58 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 3 months ago (2015-08-31 15:13:37 UTC) #8
commit-bot: I haz the power
5 years, 3 months ago (2015-08-31 15:14:13 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/64883bfcc6088e2cc7b447aa419d972d8346884f
Cr-Commit-Position: refs/heads/master@{#346386}

Powered by Google App Engine
This is Rietveld 408576698