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

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

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 37cdfab770587cd3af6cbd438d669c087472794c..c8fd3eb1a2c386eef1365d003f6b62aea598afde 100644
--- a/components/mus/surfaces/surfaces_context_provider.h
+++ b/components/mus/surfaces/surfaces_context_provider.h
@@ -23,21 +23,24 @@
} // namespace gpu
-namespace mus {
-
+namespace gles2 {
class CommandBufferDriver;
class CommandBufferImpl;
class CommandBufferLocal;
class GpuState;
+}
+
+namespace surfaces {
+
class SurfacesContextProviderDelegate;
class SurfacesContextProvider : public cc::ContextProvider,
- public CommandBufferLocalClient,
+ public gles2::CommandBufferLocalClient,
public base::NonThreadSafe {
public:
SurfacesContextProvider(SurfacesContextProviderDelegate* delegate,
gfx::AcceleratedWidget widget,
- const scoped_refptr<GpuState>& state);
+ const scoped_refptr<gles2::GpuState>& state);
// cc::ContextProvider implementation.
bool BindToCurrentThread() override;
@@ -77,13 +80,13 @@
SurfacesContextProviderDelegate* delegate_;
gfx::AcceleratedWidget widget_;
- scoped_ptr<CommandBufferLocal> command_buffer_local_;
+ scoped_ptr<gles2::CommandBufferLocal> command_buffer_local_;
base::Lock context_lock_;
DISALLOW_COPY_AND_ASSIGN(SurfacesContextProvider);
};
-} // namespace mus
+} // namespace surfaces
#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