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

Unified Diff: services/ui/public/cpp/window.h

Issue 2452483002: Move GpuMemoryBufferManager and SharedBitmapManager to CompositorFrameSink (Closed)
Patch Set: compile fixes Created 4 years, 2 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: services/ui/public/cpp/window.h
diff --git a/services/ui/public/cpp/window.h b/services/ui/public/cpp/window.h
index 733c58b38faa43bdc386659e4e91697e462b501a..d2d66387c2018e05193b97cf80b88ef7869650ac 100644
--- a/services/ui/public/cpp/window.h
+++ b/services/ui/public/cpp/window.h
@@ -25,6 +25,10 @@ namespace gfx {
class Size;
}
+namespace gpu {
+class GpuMemoryBufferManager;
+}
+
namespace ui {
class InputEventHandler;
@@ -117,7 +121,8 @@ class Window {
std::unique_ptr<WindowCompositorFrameSink> RequestCompositorFrameSink(
mojom::CompositorFrameSinkType type,
- scoped_refptr<cc::ContextProvider> context_provider);
+ scoped_refptr<cc::ContextProvider> context_provider,
+ gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager);
void AttachCompositorFrameSink(
mojom::CompositorFrameSinkType type,

Powered by Google App Engine
This is Rietveld 408576698