Chromium Code Reviews| Index: content/browser/android/layer_tree_build_helper_impl.h |
| diff --git a/content/browser/android/layer_tree_build_helper_impl.h b/content/browser/android/layer_tree_build_helper_impl.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..924c37a7e42630b994404740cad11f065904c4e6 |
| --- /dev/null |
| +++ b/content/browser/android/layer_tree_build_helper_impl.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_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_IMPL_H_ |
| +#define CONTENT_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_IMPL_H_ |
| + |
| +#include "base/memory/ref_counted.h" |
| +#include "content/public/browser/android/layer_tree_build_helper.h" |
| + |
| +namespace cc { |
| +class Layer; |
| +} |
| + |
| +namespace content { |
| +class Compositor; |
|
Yaron
2014/04/29 04:24:02
Remove both oft hese
Yusuf
2014/04/29 17:39:34
Done.
|
| +class ContentViewCoreImpl; |
| + |
| +// A Helper class to build a layer tree to be composited |
| +// given a content root layer. |
| +class LayerTreeBuildHelperImpl : public LayerTreeBuildHelper { |
| + public: |
| + LayerTreeBuildHelperImpl(); |
| + |
| + virtual ~LayerTreeBuildHelperImpl(); |
| + |
| + virtual scoped_refptr<cc::Layer> GetLayerTree( |
| + scoped_refptr<cc::Layer> content_root_layer) OVERRIDE; |
| + |
| + private: |
| + scoped_refptr<cc::Layer> root_layer_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(LayerTreeBuildHelperImpl); |
| +}; |
| + |
| +} |
| + |
| +#endif // CONTENT_BROWSER_ANDROID_LAYER_TREE_BUILD_HELPER_IMPL_H_ |