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

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: disable browsertest for android for realz this time Created 6 years, 5 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 88908bafb5299ed1dcf62d093cd074857146b2ad..84122cd8f53b7e500f44f9157b50adc9f4775131 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
@@ -44,7 +45,8 @@ class SynchronousCompositorFactory {
GetCompositorMessageLoop() = 0;
virtual bool RecordFullLayer() = 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