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

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

Created:
7 years, 4 months ago by pkotwicz
Modified:
7 years, 4 months ago
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 part 2 - This CL combines the common parts of ShelfLayoutManager::LayoutShelf() and ShelfLayoutManager::SetState() into ShelfLayoutManager::UpdateBoundsAndOpacity(). - This CL animates the shelf when a gesture drag is completed / canceled BUG=268209 TEST=ShelfLayoutManagerTest.ShelfAnimatesWhenGestureComplete Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217700

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -96 lines) Patch
M ash/shelf/shelf_layout_manager.h View 1 5 chunks +13 lines, -4 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 9 chunks +77 lines, -67 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 1 2 3 chunks +138 lines, -8 lines 0 comments Download
M ash/shelf/shelf_widget.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 1 2 4 chunks +2 lines, -13 lines 0 comments Download
M ash/wm/status_area_layout_manager.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
pkotwicz
sadrul@, PTAL https://codereview.chromium.org/22638013/diff/1/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/22638013/diff/1/ash/shelf/shelf_layout_manager.cc#newcode282 ash/shelf/shelf_layout_manager.cc:282: // other direction. I do not call ...
7 years, 4 months ago (2013-08-09 02:56:03 UTC) #1
pkotwicz
The main reason I wanted to unify LayoutShelf() and SetState() is that we use the ...
7 years, 4 months ago (2013-08-09 03:08:37 UTC) #2
sadrul
I am going to let harrym@ do the first review. Please add a test for ...
7 years, 4 months ago (2013-08-09 05:37:11 UTC) #3
Harry McCleave
lgtm /w suggested test added.
7 years, 4 months ago (2013-08-09 18:27:30 UTC) #4
pkotwicz
Added a test. Also moved updating the dimmer widget's bounds to occur as a result ...
7 years, 4 months ago (2013-08-10 18:51:55 UTC) #5
pkotwicz
sadrul@, PTAL
7 years, 4 months ago (2013-08-12 18:18:16 UTC) #6
pkotwicz
Ping!
7 years, 4 months ago (2013-08-13 05:34:29 UTC) #7
sadrul
Please add an owner for reviewer for the next patchset. https://codereview.chromium.org/22638013/diff/17001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/22638013/diff/17001/ash/shelf/shelf_layout_manager.cc#newcode1013 ...
7 years, 4 months ago (2013-08-13 17:21:34 UTC) #8
pkotwicz
James, PTAL https://codereview.chromium.org/22638013/diff/17001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/22638013/diff/17001/ash/shelf/shelf_layout_manager.cc#newcode1013 ash/shelf/shelf_layout_manager.cc:1013: return SHELF_AUTO_HIDE_HIDDEN; That CL has now landed, ...
7 years, 4 months ago (2013-08-14 17:03:21 UTC) #9
James Cook
lgtm
7 years, 4 months ago (2013-08-14 20:41:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/22638013/31001
7 years, 4 months ago (2013-08-14 20:51:15 UTC) #11
commit-bot: I haz the power
7 years, 4 months ago (2013-08-14 23:48:21 UTC) #12
Message was sent while issue was closed.
Change committed as 217700

Powered by Google App Engine
This is Rietveld 408576698