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

Unified Diff: ash/root_window_controller.h

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/root_window_controller.h
diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h
index 904d66899940ef7b69db83a1daa10d9cee24fbe3..d869e1124eb9856c807d769a7c7b5b3948b66059 100644
--- a/ash/root_window_controller.h
+++ b/ash/root_window_controller.h
@@ -80,7 +80,7 @@ class RootWindowLayoutManager;
// indirectly owned and deleted by |WindowTreeHostManager|.
// The RootWindowController for particular root window is stored in
// its property (RootWindowSettings) and can be obtained using
-// |GetRootWindowController(aura::WindowEventDispatcher*)| function.
+// |RootWindowController::ForWindow(aura::Window*)| function.
class ASH_EXPORT RootWindowController : public ShellObserver {
public:
// Enumerates the type of display. If there is only a single display then
@@ -375,12 +375,6 @@ class ASH_EXPORT RootWindowController : public ShellObserver {
DISALLOW_COPY_AND_ASSIGN(RootWindowController);
};
-// On classic ash, returns the RootWindowController for the given |root_window|.
-// On mus ash, returns the RootWindowController for the primary display.
-// See RootWindowController class comment above.
-ASH_EXPORT RootWindowController* GetRootWindowController(
- const aura::Window* root_window);
-
} // namespace ash
#endif // ASH_ROOT_WINDOW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698