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

Issue 14089009: Change long press behavior when touch text selection is enabled: (Closed)

Created:
7 years, 8 months ago by varunjain
Modified:
7 years, 6 months ago
Reviewers:
hayato, dglazkov
CC:
blink-reviews, jamesr, abarth_chromum.org, jochen+watch_chromium.org, leviw_travelin_and_unemployed
Visibility:
Public.

Description

Change long press behavior when touch text selection is enabled. Long press is overloaded to do the following three functions: start drag/drop, select word and show context menu. They are performed in the following order: 1. If touch drag drop is enabled and long press happens on a draggable element, start drag drop. 2. Else if touch text editing is enabled and long press happens over selectable text, select closest word. 3. Else, show context menu. BUG=115237 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148740

Patch Set 1 : patch #

Total comments: 6

Patch Set 2 : patch #

Patch Set 3 : patch #

Patch Set 4 : merged with upstream #

Patch Set 5 : patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -27 lines) Patch
A LayoutTests/fast/events/touch/gesture/long-press-drag-drop-touch-editing-combined.html View 1 chunk +56 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/long-press-drag-drop-touch-editing-combined-expected.txt View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/long-press-drag-drop-touch-editing-combined-in-iframe.html View 1 chunk +45 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/long-press-drag-drop-touch-editing-combined-in-iframe-expected.txt View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/long-press-selects-word-when-touch-editing-enabled.html View 1 chunk +39 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/touch/gesture/long-press-selects-word-when-touch-editing-enabled-expected.txt View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M LayoutTests/fast/events/touch/gesture/resources/drag-inside-iframe2.html View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/WebKit/chromium/public/WebSettings.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M Source/WebKit/chromium/src/WebSettingsImpl.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M Source/WebKit/chromium/src/WebSettingsImpl.cpp View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M Source/core/page/EventHandler.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/EventHandler.cpp View 1 2 3 2 chunks +45 lines, -26 lines 0 comments Download
M Source/core/page/Settings.in View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M Tools/DumpRenderTree/chromium/TestRunner/src/WebPreferences.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
varunjain
7 years, 8 months ago (2013-04-11 22:56:27 UTC) #1
hayato
Let me take a look, but I am afraid that it will take some time ...
7 years, 8 months ago (2013-04-12 07:53:48 UTC) #2
varunjain
friendly ping :) On 2013/04/12 07:53:48, hayato wrote: > Let me take a look, but ...
7 years, 8 months ago (2013-04-17 02:41:06 UTC) #3
hayato
Ops. Sorry. Let me take a look today. On 2013/04/17 02:41:06, varunjain wrote: > friendly ...
7 years, 8 months ago (2013-04-17 04:03:49 UTC) #4
hayato
In overall, looks good, but there are some code I am not familiar with. e.g. ...
7 years, 8 months ago (2013-04-17 04:51:03 UTC) #5
varunjain
Hi Hayato, Thanks for the review. About your subframe hittest question. It is required to ...
7 years, 8 months ago (2013-04-17 17:45:36 UTC) #6
varunjain
removed HitTestRequest::DisallowShadowContent after talking to Dimitri. On 2013/04/17 17:45:36, varunjain wrote: > Hi Hayato, Thanks ...
7 years, 8 months ago (2013-04-17 22:06:14 UTC) #7
varunjain
+Levi
7 years, 8 months ago (2013-04-17 22:25:15 UTC) #8
dglazkov
LGTM, unless Levi yells angrily in the next few hours.
7 years, 8 months ago (2013-04-18 18:39:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/14089009/20001
7 years, 8 months ago (2013-04-19 03:44:20 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-19 03:58:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/14089009/20001
7 years, 8 months ago (2013-04-19 05:18:39 UTC) #12
commit-bot: I haz the power
"webkit_tests" failed. Giving up immediately. Builder is linux_layout_rel, revision is HEAD
7 years, 8 months ago (2013-04-19 05:18:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/14089009/33001
7 years, 8 months ago (2013-04-19 18:03:39 UTC) #14
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 18:31:53 UTC) #15
Message was sent while issue was closed.
Change committed as 148740

Powered by Google App Engine
This is Rietveld 408576698