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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 mojo::TextInputStatePtr state) override; | 403 mojo::TextInputStatePtr state) override; |
404 void SetImeVisibility(Id transport_window_id, | 404 void SetImeVisibility(Id transport_window_id, |
405 bool visible, | 405 bool visible, |
406 mojo::TextInputStatePtr state) override; | 406 mojo::TextInputStatePtr state) override; |
407 void OnWindowInputEventAck(uint32_t event_id, | 407 void OnWindowInputEventAck(uint32_t event_id, |
408 mojom::EventResult result) override; | 408 mojom::EventResult result) override; |
409 void SetClientArea( | 409 void SetClientArea( |
410 Id transport_window_id, | 410 Id transport_window_id, |
411 const gfx::Insets& insets, | 411 const gfx::Insets& insets, |
412 mojo::Array<gfx::Rect> transport_additional_client_areas) override; | 412 mojo::Array<gfx::Rect> transport_additional_client_areas) override; |
413 void SetHitTestMask(Id transport_window_id, const gfx::Rect& mask) override; | 413 void SetHitTestMask(Id transport_window_id, |
| 414 const base::Optional<gfx::Rect>& mask) override; |
414 void GetWindowManagerClient( | 415 void GetWindowManagerClient( |
415 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) | 416 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) |
416 override; | 417 override; |
417 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback) | 418 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback) |
418 override; | 419 override; |
419 void PerformWindowMove(uint32_t change_id, | 420 void PerformWindowMove(uint32_t change_id, |
420 Id window_id, | 421 Id window_id, |
421 ui::mojom::MoveLoopSource source, | 422 ui::mojom::MoveLoopSource source, |
422 const gfx::Point& cursor) override; | 423 const gfx::Point& cursor) override; |
423 void CancelWindowMove(Id window_id) override; | 424 void CancelWindowMove(Id window_id) override; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 waiting_for_top_level_window_info_; | 506 waiting_for_top_level_window_info_; |
506 bool embedder_intercepts_events_ = false; | 507 bool embedder_intercepts_events_ = false; |
507 | 508 |
508 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 509 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
509 }; | 510 }; |
510 | 511 |
511 } // namespace ws | 512 } // namespace ws |
512 } // namespace ui | 513 } // namespace ui |
513 | 514 |
514 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 515 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
OLD | NEW |