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

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

Issue 2563783002: ui + mus: Split ContextFactory into ContextFactory(Client) and ContextFactoryPrivate (Closed)
Patch Set: Restore mash Created 4 years 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 ffd336a6eef22ee89ea85c6de3da22b0d15c0fbf..e10d8ab2cdf2bacd02bbec0da292c01e558753c6 100644
--- a/content/browser/compositor/image_transport_factory.h
+++ b/content/browser/compositor/image_transport_factory.h
@@ -23,6 +23,7 @@ enum class SwapResult;
namespace ui {
class Compositor;
class ContextFactory;
+class ContextFactoryPrivate;
}
namespace display_compositor {
@@ -60,6 +61,11 @@ class CONTENT_EXPORT ImageTransportFactory {
// Gets the image transport factory as a context factory for the compositor.
virtual ui::ContextFactory* GetContextFactory() = 0;
+ // Gets the image transport factory as the privileged context factory for the
+ // compositor. TODO(fsamuel): This interface should eventually go away once
+ // Mus subsumes this functionality.
+ virtual ui::ContextFactoryPrivate* GetContextFactoryPrivate() = 0;
+
// Gets a GLHelper instance, associated with the shared context. This
// GLHelper will get destroyed whenever the shared context is lost
// (ImageTransportFactoryObserver::OnLostResources is called).
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | content/browser/compositor/reflector_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698