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

Issue 499393002: Set the Insertion handle correctly while showing the paste popup menu (Closed)

Created:
6 years, 4 months ago by raghu
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, nona+watch_chromium.org, penghuang+watch_chromium.org, James Su, yukishiino+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Set the Insertion handle correctly while showing the paste popup menu The selection handle was wrongly set to left handle instead of center. Corrected it. Also added test case to verify that the paste popup is shown when long pressed on empty input with some text in clipboard BUG=407185 Committed: https://crrev.com/c80b563a0074eac1491ccea5c7c65acef2795d33 Cr-Commit-Position: refs/heads/master@{#292304}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added wait for the long press event to respond in the unit test #

Total comments: 4

Patch Set 3 : Added the correct wait condition as per review #

Total comments: 4

Patch Set 4 : Removed unwanted line breaks #

Total comments: 3

Patch Set 5 : Removed few move unwanted line breaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -1 line) Patch
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java View 1 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
raghu
Hi Jdduke, This issue was happening because we are setting the type of the handle ...
6 years, 4 months ago (2014-08-25 17:36:28 UTC) #1
jdduke (slow)
Good catch, thanks. https://codereview.chromium.org/499393002/diff/1/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/499393002/diff/1/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode564 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:564: PastePopupMenu pastePopup = mContentViewCore.getPastePopupForTest(); Don't you ...
6 years, 4 months ago (2014-08-25 17:40:46 UTC) #2
raghu
PTAL https://codereview.chromium.org/499393002/diff/1/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/499393002/diff/1/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode564 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:564: PastePopupMenu pastePopup = mContentViewCore.getPastePopupForTest(); On 2014/08/25 17:40:45, jdduke ...
6 years, 4 months ago (2014-08-26 07:23:31 UTC) #3
jdduke (slow)
https://codereview.chromium.org/499393002/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/499393002/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode561 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:561: assertWaitForKeyboardStatus(false); I don't think this is the right wait ...
6 years, 3 months ago (2014-08-26 15:06:44 UTC) #4
raghu
https://codereview.chromium.org/499393002/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/499393002/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode561 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:561: assertWaitForKeyboardStatus(false); On 2014/08/26 15:06:43, jdduke wrote: > I don't ...
6 years, 3 months ago (2014-08-26 15:45:56 UTC) #5
jdduke (slow)
https://codereview.chromium.org/499393002/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/499393002/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode561 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:561: assertWaitForKeyboardStatus(false); On 2014/08/26 15:45:56, rvg wrote: > Cut doesnt ...
6 years, 3 months ago (2014-08-26 16:01:22 UTC) #6
raghu
PTAL https://codereview.chromium.org/499393002/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/499393002/diff/20001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode561 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:561: assertWaitForKeyboardStatus(false); On 2014/08/26 16:01:22, jdduke wrote: > On ...
6 years, 3 months ago (2014-08-27 05:06:43 UTC) #7
jdduke (slow)
https://codereview.chromium.org/499393002/diff/40001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/499393002/diff/40001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode558 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:558: mConnection.mImeUpdateQueue, 1, "hello", 5, 5, -1, -1); This line ...
6 years, 3 months ago (2014-08-27 14:57:13 UTC) #8
raghu
https://codereview.chromium.org/499393002/diff/40001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/499393002/diff/40001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode558 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:558: mConnection.mImeUpdateQueue, 1, "hello", 5, 5, -1, -1); On 2014/08/27 ...
6 years, 3 months ago (2014-08-27 16:19:51 UTC) #9
jdduke (slow)
lgtm with nit. https://codereview.chromium.org/499393002/diff/60001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/499393002/diff/60001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode566 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:566: Nit: Adding line breaks here doesn't ...
6 years, 3 months ago (2014-08-27 17:05:31 UTC) #10
raghu
r.ghatage@samsung.com changed reviewers: + aelias@chromium.org
6 years, 3 months ago (2014-08-27 18:45:11 UTC) #11
raghu
Adding aelias@ PTAL https://codereview.chromium.org/499393002/diff/60001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/499393002/diff/60001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode566 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:566: On 2014/08/27 17:05:31, jdduke wrote: > ...
6 years, 3 months ago (2014-08-27 18:45:11 UTC) #12
aelias_OOO_until_Jul13
lgtm
6 years, 3 months ago (2014-08-27 18:56:23 UTC) #13
raghu
https://codereview.chromium.org/499393002/diff/60001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/499393002/diff/60001/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode566 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:566: On 2014/08/27 18:45:11, rvg wrote: > On 2014/08/27 17:05:31, ...
6 years, 3 months ago (2014-08-28 02:26:16 UTC) #14
raghu
The CQ bit was checked by r.ghatage@samsung.com
6 years, 3 months ago (2014-08-28 02:26:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/r.ghatage@samsung.com/499393002/80001
6 years, 3 months ago (2014-08-28 02:28:08 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 1550d64d324999b4a29ff6d30b664ec33ce18cab
6 years, 3 months ago (2014-08-28 03:24:16 UTC) #17
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:56:55 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c80b563a0074eac1491ccea5c7c65acef2795d33
Cr-Commit-Position: refs/heads/master@{#292304}

Powered by Google App Engine
This is Rietveld 408576698