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_IMPL_H_ | |
| 6 #define CONTENT_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_IMPL_H_ | |
| 7 | |
| 8 #include "base/memory/ref_counted.h" | |
| 9 #include "content/public/browser/android/layer_tree_build_helper.h" | |
| 10 | |
| 11 namespace cc { | |
| 12 class Layer; | |
| 13 } | |
| 14 | |
| 15 namespace content { | |
| 16 class Compositor; | |
|
Yaron
2014/04/29 04:24:02
Remove both oft hese
Yusuf
2014/04/29 17:39:34
Done.
| |
| 17 class ContentViewCoreImpl; | |
| 18 | |
| 19 // A Helper class to build a layer tree to be composited | |
| 20 // given a content root layer. | |
| 21 class LayerTreeBuildHelperImpl : public LayerTreeBuildHelper { | |
| 22 public: | |
| 23 LayerTreeBuildHelperImpl(); | |
| 24 | |
| 25 virtual ~LayerTreeBuildHelperImpl(); | |
| 26 | |
| 27 virtual scoped_refptr<cc::Layer> GetLayerTree( | |
| 28 scoped_refptr<cc::Layer> content_root_layer) OVERRIDE; | |
| 29 | |
| 30 private: | |
| 31 scoped_refptr<cc::Layer> root_layer_; | |
| 32 | |
| 33 DISALLOW_COPY_AND_ASSIGN(LayerTreeBuildHelperImpl); | |
| 34 }; | |
| 35 | |
| 36 } | |
| 37 | |
| 38 #endif // CONTENT_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_IMPL_H_ | |
| OLD | NEW |