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

Issue 14740012: Enable shelf gestures in immersive mode (Closed)

Created:
7 years, 7 months ago by rharrison
Modified:
7 years, 7 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

This CL modifies the check that prevents shelf gestures from working in fullscreen mode so that it allows gestures during immersive mode. This also modifies the drag completion behaviour to keep the shelf in the correct state while immersive. BUG=chromium:224301 BUG=chromium:230039 TEST=Tested that swipe in/out works in immersive mode. Tested that transitioning between immersive and non-immersive doesn't break the shelf. Tested that swiping doesn't work in traditional fullscreen mode. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201733

Patch Set 1 #

Total comments: 6

Patch Set 2 : Significant rewrite of CL to address reviewer's comments #

Total comments: 4

Patch Set 3 : Responded to pkotwicz's comments #

Total comments: 6

Patch Set 4 : Changed method name as requested and removed code duplication #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -18 lines) Patch
M ash/shelf/shelf_layout_manager.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 3 3 chunks +22 lines, -12 lines 0 comments Download
M ash/wm/gestures/shelf_gesture_handler.cc View 1 2 3 2 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
rharrison
This is another change that I am not sure if this is the correct approach, ...
7 years, 7 months ago (2013-05-02 15:17:59 UTC) #1
James Cook
On 2013/05/02 15:17:59, rharrison wrote: > This is another change that I am not sure ...
7 years, 7 months ago (2013-05-02 18:49:42 UTC) #2
rharrison
On 2013/05/02 18:49:42, James Cook (Chromium) wrote: > On 2013/05/02 15:17:59, rharrison wrote: > > ...
7 years, 7 months ago (2013-05-02 20:30:55 UTC) #3
Harry McCleave
other than that lgtm with the obvious I am new to reviewing and not an ...
7 years, 7 months ago (2013-05-02 20:36:32 UTC) #4
sadrul
https://codereview.chromium.org/14740012/diff/1/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/14740012/diff/1/ash/shelf/shelf_layout_manager.cc#newcode453 ash/shelf/shelf_layout_manager.cc:453: active->GetProperty(kFullscreenUsesMinimalChromeKey)) I am not familiar with this magical key. ...
7 years, 7 months ago (2013-05-02 20:43:58 UTC) #5
pkotwicz
https://codereview.chromium.org/14740012/diff/1/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/14740012/diff/1/ash/shelf/shelf_layout_manager.cc#newcode454 ash/shelf/shelf_layout_manager.cc:454: SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_NEVER); Drive by: - You should probably use RootWindowController::GetFullscreenWindow() ...
7 years, 7 months ago (2013-05-06 20:50:37 UTC) #6
rharrison
PTAL, I think I have addressed all of the concerns raised. https://codereview.chromium.org/14740012/diff/1/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): ...
7 years, 7 months ago (2013-05-16 17:31:04 UTC) #7
pkotwicz
LGTM with comments https://codereview.chromium.org/14740012/diff/16001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/14740012/diff/16001/ash/shelf/shelf_layout_manager.cc#newcode444 ash/shelf/shelf_layout_manager.cc:444: Nit: remove blank line https://codereview.chromium.org/14740012/diff/16001/ash/wm/gestures/shelf_gesture_handler.cc File ...
7 years, 7 months ago (2013-05-16 19:11:49 UTC) #8
rharrison
https://codereview.chromium.org/14740012/diff/16001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/14740012/diff/16001/ash/shelf/shelf_layout_manager.cc#newcode444 ash/shelf/shelf_layout_manager.cc:444: On 2013/05/16 19:11:49, pkotwicz wrote: > Nit: remove blank ...
7 years, 7 months ago (2013-05-16 20:28:30 UTC) #9
rharrison
Talked to sadrul@, he has no further comments. Added jamescook@ for OWNERS
7 years, 7 months ago (2013-05-21 17:52:33 UTC) #10
James Cook
https://codereview.chromium.org/14740012/diff/41001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/14740012/diff/41001/ash/shelf/shelf_layout_manager.cc#newcode439 ash/shelf/shelf_layout_manager.cc:439: shelf_->status_area_widget()->Deactivate(); Won't this line crash is shelf_ is NULL? ...
7 years, 7 months ago (2013-05-22 12:04:22 UTC) #11
rharrison
https://codereview.chromium.org/14740012/diff/41001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/14740012/diff/41001/ash/shelf/shelf_layout_manager.cc#newcode439 ash/shelf/shelf_layout_manager.cc:439: shelf_->status_area_widget()->Deactivate(); On 2013/05/22 12:04:22, James Cook (Chromium) wrote: > ...
7 years, 7 months ago (2013-05-22 20:20:02 UTC) #12
James Cook
lgtm
7 years, 7 months ago (2013-05-22 20:23:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rharrison@chromium.org/14740012/50001
7 years, 7 months ago (2013-05-22 20:25:31 UTC) #14
commit-bot: I haz the power
7 years, 7 months ago (2013-05-23 10:33:55 UTC) #15
Message was sent while issue was closed.
Change committed as 201733

Powered by Google App Engine
This is Rietveld 408576698