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

Issue 2667293002: [ash-md] Adds support for gesture to move selection in overview mode (Closed)

Created:
3 years, 10 months ago by varkha
Modified:
3 years, 10 months ago
Reviewers:
tdanderson
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ash-md] Adds support for gesture to move selection in overview mode Make it possible to use overview mode without getting fingers off the touchpad. Scroll up with 3 fingers enters overview mode. Scroll right or left with 3 fingers moves selection. Scroll down dismisses overview mode if no selection was made. If however the selection was moved with a horizontal scroll, scroll down will accept this selection making a new window active. BUG=687773 TEST=OverviewGestureHandlerTest.HorizontalScrollInOverview Review-Url: https://codereview.chromium.org/2667293002 Cr-Commit-Position: refs/heads/master@{#449687} Committed: https://chromium.googlesource.com/chromium/src/+/525b0d69b50807ab7c9901f52acf858c0e5e1ba8

Patch Set 1 : [ash-md] Adds support for gesture to move selection in overview mode #

Total comments: 18

Patch Set 2 : [ash-md] Adds support for gesture to move selection in overview mode (comments) #

Total comments: 12

Patch Set 3 : [ash-md] Adds support for gesture to move selection in overview mode (comments) #

Patch Set 4 : [ash-md] Adds support for gesture to move selection in overview mode (tuning) #

Total comments: 6

Patch Set 5 : [ash-md] Adds support for gesture to move selection in overview mode (no skipping 1st) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -28 lines) Patch
M ash/common/wm/overview/window_selector.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M ash/common/wm/overview/window_selector.cc View 1 4 1 chunk +14 lines, -0 lines 0 comments Download
M ash/common/wm/overview/window_selector_controller.h View 1 chunk +8 lines, -0 lines 0 comments Download
M ash/common/wm/overview/window_selector_controller.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M ash/wm/gestures/overview_gesture_handler.h View 1 2 3 4 3 chunks +14 lines, -2 lines 0 comments Download
M ash/wm/gestures/overview_gesture_handler.cc View 1 2 3 2 chunks +26 lines, -13 lines 0 comments Download
M ash/wm/gestures/overview_gesture_handler_unittest.cc View 1 2 3 4 2 chunks +72 lines, -13 lines 0 comments Download

Messages

Total messages: 59 (48 generated)
varkha
tdanderson@, can you please take a first look. I think I will try to get ...
3 years, 10 months ago (2017-02-02 01:16:39 UTC) #10
tdanderson
Please see my comments below. https://codereview.chromium.org/2667293002/diff/40001/ash/common/wm/overview/window_selector.h File ash/common/wm/overview/window_selector.h (right): https://codereview.chromium.org/2667293002/diff/40001/ash/common/wm/overview/window_selector.h#newcode65 ash/common/wm/overview/window_selector.h:65: // |increment| move the ...
3 years, 10 months ago (2017-02-06 20:13:58 UTC) #13
varkha
https://codereview.chromium.org/2667293002/diff/40001/ash/common/wm/overview/window_selector.h File ash/common/wm/overview/window_selector.h (right): https://codereview.chromium.org/2667293002/diff/40001/ash/common/wm/overview/window_selector.h#newcode65 ash/common/wm/overview/window_selector.h:65: // |increment| move the selection forward, negative values mov ...
3 years, 10 months ago (2017-02-08 20:41:14 UTC) #16
tdanderson
Please see my next round of comments below. https://codereview.chromium.org/2667293002/diff/40001/ash/common/wm/overview/window_selector_controller.cc File ash/common/wm/overview/window_selector_controller.cc (right): https://codereview.chromium.org/2667293002/diff/40001/ash/common/wm/overview/window_selector_controller.cc#newcode84 ash/common/wm/overview/window_selector_controller.cc:84: DCHECK(IsSelecting()); ...
3 years, 10 months ago (2017-02-08 23:14:20 UTC) #20
varkha
https://codereview.chromium.org/2667293002/diff/60001/ash/wm/gestures/overview_gesture_handler.cc File ash/wm/gestures/overview_gesture_handler.cc (right): https://codereview.chromium.org/2667293002/diff/60001/ash/wm/gestures/overview_gesture_handler.cc#newcode28 ash/wm/gestures/overview_gesture_handler.cc:28: (event.finger_count() != 2 && event.finger_count() != 3)) { On ...
3 years, 10 months ago (2017-02-09 21:54:42 UTC) #27
varkha
I've made the horizontal threshold less sensitive (330 dp seemed most comfortable) and also I ...
3 years, 10 months ago (2017-02-10 00:25:10 UTC) #30
tdanderson
https://codereview.chromium.org/2667293002/diff/160001/ash/common/wm/overview/window_selector.cc File ash/common/wm/overview/window_selector.cc (right): https://codereview.chromium.org/2667293002/diff/160001/ash/common/wm/overview/window_selector.cc#newcode275 ash/common/wm/overview/window_selector.cc:275: if (first_grid) { I'm not 100% convinced this is ...
3 years, 10 months ago (2017-02-10 16:05:19 UTC) #48
varkha
I have rolled back the skipping first item change - it might be too controversial ...
3 years, 10 months ago (2017-02-10 17:34:31 UTC) #49
tdanderson
Patch Set 5 LGTM
3 years, 10 months ago (2017-02-10 17:42:45 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2667293002/180001
3 years, 10 months ago (2017-02-10 19:15:15 UTC) #56
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 19:29:03 UTC) #59
Message was sent while issue was closed.
Committed patchset #5 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/525b0d69b50807ab7c9901f52acf...

Powered by Google App Engine
This is Rietveld 408576698