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

Issue 2633643002: [ash-md] Reduces dimensions of texture layers in overview mode (Closed)

Created:
3 years, 11 months ago by varkha
Modified:
3 years, 11 months ago
Reviewers:
tdanderson
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ash-md] Reduces dimensions of texture layers in overview mode This CL simplifies the view structure of the visible items in overview mode and reduces the dimensions of the texture layers used. Previously each item was a widget (with a default texture layer) that was sllightly bigger than the window and had a LabelButton covering most of the area with a custom background. That background was only made non-transparent in a caption above the window so the texture layer was in fact unnecessarily large. With this change the widget is created with a ui::LAYER_NOT_DRAWN layer and only the narrow visible background behind the caption has a texture layer (necessary to implement rounded corners for the visible caption). The views structure has also been simplified. The view is covered by a simple button (to capture events) and a simple Label is used in place of the LabelButton. BUG=537050, 624608 TEST=NONE - no visible change Review-Url: https://codereview.chromium.org/2633643002 Cr-Commit-Position: refs/heads/master@{#444129} Committed: https://chromium.googlesource.com/chromium/src/+/d4824ca45ebcccbdd2869310f366c1b178a4be85

Patch Set 1 #

Patch Set 2 : [ash-md] Reduces dimensions of texture layers in overview mode (test) #

Patch Set 3 : [ash-md] Reduces dimensions of texture layers in overview mode (a11y test) #

Total comments: 22

Patch Set 4 : [ash-md] Reduces dimensions of texture layers in overview mode (nits) #

Patch Set 5 : [ash-md] Reduces dimensions of texture layers in overview mode (test) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -184 lines) Patch
M ash/ash_strings.grd View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M ash/common/wm/overview/window_selector_item.h View 1 2 3 7 chunks +19 lines, -49 lines 0 comments Download
M ash/common/wm/overview/window_selector_item.cc View 1 2 3 21 chunks +129 lines, -126 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 35 (26 generated)
varkha
tdanderson@, this is another optimization inspired by reveman@'s doc. This should significantly reduce the overall ...
3 years, 11 months ago (2017-01-13 03:11:04 UTC) #4
varkha
To measure effectiveness of this I have installed a trace when animations start and end ...
3 years, 11 months ago (2017-01-16 17:45:03 UTC) #16
varkha
To measure effectiveness of this I have installed a trace when animations start and end ...
3 years, 11 months ago (2017-01-16 17:45:03 UTC) #17
tdanderson
LGTM with some comments below. The data collection you performed is much appreciated, thanks! https://codereview.chromium.org/2633643002/diff/40001/ash/common/wm/overview/window_selector_item.cc ...
3 years, 11 months ago (2017-01-16 23:43:30 UTC) #18
reveman
On 2017/01/16 at 17:45:03, varkha wrote: > To measure effectiveness of this I have installed ...
3 years, 11 months ago (2017-01-17 02:07:18 UTC) #19
varkha
On 2017/01/17 02:07:18, reveman wrote: > On 2017/01/16 at 17:45:03, varkha wrote: > > To ...
3 years, 11 months ago (2017-01-17 02:15:38 UTC) #20
varkha
https://codereview.chromium.org/2633643002/diff/40001/ash/common/wm/overview/window_selector_item.cc File ash/common/wm/overview/window_selector_item.cc (right): https://codereview.chromium.org/2633643002/diff/40001/ash/common/wm/overview/window_selector_item.cc#newcode136 ash/common/wm/overview/window_selector_item.cc:136: void ResetListener() { listener_ = nullptr; } On 2017/01/16 ...
3 years, 11 months ago (2017-01-17 17:39:05 UTC) #21
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/2633643002/80001
3 years, 11 months ago (2017-01-17 20:34:08 UTC) #32
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 20:39:44 UTC) #35
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/d4824ca45ebcccbdd2869310f366...

Powered by Google App Engine
This is Rietveld 408576698