| 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 WmSetCursorVisible(bool visible) override; |
| 528 void WmSetGlobalOverrideCursor( |
| 529 base::Optional<ui::CursorData> cursor) override; |
| 525 void OnWmCreatedTopLevelWindow(uint32_t change_id, | 530 void OnWmCreatedTopLevelWindow(uint32_t change_id, |
| 526 Id transport_window_id) override; | 531 Id transport_window_id) override; |
| 527 void OnAcceleratorAck( | 532 void OnAcceleratorAck( |
| 528 uint32_t event_id, | 533 uint32_t event_id, |
| 529 mojom::EventResult result, | 534 mojom::EventResult result, |
| 530 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) | 535 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) |
| 531 override; | 536 override; |
| 532 | 537 |
| 533 // AccessPolicyDelegate: | 538 // AccessPolicyDelegate: |
| 534 bool HasRootForAccessPolicy(const ServerWindow* window) const override; | 539 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. | 650 // a image move. All weak ptrs are invalidated when a drag is completed. |
| 646 base::WeakPtrFactory<WindowTree> drag_weak_factory_; | 651 base::WeakPtrFactory<WindowTree> drag_weak_factory_; |
| 647 | 652 |
| 648 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 653 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
| 649 }; | 654 }; |
| 650 | 655 |
| 651 } // namespace ws | 656 } // namespace ws |
| 652 } // namespace ui | 657 } // namespace ui |
| 653 | 658 |
| 654 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 659 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
| OLD | NEW |