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

Unified Diff: ash/mus/bridge/shell_port_mash.h

Issue 2886253002: mash: remove more shell/shelf WmWindow usage. (Closed)
Patch Set: Fix WmShelf::ForWindow. Created 3 years, 7 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 | « ash/mus/accelerators/accelerator_controller_registrar.cc ('k') | ash/mus/bridge/shell_port_mash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/shell_port_mash.h
diff --git a/ash/mus/bridge/shell_port_mash.h b/ash/mus/bridge/shell_port_mash.h
index 693c97ab163bd575b787005f792b58c99257bfa8..967d78c1d697e1191ef419210c0cf10eaf3e0f3b 100644
--- a/ash/mus/bridge/shell_port_mash.h
+++ b/ash/mus/bridge/shell_port_mash.h
@@ -41,7 +41,7 @@ class ShellPortMash : public ShellPort, public WindowTreeHostManager::Observer {
public:
// If |create_session_state_delegate_stub| is true SessionStateDelegateStub is
// created. If false, the SessionStateDelegate from Shell is used.
- ShellPortMash(WmWindow* primary_root_window,
+ ShellPortMash(aura::Window* primary_root_window,
WindowManager* window_manager,
views::PointerWatcherEventRouter* pointer_watcher_event_router,
bool create_session_state_delegate_stub);
@@ -62,8 +62,8 @@ class ShellPortMash : public ShellPort, public WindowTreeHostManager::Observer {
// ShellPort:
void Shutdown() override;
Config GetAshConfig() const override;
- WmWindow* GetPrimaryRootWindow() override;
- WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
+ aura::Window* GetPrimaryRootWindow() override;
+ aura::Window* GetRootWindowForDisplayId(int64_t display_id) override;
const display::ManagedDisplayInfo& GetDisplayInfo(
int64_t display_id) const override;
bool IsActiveDisplayId(int64_t display_id) const override;
@@ -149,7 +149,7 @@ class ShellPortMash : public ShellPort, public WindowTreeHostManager::Observer {
WindowManager* window_manager_;
// TODO(sky): remove this once mash supports simple display management.
- WmWindow* primary_root_window_;
+ aura::Window* primary_root_window_;
// Only one of |mash_state_| or |mus_state_| is created, depending upon
// Config.
« no previous file with comments | « ash/mus/accelerators/accelerator_controller_registrar.cc ('k') | ash/mus/bridge/shell_port_mash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698