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

Unified Diff: components/mus/ws/display_manager.cc

Issue 1775133003: Moves EventDispatcher from Display to WindowManagerState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: todo Created 4 years, 9 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 | « components/mus/ws/display_manager.h ('k') | components/mus/ws/display_manager_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/display_manager.cc
diff --git a/components/mus/ws/display_manager.cc b/components/mus/ws/display_manager.cc
index 7b321e6e02242e1e3c754cc09e3e9352857a3336..b5dbb0953a20e1de6910c3855c59cdaa4a4f16ec 100644
--- a/components/mus/ws/display_manager.cc
+++ b/components/mus/ws/display_manager.cc
@@ -39,8 +39,6 @@ void DisplayManager::AddDisplay(Display* display) {
}
void DisplayManager::DestroyDisplay(Display* display) {
- delegate_->OnWillDestroyDisplay(display);
-
if (pending_displays_.count(display)) {
pending_displays_.erase(display);
} else {
@@ -89,11 +87,6 @@ const Display* DisplayManager::GetDisplayContaining(
return nullptr;
}
-Display* DisplayManager::GetActiveDisplay() {
- // TODO(sky): this isn't active, but first. Make it active.
- return displays_.size() ? *displays_.begin() : nullptr;
-}
-
WindowManagerAndDisplayConst DisplayManager::GetWindowManagerAndDisplay(
const ServerWindow* window) const {
const ServerWindow* last = window;
« no previous file with comments | « components/mus/ws/display_manager.h ('k') | components/mus/ws/display_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698