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

Issue 1115473002: Omit calls to set composing region when pasting image. (Closed)

Created:
5 years, 7 months ago by bcwhite
Modified:
5 years, 6 months ago
CC:
aelias_OOO_until_Jul13, chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Omit calls to set composing region when pasting image. For some reason, JellyBean and below make an extra call (not present in KitKcat or later) to set the entire region as the "composing region" after an image is pasted. This patch just skips that call when image place-holders are present. You can't compose with an image anyway. BUG=466755 Committed: https://crrev.com/711e1ea0a89d7b2acf88857222fff00ec7d07727 Cr-Commit-Position: refs/heads/master@{#333274}

Patch Set 1 #

Patch Set 2 : improved comments #

Patch Set 3 : more generalized solution to handle multi-image paste #

Patch Set 4 : fixed variable name #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java View 1 2 3 1 chunk +13 lines, -4 lines 2 comments Download

Messages

Total messages: 20 (4 generated)
bcwhite
5 years, 7 months ago (2015-04-28 19:06:21 UTC) #2
aurimas (slooooooooow)
This entire thing looks sooo hacky. Is there really no better way of doing this?
5 years, 7 months ago (2015-04-28 21:08:27 UTC) #3
bcwhite
On 2015/04/28 21:08:27, aurimas wrote: > This entire thing looks sooo hacky. Is there really ...
5 years, 7 months ago (2015-04-29 12:01:19 UTC) #4
bcwhite
On 2015/04/29 12:01:19, bcwhite wrote: > On 2015/04/28 21:08:27, aurimas wrote: > > This entire ...
5 years, 7 months ago (2015-04-29 13:41:58 UTC) #5
aurimas (slooooooooow)
On 2015/04/29 at 13:41:58, bcwhite wrote: > On 2015/04/29 12:01:19, bcwhite wrote: > > On ...
5 years, 7 months ago (2015-05-01 18:40:01 UTC) #6
bcwhite
> I vaguely remember that some IMEs use setcomposition to delete text, they first > ...
5 years, 7 months ago (2015-05-04 15:44:04 UTC) #7
bcwhite
Fixing this on the Blink side turned out not to be practical. I've updated the ...
5 years, 7 months ago (2015-05-25 17:04:47 UTC) #8
aurimas (slooooooooow)
https://codereview.chromium.org/1115473002/diff/60001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java File content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java (right): https://codereview.chromium.org/1115473002/diff/60001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode500 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:500: // This fixes the problem where, on Android 4.3, ...
5 years, 7 months ago (2015-05-27 20:28:13 UTC) #9
bcwhite
https://codereview.chromium.org/1115473002/diff/60001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java File content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java (right): https://codereview.chromium.org/1115473002/diff/60001/content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java#newcode500 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java:500: // This fixes the problem where, on Android 4.3, ...
5 years, 6 months ago (2015-05-28 11:18:15 UTC) #10
aurimas (slooooooooow)
lgtm
5 years, 6 months ago (2015-05-28 22:22:42 UTC) #11
bcwhite
I've verified with Sam that everything still works fine even on Asian keyboards. Committing.
5 years, 6 months ago (2015-06-04 21:09:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1115473002/60001
5 years, 6 months ago (2015-06-04 21:10:21 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/94838)
5 years, 6 months ago (2015-06-04 21:33:06 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1115473002/60001
5 years, 6 months ago (2015-06-08 15:29:50 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-06-08 16:23:46 UTC) #19
commit-bot: I haz the power
5 years, 6 months ago (2015-06-08 16:24:33 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/711e1ea0a89d7b2acf88857222fff00ec7d07727
Cr-Commit-Position: refs/heads/master@{#333274}

Powered by Google App Engine
This is Rietveld 408576698