Index: ui/aura/window.h |
diff --git a/ui/aura/window.h b/ui/aura/window.h |
index 96fa4fe5c010acd2b31ecfc7535248c9bb9af823..1ab83f04b9eea8cd9ce3a7df9653fc99b3d101c0 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,12 @@ 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. |
+ std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink(); |
+ |
+ // Get the current cc::SurfaceId. |
+ cc::SurfaceId GetSurfaceId() const; |
+ |
protected: |
// Deletes (or removes if not owned by parent) all child windows. Intended for |
// use from the destructor. |