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

Side by Side Diff: cc/test/remote_client_layer_factory.cc

Issue 2375363002: cc/blimp: Set up the framework for state serialization. (Closed)
Patch Set: test update Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « cc/test/remote_client_layer_factory.h ('k') | cc/trees/layer_tree.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "cc/test/remote_client_layer_factory.h"
6
7 #include "cc/layers/layer.h"
8
9 namespace cc {
10 namespace {
11 class ClientLayer : public Layer {
12 public:
13 explicit ClientLayer(int engine_layer_id) : Layer(engine_layer_id) {}
14
15 private:
16 ~ClientLayer() override {}
17 };
18 } // namespace
19
20 RemoteClientLayerFactory::RemoteClientLayerFactory() = default;
21
22 RemoteClientLayerFactory::~RemoteClientLayerFactory() = default;
23
24 scoped_refptr<Layer> RemoteClientLayerFactory::CreateLayer(
25 int engine_layer_id) {
26 return make_scoped_refptr(new ClientLayer(engine_layer_id));
27 }
28
29 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/remote_client_layer_factory.h ('k') | cc/trees/layer_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698