OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_H_ | |
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_H_ | |
7 | |
8 #include "base/memory/ref_counted.h" | |
9 | |
10 namespace cc { | |
11 class Layer; | |
12 class SolidColorLayer; | |
13 } | |
14 | |
15 namespace content { | |
16 class Compositor; | |
17 class ContentViewCoreImpl; | |
18 | |
19 // A Helper class to build a layer tree to be composited | |
20 // given a content root layer. | |
21 class LayerTreeBuildHelper { | |
Yaron
2014/04/23 20:57:46
http://www.chromium.org/developers/content-module/
Yusuf
2014/04/24 00:06:03
Done.
| |
22 public: | |
23 | |
24 LayerTreeBuildHelper(); | |
25 | |
26 virtual ~LayerTreeBuildHelper(); | |
27 | |
28 virtual scoped_refptr<cc::Layer> GetLayerTree(cc::Layer* content_root_layer); | |
29 | |
30 protected: | |
31 scoped_refptr<cc::Layer> root_layer_; | |
32 | |
33 DISALLOW_COPY_AND_ASSIGN(LayerTreeBuildHelper); | |
34 }; | |
35 | |
36 } | |
37 | |
38 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_H_ | |
OLD | NEW |