Index: content/browser/android/layer_tree_build_helper.h |
diff --git a/content/browser/android/layer_tree_build_helper.h b/content/browser/android/layer_tree_build_helper.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1bb3cbcff986e02c5ec70f642cd4817b6a46b705 |
--- /dev/null |
+++ b/content/browser/android/layer_tree_build_helper.h |
@@ -0,0 +1,36 @@ |
+// 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_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_H_ |
+#define CONTENT_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; |
+ |
+class LayerTreeBuildHelper { |
Yaron
2014/04/10 01:26:09
Needs comment.
Yusuf
2014/04/23 00:16:14
Done.
|
+ public: |
+ |
+ LayerTreeBuildHelper(); |
+ |
+ virtual ~LayerTreeBuildHelper(); |
+ |
+ virtual cc::Layer* GetLayerTree(ContentViewCoreImpl* content_view); |
+ |
+ protected: |
+ scoped_refptr<cc::Layer> root_layer_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(LayerTreeBuildHelper); |
+}; |
+ |
+} |
+ |
+#endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_RENDER_VIEW_H_ |