| 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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data, | 463 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data, |
| 464 uint32_t drag_operation) override; | 464 uint32_t drag_operation) override; |
| 465 void CancelDragDrop(Id window_id) override; | 465 void CancelDragDrop(Id window_id) override; |
| 466 void PerformWindowMove(uint32_t change_id, | 466 void PerformWindowMove(uint32_t change_id, |
| 467 Id window_id, | 467 Id window_id, |
| 468 ui::mojom::MoveLoopSource source, | 468 ui::mojom::MoveLoopSource source, |
| 469 const gfx::Point& cursor) override; | 469 const gfx::Point& cursor) override; |
| 470 void CancelWindowMove(Id window_id) override; | 470 void CancelWindowMove(Id window_id) override; |
| 471 | 471 |
| 472 // mojom::WindowManagerClient: | 472 // mojom::WindowManagerClient: |
| 473 void AddAccelerators(std::vector<mojom::AcceleratorPtr> accelerators, | 473 void AddAccelerators(std::vector<mojom::WmAcceleratorPtr> accelerators, |
| 474 const AddAcceleratorsCallback& callback) override; | 474 const AddAcceleratorsCallback& callback) override; |
| 475 void RemoveAccelerator(uint32_t id) override; | 475 void RemoveAccelerator(uint32_t id) override; |
| 476 void AddActivationParent(Id transport_window_id) override; | 476 void AddActivationParent(Id transport_window_id) override; |
| 477 void RemoveActivationParent(Id transport_window_id) override; | 477 void RemoveActivationParent(Id transport_window_id) override; |
| 478 void ActivateNextWindow() override; | 478 void ActivateNextWindow() override; |
| 479 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override; | 479 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override; |
| 480 void WmResponse(uint32_t change_id, bool response) override; | 480 void WmResponse(uint32_t change_id, bool response) override; |
| 481 void WmRequestClose(Id transport_window_id) override; | 481 void WmRequestClose(Id transport_window_id) override; |
| 482 void WmSetFrameDecorationValues( | 482 void WmSetFrameDecorationValues( |
| 483 mojom::FrameDecorationValuesPtr values) override; | 483 mojom::FrameDecorationValuesPtr values) override; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 waiting_for_top_level_window_info_; | 582 waiting_for_top_level_window_info_; |
| 583 bool embedder_intercepts_events_ = false; | 583 bool embedder_intercepts_events_ = false; |
| 584 | 584 |
| 585 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 585 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
| 586 }; | 586 }; |
| 587 | 587 |
| 588 } // namespace ws | 588 } // namespace ws |
| 589 } // namespace ui | 589 } // namespace ui |
| 590 | 590 |
| 591 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 591 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
| OLD | NEW |