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

Unified Diff: ash/shell.h

Issue 2886253002: mash: remove more shell/shelf WmWindow usage. (Closed)
Patch Set: Sync and rebase. 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
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index e3991f2b5652814d4b4b2ed29bc143b5cf53b18d..09df832987ece073f40b051358151e70fcfcfaf5 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();
James Cook 2017/05/17 23:41:49 Hooray!
msw 2017/05/18 20:28:00 Acknowledged.
// 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;
}
@@ -812,9 +811,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_;
« ash/shelf/shelf_widget_unittest.cc ('K') | « ash/shelf/wm_shelf.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698