| 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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 void RemoveAccelerator(uint32_t id) override; | 509 void RemoveAccelerator(uint32_t id) override; |
| 510 void AddActivationParent(Id transport_window_id) override; | 510 void AddActivationParent(Id transport_window_id) override; |
| 511 void RemoveActivationParent(Id transport_window_id) override; | 511 void RemoveActivationParent(Id transport_window_id) override; |
| 512 void ActivateNextWindow() override; | 512 void ActivateNextWindow() override; |
| 513 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override; | 513 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override; |
| 514 void SetDisplayRoot(const display::Display& display, | 514 void SetDisplayRoot(const display::Display& display, |
| 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 SetDisplayConfiguration( |
| 520 const std::vector<display::Display>& displays, |
| 521 std::vector<ui::mojom::WmViewportMetricsPtr> viewport_metrics, |
| 522 int64_t primary_display_id, |
| 523 const SetDisplayConfigurationCallback& callback) override; |
| 519 void WmResponse(uint32_t change_id, bool response) override; | 524 void WmResponse(uint32_t change_id, bool response) override; |
| 520 void WmSetBoundsResponse(uint32_t change_id) override; | 525 void WmSetBoundsResponse(uint32_t change_id) override; |
| 521 void WmRequestClose(Id transport_window_id) override; | 526 void WmRequestClose(Id transport_window_id) override; |
| 522 void WmSetFrameDecorationValues( | 527 void WmSetFrameDecorationValues( |
| 523 mojom::FrameDecorationValuesPtr values) override; | 528 mojom::FrameDecorationValuesPtr values) override; |
| 524 void WmSetNonClientCursor(uint32_t window_id, ui::CursorData cursor) override; | 529 void WmSetNonClientCursor(uint32_t window_id, ui::CursorData cursor) override; |
| 525 void WmLockCursor() override; | 530 void WmLockCursor() override; |
| 526 void WmUnlockCursor() override; | 531 void WmUnlockCursor() override; |
| 527 void WmSetCursorVisible(bool visible) override; | 532 void WmSetCursorVisible(bool visible) override; |
| 528 void WmSetGlobalOverrideCursor( | 533 void WmSetGlobalOverrideCursor( |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 // a image move. All weak ptrs are invalidated when a drag is completed. | 655 // a image move. All weak ptrs are invalidated when a drag is completed. |
| 651 base::WeakPtrFactory<WindowTree> drag_weak_factory_; | 656 base::WeakPtrFactory<WindowTree> drag_weak_factory_; |
| 652 | 657 |
| 653 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 658 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
| 654 }; | 659 }; |
| 655 | 660 |
| 656 } // namespace ws | 661 } // namespace ws |
| 657 } // namespace ui | 662 } // namespace ui |
| 658 | 663 |
| 659 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 664 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
| OLD | NEW |