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

Unified Diff: content/renderer/android/synchronous_compositor_factory.h

Issue 240163005: Deliver IPC messages together with SwapCompositorFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing doc Created 6 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: content/renderer/android/synchronous_compositor_factory.h
diff --git a/content/renderer/android/synchronous_compositor_factory.h b/content/renderer/android/synchronous_compositor_factory.h
index d79988d2e178e5de787e524678db1ba9f9b81af8..527a1bade9b5aabc7cf39f2cbe23e9af2abac7d5 100644
--- a/content/renderer/android/synchronous_compositor_factory.h
+++ b/content/renderer/android/synchronous_compositor_factory.h
@@ -28,6 +28,7 @@ namespace content {
class InputHandlerManagerClient;
class StreamTextureFactory;
+class FrameSwapMessageQueue;
// Decouples creation from usage of the parts needed for the synchonous
// compositor rendering path. In practice this is only used in single
@@ -43,7 +44,8 @@ class SynchronousCompositorFactory {
virtual scoped_refptr<base::MessageLoopProxy>
GetCompositorMessageLoop() = 0;
virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(
- int routing_id) = 0;
+ int routing_id,
+ scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue) = 0;
// The factory maintains ownership of the returned interface.
virtual InputHandlerManagerClient* GetInputHandlerManagerClient() = 0;

Powered by Google App Engine
This is Rietveld 408576698