| 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 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data, | 71 std::unordered_map<std::string, std::vector<uint8_t>> drag_data, |
| 72 uint32_t drag_operation); | 72 uint32_t drag_operation); |
| 73 void CancelDragDrop(); | 73 void CancelDragDrop(); |
| 74 void EndDragDrop(); | 74 void EndDragDrop(); |
| 75 | 75 |
| 76 void AddSystemModalWindow(ServerWindow* window); | 76 void AddSystemModalWindow(ServerWindow* window); |
| 77 | 77 |
| 78 // Returns the ServerWindow corresponding to an orphaned root with the | 78 // Returns the ServerWindow corresponding to an orphaned root with the |
| 79 // specified id. See |orphaned_window_manager_display_roots_| for details on | 79 // specified id. See |orphaned_window_manager_display_roots_| for details on |
| 80 // what on orphaned root is. | 80 // what on orphaned root is. |
| 81 ServerWindow* GetOrphanedRootWithId(const WindowId& id); | 81 ServerWindow* GetOrphanedRootWithId(const WindowId& id); |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 267 |
| 268 base::WeakPtrFactory<WindowManagerState> weak_factory_; | 268 base::WeakPtrFactory<WindowManagerState> weak_factory_; |
| 269 | 269 |
| 270 DISALLOW_COPY_AND_ASSIGN(WindowManagerState); | 270 DISALLOW_COPY_AND_ASSIGN(WindowManagerState); |
| 271 }; | 271 }; |
| 272 | 272 |
| 273 } // namespace ws | 273 } // namespace ws |
| 274 } // namespace ui | 274 } // namespace ui |
| 275 | 275 |
| 276 #endif // SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ | 276 #endif // SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ |
| OLD | NEW |