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

Issue 2782223002: Add ability to have active window autohide shelf (Closed)

Created:
3 years, 8 months ago by yorkelee
Modified:
3 years, 8 months ago
Reviewers:
reveman, oshima
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ability to have active window autohide shelf * Actual implementation of ShellSurface.setSystemUiVisibility * Add hide_shelf_when_active_ flag to window_state which the ShelfLayoutManager uses to determine if the currently active window should autohide the shelf. * Update flag accordingly from ShellSurface BUG=705723 TEST=New unit tests, and also verify that using the implementation from Android correctly autohides the shelf for the active Android window. Add set_systemui_visibility to wayland Review-Url: https://codereview.chromium.org/2782223002 Cr-Commit-Position: refs/heads/master@{#460907} Committed: https://chromium.googlesource.com/chromium/src/+/74669cbfbef72bde5abdecb18e9c7920cca51419

Patch Set 1 #

Patch Set 2 : Add ability to have active window autohide shelf #

Patch Set 3 : Add ability to have active window autohide shelf #

Total comments: 4

Patch Set 4 : Add ability to have active window autohide shelf #

Total comments: 3

Patch Set 5 : Cleanup of unremoved comment #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -4 lines) Patch
M ash/common/shelf/shelf_layout_manager.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ash/common/shelf/shelf_layout_manager.cc View 1 2 3 4 5 4 chunks +16 lines, -2 lines 0 comments Download
M ash/common/wm/window_state.h View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M ash/common/wm/window_state.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
M ash/wm/window_util.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/window_util.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M components/exo/shell_surface.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M components/exo/shell_surface_unittest.cc View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (17 generated)
yorkelee
As discussed offline, removed WM_EVENT_AUTOHIDE_SHELF and WM_EVENT_UNAUTOHIDE_SHELF to simplify the overall implementation.
3 years, 8 months ago (2017-03-30 02:50:58 UTC) #3
reveman
components/exo lgtm
3 years, 8 months ago (2017-03-30 07:10:51 UTC) #4
oshima
https://codereview.chromium.org/2782223002/diff/40001/ash/common/shelf/shelf_layout_manager.cc File ash/common/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/2782223002/diff/40001/ash/common/shelf/shelf_layout_manager.cc#newcode252 ash/common/shelf/shelf_layout_manager.cc:252: } This should happen only when the WORKSPACE_WINDOW_STATE_FULLSCREEN or ...
3 years, 8 months ago (2017-03-30 14:01:27 UTC) #5
yorkelee
Addressed comments https://codereview.chromium.org/2782223002/diff/40001/ash/common/shelf/shelf_layout_manager.cc File ash/common/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/2782223002/diff/40001/ash/common/shelf/shelf_layout_manager.cc#newcode252 ash/common/shelf/shelf_layout_manager.cc:252: } On 2017/03/30 14:01:27, oshima wrote: > ...
3 years, 8 months ago (2017-03-30 19:34:12 UTC) #6
oshima
lgtm with a nit https://codereview.chromium.org/2782223002/diff/60001/ash/common/shelf/shelf_layout_manager.cc File ash/common/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/2782223002/diff/60001/ash/common/shelf/shelf_layout_manager.cc#newcode254 ash/common/shelf/shelf_layout_manager.cc:254: //} clean up?
3 years, 8 months ago (2017-03-30 19:35:58 UTC) #7
yorkelee
https://codereview.chromium.org/2782223002/diff/60001/ash/common/shelf/shelf_layout_manager.cc File ash/common/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/2782223002/diff/60001/ash/common/shelf/shelf_layout_manager.cc#newcode254 ash/common/shelf/shelf_layout_manager.cc:254: //} On 2017/03/30 19:35:58, oshima wrote: > clean up? ...
3 years, 8 months ago (2017-03-30 19:38:37 UTC) #8
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/2782223002/80001
3 years, 8 months ago (2017-03-30 19:55:57 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-clang/builds/66263) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 8 months ago (2017-03-30 20:00:10 UTC) #17
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/2782223002/100001
3 years, 8 months ago (2017-03-30 22:10:54 UTC) #24
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 22:23:51 UTC) #27
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/74669cbfbef72bde5abdecb18e9c...

Powered by Google App Engine
This is Rietveld 408576698