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

Unified Diff: ash/wm_window.cc

Issue 2911393002: Nix GetRootWindowController, use RootWindowController::ForWindow. (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/wm_window.cc
diff --git a/ash/wm_window.cc b/ash/wm_window.cc
index aea1e78b6a8e78458ab88749ef2bdc2fcc07881d..619975b8350938914f1902efe7fd049859518ae6 100644
--- a/ash/wm_window.cc
+++ b/ash/wm_window.cc
@@ -8,7 +8,6 @@
#include "ash/public/cpp/config.h"
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/public/cpp/window_properties.h"
-#include "ash/root_window_controller.h"
#include "ash/shell.h"
#include "ash/wm/resize_handle_window_targeter.h"
#include "ash/wm/widget_finder.h"
@@ -106,11 +105,6 @@ const WmWindow* WmWindow::GetRootWindow() const {
return Get(window_->GetRootWindow());
}
-RootWindowController* WmWindow::GetRootWindowController() {
- aura::Window* root = window_->GetRootWindow();
- return root ? RootWindowController::ForWindow(root) : nullptr;
-}
-
aura::client::WindowType WmWindow::GetType() const {
return window_->type();
}

Powered by Google App Engine
This is Rietveld 408576698