Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: ash/mus/window_manager.h

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)
Patch Set: rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <unordered_map>
James Cook 2017/05/30 21:27:15 nit: not needed
xiyuan 2017/05/30 22:44:14 Done.
15 #include <vector>
12 16
13 #include "ash/root_window_controller.h" 17 #include "ash/root_window_controller.h"
14 #include "ash/shell_delegate.h" 18 #include "ash/shell_delegate.h"
15 #include "base/callback_forward.h" 19 #include "base/callback_forward.h"
16 #include "base/macros.h" 20 #include "base/macros.h"
17 #include "base/memory/ref_counted.h" 21 #include "base/memory/ref_counted.h"
18 #include "services/ui/common/types.h" 22 #include "services/ui/common/types.h"
19 #include "services/ui/public/interfaces/display/display_controller.mojom.h" 23 #include "services/ui/public/interfaces/display/display_controller.mojom.h"
20 #include "services/ui/public/interfaces/window_manager.mojom.h" 24 #include "services/ui/public/interfaces/window_manager.mojom.h"
21 #include "ui/aura/mus/window_manager_delegate.h" 25 #include "ui/aura/mus/window_manager_delegate.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 231
228 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_; 232 std::map<uint16_t, AcceleratorHandler*> accelerator_handlers_;
229 uint16_t next_accelerator_namespace_id_ = 0u; 233 uint16_t next_accelerator_namespace_id_ = 0u;
230 234
231 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 235 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
232 236
233 // The ShellDelegate to install. This may be null, in which case 237 // The ShellDelegate to install. This may be null, in which case
234 // ShellDelegateMus is used. 238 // ShellDelegateMus is used.
235 std::unique_ptr<ShellDelegate> shell_delegate_; 239 std::unique_ptr<ShellDelegate> shell_delegate_;
236 240
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. 241 // State that is only valid during a drag.
241 struct DragState; 242 struct DragState;
242 std::unique_ptr<DragState> drag_state_; 243 std::unique_ptr<DragState> drag_state_;
243 244
244 std::unique_ptr<ui::InputDeviceClient> input_device_client_; 245 std::unique_ptr<ui::InputDeviceClient> input_device_client_;
245 246
246 DISALLOW_COPY_AND_ASSIGN(WindowManager); 247 DISALLOW_COPY_AND_ASSIGN(WindowManager);
247 }; 248 };
248 249
249 } // namespace mus 250 } // namespace mus
250 } // namespace ash 251 } // namespace ash
251 252
252 #endif // ASH_MUS_WINDOW_MANAGER_H_ 253 #endif // ASH_MUS_WINDOW_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698