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

Unified Diff: cc/layers/layer_impl.h

Issue 2795703002: ui: Add debug flag to show composited layer borders in ChromeOS UI. (Closed)
Patch Set: nits Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/debug/layer_tree_debug_state.h ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 8da25add8d0eb78e9ece791559a7701dd2be13fd..c1d3d58c01cd5ed38914f6322f649c173fae67e0 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -21,6 +21,7 @@
#include "cc/base/region.h"
#include "cc/base/synced_property.h"
#include "cc/cc_export.h"
+#include "cc/debug/layer_tree_debug_state.h"
#include "cc/input/input_handler.h"
#include "cc/layers/draw_properties.h"
#include "cc/layers/layer_collections.h"
@@ -217,7 +218,7 @@ class CC_EXPORT LayerImpl {
return should_check_backface_visibility_;
}
- bool ShowDebugBorders() const;
+ bool ShowDebugBorders(DebugBorderType type) const;
// TODO(http://crbug.com/557160): Currently SPv2 creates dummy layers for the
// sole purpose of representing a render surface. Once that dependency is
« no previous file with comments | « cc/debug/layer_tree_debug_state.h ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698