| 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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 void WmDisplayRemoved(int64_t display_id) override; | 389 void WmDisplayRemoved(int64_t display_id) override; |
| 390 void WmDisplayModified(const display::Display& display) override; | 390 void WmDisplayModified(const display::Display& display) override; |
| 391 void WmSetBounds(uint32_t change_id, | 391 void WmSetBounds(uint32_t change_id, |
| 392 Id window_id, | 392 Id window_id, |
| 393 const gfx::Rect& transit_bounds_in_pixels) override; | 393 const gfx::Rect& transit_bounds_in_pixels) override; |
| 394 void WmSetProperty( | 394 void WmSetProperty( |
| 395 uint32_t change_id, | 395 uint32_t change_id, |
| 396 Id window_id, | 396 Id window_id, |
| 397 const std::string& name, | 397 const std::string& name, |
| 398 const base::Optional<std::vector<uint8_t>>& transit_data) override; | 398 const base::Optional<std::vector<uint8_t>>& transit_data) override; |
| 399 void WmSetCanFocus(Id window_id, bool can_focus) override; |
| 399 void WmCreateTopLevelWindow( | 400 void WmCreateTopLevelWindow( |
| 400 uint32_t change_id, | 401 uint32_t change_id, |
| 401 ClientSpecificId requesting_client_id, | 402 ClientSpecificId requesting_client_id, |
| 402 const std::unordered_map<std::string, std::vector<uint8_t>>& | 403 const std::unordered_map<std::string, std::vector<uint8_t>>& |
| 403 transport_properties) override; | 404 transport_properties) override; |
| 404 void WmClientJankinessChanged(ClientSpecificId client_id, | 405 void WmClientJankinessChanged(ClientSpecificId client_id, |
| 405 bool janky) override; | 406 bool janky) override; |
| 406 void WmPerformMoveLoop(uint32_t change_id, | 407 void WmPerformMoveLoop(uint32_t change_id, |
| 407 Id window_id, | 408 Id window_id, |
| 408 ui::mojom::MoveLoopSource source, | 409 ui::mojom::MoveLoopSource source, |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 std::unique_ptr<ui::Gpu> gpu_; | 542 std::unique_ptr<ui::Gpu> gpu_; |
| 542 std::unique_ptr<MusContextFactory> compositor_context_factory_; | 543 std::unique_ptr<MusContextFactory> compositor_context_factory_; |
| 543 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 544 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 544 | 545 |
| 545 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 546 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 546 }; | 547 }; |
| 547 | 548 |
| 548 } // namespace aura | 549 } // namespace aura |
| 549 | 550 |
| 550 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 551 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |