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

Unified Diff: ui/aura/window_port.h

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: Fix unittests 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_port.h
diff --git a/ui/aura/window_port.h b/ui/aura/window_port.h
index 6774dc6edb47012e42e7813563be2f1c824e2c20..9d2f4c37e81b0c4ac579524b59a4ad9e687cf789 100644
--- a/ui/aura/window_port.h
+++ b/ui/aura/window_port.h
@@ -19,12 +19,17 @@
namespace cc {
class CompositorFrameSink;
+class ContextProvider;
}
namespace gfx {
class Rect;
}
+namespace gpu {
+class GpuMemoryBufferManager;
+}
+
namespace aura {
class Window;
@@ -77,8 +82,9 @@ class AURA_EXPORT WindowPort {
std::unique_ptr<ui::PropertyData> data) = 0;
// Called for creating a cc::CompositorFrameSink for the window.
- virtual std::unique_ptr<cc::CompositorFrameSink>
- CreateCompositorFrameSink() = 0;
+ virtual std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink(
+ scoped_refptr<cc::ContextProvider> context_provider,
+ gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager) = 0;
// Get the current cc::SurfaceId.
virtual cc::SurfaceId GetSurfaceId() const = 0;
« ui/aura/window.cc ('K') | « ui/aura/window.cc ('k') | ui/aura/window_port_for_shutdown.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698