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

Unified Diff: content/public/browser/android/compositor.h

Issue 2731833002: content: Add public context creation API. (Closed)
Patch Set: Created 3 years, 10 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/public/browser/android/compositor.h
diff --git a/content/public/browser/android/compositor.h b/content/public/browser/android/compositor.h
index be022bc50498cf7faed970b281280fb86e3ddf1a..79eaefce7a255911717260c90d93394494cd4974 100644
--- a/content/public/browser/android/compositor.h
+++ b/content/public/browser/android/compositor.h
@@ -22,6 +22,10 @@ class ResourceManager;
class UIResourceProvider;
}
+namespace gpu {
+class GpuChannelEstablishFactory;
+}
+
namespace content {
class CompositorClient;
@@ -34,6 +38,8 @@ class CONTENT_EXPORT Compositor {
// instance can be used. This should be called only once.
static void Initialize();
+ static gpu::GpuChannelEstablishFactory* GetGpuChannelFactory();
klausw 2017/03/05 01:49:54 Should this get a brief comment how it should or s
Khushal 2017/03/05 01:59:53 Added a comment. And I think its in general unders
+
// Creates and returns a compositor instance. |root_window| needs to outlive
// the compositor as it manages callbacks on the compositor.
static Compositor* Create(CompositorClient* client,

Powered by Google App Engine
This is Rietveld 408576698