| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 return capture_window_client_id_; | 79 return capture_window_client_id_; |
| 80 } | 80 } |
| 81 | 81 |
| 82 void SetDragDropSourceWindow( | 82 void SetDragDropSourceWindow( |
| 83 DragSource* drag_source, | 83 DragSource* drag_source, |
| 84 ServerWindow* window, | 84 ServerWindow* window, |
| 85 DragTargetConnection* source_connection, | 85 DragTargetConnection* source_connection, |
| 86 int32_t drag_pointer, | 86 int32_t drag_pointer, |
| 87 mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data, | 87 mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data, |
| 88 uint32_t drag_operations); | 88 uint32_t drag_operations); |
| 89 void CancelDragDrop(); |
| 89 void EndDragDrop(); | 90 void EndDragDrop(); |
| 90 | 91 |
| 91 void OnWillDestroyDragTargetConnection(DragTargetConnection* connection); | 92 void OnWillDestroyDragTargetConnection(DragTargetConnection* connection); |
| 92 | 93 |
| 93 // Adds a system modal window. The window remains modal to system until it is | 94 // Adds a system modal window. The window remains modal to system until it is |
| 94 // destroyed. There can exist multiple system modal windows, in which case the | 95 // destroyed. There can exist multiple system modal windows, in which case the |
| 95 // one that is visible and added most recently or shown most recently would be | 96 // one that is visible and added most recently or shown most recently would be |
| 96 // the active one. | 97 // the active one. |
| 97 void AddSystemModalWindow(ServerWindow* window); | 98 void AddSystemModalWindow(ServerWindow* window); |
| 98 | 99 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 AcceleratorMatchPhase::ANY; | 266 AcceleratorMatchPhase::ANY; |
| 266 #endif | 267 #endif |
| 267 | 268 |
| 268 DISALLOW_COPY_AND_ASSIGN(EventDispatcher); | 269 DISALLOW_COPY_AND_ASSIGN(EventDispatcher); |
| 269 }; | 270 }; |
| 270 | 271 |
| 271 } // namespace ws | 272 } // namespace ws |
| 272 } // namespace ui | 273 } // namespace ui |
| 273 | 274 |
| 274 #endif // SERVICES_UI_WS_EVENT_DISPATCHER_H_ | 275 #endif // SERVICES_UI_WS_EVENT_DISPATCHER_H_ |
| OLD | NEW |