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

Issue 2326703002: Do not show shelf or top chrome hints while in Ash immersive mode (Closed)

Created:
4 years, 3 months ago by yiyix
Modified:
4 years, 3 months ago
Reviewers:
tdanderson, James Cook, msw
CC:
chromium-reviews, kalyank, sadrul, tfarina, oshima
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not show shelf or top chrome hints while in Ash immersive mode Introduced a new Material Design controller called IsImmersiveModeMaterial, which controls the default behavior of ash immersive mode. By default, the immersive mode hints on top chrome and on shelf are hidden. The hints are showing when the flag ash-md is set to disabled. TEST=Shelf_layout_manager_unittests, immersive_mode_controller_ash_unittests BUG=641951, 623432 Committed: https://crrev.com/13b74d6d6843827a883181b1a8f7c5cf11d3b09d Cr-Commit-Position: refs/heads/master@{#417461}

Patch Set 1 #

Total comments: 8

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -15 lines) Patch
M ash/common/material_design/material_design_controller.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ash/common/material_design/material_design_controller.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ash/common/shelf/shelf_constants.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/shelf_layout_manager.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 1 3 chunks +15 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 32 (23 generated)
yiyix
Could you please review this code change? Thank you very much
4 years, 3 months ago (2016-09-08 20:09:45 UTC) #10
James Cook
https://codereview.chromium.org/2326703002/diff/40001/ash/common/material_design/material_design_controller.h File ash/common/material_design/material_design_controller.h (right): https://codereview.chromium.org/2326703002/diff/40001/ash/common/material_design/material_design_controller.h#newcode46 ash/common/material_design/material_design_controller.h:46: // Returns true if Material Design features are enable ...
4 years, 3 months ago (2016-09-08 20:33:33 UTC) #11
tdanderson
lgtm with James's comments addressed (plus my one comment below). https://codereview.chromium.org/2326703002/diff/40001/ash/common/material_design/material_design_controller.cc File ash/common/material_design/material_design_controller.cc (right): https://codereview.chromium.org/2326703002/diff/40001/ash/common/material_design/material_design_controller.cc#newcode72 ...
4 years, 3 months ago (2016-09-08 21:19:14 UTC) #14
yiyix
@jamescook, tdanderson and msw, could you please check this change again? https://codereview.chromium.org/2326703002/diff/40001/ash/common/material_design/material_design_controller.cc File ash/common/material_design/material_design_controller.cc (right): ...
4 years, 3 months ago (2016-09-08 22:36:19 UTC) #17
James Cook
LGTM
4 years, 3 months ago (2016-09-08 22:39:47 UTC) #21
msw
lgtm
4 years, 3 months ago (2016-09-08 22:45:13 UTC) #22
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/2326703002/100001
4 years, 3 months ago (2016-09-09 00:41:31 UTC) #27
commit-bot: I haz the power
Committed patchset #2 (id:100001)
4 years, 3 months ago (2016-09-09 00:49:33 UTC) #29
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 00:53:24 UTC) #31
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/13b74d6d6843827a883181b1a8f7c5cf11d3b09d
Cr-Commit-Position: refs/heads/master@{#417461}

Powered by Google App Engine
This is Rietveld 408576698