Index: content/public/browser/android/layer_tree_build_helper.h |
diff --git a/content/public/browser/android/layer_tree_build_helper.h b/content/public/browser/android/layer_tree_build_helper.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bbea1ebcc644e8f3785c5f7c8c22077862c42e61 |
--- /dev/null |
+++ b/content/public/browser/android/layer_tree_build_helper.h |
@@ -0,0 +1,38 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_PUBLIC_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_H_ |
+#define CONTENT_PUBLIC_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_H_ |
+ |
+#include "base/memory/ref_counted.h" |
+ |
+namespace cc { |
+class Layer; |
+class SolidColorLayer; |
+} |
+ |
+namespace content { |
+class Compositor; |
+class ContentViewCoreImpl; |
+ |
+// A Helper class to build a layer tree to be composited |
+// given a content root layer. |
+class LayerTreeBuildHelper { |
Yaron
2014/04/23 20:57:46
http://www.chromium.org/developers/content-module/
Yusuf
2014/04/24 00:06:03
Done.
|
+ public: |
+ |
+ LayerTreeBuildHelper(); |
+ |
+ virtual ~LayerTreeBuildHelper(); |
+ |
+ virtual scoped_refptr<cc::Layer> GetLayerTree(cc::Layer* content_root_layer); |
+ |
+ protected: |
+ scoped_refptr<cc::Layer> root_layer_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(LayerTreeBuildHelper); |
+}; |
+ |
+} |
+ |
+#endif // CONTENT_PUBLIC_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_H_ |