| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_H_ | 5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_H_ |
| 6 #define SERVICES_UI_WS_WINDOW_SERVER_H_ | 6 #define SERVICES_UI_WS_WINDOW_SERVER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 const ServerWindow* old_capture); | 187 const ServerWindow* old_capture); |
| 188 void ProcessWillChangeWindowHierarchy(const ServerWindow* window, | 188 void ProcessWillChangeWindowHierarchy(const ServerWindow* window, |
| 189 const ServerWindow* new_parent, | 189 const ServerWindow* new_parent, |
| 190 const ServerWindow* old_parent); | 190 const ServerWindow* old_parent); |
| 191 void ProcessWindowHierarchyChanged(const ServerWindow* window, | 191 void ProcessWindowHierarchyChanged(const ServerWindow* window, |
| 192 const ServerWindow* new_parent, | 192 const ServerWindow* new_parent, |
| 193 const ServerWindow* old_parent); | 193 const ServerWindow* old_parent); |
| 194 void ProcessWindowReorder(const ServerWindow* window, | 194 void ProcessWindowReorder(const ServerWindow* window, |
| 195 const ServerWindow* relative_window, | 195 const ServerWindow* relative_window, |
| 196 const mojom::OrderDirection direction); | 196 const mojom::OrderDirection direction); |
| 197 void ProcessWindowDeleted(const ServerWindow* window); | 197 void ProcessWindowDeleted(ServerWindow* window); |
| 198 void ProcessWillChangeWindowPredefinedCursor(ServerWindow* window, | 198 void ProcessWillChangeWindowPredefinedCursor(ServerWindow* window, |
| 199 int32_t cursor_id); | 199 int32_t cursor_id); |
| 200 | 200 |
| 201 // Sends an |event| to all WindowTrees belonging to |user_id| that might be | 201 // Sends an |event| to all WindowTrees belonging to |user_id| that might be |
| 202 // observing events. Skips |ignore_tree| if it is non-null. |target_window| is | 202 // observing events. Skips |ignore_tree| if it is non-null. |target_window| is |
| 203 // the target of the event. | 203 // the target of the event. |
| 204 void SendToPointerWatchers(const ui::Event& event, | 204 void SendToPointerWatchers(const ui::Event& event, |
| 205 const UserId& user_id, | 205 const UserId& user_id, |
| 206 ServerWindow* target_window, | 206 ServerWindow* target_window, |
| 207 WindowTree* ignore_tree); | 207 WindowTree* ignore_tree); |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 | 386 |
| 387 WindowManagerWindowTreeFactorySet window_manager_window_tree_factory_set_; | 387 WindowManagerWindowTreeFactorySet window_manager_window_tree_factory_set_; |
| 388 | 388 |
| 389 DISALLOW_COPY_AND_ASSIGN(WindowServer); | 389 DISALLOW_COPY_AND_ASSIGN(WindowServer); |
| 390 }; | 390 }; |
| 391 | 391 |
| 392 } // namespace ws | 392 } // namespace ws |
| 393 } // namespace ui | 393 } // namespace ui |
| 394 | 394 |
| 395 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_ | 395 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_ |
| OLD | NEW |