| 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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 const gfx::Point& cursor) override; | 465 const gfx::Point& cursor) override; |
| 466 void CancelWindowMove(Id window_id) override; | 466 void CancelWindowMove(Id window_id) override; |
| 467 | 467 |
| 468 // mojom::WindowManagerClient: | 468 // mojom::WindowManagerClient: |
| 469 void AddAccelerators(std::vector<mojom::AcceleratorPtr> accelerators, | 469 void AddAccelerators(std::vector<mojom::AcceleratorPtr> accelerators, |
| 470 const AddAcceleratorsCallback& callback) override; | 470 const AddAcceleratorsCallback& callback) override; |
| 471 void RemoveAccelerator(uint32_t id) override; | 471 void RemoveAccelerator(uint32_t id) override; |
| 472 void AddActivationParent(Id transport_window_id) override; | 472 void AddActivationParent(Id transport_window_id) override; |
| 473 void RemoveActivationParent(Id transport_window_id) override; | 473 void RemoveActivationParent(Id transport_window_id) override; |
| 474 void ActivateNextWindow() override; | 474 void ActivateNextWindow() override; |
| 475 void SetUnderlaySurfaceOffsetAndExtendedHitArea( | 475 void SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) override; |
| 476 Id window_id, | |
| 477 int32_t x_offset, | |
| 478 int32_t y_offset, | |
| 479 const gfx::Insets& hit_area) override; | |
| 480 void WmResponse(uint32_t change_id, bool response) override; | 476 void WmResponse(uint32_t change_id, bool response) override; |
| 481 void WmRequestClose(Id transport_window_id) override; | 477 void WmRequestClose(Id transport_window_id) override; |
| 482 void WmSetFrameDecorationValues( | 478 void WmSetFrameDecorationValues( |
| 483 mojom::FrameDecorationValuesPtr values) override; | 479 mojom::FrameDecorationValuesPtr values) override; |
| 484 void WmSetNonClientCursor(uint32_t window_id, | 480 void WmSetNonClientCursor(uint32_t window_id, |
| 485 mojom::Cursor cursor_id) override; | 481 mojom::Cursor cursor_id) override; |
| 486 void OnWmCreatedTopLevelWindow(uint32_t change_id, | 482 void OnWmCreatedTopLevelWindow(uint32_t change_id, |
| 487 Id transport_window_id) override; | 483 Id transport_window_id) override; |
| 488 void OnAcceleratorAck(uint32_t event_id, mojom::EventResult result) override; | 484 void OnAcceleratorAck(uint32_t event_id, mojom::EventResult result) override; |
| 489 | 485 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 waiting_for_top_level_window_info_; | 578 waiting_for_top_level_window_info_; |
| 583 bool embedder_intercepts_events_ = false; | 579 bool embedder_intercepts_events_ = false; |
| 584 | 580 |
| 585 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 581 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
| 586 }; | 582 }; |
| 587 | 583 |
| 588 } // namespace ws | 584 } // namespace ws |
| 589 } // namespace ui | 585 } // namespace ui |
| 590 | 586 |
| 591 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 587 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
| OLD | NEW |