| 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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 const SkBitmap& drag_image, | 495 const SkBitmap& drag_image, |
| 496 const gfx::Vector2d& drag_image_offset, | 496 const gfx::Vector2d& drag_image_offset, |
| 497 uint32_t drag_operation, | 497 uint32_t drag_operation, |
| 498 ui::mojom::PointerKind source) override; | 498 ui::mojom::PointerKind source) override; |
| 499 void CancelDragDrop(Id window_id) override; | 499 void CancelDragDrop(Id window_id) override; |
| 500 void PerformWindowMove(uint32_t change_id, | 500 void PerformWindowMove(uint32_t change_id, |
| 501 Id window_id, | 501 Id window_id, |
| 502 ui::mojom::MoveLoopSource source, | 502 ui::mojom::MoveLoopSource source, |
| 503 const gfx::Point& cursor) override; | 503 const gfx::Point& cursor) override; |
| 504 void CancelWindowMove(Id window_id) override; | 504 void CancelWindowMove(Id window_id) override; |
| 505 void GetFrameSinkId(Id window_id) override; |
| 505 | 506 |
| 506 // mojom::WindowManagerClient: | 507 // mojom::WindowManagerClient: |
| 507 void AddAccelerators(std::vector<mojom::WmAcceleratorPtr> accelerators, | 508 void AddAccelerators(std::vector<mojom::WmAcceleratorPtr> accelerators, |
| 508 const AddAcceleratorsCallback& callback) override; | 509 const AddAcceleratorsCallback& callback) override; |
| 509 void RemoveAccelerator(uint32_t id) override; | 510 void RemoveAccelerator(uint32_t id) override; |
| 510 void AddActivationParent(Id transport_window_id) override; | 511 void AddActivationParent(Id transport_window_id) override; |
| 511 void RemoveActivationParent(Id transport_window_id) override; | 512 void RemoveActivationParent(Id transport_window_id) override; |
| 512 void ActivateNextWindow() override; | 513 void ActivateNextWindow() override; |
| 513 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override; | 514 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override; |
| 514 void SetDisplayRoot(const display::Display& display, | 515 void SetDisplayRoot(const display::Display& display, |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 // a image move. All weak ptrs are invalidated when a drag is completed. | 646 // a image move. All weak ptrs are invalidated when a drag is completed. |
| 646 base::WeakPtrFactory<WindowTree> drag_weak_factory_; | 647 base::WeakPtrFactory<WindowTree> drag_weak_factory_; |
| 647 | 648 |
| 648 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 649 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
| 649 }; | 650 }; |
| 650 | 651 |
| 651 } // namespace ws | 652 } // namespace ws |
| 652 } // namespace ui | 653 } // namespace ui |
| 653 | 654 |
| 654 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 655 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
| OLD | NEW |