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

Unified Diff: ash/shell.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/shelf/wm_shelf.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 877fd6c35787007f32362f599ff58ef331720504..b88863ed61d309f84a03f1ba2e9faa900d23e5e8 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -236,7 +236,6 @@ class ASH_EXPORT Shell : public SessionObserver,
// NOTE: this returns the root, newly created window should be added to the
// appropriate container in the returned window.
static aura::Window* GetRootWindowForNewWindows();
- static WmWindow* GetWmRootWindowForNewWindows();
// Returns all root windows.
static aura::Window::Windows GetAllRootWindows();
@@ -514,7 +513,7 @@ class ASH_EXPORT Shell : public SessionObserver,
}
// NOTE: Prefer ScopedRootWindowForNewWindows when setting temporarily.
- void set_root_window_for_new_windows(WmWindow* root) {
+ void set_root_window_for_new_windows(aura::Window* root) {
root_window_for_new_windows_ = root;
}
@@ -815,9 +814,9 @@ class ASH_EXPORT Shell : public SessionObserver,
bool is_touch_hud_projection_enabled_;
- // See comment for GetWmRootWindowForNewWindows().
- WmWindow* root_window_for_new_windows_ = nullptr;
- WmWindow* scoped_root_window_for_new_windows_ = nullptr;
+ // See comment for GetRootWindowForNewWindows().
+ aura::Window* root_window_for_new_windows_ = nullptr;
+ aura::Window* scoped_root_window_for_new_windows_ = nullptr;
// Injected content::GPUDataManager support.
std::unique_ptr<GPUSupport> gpu_support_;
« no previous file with comments | « ash/shelf/wm_shelf.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698