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

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

Issue 1881253002: mus: Implement ScreenMus::GetCursorScreenPoint(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: And fix chromeos. Created 4 years, 8 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: components/mus/ws/window_manager_state.cc
diff --git a/components/mus/ws/window_manager_state.cc b/components/mus/ws/window_manager_state.cc
index f383906af0ca6e47959ea7568b1b304f628edd27..ccec39ddc1f357b17d2885fe05994d0f082f6fa6 100644
--- a/components/mus/ws/window_manager_state.cc
+++ b/components/mus/ws/window_manager_state.cc
@@ -359,6 +359,12 @@ void WindowManagerState::OnServerWindowCaptureLost(ServerWindow* window) {
window_server()->ProcessLostCapture(window);
}
+void WindowManagerState::OnMouseCursorLocationChanged(
+ const gfx::Point& location) {
+ display_->display_manager()->GetUserDisplayManager(user_id_)
+ ->OnMouseCursorLocationChanged(location);
+}
+
void WindowManagerState::DispatchInputEventToWindow(ServerWindow* target,
bool in_nonclient_area,
const ui::Event& event,

Powered by Google App Engine
This is Rietveld 408576698