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

Issue 138033014: Consistent fading behavior for touch editing handles (Closed)

Created:
6 years, 11 months ago by mohsen
Modified:
6 years, 11 months ago
Reviewers:
sky
CC:
chromium-reviews, joi+watch-content_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org
Visibility:
Public.

Description

Consistent fading behavior for touch editing handles The general rule is that touch editing handles should fade out when they are dismissed, unless handles and text are moving relative to each other. So, handles fade out except in following cases, in which they disappear almost immediately (i.e. they fade out super quickly): - When handle is dragged out of content view. In this case it should actually scroll the contents, but that's a separate issue (see crbug.com/269003); - When starting touch scrolling or gesture navigation. BUG=313561 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245610

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fade out handles on destruction by default #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -23 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/touch_editable_impl_aura.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/touch_editable_impl_aura.cc View 7 chunks +11 lines, -9 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/base/touch/touch_editing_controller.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl.cc View 1 7 chunks +26 lines, -7 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
mohsen
Please take a look...
6 years, 11 months ago (2014-01-16 22:11:42 UTC) #1
sky
https://codereview.chromium.org/138033014/diff/1/content/browser/renderer_host/render_widget_host_view_aura.h File content/browser/renderer_host/render_widget_host_view_aura.h (right): https://codereview.chromium.org/138033014/diff/1/content/browser/renderer_host/render_widget_host_view_aura.h#newcode125 content/browser/renderer_host/render_widget_host_view_aura.h:125: virtual void EndTouchEditing(bool quick) = 0; If !quick means ...
6 years, 11 months ago (2014-01-16 23:15:01 UTC) #2
mohsen
https://codereview.chromium.org/138033014/diff/1/content/browser/renderer_host/render_widget_host_view_aura.h File content/browser/renderer_host/render_widget_host_view_aura.h (right): https://codereview.chromium.org/138033014/diff/1/content/browser/renderer_host/render_widget_host_view_aura.h#newcode125 content/browser/renderer_host/render_widget_host_view_aura.h:125: virtual void EndTouchEditing(bool quick) = 0; On 2014/01/16 23:15:02, ...
6 years, 11 months ago (2014-01-17 02:09:40 UTC) #3
sky
ic, leave it quick then, LGTM
6 years, 11 months ago (2014-01-17 15:46:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/138033014/140001
6 years, 11 months ago (2014-01-17 18:45:08 UTC) #5
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 20:44:18 UTC) #6
Message was sent while issue was closed.
Change committed as 245610

Powered by Google App Engine
This is Rietveld 408576698