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

Issue 188023002: Android-side of insertion/selection handles visibility. (Closed)

Created:
6 years, 9 months ago by timvolodine
Modified:
6 years, 9 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su, miu+watch_chromium.org, mlamouri (slow - plz ping), aelias_OOO_until_Jul13
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Android-side of insertion/selection handles visibility. This patch relies on other two patches: https://codereview.chromium.org/177903010/ https://codereview.chromium.org/186753002/ to correctly compute the visibility of selection and insertion handles when editing text input, text area and contenteditable elements. BUG=236033 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258839

Patch Set 1 #

Patch Set 2 : set clipping bounds when creating new selection/insertion. #

Patch Set 3 : rebased #

Patch Set 4 : remove final mVisibleClippingRectangle #

Patch Set 5 : added tests #

Total comments: 4

Patch Set 6 : fixed comments + rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -17 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 5 chunks +35 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/CursorController.java View 1 2 3 1 chunk +25 lines, -6 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/HandleView.java View 1 2 3 chunks +14 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/InsertionHandleController.java View 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/SelectionHandleController.java View 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java View 1 2 3 4 5 chunks +86 lines, -7 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
timvolodine
6 years, 9 months ago (2014-03-19 11:27:18 UTC) #1
timvolodine
+ jdduke@ - I think you are the right person to have a look at ...
6 years, 9 months ago (2014-03-19 11:31:10 UTC) #2
jdduke (slow)
Adding cjhopman@, who has a bit more experience in this area.
6 years, 9 months ago (2014-03-19 11:42:05 UTC) #3
cjhopman
This lgtm. I have concerns about us only having knowledge of the selection root element's ...
6 years, 9 months ago (2014-03-19 23:25:19 UTC) #4
aelias_OOO_until_Jul13
Hmm, I guess this patch can go through since it makes things better in the ...
6 years, 9 months ago (2014-03-19 23:39:14 UTC) #5
timvolodine
cjhopman@: thanks for the review. aelias@: Thanks for the information, I was not aware of ...
6 years, 9 months ago (2014-03-20 17:17:53 UTC) #6
aelias_OOO_until_Jul13
Sorry, I don't have a design doc yet, although in a nutshell the idea is ...
6 years, 9 months ago (2014-03-21 03:15:01 UTC) #7
aelias_OOO_until_Jul13
Also, agreed it's a long-standing issue but mainly because this area has not had anyone ...
6 years, 9 months ago (2014-03-21 03:17:16 UTC) #8
jdduke (slow)
On 2014/03/21 03:17:16, aelias wrote: > Also, agreed it's a long-standing issue but mainly because ...
6 years, 9 months ago (2014-03-21 08:49:51 UTC) #9
timvolodine
On 2014/03/21 08:49:51, jdduke wrote: > On 2014/03/21 03:17:16, aelias wrote: > > Also, agreed ...
6 years, 9 months ago (2014-03-21 15:18:09 UTC) #10
timvolodine
The CQ bit was checked by timvolodine@chromium.org
6 years, 9 months ago (2014-03-21 18:24:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timvolodine@chromium.org/188023002/90001
6 years, 9 months ago (2014-03-21 18:24:35 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-21 18:58:24 UTC) #13
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=56786
6 years, 9 months ago (2014-03-21 18:58:24 UTC) #14
timvolodine
+ tedchoc@ : as owner for public/android/* and content/browser/android/*.
6 years, 9 months ago (2014-03-21 19:05:46 UTC) #15
jdduke (slow)
On 2014/03/21 19:05:46, timvolodine wrote: > + tedchoc@ : as owner for public/android/* and content/browser/android/*. ...
6 years, 9 months ago (2014-03-21 20:29:11 UTC) #16
cjhopman
I thought "long-standing issue" was referring to http://crbug.com/135959which was originally filed (as b/ 5525927 <http://b.corp.google.com/5525927>) ...
6 years, 9 months ago (2014-03-21 20:40:09 UTC) #17
aelias_OOO_until_Jul13
The bad decision was "waiting for" it, as opposed to "working on" it :). It's ...
6 years, 9 months ago (2014-03-21 20:48:50 UTC) #18
jdduke (slow)
On 2014/03/21 20:40:09, cjhopman wrote: > I thought "long-standing issue" was referring to > http://crbug.com/135959which ...
6 years, 9 months ago (2014-03-21 20:52:18 UTC) #19
mlamouri (slow - plz ping)
The CQ bit was checked by mlamouri@chromium.org
6 years, 9 months ago (2014-03-22 12:42:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timvolodine@chromium.org/188023002/90001
6 years, 9 months ago (2014-03-22 12:42:49 UTC) #21
commit-bot: I haz the power
Change committed as 258839
6 years, 9 months ago (2014-03-24 02:24:12 UTC) #22
timvolodine
On 2014/03/24 02:24:12, I haz the power (commit-bot) wrote: > Change committed as 258839 thanks ...
6 years, 9 months ago (2014-03-24 12:40:19 UTC) #23
jdduke (slow)
6 years, 7 months ago (2014-05-09 23:26:27 UTC) #24
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/278923003/ by jdduke@chromium.org.

The reason for reverting is: There are a number of cases where this incorrectly
hides the selection/insertion
handles in an editable node, see crbug.com/372056. .

Powered by Google App Engine
This is Rietveld 408576698