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

Unified Diff: components/mus/display_manager.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/default_access_policy.cc ('k') | components/mus/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/display_manager.h
diff --git a/components/mus/display_manager.h b/components/mus/display_manager.h
index 3f2dc78296db0e172c420a6acc44fece2bb05f9f..4173f367b0f1ba75aba182d11a00b89fa9450a83 100644
--- a/components/mus/display_manager.h
+++ b/components/mus/display_manager.h
@@ -31,21 +31,18 @@ namespace mojo {
class ApplicationImpl;
} // namespace mojo
-namespace surfaces {
-class SurfacesScheduler;
-class SurfacesState;
-} // namespace surfaces
-
namespace ui {
class PlatformWindow;
struct TextInputState;
} // namespace ui
-namespace view_manager {
+namespace mus {
class DisplayManagerFactory;
class EventDispatcher;
class ServerView;
+class SurfacesScheduler;
+class SurfacesState;
// DisplayManager is used to connect the root ServerView to a display.
class DisplayManager {
@@ -55,8 +52,8 @@ class DisplayManager {
static DisplayManager* Create(
bool is_headless,
mojo::ApplicationImpl* app_impl,
- const scoped_refptr<gles2::GpuState>& gpu_state,
- const scoped_refptr<surfaces::SurfacesState>& surfaces_state);
+ const scoped_refptr<GpuState>& gpu_state,
+ const scoped_refptr<SurfacesState>& surfaces_state);
virtual void Init(DisplayManagerDelegate* delegate) = 0;
@@ -89,11 +86,10 @@ class DisplayManager {
class DefaultDisplayManager : public DisplayManager,
public ui::PlatformWindowDelegate {
public:
- DefaultDisplayManager(
- bool is_headless,
- mojo::ApplicationImpl* app_impl,
- const scoped_refptr<gles2::GpuState>& gpu_state,
- const scoped_refptr<surfaces::SurfacesState>& surfaces_state);
+ DefaultDisplayManager(bool is_headless,
+ mojo::ApplicationImpl* app_impl,
+ const scoped_refptr<GpuState>& gpu_state,
+ const scoped_refptr<SurfacesState>& surfaces_state);
~DefaultDisplayManager() override;
// DisplayManager:
@@ -125,8 +121,8 @@ class DefaultDisplayManager : public DisplayManager,
bool is_headless_;
mojo::ApplicationImpl* app_impl_;
- scoped_refptr<gles2::GpuState> gpu_state_;
- scoped_refptr<surfaces::SurfacesState> surfaces_state_;
+ scoped_refptr<GpuState> gpu_state_;
+ scoped_refptr<SurfacesState> surfaces_state_;
DisplayManagerDelegate* delegate_;
mojo::ViewportMetrics metrics_;
@@ -134,7 +130,7 @@ class DefaultDisplayManager : public DisplayManager,
base::Timer draw_timer_;
bool frame_pending_;
- scoped_ptr<surfaces::TopLevelDisplayClient> top_level_display_client_;
+ scoped_ptr<TopLevelDisplayClient> top_level_display_client_;
scoped_ptr<ui::PlatformWindow> platform_window_;
base::WeakPtrFactory<DefaultDisplayManager> weak_factory_;
@@ -142,6 +138,6 @@ class DefaultDisplayManager : public DisplayManager,
DISALLOW_COPY_AND_ASSIGN(DefaultDisplayManager);
};
-} // namespace view_manager
+} // namespace mus
#endif // COMPONENTS_MUS_DISPLAY_MANAGER_H_
« no previous file with comments | « components/mus/default_access_policy.cc ('k') | components/mus/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698