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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 mojom::WmViewportMetricsPtr viewport_metrics, | 515 mojom::WmViewportMetricsPtr viewport_metrics, |
516 bool is_primary_display, | 516 bool is_primary_display, |
517 Id window_id, | 517 Id window_id, |
518 const SetDisplayRootCallback& callback) override; | 518 const SetDisplayRootCallback& callback) override; |
519 void WmResponse(uint32_t change_id, bool response) override; | 519 void WmResponse(uint32_t change_id, bool response) override; |
520 void WmSetBoundsResponse(uint32_t change_id) override; | 520 void WmSetBoundsResponse(uint32_t change_id) override; |
521 void WmRequestClose(Id transport_window_id) override; | 521 void WmRequestClose(Id transport_window_id) override; |
522 void WmSetFrameDecorationValues( | 522 void WmSetFrameDecorationValues( |
523 mojom::FrameDecorationValuesPtr values) override; | 523 mojom::FrameDecorationValuesPtr values) override; |
524 void WmSetNonClientCursor(uint32_t window_id, ui::CursorData cursor) override; | 524 void WmSetNonClientCursor(uint32_t window_id, ui::CursorData cursor) override; |
| 525 void WmLockCursor() override; |
| 526 void WmUnlockCursor() override; |
| 527 void WmShowCursor() override; |
| 528 void WmHideCursor() override; |
| 529 void WmSetGlobalOverrideCursor( |
| 530 base::Optional<ui::CursorData> cursor) override; |
525 void OnWmCreatedTopLevelWindow(uint32_t change_id, | 531 void OnWmCreatedTopLevelWindow(uint32_t change_id, |
526 Id transport_window_id) override; | 532 Id transport_window_id) override; |
527 void OnAcceleratorAck( | 533 void OnAcceleratorAck( |
528 uint32_t event_id, | 534 uint32_t event_id, |
529 mojom::EventResult result, | 535 mojom::EventResult result, |
530 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) | 536 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) |
531 override; | 537 override; |
532 | 538 |
533 // AccessPolicyDelegate: | 539 // AccessPolicyDelegate: |
534 bool HasRootForAccessPolicy(const ServerWindow* window) const override; | 540 bool HasRootForAccessPolicy(const ServerWindow* window) const override; |
(...skipping 110 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. | 651 // a image move. All weak ptrs are invalidated when a drag is completed. |
646 base::WeakPtrFactory<WindowTree> drag_weak_factory_; | 652 base::WeakPtrFactory<WindowTree> drag_weak_factory_; |
647 | 653 |
648 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 654 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
649 }; | 655 }; |
650 | 656 |
651 } // namespace ws | 657 } // namespace ws |
652 } // namespace ui | 658 } // namespace ui |
653 | 659 |
654 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 660 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
OLD | NEW |