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

Unified Diff: ui/compositor/compositor.h

Issue 14386024: Add debug shortcuts that toggles options to shows debug borders and fps counters (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « ash/debug.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index 0d5bfc963bbb9203031f57876ecb5c0dbc10c3b0..10c6979992d312d8d13e4b2c1346684c624d3f76 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -31,6 +31,7 @@ class RunLoop;
namespace cc {
class ContextProvider;
class Layer;
+class LayerTreeDebugState;
class LayerTreeHost;
}
@@ -363,8 +364,8 @@ class COMPOSITOR_EXPORT Compositor
bool IsLocked() { return compositor_lock_ != NULL; }
- bool IsShowPaintRectsEnabled() const;
- void SetShowPaintRectsEnabled(bool enabled);
+ const cc::LayerTreeDebugState& GetLayerTreeDebugState() const;
+ void SetLayerTreeDebugState(const cc::LayerTreeDebugState& debug_state);
private:
friend class base::RefCounted<Compositor>;
« no previous file with comments | « ash/debug.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698