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

Unified Diff: content/browser/compositor/image_transport_factory.h

Issue 276973002: Adds getter for ContextFactory to content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include 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/browser/compositor/image_transport_factory.h
diff --git a/content/browser/compositor/image_transport_factory.h b/content/browser/compositor/image_transport_factory.h
index 59104613397142885edb61d2fdd08a7684910a50..2a421bb72afb74eeb813987bc117147c7aeb28f6 100644
--- a/content/browser/compositor/image_transport_factory.h
+++ b/content/browser/compositor/image_transport_factory.h
@@ -64,6 +64,9 @@ class CONTENT_EXPORT ImageTransportFactory {
// Gets the factory instance.
static ImageTransportFactory* GetInstance();
+ // Gets the image transport factory as a context factory for the compositor.
+ virtual ui::ContextFactory* GetContextFactory() = 0;
+
virtual gfx::GLSurfaceHandle GetSharedSurfaceHandle() = 0;
// Gets a GLHelper instance, associated with the shared context. This
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | content/browser/compositor/image_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698