OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_MANAGER_STATE_H_ | 5 #ifndef SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ |
6 #define SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ | 6 #define SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 return event_dispatcher_.capture_window(); | 61 return event_dispatcher_.capture_window(); |
62 } | 62 } |
63 | 63 |
64 void ReleaseCaptureBlockedByModalWindow(const ServerWindow* modal_window); | 64 void ReleaseCaptureBlockedByModalWindow(const ServerWindow* modal_window); |
65 void ReleaseCaptureBlockedByAnyModalWindow(); | 65 void ReleaseCaptureBlockedByAnyModalWindow(); |
66 | 66 |
67 void SetDragDropSourceWindow( | 67 void SetDragDropSourceWindow( |
68 DragSource* drag_source, | 68 DragSource* drag_source, |
69 ServerWindow* window, | 69 ServerWindow* window, |
70 DragTargetConnection* source_connection, | 70 DragTargetConnection* source_connection, |
71 int32_t drag_pointer, | |
72 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data, | 71 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data, |
73 uint32_t drag_operation); | 72 uint32_t drag_operation); |
74 void CancelDragDrop(); | 73 void CancelDragDrop(); |
75 void EndDragDrop(); | 74 void EndDragDrop(); |
76 | 75 |
77 void AddSystemModalWindow(ServerWindow* window); | 76 void AddSystemModalWindow(ServerWindow* window); |
78 | 77 |
79 // Returns the ServerWindow corresponding to an orphaned root with the | 78 // Returns the ServerWindow corresponding to an orphaned root with the |
80 // specified id. See |orphaned_window_manager_display_roots_| for details on | 79 // specified id. See |orphaned_window_manager_display_roots_| for details on |
81 // what on orphaned root is. | 80 // what on orphaned root is. |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 | 266 |
268 base::WeakPtrFactory<WindowManagerState> weak_factory_; | 267 base::WeakPtrFactory<WindowManagerState> weak_factory_; |
269 | 268 |
270 DISALLOW_COPY_AND_ASSIGN(WindowManagerState); | 269 DISALLOW_COPY_AND_ASSIGN(WindowManagerState); |
271 }; | 270 }; |
272 | 271 |
273 } // namespace ws | 272 } // namespace ws |
274 } // namespace ui | 273 } // namespace ui |
275 | 274 |
276 #endif // SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ | 275 #endif // SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ |
OLD | NEW |