| 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 ASH_MUS_WINDOW_MANAGER_H_ | 5 #ifndef ASH_MUS_WINDOW_MANAGER_H_ |
| 6 #define ASH_MUS_WINDOW_MANAGER_H_ | 6 #define ASH_MUS_WINDOW_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> |
| 10 #include <memory> | 11 #include <memory> |
| 11 #include <set> | 12 #include <set> |
| 13 #include <string> |
| 14 #include <vector> |
| 12 | 15 |
| 13 #include "ash/root_window_controller.h" | 16 #include "ash/root_window_controller.h" |
| 14 #include "ash/shell_delegate.h" | 17 #include "ash/shell_delegate.h" |
| 15 #include "base/callback_forward.h" | 18 #include "base/callback_forward.h" |
| 16 #include "base/macros.h" | 19 #include "base/macros.h" |
| 17 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
| 18 #include "services/ui/common/types.h" | 21 #include "services/ui/common/types.h" |
| 19 #include "services/ui/public/interfaces/display/display_controller.mojom.h" | 22 #include "services/ui/public/interfaces/display/display_controller.mojom.h" |
| 20 #include "services/ui/public/interfaces/window_manager.mojom.h" | 23 #include "services/ui/public/interfaces/window_manager.mojom.h" |
| 21 #include "ui/aura/mus/window_manager_delegate.h" | 24 #include "ui/aura/mus/window_manager_delegate.h" |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 | 230 |
| 228 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_; | 231 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_; |
| 229 uint16_t next_accelerator_namespace_id_ = 0u; | 232 uint16_t next_accelerator_namespace_id_ = 0u; |
| 230 | 233 |
| 231 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 234 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 232 | 235 |
| 233 // The ShellDelegate to install. This may be null, in which case | 236 // The ShellDelegate to install. This may be null, in which case |
| 234 // ShellDelegateMus is used. | 237 // ShellDelegateMus is used. |
| 235 std::unique_ptr<ShellDelegate> shell_delegate_; | 238 std::unique_ptr<ShellDelegate> shell_delegate_; |
| 236 | 239 |
| 237 // See ShellPortMash's constructor for details. Tests may set to false. | |
| 238 bool create_session_state_delegate_stub_for_test_ = true; | |
| 239 | |
| 240 // State that is only valid during a drag. | 240 // State that is only valid during a drag. |
| 241 struct DragState; | 241 struct DragState; |
| 242 std::unique_ptr<DragState> drag_state_; | 242 std::unique_ptr<DragState> drag_state_; |
| 243 | 243 |
| 244 std::unique_ptr<ui::InputDeviceClient> input_device_client_; | 244 std::unique_ptr<ui::InputDeviceClient> input_device_client_; |
| 245 | 245 |
| 246 DISALLOW_COPY_AND_ASSIGN(WindowManager); | 246 DISALLOW_COPY_AND_ASSIGN(WindowManager); |
| 247 }; | 247 }; |
| 248 | 248 |
| 249 } // namespace mus | 249 } // namespace mus |
| 250 } // namespace ash | 250 } // namespace ash |
| 251 | 251 |
| 252 #endif // ASH_MUS_WINDOW_MANAGER_H_ | 252 #endif // ASH_MUS_WINDOW_MANAGER_H_ |
| OLD | NEW |