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

Side by Side Diff: ash/display/mirror_window_controller.h

Issue 2445583002: Relocate display_manager from ash to ui (Closed)
Patch Set: Created 4 years, 2 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_
6 #define ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_ 6 #define ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 #include <vector> 12 #include <vector>
13 13
14 #include "ash/ash_export.h" 14 #include "ash/ash_export.h"
15 #include "ash/display/display_manager.h"
16 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
17 #include "base/macros.h" 16 #include "base/macros.h"
18 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
19 #include "ui/aura/window.h" 18 #include "ui/aura/window.h"
20 #include "ui/aura/window_tree_host_observer.h" 19 #include "ui/aura/window_tree_host_observer.h"
20 #include "ui/display/manager/display_manager.h"
21 #include "ui/gfx/geometry/size.h" 21 #include "ui/gfx/geometry/size.h"
22 #include "ui/gfx/native_widget_types.h" 22 #include "ui/gfx/native_widget_types.h"
23 23
24 namespace aura { 24 namespace aura {
25 class Window; 25 class Window;
26 namespace client { 26 namespace client {
27 class ScreenPositionClient; 27 class ScreenPositionClient;
28 } 28 }
29 } 29 }
30 30
31 namespace display { 31 namespace display {
32 class Display; 32 class Display;
33 class DisplayManager;
kylechar 2016/10/24 14:55:15 The forward def isn't needed with the include.
rjkroege 2016/10/25 23:30:26 Done.
33 class ManagedDisplayInfo; 34 class ManagedDisplayInfo;
34 } 35 }
35 36
36 namespace ui { 37 namespace ui {
37 class Reflector; 38 class Reflector;
38 } 39 }
39 40
40 namespace ash { 41 namespace ash {
41 class AshWindowTreeHost; 42 class AshWindowTreeHost;
42 class RootWindowTransformer; 43 class RootWindowTransformer;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // tree host will be deleted in an another task on UI thread. This is 91 // tree host will be deleted in an another task on UI thread. This is
91 // necessary to safely delete the WTH that is currently handling input events. 92 // necessary to safely delete the WTH that is currently handling input events.
92 void Close(bool delay_host_deletion); 93 void Close(bool delay_host_deletion);
93 94
94 void CloseAndDeleteHost(MirroringHostInfo* host_info, 95 void CloseAndDeleteHost(MirroringHostInfo* host_info,
95 bool delay_host_deletion); 96 bool delay_host_deletion);
96 97
97 typedef std::map<int64_t, MirroringHostInfo*> MirroringHostInfoMap; 98 typedef std::map<int64_t, MirroringHostInfo*> MirroringHostInfoMap;
98 MirroringHostInfoMap mirroring_host_info_map_; 99 MirroringHostInfoMap mirroring_host_info_map_;
99 100
100 DisplayManager::MultiDisplayMode multi_display_mode_; 101 display::DisplayManager::MultiDisplayMode multi_display_mode_;
101 102
102 std::unique_ptr<aura::client::ScreenPositionClient> screen_position_client_; 103 std::unique_ptr<aura::client::ScreenPositionClient> screen_position_client_;
103 104
104 std::unique_ptr<ui::Reflector> reflector_; 105 std::unique_ptr<ui::Reflector> reflector_;
105 106
106 DISALLOW_COPY_AND_ASSIGN(MirrorWindowController); 107 DISALLOW_COPY_AND_ASSIGN(MirrorWindowController);
107 }; 108 };
108 109
109 } // namespace ash 110 } // namespace ash
110 111
111 #endif // ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_ 112 #endif // ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698