| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_EVENT_DISPATCHER_H_ | 5 #ifndef SERVICES_UI_WS_EVENT_DISPATCHER_H_ |
| 6 #define SERVICES_UI_WS_EVENT_DISPATCHER_H_ | 6 #define SERVICES_UI_WS_EVENT_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 // Id of the client that capture events are sent to. | 78 // Id of the client that capture events are sent to. |
| 79 ClientSpecificId capture_window_client_id() const { | 79 ClientSpecificId capture_window_client_id() const { |
| 80 return capture_window_client_id_; | 80 return capture_window_client_id_; |
| 81 } | 81 } |
| 82 | 82 |
| 83 void SetDragDropSourceWindow( | 83 void SetDragDropSourceWindow( |
| 84 DragSource* drag_source, | 84 DragSource* drag_source, |
| 85 ServerWindow* window, | 85 ServerWindow* window, |
| 86 DragTargetConnection* source_connection, | 86 DragTargetConnection* source_connection, |
| 87 int32_t drag_pointer, | 87 int32_t drag_pointer, |
| 88 mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data, | 88 std::unordered_map<std::string, std::vector<uint8_t>> mime_data, |
| 89 uint32_t drag_operations); | 89 uint32_t drag_operations); |
| 90 void CancelDragDrop(); | 90 void CancelDragDrop(); |
| 91 void EndDragDrop(); | 91 void EndDragDrop(); |
| 92 | 92 |
| 93 void OnWillDestroyDragTargetConnection(DragTargetConnection* connection); | 93 void OnWillDestroyDragTargetConnection(DragTargetConnection* connection); |
| 94 | 94 |
| 95 // Adds a system modal window. The window remains modal to system until it is | 95 // Adds a system modal window. The window remains modal to system until it is |
| 96 // destroyed. There can exist multiple system modal windows, in which case the | 96 // destroyed. There can exist multiple system modal windows, in which case the |
| 97 // one that is visible and added most recently or shown most recently would be | 97 // one that is visible and added most recently or shown most recently would be |
| 98 // the active one. | 98 // the active one. |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 AcceleratorMatchPhase::ANY; | 271 AcceleratorMatchPhase::ANY; |
| 272 #endif | 272 #endif |
| 273 | 273 |
| 274 DISALLOW_COPY_AND_ASSIGN(EventDispatcher); | 274 DISALLOW_COPY_AND_ASSIGN(EventDispatcher); |
| 275 }; | 275 }; |
| 276 | 276 |
| 277 } // namespace ws | 277 } // namespace ws |
| 278 } // namespace ui | 278 } // namespace ui |
| 279 | 279 |
| 280 #endif // SERVICES_UI_WS_EVENT_DISPATCHER_H_ | 280 #endif // SERVICES_UI_WS_EVENT_DISPATCHER_H_ |
| OLD | NEW |