| 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 | 375 |
| 376 // Overridden from WindowManager: | 376 // Overridden from WindowManager: |
| 377 void OnConnect(ClientSpecificId client_id) override; | 377 void OnConnect(ClientSpecificId client_id) override; |
| 378 void WmNewDisplayAdded(const display::Display& display, | 378 void WmNewDisplayAdded(const display::Display& display, |
| 379 ui::mojom::WindowDataPtr root_data, | 379 ui::mojom::WindowDataPtr root_data, |
| 380 bool parent_drawn) override; | 380 bool parent_drawn) override; |
| 381 void WmDisplayRemoved(int64_t display_id) override; | 381 void WmDisplayRemoved(int64_t display_id) override; |
| 382 void WmDisplayModified(const display::Display& display) override; | 382 void WmDisplayModified(const display::Display& display) override; |
| 383 void WmSetBounds(uint32_t change_id, | 383 void WmSetBounds(uint32_t change_id, |
| 384 Id window_id, | 384 Id window_id, |
| 385 const gfx::Rect& transit_bounds) override; | 385 const gfx::Rect& transit_bounds_in_pixels) override; |
| 386 void WmSetProperty( | 386 void WmSetProperty( |
| 387 uint32_t change_id, | 387 uint32_t change_id, |
| 388 Id window_id, | 388 Id window_id, |
| 389 const std::string& name, | 389 const std::string& name, |
| 390 const base::Optional<std::vector<uint8_t>>& transit_data) override; | 390 const base::Optional<std::vector<uint8_t>>& transit_data) override; |
| 391 void WmCreateTopLevelWindow( | 391 void WmCreateTopLevelWindow( |
| 392 uint32_t change_id, | 392 uint32_t change_id, |
| 393 ClientSpecificId requesting_client_id, | 393 ClientSpecificId requesting_client_id, |
| 394 const std::unordered_map<std::string, std::vector<uint8_t>>& | 394 const std::unordered_map<std::string, std::vector<uint8_t>>& |
| 395 transport_properties) override; | 395 transport_properties) override; |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; | 524 std::unique_ptr<DragDropControllerMus> drag_drop_controller_; |
| 525 | 525 |
| 526 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 526 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 527 | 527 |
| 528 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 528 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 529 }; | 529 }; |
| 530 | 530 |
| 531 } // namespace aura | 531 } // namespace aura |
| 532 | 532 |
| 533 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 533 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |