| Index: ui/aura/window.h
|
| diff --git a/ui/aura/window.h b/ui/aura/window.h
|
| index 96fa4fe5c010acd2b31ecfc7535248c9bb9af823..76f993405a2a24c52e68a10ddf9cba4b70f6b400 100644
|
| --- a/ui/aura/window.h
|
| +++ b/ui/aura/window.h
|
| @@ -31,6 +31,10 @@
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "ui/wm/public/window_types.h"
|
|
|
| +namespace cc {
|
| +class CompositorFrameSink;
|
| +}
|
| +
|
| namespace display {
|
| class Display;
|
| }
|
| @@ -304,6 +308,10 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
|
| // Returns true if there was state needing to be cleaned up.
|
| bool CleanupGestureState();
|
|
|
| + // Create a CompositorFrameSink for the aura::Window. It will replace the old
|
| + // one created by this function.
|
| + std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink();
|
| +
|
| protected:
|
| // Deletes (or removes if not owned by parent) all child windows. Intended for
|
| // use from the destructor.
|
|
|