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

Unified Diff: services/ui/ws/window_server.cc

Issue 2884463002: Make event-targeting asynchronous in window server. (Closed)
Patch Set: cache; by value 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: services/ui/ws/window_server.cc
diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc
index cebc3c53139d052d3a93a878c3db4ae085d245f6..8b40155c4f7a33220af8f99980037daf6ad0eb21 100644
--- a/services/ui/ws/window_server.cc
+++ b/services/ui/ws/window_server.cc
@@ -621,8 +621,6 @@ void WindowServer::UpdateNativeCursorFromMouseLocation(ServerWindow* window) {
EventDispatcher* event_dispatcher =
display_root->window_manager_state()->event_dispatcher();
event_dispatcher->UpdateCursorProviderByLastKnownLocation();
- display_root->window_manager_state()->cursor_state().SetCurrentWindowCursor(
- event_dispatcher->GetCurrentMouseCursor());
}
}
@@ -638,8 +636,6 @@ void WindowServer::UpdateNativeCursorIfOver(ServerWindow* window) {
return;
event_dispatcher->UpdateNonClientAreaForCurrentWindow();
- display_root->window_manager_state()->cursor_state().SetCurrentWindowCursor(
- event_dispatcher->GetCurrentMouseCursor());
}
bool WindowServer::IsUserInHighContrastMode(const UserId& user) const {
« services/ui/ws/event_targeter.h ('K') | « services/ui/ws/window_manager_state_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698