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

Unified Diff: cc/layer_impl.h

Issue 12258044: cc: Add PictureLayerImpl::AsValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Size as value Created 7 years, 10 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 | « no previous file | cc/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_impl.h
diff --git a/cc/layer_impl.h b/cc/layer_impl.h
index 5e0e32d02cde74620310bf8adb4275ad53fa1c07..c168964384d33eeb33817a2bab2b9105d4c4e8ea 100644
--- a/cc/layer_impl.h
+++ b/cc/layer_impl.h
@@ -9,6 +9,7 @@
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
+#include "base/values.h"
#include "cc/cc_export.h"
#include "cc/draw_properties.h"
#include "cc/input_handler.h"
@@ -309,6 +310,8 @@ public:
virtual scoped_ptr<LayerImpl> createLayerImpl(LayerTreeImpl*);
virtual void pushPropertiesTo(LayerImpl*);
+ virtual scoped_ptr<base::Value> AsValue() const;
+
protected:
LayerImpl(LayerTreeImpl* layerImpl, int);
@@ -320,6 +323,8 @@ protected:
virtual void dumpLayerProperties(std::string*, int indent) const;
static std::string indentString(int indent);
+ void AsValueInto(base::DictionaryValue* dict) const;
+
private:
void updateScrollbarPositions();
« no previous file with comments | « no previous file | cc/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698