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

Issue 169643005: Adding a gray semi transparent backdrop behind the topmost window within the default container (Closed)

Created:
6 years, 10 months ago by Mr4D (OOO till 08-26)
Modified:
6 years, 9 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul, dcheng, ben+ash_chromium.org
Visibility:
Public.

Description

Adding a gray semi transparent backdrop behind the topmost window within the default container This is part of the "always maximized" feature. Windows which cannot be maximized - or cannot be made to cover the entire screen should have a backdrop behind them which covers the desktop. Tried various ways to implement this and this seems to be the best solution. BUG=337567, 337563 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255863

Patch Set 1 #

Patch Set 2 : Added unit tests #

Total comments: 8

Patch Set 3 : Merged the CL with all the changes which have happened last week #

Patch Set 4 : Addressed #

Total comments: 20

Patch Set 5 : Addressed #

Total comments: 12

Patch Set 6 : Addressed #

Total comments: 2

Patch Set 7 : 2014 #

Patch Set 8 : Fixing build problems #

Patch Set 9 : Fixing build problem #

Unified diffs Side-by-side diffs Delta from patch set Stats (+585 lines, -21 lines) Patch
M ash/ash.gyp View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_window_manager.h View 1 2 3 4 chunks +14 lines, -2 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_window_manager.cc View 1 2 3 4 9 chunks +58 lines, -14 lines 0 comments Download
A ash/wm/maximize_mode/workspace_backdrop_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +80 lines, -0 lines 0 comments Download
A ash/wm/maximize_mode/workspace_backdrop_delegate.cc View 1 2 3 4 5 6 7 1 chunk +154 lines, -0 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager.h View 1 2 3 4 5 6 5 chunks +24 lines, -0 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager.cc View 1 2 3 4 5 6 8 chunks +17 lines, -5 lines 0 comments Download
A ash/wm/workspace/workspace_layout_manager_delegate.h View 1 2 3 4 5 6 1 chunk +49 lines, -0 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager_unittest.cc View 1 2 3 4 5 2 chunks +172 lines, -0 lines 0 comments Download
M ash/wm/workspace_controller.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M ash/wm/workspace_controller.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
Mr4D (OOO till 08-26)
Sky, as discussed. Here is the first 'draft' of the CL. It works from all ...
6 years, 10 months ago (2014-02-21 23:26:40 UTC) #1
Mr4D (OOO till 08-26)
Sky, as discussed. Here is the first 'draft' of the CL. It works from all ...
6 years, 10 months ago (2014-02-21 23:26:40 UTC) #2
sky
Remind me why this is better, and less error prone, than creating a new container?
6 years, 10 months ago (2014-02-21 23:46:06 UTC) #3
sky
Also, it would be good if you could writeup a design doc for the feature.
6 years, 10 months ago (2014-02-21 23:48:34 UTC) #4
Mr4D (OOO till 08-26)
I created it as you have suggested yourself. Sure, I'll create a design doc. Let's ...
6 years, 10 months ago (2014-02-22 02:26:51 UTC) #5
sky
https://codereview.chromium.org/169643005/diff/80001/ash/wm/maximize_mode/maximize_mode_window_manager.h File ash/wm/maximize_mode/maximize_mode_window_manager.h (right): https://codereview.chromium.org/169643005/diff/80001/ash/wm/maximize_mode/maximize_mode_window_manager.h#newcode42 ash/wm/maximize_mode/maximize_mode_window_manager.h:42: void HideBackdrops(bool hide); Do you really need the 'hide' ...
6 years, 9 months ago (2014-03-06 01:03:17 UTC) #6
Mr4D (OOO till 08-26)
Addressed! Please have another look! https://codereview.chromium.org/169643005/diff/80001/ash/wm/maximize_mode/maximize_mode_window_manager.h File ash/wm/maximize_mode/maximize_mode_window_manager.h (right): https://codereview.chromium.org/169643005/diff/80001/ash/wm/maximize_mode/maximize_mode_window_manager.h#newcode42 ash/wm/maximize_mode/maximize_mode_window_manager.h:42: void HideBackdrops(bool hide); Removed. ...
6 years, 9 months ago (2014-03-06 17:17:16 UTC) #7
sky
https://codereview.chromium.org/169643005/diff/180001/ash/wm/maximize_mode/workspace_backdrop_delegate.cc File ash/wm/maximize_mode/workspace_backdrop_delegate.cc (right): https://codereview.chromium.org/169643005/diff/180001/ash/wm/maximize_mode/workspace_backdrop_delegate.cc#newcode30 ash/wm/maximize_mode/workspace_backdrop_delegate.cc:30: background_ = new views::Widget; Is there a reason why ...
6 years, 9 months ago (2014-03-06 21:34:12 UTC) #8
Mr4D (OOO till 08-26)
Please have another look! https://codereview.chromium.org/169643005/diff/180001/ash/wm/maximize_mode/workspace_backdrop_delegate.cc File ash/wm/maximize_mode/workspace_backdrop_delegate.cc (right): https://codereview.chromium.org/169643005/diff/180001/ash/wm/maximize_mode/workspace_backdrop_delegate.cc#newcode30 ash/wm/maximize_mode/workspace_backdrop_delegate.cc:30: background_ = new views::Widget; Yes, ...
6 years, 9 months ago (2014-03-07 01:00:12 UTC) #9
sky
Did you forget to git add worskpace_layout_manager_delegate? https://codereview.chromium.org/169643005/diff/180001/ash/wm/workspace/workspace_layout_manager_unittest.cc File ash/wm/workspace/workspace_layout_manager_unittest.cc (right): https://codereview.chromium.org/169643005/diff/180001/ash/wm/workspace/workspace_layout_manager_unittest.cc#newcode829 ash/wm/workspace/workspace_layout_manager_unittest.cc:829: for (int ...
6 years, 9 months ago (2014-03-07 15:00:10 UTC) #10
Mr4D (OOO till 08-26)
Addressed! Please have another look! https://codereview.chromium.org/169643005/diff/180001/ash/wm/workspace/workspace_layout_manager_unittest.cc File ash/wm/workspace/workspace_layout_manager_unittest.cc (right): https://codereview.chromium.org/169643005/diff/180001/ash/wm/workspace/workspace_layout_manager_unittest.cc#newcode829 ash/wm/workspace/workspace_layout_manager_unittest.cc:829: for (int i = ...
6 years, 9 months ago (2014-03-07 15:55:34 UTC) #11
sky
LGTM https://codereview.chromium.org/169643005/diff/220001/ash/wm/workspace/workspace_layout_manager_delegate.h File ash/wm/workspace/workspace_layout_manager_delegate.h (right): https://codereview.chromium.org/169643005/diff/220001/ash/wm/workspace/workspace_layout_manager_delegate.h#newcode1 ash/wm/workspace/workspace_layout_manager_delegate.h:1: // Copyright (c) 2012 The Chromium Authors. All ...
6 years, 9 months ago (2014-03-07 17:00:45 UTC) #12
Mr4D (OOO till 08-26)
Thanks! https://codereview.chromium.org/169643005/diff/220001/ash/wm/workspace/workspace_layout_manager_delegate.h File ash/wm/workspace/workspace_layout_manager_delegate.h (right): https://codereview.chromium.org/169643005/diff/220001/ash/wm/workspace/workspace_layout_manager_delegate.h#newcode1 ash/wm/workspace/workspace_layout_manager_delegate.h:1: // Copyright (c) 2012 The Chromium Authors. All ...
6 years, 9 months ago (2014-03-07 17:39:56 UTC) #13
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-07 17:40:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/169643005/240001
6 years, 9 months ago (2014-03-07 17:42:17 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 17:50:07 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-07 17:50:08 UTC) #17
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-08 04:28:25 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/169643005/260001
6 years, 9 months ago (2014-03-08 10:40:00 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 12:07:32 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_clang_dbg
6 years, 9 months ago (2014-03-08 12:07:32 UTC) #21
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-08 16:32:33 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/169643005/260001
6 years, 9 months ago (2014-03-08 16:32:45 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 16:56:03 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_clang_dbg
6 years, 9 months ago (2014-03-08 16:56:03 UTC) #25
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-08 19:09:42 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/169643005/280001
6 years, 9 months ago (2014-03-08 19:09:53 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 19:36:00 UTC) #28
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=278249
6 years, 9 months ago (2014-03-08 19:36:00 UTC) #29
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-08 20:13:14 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/169643005/280001
6 years, 9 months ago (2014-03-08 20:13:28 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 21:33:25 UTC) #32
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=234574
6 years, 9 months ago (2014-03-08 21:33:26 UTC) #33
Mr4D (OOO till 08-26)
The CQ bit was checked by skuhne@chromium.org
6 years, 9 months ago (2014-03-09 17:43:15 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/169643005/280001
6 years, 9 months ago (2014-03-09 17:43:30 UTC) #35
commit-bot: I haz the power
6 years, 9 months ago (2014-03-09 17:58:28 UTC) #36
Message was sent while issue was closed.
Change committed as 255863

Powered by Google App Engine
This is Rietveld 408576698