Chromium Code Reviews| Index: components/mus/ws/connection_manager.cc |
| diff --git a/components/mus/ws/connection_manager.cc b/components/mus/ws/connection_manager.cc |
| index 3c8bea5c1aa646153857d713339b7c5d663dc5d5..0fec1f90d24b31f3dbb9d3ea1595ade72c13eaaa 100644 |
| --- a/components/mus/ws/connection_manager.cc |
| +++ b/components/mus/ws/connection_manager.cc |
| @@ -468,6 +468,22 @@ void ConnectionManager::OnWillChangeWindowVisibility(ServerWindow* window) { |
| } |
| } |
| +void ConnectionManager::OnWindowCursorChanged(ServerWindow* window, |
| + int32_t cursor_id) { |
| + if (in_destructor_) |
| + return; |
| + |
| + for (auto& pair : connection_map_) { |
| + pair.second->service()->ProcessCursorChanged( |
| + window, cursor_id, IsOperationSource(pair.first)); |
| + } |
| + |
| + // Pass the cursor change to our native window. |
|
sky
2015/12/01 21:48:00
out->the (as there may be more than one native win
Elliot Glaysher
2015/12/02 20:01:32
Done.
|
| + WindowTreeHostImpl* host = GetWindowTreeHostByWindow(window); |
| + if (host) |
| + host->OnCursorUpdated(window); |
| +} |
| + |
| void ConnectionManager::OnWindowSharedPropertyChanged( |
| ServerWindow* window, |
| const std::string& name, |