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

Unified Diff: components/mus/surfaces/top_level_display_client.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/surfaces/surfaces_state.cc ('k') | components/mus/surfaces/top_level_display_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/surfaces/top_level_display_client.h
diff --git a/components/mus/surfaces/top_level_display_client.h b/components/mus/surfaces/top_level_display_client.h
index 3122c44eb535c08da16c73b4a7d8cf7211008eed..5179589eb735d6b7e71fbadb399bf69f180073b7 100644
--- a/components/mus/surfaces/top_level_display_client.h
+++ b/components/mus/surfaces/top_level_display_client.h
@@ -9,7 +9,6 @@
#include "cc/surfaces/display_client.h"
#include "cc/surfaces/surface_factory.h"
#include "cc/surfaces/surface_factory_client.h"
-#include "components/mus/gles2/gpu_state.h"
#include "components/mus/surfaces/surfaces_context_provider.h"
#include "components/mus/surfaces/surfaces_context_provider_delegate.h"
#include "components/mus/surfaces/surfaces_state.h"
@@ -21,7 +20,11 @@
class SurfaceFactory;
}
-namespace mus {
+namespace gles2 {
+class GpuState;
+}
+
+namespace surfaces {
class DisplayDelegate;
class SurfacesScheduler;
@@ -32,10 +35,10 @@
// scheduled to be generated here based on VSync.
class TopLevelDisplayClient : public cc::DisplayClient,
public cc::SurfaceFactoryClient,
- public SurfacesContextProviderDelegate {
+ public surfaces::SurfacesContextProviderDelegate {
public:
TopLevelDisplayClient(gfx::AcceleratedWidget widget,
- const scoped_refptr<GpuState>& gpu_state,
+ const scoped_refptr<gles2::GpuState>& gpu_state,
const scoped_refptr<SurfacesState>& surfaces_state);
~TopLevelDisplayClient() override;
@@ -68,6 +71,6 @@
DISALLOW_COPY_AND_ASSIGN(TopLevelDisplayClient);
};
-} // namespace mus
+} // namespace surfaces
#endif // COMPONENTS_MUS_SURFACES_DISPLAY_IMPL_H_
« no previous file with comments | « components/mus/surfaces/surfaces_state.cc ('k') | components/mus/surfaces/top_level_display_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698