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

Issue 11410098: ui: Enable debug borders for the UI compositor through layer tree settings. (Closed)

Created:
8 years, 1 month ago by danakj
Modified:
8 years, 1 month ago
CC:
chromium-reviews, Ian Vollick, piman+watch_chromium.org, cc-bugs_chromium.org
Visibility:
Public.

Description

ui: Enable debug borders for the UI compositor through layer tree settings. We have disconnected the debug borders in the compositor from GraphicsLayer, and have internal mechanisms in the compositor for deciding layer borders. This feature is enabled via LayerTreeSettings. The ui compositor was setting border colors and widths directly. Instead, it should enable the LayerTreeSettings flag, and any layer-specific colors should be defined in the compositor, making them consistent for UI or renderer. BUG=159769 R=piman Depends on: https://codereview.chromium.org/11365239 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167864

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -20 lines) Patch
M ui/compositor/compositor.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/compositor/layer.h View 2 chunks +0 lines, -2 lines 0 comments Download
M ui/compositor/layer.cc View 5 chunks +0 lines, -18 lines 2 comments Download

Messages

Total messages: 6 (0 generated)
danakj
piman's out for the week. can you review please backer?
8 years, 1 month ago (2012-11-14 21:14:14 UTC) #1
jonathan.backer
https://codereview.chromium.org/11410098/diff/1/ui/compositor/layer.cc File ui/compositor/layer.cc (left): https://codereview.chromium.org/11410098/diff/1/ui/compositor/layer.cc#oldcode796 ui/compositor/layer.cc:796: web_layer_->setDebugBorderColor(color); Is the purpose of this code to give ...
8 years, 1 month ago (2012-11-14 21:39:11 UTC) #2
jonathan.backer
On 2012/11/14 21:39:11, jonathan.backer wrote: > https://codereview.chromium.org/11410098/diff/1/ui/compositor/layer.cc > File ui/compositor/layer.cc (left): > > https://codereview.chromium.org/11410098/diff/1/ui/compositor/layer.cc#oldcode796 > ...
8 years, 1 month ago (2012-11-14 21:45:37 UTC) #3
danakj
Thanks Jon https://codereview.chromium.org/11410098/diff/1/ui/compositor/layer.cc File ui/compositor/layer.cc (left): https://codereview.chromium.org/11410098/diff/1/ui/compositor/layer.cc#oldcode796 ui/compositor/layer.cc:796: web_layer_->setDebugBorderColor(color); On 2012/11/14 21:39:12, jonathan.backer wrote: > ...
8 years, 1 month ago (2012-11-14 22:26:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11410098/1
8 years, 1 month ago (2012-11-15 01:49:12 UTC) #5
commit-bot: I haz the power
8 years, 1 month ago (2012-11-15 05:28:51 UTC) #6
Change committed as 167864

Powered by Google App Engine
This is Rietveld 408576698