Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
|
Yaron
2014/04/29 04:24:02
I don't see this added in gyp.
Yusuf
2014/04/29 17:39:34
Done.
| |
| 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 } | |
| 13 | |
| 14 namespace content { | |
| 15 | |
| 16 // A Helper class to build a layer tree to be composited | |
| 17 // given a content root layer. | |
| 18 class LayerTreeBuildHelper { | |
| 19 public: | |
| 20 LayerTreeBuildHelper() {}; | |
| 21 virtual scoped_refptr<cc::Layer> GetLayerTree( | |
| 22 scoped_refptr<cc::Layer> content_root_layer) = 0; | |
| 23 virtual ~LayerTreeBuildHelper() {}; | |
| 24 | |
| 25 DISALLOW_COPY_AND_ASSIGN(LayerTreeBuildHelper); | |
|
Yaron
2014/04/29 04:24:02
Add "private:" label.
Yusuf
2014/04/29 17:39:34
Done.
| |
| 26 }; | |
| 27 | |
| 28 } | |
| 29 | |
| 30 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_H_ | |
| OLD | NEW |