| 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 UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 void OnWindowOpacityChanged(Id window_id, | 327 void OnWindowOpacityChanged(Id window_id, |
| 328 float old_opacity, | 328 float old_opacity, |
| 329 float new_opacity) override; | 329 float new_opacity) override; |
| 330 void OnWindowParentDrawnStateChanged(Id window_id, bool drawn) override; | 330 void OnWindowParentDrawnStateChanged(Id window_id, bool drawn) override; |
| 331 void OnWindowSharedPropertyChanged( | 331 void OnWindowSharedPropertyChanged( |
| 332 Id window_id, | 332 Id window_id, |
| 333 const std::string& name, | 333 const std::string& name, |
| 334 const base::Optional<std::vector<uint8_t>>& transport_data) override; | 334 const base::Optional<std::vector<uint8_t>>& transport_data) override; |
| 335 void OnWindowInputEvent(uint32_t event_id, | 335 void OnWindowInputEvent(uint32_t event_id, |
| 336 Id window_id, | 336 Id window_id, |
| 337 int64_t display_id, |
| 337 std::unique_ptr<ui::Event> event, | 338 std::unique_ptr<ui::Event> event, |
| 338 bool matches_pointer_watcher) override; | 339 bool matches_pointer_watcher) override; |
| 339 void OnPointerEventObserved(std::unique_ptr<ui::Event> event, | 340 void OnPointerEventObserved(std::unique_ptr<ui::Event> event, |
| 340 uint32_t window_id) override; | 341 uint32_t window_id, |
| 342 int64_t display_id) override; |
| 341 void OnWindowFocused(Id focused_window_id) override; | 343 void OnWindowFocused(Id focused_window_id) override; |
| 342 void OnWindowPredefinedCursorChanged(Id window_id, | 344 void OnWindowPredefinedCursorChanged(Id window_id, |
| 343 ui::mojom::Cursor cursor) override; | 345 ui::mojom::Cursor cursor) override; |
| 344 void OnWindowSurfaceChanged(Id window_id, | 346 void OnWindowSurfaceChanged(Id window_id, |
| 345 const cc::SurfaceInfo& surface_info) override; | 347 const cc::SurfaceInfo& surface_info) override; |
| 346 void OnDragDropStart( | 348 void OnDragDropStart( |
| 347 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data) | 349 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data) |
| 348 override; | 350 override; |
| 349 void OnDragEnter(Id window_id, | 351 void OnDragEnter(Id window_id, |
| 350 uint32_t event_flags, | 352 uint32_t event_flags, |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 std::unique_ptr<ui::Gpu> gpu_; | 544 std::unique_ptr<ui::Gpu> gpu_; |
| 543 std::unique_ptr<MusContextFactory> compositor_context_factory_; | 545 std::unique_ptr<MusContextFactory> compositor_context_factory_; |
| 544 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 546 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 545 | 547 |
| 546 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 548 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 547 }; | 549 }; |
| 548 | 550 |
| 549 } // namespace aura | 551 } // namespace aura |
| 550 | 552 |
| 551 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 553 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |