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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 void SetClientArea( | 398 void SetClientArea( |
399 Id transport_window_id, | 399 Id transport_window_id, |
400 const gfx::Insets& insets, | 400 const gfx::Insets& insets, |
401 mojo::Array<gfx::Rect> transport_additional_client_areas) override; | 401 mojo::Array<gfx::Rect> transport_additional_client_areas) override; |
402 void SetHitTestMask(Id transport_window_id, const gfx::Rect& mask) override; | 402 void SetHitTestMask(Id transport_window_id, const gfx::Rect& mask) override; |
403 void GetWindowManagerClient( | 403 void GetWindowManagerClient( |
404 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) | 404 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) |
405 override; | 405 override; |
406 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback) | 406 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback) |
407 override; | 407 override; |
| 408 void SetAcceptEvents(Id transport_window_id, bool accept_events) override; |
408 | 409 |
409 // mojom::WindowManagerClient: | 410 // mojom::WindowManagerClient: |
410 void AddAccelerator(uint32_t id, | 411 void AddAccelerator(uint32_t id, |
411 mojom::EventMatcherPtr event_matcher, | 412 mojom::EventMatcherPtr event_matcher, |
412 const AddAcceleratorCallback& callback) override; | 413 const AddAcceleratorCallback& callback) override; |
413 void RemoveAccelerator(uint32_t id) override; | 414 void RemoveAccelerator(uint32_t id) override; |
414 void AddActivationParent(Id transport_window_id) override; | 415 void AddActivationParent(Id transport_window_id) override; |
415 void RemoveActivationParent(Id transport_window_id) override; | 416 void RemoveActivationParent(Id transport_window_id) override; |
416 void ActivateNextWindow() override; | 417 void ActivateNextWindow() override; |
417 void SetUnderlaySurfaceOffsetAndExtendedHitArea( | 418 void SetUnderlaySurfaceOffsetAndExtendedHitArea( |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 waiting_for_top_level_window_info_; | 489 waiting_for_top_level_window_info_; |
489 bool embedder_intercepts_events_ = false; | 490 bool embedder_intercepts_events_ = false; |
490 | 491 |
491 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 492 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
492 }; | 493 }; |
493 | 494 |
494 } // namespace ws | 495 } // namespace ws |
495 } // namespace ui | 496 } // namespace ui |
496 | 497 |
497 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 498 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
OLD | NEW |