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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 const ServerWindow* window) const override; | 493 const ServerWindow* window) const override; |
494 | 494 |
495 // DragSource: | 495 // DragSource: |
496 void OnDragCompleted(bool success, uint32_t action_taken) override; | 496 void OnDragCompleted(bool success, uint32_t action_taken) override; |
497 ServerWindow* GetWindowById(const WindowId& id) override; | 497 ServerWindow* GetWindowById(const WindowId& id) override; |
498 DragTargetConnection* GetDragTargetForWindow( | 498 DragTargetConnection* GetDragTargetForWindow( |
499 const ServerWindow* window) override; | 499 const ServerWindow* window) override; |
500 | 500 |
501 // DragTargetConnection: | 501 // DragTargetConnection: |
502 void PerformOnDragDropStart( | 502 void PerformOnDragDropStart( |
503 mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data) override; | 503 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data) |
| 504 override; |
504 void PerformOnDragEnter( | 505 void PerformOnDragEnter( |
505 const ServerWindow* window, | 506 const ServerWindow* window, |
506 uint32_t event_flags, | 507 uint32_t event_flags, |
507 const gfx::Point& cursor_offset, | 508 const gfx::Point& cursor_offset, |
508 uint32_t effect_bitmask, | 509 uint32_t effect_bitmask, |
509 const base::Callback<void(uint32_t)>& callback) override; | 510 const base::Callback<void(uint32_t)>& callback) override; |
510 void PerformOnDragOver( | 511 void PerformOnDragOver( |
511 const ServerWindow* window, | 512 const ServerWindow* window, |
512 uint32_t event_flags, | 513 uint32_t event_flags, |
513 const gfx::Point& cursor_offset, | 514 const gfx::Point& cursor_offset, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 waiting_for_top_level_window_info_; | 579 waiting_for_top_level_window_info_; |
579 bool embedder_intercepts_events_ = false; | 580 bool embedder_intercepts_events_ = false; |
580 | 581 |
581 DISALLOW_COPY_AND_ASSIGN(WindowTree); | 582 DISALLOW_COPY_AND_ASSIGN(WindowTree); |
582 }; | 583 }; |
583 | 584 |
584 } // namespace ws | 585 } // namespace ws |
585 } // namespace ui | 586 } // namespace ui |
586 | 587 |
587 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ | 588 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ |
OLD | NEW |