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

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

Issue 2890453002: Implement MusContextFactory::SharedMainThreadContextProvider() (Closed)
Patch Set: Address review issues 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
« no previous file with comments | « no previous file | ui/aura/mus/mus_context_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fd8875c0f535db36c10a73d2e8f48733937bbf71..714b932ddba7b18e77a338d4cb65155f05581c8e 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/output/renderer_settings.h"
#include "cc/surfaces/surface_manager.h"
#include "services/ui/public/cpp/raster_thread_helper.h"
@@ -57,6 +58,8 @@ class AURA_EXPORT MusContextFactory : public ui::ContextFactory {
ui::RasterThreadHelper raster_thread_helper_;
ui::Gpu* gpu_;
const cc::RendererSettings renderer_settings_;
+ scoped_refptr<cc::ContextProvider> shared_main_thread_context_provider_;
+
base::WeakPtrFactory<MusContextFactory> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(MusContextFactory);
« no previous file with comments | « no previous file | ui/aura/mus/mus_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698