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

Issue 22121002: Prevent a user from hiding the shelf via a gesture when there are no visible windows (Closed)

Created:
7 years, 4 months ago by pkotwicz
Modified:
7 years, 4 months ago
Reviewers:
James Cook, sadrul
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

- Prevent a user from hiding the shelf via a gesture when there are no visible windows - Ignore the mouse position if mouse events are disabled (this is the case when the user is interacting with the device via touch) BUG=268209 TEST=ShelfLayoutManagerTest.GestureDrag Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216879

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Moved misc parts of this CL to https://codereview.chromium.org/22121002/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -16 lines) Patch
M ash/shelf/shelf_layout_manager.cc View 1 2 4 chunks +28 lines, -16 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
pkotwicz
sadrul@, PTAL
7 years, 4 months ago (2013-08-04 23:38:00 UTC) #1
sadrul
The more desired behaviour would be to drag the shelf with the gesture, but at ...
7 years, 4 months ago (2013-08-06 18:46:43 UTC) #2
pkotwicz
Thank you for your comments. The good news, I now have the behavior you outlined. ...
7 years, 4 months ago (2013-08-08 23:51:36 UTC) #3
pkotwicz
https://codereview.chromium.org/22121002/diff/12001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (left): https://codereview.chromium.org/22121002/diff/12001/ash/shelf/shelf_layout_manager.cc#oldcode574 ash/shelf/shelf_layout_manager.cc:574: // It's possible for SetState() when a window becomes ...
7 years, 4 months ago (2013-08-09 00:04:34 UTC) #4
sadrul
https://codereview.chromium.org/22121002/diff/12001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (left): https://codereview.chromium.org/22121002/diff/12001/ash/shelf/shelf_layout_manager.cc#oldcode670 ash/shelf/shelf_layout_manager.cc:670: UpdateShelfBackground(change_type); This change, the change between newlines 645-652, oldlines ...
7 years, 4 months ago (2013-08-09 05:30:13 UTC) #5
pkotwicz
sadrul@, can you please take another look? I split out the miscellaneous parts of this ...
7 years, 4 months ago (2013-08-09 06:33:04 UTC) #6
pkotwicz
sadrul@, can you please take another look? I split out the miscellaneous parts of this ...
7 years, 4 months ago (2013-08-09 06:33:04 UTC) #7
sadrul
LGTM. Thanks!
7 years, 4 months ago (2013-08-09 06:42:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/22121002/19001
7 years, 4 months ago (2013-08-09 06:50:54 UTC) #9
pkotwicz
jamescook@ for OWNERS
7 years, 4 months ago (2013-08-09 06:51:58 UTC) #10
James Cook
lgtm
7 years, 4 months ago (2013-08-09 16:54:34 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/22121002/19001
7 years, 4 months ago (2013-08-09 23:05:37 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=186136
7 years, 4 months ago (2013-08-10 06:59:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/22121002/19001
7 years, 4 months ago (2013-08-10 15:23:40 UTC) #14
commit-bot: I haz the power
7 years, 4 months ago (2013-08-10 17:14:45 UTC) #15
Message was sent while issue was closed.
Change committed as 216879

Powered by Google App Engine
This is Rietveld 408576698