Chromium Code Reviews| Index: content/public/browser/android/compositor.h |
| diff --git a/content/public/browser/android/compositor.h b/content/public/browser/android/compositor.h |
| index 1a96ee6ee9078330a0bb3e36c3582c6d0550f2d5..6ce49e98b8794d7f71471b484dc00f0823ae0d54 100644 |
| --- a/content/public/browser/android/compositor.h |
| +++ b/content/public/browser/android/compositor.h |
| @@ -17,6 +17,7 @@ class SkBitmap; |
| namespace cc { |
| class Layer; |
| +class LayerSettings; |
| } |
| namespace gfx { |
| @@ -45,6 +46,9 @@ class CONTENT_EXPORT Compositor { |
| static Compositor* Create(CompositorClient* client, |
| gfx::NativeWindow root_window); |
| + static const cc::LayerSettings& LayerSettings(); |
| + static void SetLayerSettings(const cc::LayerSettings& settings); |
|
boliu
2015/05/18 15:39:31
I think nothing calls the setter? Remove it?
loyso (OOO)
2015/05/19 01:03:44
Yes. That was a question. We have --enable-ui-comp
loyso (OOO)
2015/05/20 02:48:53
Now we use switches::kEnableAndroidCompositorAnima
|
| + |
| // Attaches the layer tree. |
| virtual void SetRootLayer(scoped_refptr<cc::Layer> root) = 0; |