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

Unified Diff: components/mus/ws/display_manager.h

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
Patch Set: . Created 4 years, 10 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/public/cpp/window_tree_host_factory.h ('k') | components/mus/ws/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/display_manager.h
diff --git a/components/mus/ws/display_manager.h b/components/mus/ws/display_manager.h
index 49a1f92168be0b61533246e09d48c1ccaf92b4e3..ce9348517af4249d2db201a9c07f32ab9845e850 100644
--- a/components/mus/ws/display_manager.h
+++ b/components/mus/ws/display_manager.h
@@ -35,7 +35,7 @@ class GpuState;
} // namespace gles2
namespace mojo {
-class Shell;
+class Connector;
} // namespace mojo
namespace ui {
@@ -63,7 +63,7 @@ class DisplayManager {
virtual ~DisplayManager() {}
static DisplayManager* Create(
- mojo::Shell* shell,
+ mojo::Connector* connector,
const scoped_refptr<GpuState>& gpu_state,
const scoped_refptr<SurfacesState>& surfaces_state);
@@ -112,7 +112,7 @@ class DisplayManager {
class DefaultDisplayManager : public DisplayManager,
public ui::PlatformWindowDelegate {
public:
- DefaultDisplayManager(mojo::Shell* shell,
+ DefaultDisplayManager(mojo::Connector* connector,
const scoped_refptr<GpuState>& gpu_state,
const scoped_refptr<SurfacesState>& surfaces_state);
~DefaultDisplayManager() override;
@@ -162,7 +162,7 @@ class DefaultDisplayManager : public DisplayManager,
void OnAcceleratedWidgetDestroyed() override;
void OnActivationChanged(bool active) override;
- mojo::Shell* shell_;
+ mojo::Connector* connector_;
scoped_refptr<GpuState> gpu_state_;
scoped_refptr<SurfacesState> surfaces_state_;
DisplayManagerDelegate* delegate_;
« no previous file with comments | « components/mus/public/cpp/window_tree_host_factory.h ('k') | components/mus/ws/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698