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

Unified Diff: ui/aura/mus/mus_context_factory.h

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: WIP Created 3 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: ui/aura/mus/mus_context_factory.h
diff --git a/ui/aura/mus/mus_context_factory.h b/ui/aura/mus/mus_context_factory.h
index 11b2065e90fad78626094050fc10714f776a5cfd..444ae37cae9e599b79c81b2bf22525b78e0be662 100644
--- a/ui/aura/mus/mus_context_factory.h
+++ b/ui/aura/mus/mus_context_factory.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
+#include "cc/output/context_provider.h"
#include "cc/surfaces/surface_manager.h"
#include "services/ui/public/cpp/raster_thread_helper.h"
#include "services/ui/public/interfaces/window_tree.mojom.h"
@@ -56,6 +57,8 @@ class AURA_EXPORT MusContextFactory : public ui::ContextFactory {
ui::RasterThreadHelper raster_thread_helper_;
ui::Gpu* gpu_;
+ scoped_refptr<cc::ContextProvider> shared_main_thread_context_provider_;
+
base::WeakPtrFactory<MusContextFactory> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(MusContextFactory);

Powered by Google App Engine
This is Rietveld 408576698