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

Unified Diff: ash/shell_port.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/shell/window_watcher.cc ('k') | ash/shell_port.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_port.h
diff --git a/ash/shell_port.h b/ash/shell_port.h
index f91f2e80172239c7f96684af8571123152cd00bf..375cbdbd119b6a5fe27331c431ab9c51850cc68c 100644
--- a/ash/shell_port.h
+++ b/ash/shell_port.h
@@ -77,13 +77,10 @@ class ASH_EXPORT ShellPort {
virtual Config GetAshConfig() const = 0;
- // Convenience for GetPrimaryRootWindow()->GetRootWindowController().
- RootWindowController* GetPrimaryRootWindowController();
-
- virtual WmWindow* GetPrimaryRootWindow() = 0;
+ virtual aura::Window* GetPrimaryRootWindow() = 0;
// Returns the root window for the specified display.
- virtual WmWindow* GetRootWindowForDisplayId(int64_t display_id) = 0;
+ virtual aura::Window* GetRootWindowForDisplayId(int64_t display_id) = 0;
// Retuns the display info associated with |display_id|.
// TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480
« no previous file with comments | « ash/shell/window_watcher.cc ('k') | ash/shell_port.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698