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

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

Issue 619843002: cc: Make separate interface for BeginFrame ipc from OutputSurface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: 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 9653bc265fd66d85f18eda043bb9968a60689939..75121dd8a7a5fe294a9e31f2a7553e91c7390ded 100644
--- a/content/renderer/android/synchronous_compositor_factory.h
+++ b/content/renderer/android/synchronous_compositor_factory.h
@@ -14,6 +14,7 @@ class MessageLoopProxy;
}
namespace cc {
+class BeginFrameSource;
class ContextProvider;
class OutputSurface;
}
@@ -52,6 +53,9 @@ class SynchronousCompositorFactory {
// The factory maintains ownership of the returned interface.
virtual InputHandlerManagerClient* GetInputHandlerManagerClient() = 0;
+ virtual scoped_ptr<cc::BeginFrameSource> GetExternalBeginFrameSource(
+ int routing_id) = 0;
+
virtual scoped_refptr<webkit::gpu::ContextProviderWebContext>
CreateOffscreenContextProvider(
const blink::WebGraphicsContext3D::Attributes& attributes,

Powered by Google App Engine
This is Rietveld 408576698