| 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_TREE_H_ | 5 #ifndef SERVICES_UI_WS_WINDOW_TREE_H_ |
| 6 #define SERVICES_UI_WS_WINDOW_TREE_H_ | 6 #define SERVICES_UI_WS_WINDOW_TREE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 void ProcessCaptureChanged(const ServerWindow* new_capture, | 251 void ProcessCaptureChanged(const ServerWindow* new_capture, |
| 252 const ServerWindow* old_capture, | 252 const ServerWindow* old_capture, |
| 253 bool originated_change); | 253 bool originated_change); |
| 254 void ProcessTransientWindowAdded(const ServerWindow* window, | 254 void ProcessTransientWindowAdded(const ServerWindow* window, |
| 255 const ServerWindow* transient_window, | 255 const ServerWindow* transient_window, |
| 256 bool originated_change); | 256 bool originated_change); |
| 257 void ProcessTransientWindowRemoved(const ServerWindow* window, | 257 void ProcessTransientWindowRemoved(const ServerWindow* window, |
| 258 const ServerWindow* transient_window, | 258 const ServerWindow* transient_window, |
| 259 bool originated_change); | 259 bool originated_change); |
| 260 void ProcessWindowSurfaceChanged(ServerWindow* window, | 260 void ProcessWindowSurfaceChanged(ServerWindow* window, |
| 261 const cc::SurfaceId& surface_id, | 261 const cc::SurfaceInfo& surface_info); |
| 262 const gfx::Size& frame_size, | |
| 263 float device_scale_factor); | |
| 264 | 262 |
| 265 // Sends this event to the client if it matches an active pointer watcher. | 263 // Sends this event to the client if it matches an active pointer watcher. |
| 266 // |target_window| is the target of the event, and may be null or not known | 264 // |target_window| is the target of the event, and may be null or not known |
| 267 // to this tree. | 265 // to this tree. |
| 268 void SendToPointerWatcher(const ui::Event& event, | 266 void SendToPointerWatcher(const ui::Event& event, |
| 269 ServerWindow* target_window); | 267 ServerWindow* target_window); |
| 270 | 268 |
| 271 private: | 269 private: |
| 272 friend class test::WindowTreeTestApi; | 270 friend class test::WindowTreeTestApi; |
| 273 | 271 |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 578 waiting_for_top_level_window_info_; | 576 waiting_for_top_level_window_info_; |
| 579 bool embedder_intercepts_events_ = false; | 577 bool embedder_intercepts_events_ = false; |
| 580 | 578 |
| 581 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 579 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
| 582 }; | 580 }; |
| 583 | 581 |
| 584 } // namespace ws | 582 } // namespace ws |
| 585 } // namespace ui | 583 } // namespace ui |
| 586 | 584 |
| 587 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 585 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
| OLD | NEW |