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

Issue 2129213003: [ash-md] Hides frame headers in overview mode not using a mask (Closed)

Created:
4 years, 5 months ago by varkha
Modified:
4 years, 5 months ago
Reviewers:
tdanderson
CC:
chromium-reviews, kalyank, sadrul, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ash-md] Hides frame headers in overview mode not using a mask Mask layers are expensive and we will want to avoid using them when there are too many windows. Trying therefore to find a solution to hide the frame headers that does not rely on masks. Also fixes the mask update using SetFillsBoundsOpaquely(false). BUG=624431 Committed: https://crrev.com/c54b330fedbd77ed0d54532ec98418f7ce7ff6a6 Cr-Commit-Position: refs/heads/master@{#404573}

Patch Set 1 #

Total comments: 5

Patch Set 2 : [ash-md] Hides frame headers in overview mode not using a mask (using SetAlphaShape) #

Total comments: 18

Patch Set 3 : [ash-md] Hides frame headers in overview mode not using a mask (comments) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -20 lines) Patch
M ash/common/wm/overview/scoped_transform_overview_window.h View 1 2 3 chunks +6 lines, -1 line 0 comments Download
M ash/common/wm/overview/scoped_transform_overview_window.cc View 1 2 6 chunks +40 lines, -17 lines 0 comments Download
M ash/common/wm/overview/window_grid.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ash/common/wm/overview/window_selector_item.cc View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 39 (27 generated)
varkha
tdanderson@, can you please take a first look? Doing this will allow us to put ...
4 years, 5 months ago (2016-07-08 18:09:12 UTC) #5
tdanderson
lgtm with a nit and a couple of questions https://codereview.chromium.org/2129213003/diff/1/ash/common/wm/overview/scoped_transform_overview_window.cc File ash/common/wm/overview/scoped_transform_overview_window.cc (right): https://codereview.chromium.org/2129213003/diff/1/ash/common/wm/overview/scoped_transform_overview_window.cc#newcode183 ash/common/wm/overview/scoped_transform_overview_window.cc:183: ...
4 years, 5 months ago (2016-07-08 18:51:55 UTC) #6
varkha
I am exploring other ways of masking so I will hold on to this for ...
4 years, 5 months ago (2016-07-08 19:27:41 UTC) #9
varkha
tdanderson@, let me know if you can take a look before you come back. If ...
4 years, 5 months ago (2016-07-09 07:37:19 UTC) #16
varkha
https://codereview.chromium.org/2129213003/diff/20001/ash/common/wm/overview/scoped_transform_overview_window.cc File ash/common/wm/overview/scoped_transform_overview_window.cc (right): https://codereview.chromium.org/2129213003/diff/20001/ash/common/wm/overview/scoped_transform_overview_window.cc#newcode428 ash/common/wm/overview/scoped_transform_overview_window.cc:428: window()->GetLayer()->SetAlphaShape(base::WrapUnique(region)); Self review: this could be done only for ...
4 years, 5 months ago (2016-07-09 21:07:33 UTC) #19
tdanderson
A few questions and comments below: https://chromiumcodereview.appspot.com/2129213003/diff/20001/ash/common/wm/overview/scoped_transform_overview_window.cc File ash/common/wm/overview/scoped_transform_overview_window.cc (right): https://chromiumcodereview.appspot.com/2129213003/diff/20001/ash/common/wm/overview/scoped_transform_overview_window.cc#newcode183 ash/common/wm/overview/scoped_transform_overview_window.cc:183: OverviewContentMask(float radius); Make ...
4 years, 5 months ago (2016-07-09 21:23:21 UTC) #20
varkha
Thanks. Also the mask should work with enne@'s helpful tip (although it is probably still ...
4 years, 5 months ago (2016-07-09 22:00:18 UTC) #25
tdanderson
Patch set 3 lgtm
4 years, 5 months ago (2016-07-09 22:27:00 UTC) #29
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/2129213003/100001
4 years, 5 months ago (2016-07-09 23:04:41 UTC) #33
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 5 months ago (2016-07-09 23:08:21 UTC) #35
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-09 23:08:23 UTC) #36
commit-bot: I haz the power
4 years, 5 months ago (2016-07-09 23:09:48 UTC) #38
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c54b330fedbd77ed0d54532ec98418f7ce7ff6a6
Cr-Commit-Position: refs/heads/master@{#404573}

Powered by Google App Engine
This is Rietveld 408576698