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

Issue 2690443002: cros-md: Remove the non-MD immersive mode code paths (Closed)

Created:
3 years, 10 months ago by Qiang(Joe) Xu
Modified:
3 years, 10 months ago
Reviewers:
tdanderson, sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cros-md: Remove the non-MD immersive mode code paths Changes: Remove the non-MD immersive mode code paths BUG=690295 BUG=685831 TEST=emulator test, automation tests, also add test coverage Review-Url: https://codereview.chromium.org/2690443002 Cr-Commit-Position: refs/heads/master@{#451022} Committed: https://chromium.googlesource.com/chromium/src/+/f05f264d80c72ec2681cbd4b3854ab6ceceaee67

Patch Set 1 #

Patch Set 2 : add test coverage #

Total comments: 2

Patch Set 3 : remove pre-md tabstrip related code and fix Tabstrip::GetPreferredSize #

Total comments: 6

Patch Set 4 : removals in ShelfLayoutManager and MaterialDesignController #

Patch Set 5 : remove unused conditions #

Total comments: 6

Patch Set 6 : based on sky@'s comments #

Patch Set 7 : rebase & fix merge conflicts #

Patch Set 8 : based on sky@'s comments #

Total comments: 1

Patch Set 9 : rebase & code comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -427 lines) Patch
M ash/common/material_design/material_design_controller.h View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M ash/common/material_design/material_design_controller.cc View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
M ash/common/shelf/shelf_layout_manager.cc View 1 2 3 2 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc View 1 2 3 4 5 6 7 8 chunks +18 lines, -52 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc View 1 2 7 chunks +13 lines, -27 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.h View 1 2 3 4 5 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc View 1 2 3 4 5 6 7 6 chunks +15 lines, -36 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout.cc View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash.h View 1 2 3 4 5 6 7 3 chunks +1 line, -12 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc View 1 2 3 4 5 6 7 8 9 chunks +3 lines, -57 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc View 1 2 3 4 5 6 7 8 7 chunks +10 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_stub.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_stub.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.h View 1 2 4 chunks +0 lines, -12 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 2 3 4 7 chunks +1 line, -100 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_controller.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc View 1 2 4 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.h View 1 2 3 4 5 6 7 4 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 2 3 4 5 6 7 6 chunks +4 lines, -25 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip_unittest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -20 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_unittest.cc View 1 2 3 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 81 (57 generated)
Qiang(Joe) Xu
Hi sky@, ptal, thanks!
3 years, 10 months ago (2017-02-09 23:38:39 UTC) #9
sky
One question. I think we should be doing exactly what we were doing pre-md for ...
3 years, 10 months ago (2017-02-10 17:44:51 UTC) #12
Qiang(Joe) Xu
On 2017/02/10 17:44:51, sky wrote: > One question. I think we should be doing exactly ...
3 years, 10 months ago (2017-02-10 17:55:14 UTC) #13
sky
On Fri, Feb 10, 2017 at 9:55 AM, <warx@chromium.org> wrote: > On 2017/02/10 17:44:51, sky ...
3 years, 10 months ago (2017-02-10 20:42:18 UTC) #14
Qiang(Joe) Xu
On 2017/02/10 20:42:18, sky wrote: > On Fri, Feb 10, 2017 at 9:55 AM, <mailto:warx@chromium.org> ...
3 years, 10 months ago (2017-02-10 23:31:06 UTC) #15
sky
https://codereview.chromium.org/2690443002/diff/20001/chrome/browser/ui/views/frame/browser_view_layout.cc File chrome/browser/ui/views/frame/browser_view_layout.cc (right): https://codereview.chromium.org/2690443002/diff/20001/chrome/browser/ui/views/frame/browser_view_layout.cc#newcode493 chrome/browser/ui/views/frame/browser_view_layout.cc:493: if (immersive_mode_controller_->IsEnabled() && How did pre-md immersive inject a ...
3 years, 10 months ago (2017-02-13 16:57:19 UTC) #16
Qiang(Joe) Xu
https://codereview.chromium.org/2690443002/diff/20001/chrome/browser/ui/views/frame/browser_view_layout.cc File chrome/browser/ui/views/frame/browser_view_layout.cc (right): https://codereview.chromium.org/2690443002/diff/20001/chrome/browser/ui/views/frame/browser_view_layout.cc#newcode493 chrome/browser/ui/views/frame/browser_view_layout.cc:493: if (immersive_mode_controller_->IsEnabled() && On 2017/02/13 16:57:19, sky wrote: > ...
3 years, 10 months ago (2017-02-13 21:21:08 UTC) #17
sky
If immersive_style_ isn't needed, by all means remove it here. On Mon, Feb 13, 2017 ...
3 years, 10 months ago (2017-02-13 23:14:04 UTC) #18
Qiang(Joe) Xu
Hi all, ptal, thanks!
3 years, 10 months ago (2017-02-14 06:05:37 UTC) #28
tdanderson
LGTM (with a couple of comments) for the fact that this removes the non-md immersive ...
3 years, 10 months ago (2017-02-14 17:14:38 UTC) #32
Qiang(Joe) Xu
Hi all, new patch ready, I think it now removes the complete checklist in crbug.com/685831. ...
3 years, 10 months ago (2017-02-14 17:36:38 UTC) #35
sky
https://codereview.chromium.org/2690443002/diff/120001/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc File chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc (right): https://codereview.chromium.org/2690443002/diff/120001/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc#newcode213 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc:213: caption_button_container_->SetVisible(!IsImmersiveFullscreenUnrevealed()); Is this still needed? If so, why? Prior ...
3 years, 10 months ago (2017-02-14 22:40:57 UTC) #38
Qiang(Joe) Xu
Hi Scott, please take another look, thanks! https://codereview.chromium.org/2690443002/diff/120001/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc File chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc (right): https://codereview.chromium.org/2690443002/diff/120001/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc#newcode213 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc:213: caption_button_container_->SetVisible(!IsImmersiveFullscreenUnrevealed()); On ...
3 years, 10 months ago (2017-02-15 05:57:02 UTC) #54
sky
https://codereview.chromium.org/2690443002/diff/120001/chrome/browser/ui/views/tabs/tab_strip.cc File chrome/browser/ui/views/tabs/tab_strip.cc (right): https://codereview.chromium.org/2690443002/diff/120001/chrome/browser/ui/views/tabs/tab_strip.cc#newcode1505 chrome/browser/ui/views/tabs/tab_strip.cc:1505: offscreen_ ? 0 : Tab::GetMinimumInactiveSize().height()); On 2017/02/15 05:57:02, Qiang(Joe) ...
3 years, 10 months ago (2017-02-15 16:30:09 UTC) #55
Qiang(Joe) Xu
Hi Scott, ptal, thanks! https://codereview.chromium.org/2690443002/diff/120001/chrome/browser/ui/views/tabs/tab_strip.cc File chrome/browser/ui/views/tabs/tab_strip.cc (right): https://codereview.chromium.org/2690443002/diff/120001/chrome/browser/ui/views/tabs/tab_strip.cc#newcode1505 chrome/browser/ui/views/tabs/tab_strip.cc:1505: offscreen_ ? 0 : Tab::GetMinimumInactiveSize().height()); ...
3 years, 10 months ago (2017-02-15 23:24:14 UTC) #62
sky
Nice, LGTM
3 years, 10 months ago (2017-02-16 00:23:11 UTC) #63
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/2690443002/240001
3 years, 10 months ago (2017-02-16 00:27:53 UTC) #66
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/156202)
3 years, 10 months ago (2017-02-16 01:55:39 UTC) #68
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/2690443002/240001
3 years, 10 months ago (2017-02-16 02:10:09 UTC) #70
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on ...
3 years, 10 months ago (2017-02-16 02:31:03 UTC) #72
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/2690443002/240001
3 years, 10 months ago (2017-02-16 03:39:16 UTC) #74
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromium_presubmit on ...
3 years, 10 months ago (2017-02-16 05:41:50 UTC) #76
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/2690443002/240001
3 years, 10 months ago (2017-02-16 17:47:49 UTC) #78
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 18:44:11 UTC) #81
Message was sent while issue was closed.
Committed patchset #9 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/f05f264d80c72ec2681cbd4b3854...

Powered by Google App Engine
This is Rietveld 408576698