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..7aa7b3e5dc7c61a607cd9c43fbb90a80628cf871 |
--- /dev/null |
+++ b/content/public/browser/android/layer_tree_build_helper.h |
@@ -0,0 +1,30 @@ |
+// 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.
|
+// 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; |
+} |
+ |
+namespace content { |
+ |
+// A Helper class to build a layer tree to be composited |
+// given a content root layer. |
+class LayerTreeBuildHelper { |
+ public: |
+ LayerTreeBuildHelper() {}; |
+ virtual scoped_refptr<cc::Layer> GetLayerTree( |
+ scoped_refptr<cc::Layer> content_root_layer) = 0; |
+ virtual ~LayerTreeBuildHelper() {}; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(LayerTreeBuildHelper); |
Yaron
2014/04/29 04:24:02
Add "private:" label.
Yusuf
2014/04/29 17:39:34
Done.
|
+}; |
+ |
+} |
+ |
+#endif // CONTENT_PUBLIC_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_H_ |