Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: ui/aura/window.h

Issue 2868473002: Implement aura::Window::CreateCompositorFrameSink() (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698