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

Unified Diff: components/mus/ws/connection_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/connection_manager.h ('k') | components/mus/ws/display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/connection_manager.cc
diff --git a/components/mus/ws/connection_manager.cc b/components/mus/ws/connection_manager.cc
index a710d9fa1b7424d326ebc61ebcc5241e07585679..4ef846194ae22c000aecbfc41f79eb63bbe76413 100644
--- a/components/mus/ws/connection_manager.cc
+++ b/components/mus/ws/connection_manager.cc
@@ -482,7 +482,6 @@ void ConnectionManager::OnWindowBoundsChanged(ServerWindow* window,
if (!window->parent())
return;
- // TODO(sky): optimize this.
SchedulePaint(window->parent(), old_bounds);
SchedulePaint(window->parent(), new_bounds);
@@ -572,11 +571,6 @@ void ConnectionManager::OnTransientWindowRemoved(
}
}
-void ConnectionManager::OnWillDestroyDisplay(Display* display) {
- for (auto& pair : tree_map_)
- pair.second->OnWillDestroyDisplay(display);
-}
-
void ConnectionManager::OnFirstDisplayReady() {
delegate_->OnFirstDisplayReady();
}
« no previous file with comments | « components/mus/ws/connection_manager.h ('k') | components/mus/ws/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698