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

Unified Diff: cc/nine_patch_layer_impl.h

Issue 11446076: Added LayerTreeHostImpl::layerTreeAsJson which serializes a layer tree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/layer_tree_host_perftest.cc ('k') | cc/nine_patch_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/nine_patch_layer_impl.h
diff --git a/cc/nine_patch_layer_impl.h b/cc/nine_patch_layer_impl.h
index f574c3a6875f2c16f415c10d238848f772ac7276..3201e1991a39193741b7442ddc479bb2861fe538 100644
--- a/cc/nine_patch_layer_impl.h
+++ b/cc/nine_patch_layer_impl.h
@@ -11,6 +11,10 @@
#include "ui/gfx/size.h"
#include "ui/gfx/rect.h"
+namespace base {
+class DictionaryValue;
+}
+
namespace cc {
class CC_EXPORT NinePatchLayerImpl : public LayerImpl {
@@ -31,6 +35,8 @@ public:
virtual void dumpLayerProperties(std::string*, int indent) const OVERRIDE;
virtual void didLoseOutputSurface() OVERRIDE;
+ virtual base::DictionaryValue* layerTreeAsJson() const OVERRIDE;
+
protected:
explicit NinePatchLayerImpl(int id);
« no previous file with comments | « cc/layer_tree_host_perftest.cc ('k') | cc/nine_patch_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698