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