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

Unified Diff: ash/root_window_controller.h

Issue 2911393002: Nix GetRootWindowController, use RootWindowController::ForWindow. (Closed)
Patch Set: Sync and rebase AGAIN 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/mus/top_level_window_factory.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.h
diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h
index f97dce28d1bb20d25cb7955e8563fdc64a61cea0..497c942fc6031b1da60885d16941a9f6c2bc539e 100644
--- a/ash/root_window_controller.h
+++ b/ash/root_window_controller.h
@@ -79,7 +79,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
@@ -359,12 +359,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_
« no previous file with comments | « ash/mus/top_level_window_factory.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698