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

Unified Diff: components/mus/surfaces/surfaces_context_provider.h

Issue 1821863002: Hook up ui::Compositor to Display's BeginFrameSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase; refactor mus output surface Created 4 years, 9 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: components/mus/surfaces/surfaces_context_provider.h
diff --git a/components/mus/surfaces/surfaces_context_provider.h b/components/mus/surfaces/surfaces_context_provider.h
index 520ff1388b36a4a6aab6cab4ca79c34ae7355a81..dc61d2d7c42248f63e29899cb0026aa5fe2c01b9 100644
--- a/components/mus/surfaces/surfaces_context_provider.h
+++ b/components/mus/surfaces/surfaces_context_provider.h
@@ -37,10 +37,11 @@ class SurfacesContextProvider : public cc::ContextProvider,
public CommandBufferLocalClient,
public base::NonThreadSafe {
public:
- SurfacesContextProvider(SurfacesContextProviderDelegate* delegate,
- gfx::AcceleratedWidget widget,
+ SurfacesContextProvider(gfx::AcceleratedWidget widget,
const scoped_refptr<GpuState>& state);
+ void SetDelegate(SurfacesContextProviderDelegate* delegate);
+
// cc::ContextProvider implementation.
bool BindToCurrentThread() override;
gpu::gles2::GLES2Interface* ContextGL() override;

Powered by Google App Engine
This is Rietveld 408576698