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

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

Issue 16235005: Add ContextProvider overrides to SynchronousCompositorFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 9c8fdce2e08f6428cd31e729a7dabd3e8396b447..3622ba2b2f21b811407bc7a796014bb9f685b6d0 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 OutputSurface;
+class ContextProvider;
}
namespace content {
@@ -34,6 +35,11 @@ class SynchronousCompositorFactory {
virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(
int routing_id) = 0;
+ virtual scoped_refptr<cc::ContextProvider>
+ OffscreenContextProviderForMainThread() = 0;
+ virtual scoped_refptr<cc::ContextProvider>
+ OffscreenContextProviderForCompositorThread() = 0;
joth 2013/06/02 19:08:55 Prefix both with Get
boliu 2013/06/03 18:51:24 Done.
+
protected:
SynchronousCompositorFactory() {}
~SynchronousCompositorFactory() {}

Powered by Google App Engine
This is Rietveld 408576698