Chromium Code Reviews| 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_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_H_ | |
| 6 #define CONTENT_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 class LayerTreeBuildHelper { | |
|
Yaron
2014/04/10 01:26:09
Needs comment.
Yusuf
2014/04/23 00:16:14
Done.
| |
| 20 public: | |
| 21 | |
| 22 LayerTreeBuildHelper(); | |
| 23 | |
| 24 virtual ~LayerTreeBuildHelper(); | |
| 25 | |
| 26 virtual cc::Layer* GetLayerTree(ContentViewCoreImpl* content_view); | |
| 27 | |
| 28 protected: | |
| 29 scoped_refptr<cc::Layer> root_layer_; | |
| 30 | |
| 31 DISALLOW_COPY_AND_ASSIGN(LayerTreeBuildHelper); | |
| 32 }; | |
| 33 | |
| 34 } | |
| 35 | |
| 36 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_RENDER_VIEW_H_ | |
| OLD | NEW |