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

Issue 9289036: aura: Add Layer::LAYER_SOLID_COLOR to compositor. (Closed)

Created:
8 years, 11 months ago by Daniel Erat
Modified:
8 years, 11 months ago
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, Ian Vollick, dhollowa+watch_chromium.org, jonathan.backer, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, tfarina, piman+watch_chromium.org, James Su
Visibility:
Public.

Description

aura: Add Layer::LAYER_SOLID_COLOR to compositor. This adds a new layer type backed by WebKit::WebSolidColorLayer. I'm using it for the power button animation's background (which previously had a fullscreen texture that it just painted black). I'm also renaming LAYER_HAS_TEXTURE to LAYER_TEXTURED and LAYER_HAS_NO_TEXTURE to LAYER_NOT_DRAWN. BUG=109083 TEST=manual: checked that the power button animation looks the same as before TBR=sky Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119580

Patch Set 1 #

Patch Set 2 : minor changes #

Total comments: 2

Patch Set 3 : call SetFillBoundsOpaquely() #

Patch Set 4 : painful merge #

Patch Set 5 : update WorkspaceManagerTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -83 lines) Patch
M ash/shell.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/base_layout_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/compact_layout_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/image_grid.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/power_button_controller.h View 3 chunks +0 lines, -6 lines 0 comments Download
M ash/wm/power_button_controller.cc View 2 chunks +2 lines, -19 lines 0 comments Download
M ash/wm/shadow_controller_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/toplevel_layout_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/toplevel_window_event_filter_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace/workspace_manager_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace_controller_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/tabs/dock_info_aura.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M ui/aura/demo/demo_main.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ui/aura/event_filter_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/root_window.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/test/test_windows.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window_unittest.cc View 1 2 3 4 chunks +11 lines, -11 lines 0 comments Download
M ui/gfx/compositor/layer.h View 1 2 3 3 chunks +14 lines, -3 lines 0 comments Download
M ui/gfx/compositor/layer.cc View 1 2 3 9 chunks +24 lines, -7 lines 0 comments Download
M ui/gfx/compositor/layer_unittest.cc View 1 2 3 6 chunks +12 lines, -12 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/widget/native_widget_aura_unittest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Daniel Erat
I'm not particularly familiar with Layer and could very easily believe that I'm getting something ...
8 years, 11 months ago (2012-01-26 01:59:47 UTC) #1
piman
https://chromiumcodereview.appspot.com/9289036/diff/2001/ui/gfx/compositor/layer.cc File ui/gfx/compositor/layer.cc (right): https://chromiumcodereview.appspot.com/9289036/diff/2001/ui/gfx/compositor/layer.cc#newcode249 ui/gfx/compositor/layer.cc:249: return; Mmh, I feel like we should setOpaque somewhere. ...
8 years, 11 months ago (2012-01-26 02:16:06 UTC) #2
wjmaclean
On 2012/01/26 02:16:06, piman wrote: > https://chromiumcodereview.appspot.com/9289036/diff/2001/ui/gfx/compositor/layer.cc > File ui/gfx/compositor/layer.cc (right): > > https://chromiumcodereview.appspot.com/9289036/diff/2001/ui/gfx/compositor/layer.cc#newcode249 > ...
8 years, 11 months ago (2012-01-26 14:07:48 UTC) #3
piman
On Thu, Jan 26, 2012 at 6:07 AM, <wjmaclean@chromium.org> wrote: > On 2012/01/26 02:16:06, piman ...
8 years, 11 months ago (2012-01-26 16:32:47 UTC) #4
Daniel Erat
https://chromiumcodereview.appspot.com/9289036/diff/2001/ui/gfx/compositor/layer.cc File ui/gfx/compositor/layer.cc (right): https://chromiumcodereview.appspot.com/9289036/diff/2001/ui/gfx/compositor/layer.cc#newcode249 ui/gfx/compositor/layer.cc:249: return; On 2012/01/26 02:16:07, piman wrote: > Mmh, I ...
8 years, 11 months ago (2012-01-26 18:10:26 UTC) #5
Daniel Erat
On 2012/01/26 18:10:26, Daniel Erat wrote: > https://chromiumcodereview.appspot.com/9289036/diff/2001/ui/gfx/compositor/layer.cc > File ui/gfx/compositor/layer.cc (right): > > https://chromiumcodereview.appspot.com/9289036/diff/2001/ui/gfx/compositor/layer.cc#newcode249 ...
8 years, 11 months ago (2012-01-26 21:11:31 UTC) #6
wjmaclean
On 2012/01/26 21:11:31, Daniel Erat wrote: > On 2012/01/26 18:10:26, Daniel Erat wrote: > > ...
8 years, 11 months ago (2012-01-26 21:16:07 UTC) #7
Daniel Erat
On 2012/01/26 21:16:07, wjmaclean wrote: > On 2012/01/26 21:11:31, Daniel Erat wrote: > > On ...
8 years, 11 months ago (2012-01-26 21:28:45 UTC) #8
wjmaclean
On 2012/01/26 21:28:45, Daniel Erat wrote: > On 2012/01/26 21:16:07, wjmaclean wrote: > > On ...
8 years, 11 months ago (2012-01-26 21:46:33 UTC) #9
Daniel Erat
On 2012/01/26 21:46:33, wjmaclean wrote: > On 2012/01/26 21:28:45, Daniel Erat wrote: > > On ...
8 years, 11 months ago (2012-01-26 21:54:17 UTC) #10
piman
On 2012/01/26 21:54:17, Daniel Erat wrote: > On 2012/01/26 21:46:33, wjmaclean wrote: > > On ...
8 years, 11 months ago (2012-01-26 23:02:08 UTC) #11
Daniel Erat
Mind approving, Ben? The only marginally non-mechanical bits are in Layer and PowerButtonController.
8 years, 11 months ago (2012-01-27 18:47:49 UTC) #12
wjmaclean
btw, LGTM
8 years, 11 months ago (2012-01-27 19:00:15 UTC) #13
Ben Goodger (Google)
lgtm
8 years, 11 months ago (2012-01-27 21:18:30 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/9289036/13001
8 years, 11 months ago (2012-01-28 00:29:30 UTC) #15
commit-bot: I haz the power
Presubmit check for 9289036-13001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 11 months ago (2012-01-28 00:29:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/9289036/13001
8 years, 11 months ago (2012-01-28 00:32:30 UTC) #17
commit-bot: I haz the power
8 years, 11 months ago (2012-01-28 03:19:14 UTC) #18
Change committed as 119580

Powered by Google App Engine
This is Rietveld 408576698