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

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

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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 | « components/mus/server_view_observer.h ('k') | components/mus/surfaces/surfaces_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c8fd3eb1a2c386eef1365d003f6b62aea598afde..37cdfab770587cd3af6cbd438d669c087472794c 100644
--- a/components/mus/surfaces/surfaces_context_provider.h
+++ b/components/mus/surfaces/surfaces_context_provider.h
@@ -23,24 +23,21 @@ class GLES2Implementation;
} // namespace gpu
-namespace gles2 {
+namespace mus {
+
class CommandBufferDriver;
class CommandBufferImpl;
class CommandBufferLocal;
class GpuState;
-}
-
-namespace surfaces {
-
class SurfacesContextProviderDelegate;
class SurfacesContextProvider : public cc::ContextProvider,
- public gles2::CommandBufferLocalClient,
+ public CommandBufferLocalClient,
public base::NonThreadSafe {
public:
SurfacesContextProvider(SurfacesContextProviderDelegate* delegate,
gfx::AcceleratedWidget widget,
- const scoped_refptr<gles2::GpuState>& state);
+ const scoped_refptr<GpuState>& state);
// cc::ContextProvider implementation.
bool BindToCurrentThread() override;
@@ -80,13 +77,13 @@ class SurfacesContextProvider : public cc::ContextProvider,
SurfacesContextProviderDelegate* delegate_;
gfx::AcceleratedWidget widget_;
- scoped_ptr<gles2::CommandBufferLocal> command_buffer_local_;
+ scoped_ptr<CommandBufferLocal> command_buffer_local_;
base::Lock context_lock_;
DISALLOW_COPY_AND_ASSIGN(SurfacesContextProvider);
};
-} // namespace surfaces
+} // namespace mus
#endif // COMPONENTS_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_H_
« no previous file with comments | « components/mus/server_view_observer.h ('k') | components/mus/surfaces/surfaces_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698