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

Unified Diff: cc/layers/heads_up_display_layer.h

Issue 1581693010: Add support for (de)serializing HeadsUpDisplayLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/layers/heads_up_display_layer.cc » ('j') | cc/layers/layer_proto_converter_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/heads_up_display_layer.h
diff --git a/cc/layers/heads_up_display_layer.h b/cc/layers/heads_up_display_layer.h
index 5ffa31aa0c9e2cbcb40bdee9cab91b19c01ea1de..554d33ee7c7952e5749d662dc99ed6034bbb305a 100644
--- a/cc/layers/heads_up_display_layer.h
+++ b/cc/layers/heads_up_display_layer.h
@@ -14,6 +14,10 @@
namespace cc {
+namespace proto {
+class LayerNode;
+} // namespace proto
+
class CC_EXPORT HeadsUpDisplayLayer : public Layer {
public:
static scoped_refptr<HeadsUpDisplayLayer> Create(
@@ -24,6 +28,8 @@ class CC_EXPORT HeadsUpDisplayLayer : public Layer {
scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
+ void SetTypeForProtoSerialization(proto::LayerNode* proto) const override;
+
protected:
explicit HeadsUpDisplayLayer(const LayerSettings& settings);
bool HasDrawableContent() const override;
« no previous file with comments | « no previous file | cc/layers/heads_up_display_layer.cc » ('j') | cc/layers/layer_proto_converter_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698