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

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

Issue 2445583002: Relocate display_manager from ash to ui (Closed)
Patch Set: fix windows build Created 4 years, 1 month 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
(...skipping 59 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 90 // 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. 91 // necessary to safely delete the WTH that is currently handling input events.
92 void Close(bool delay_host_deletion); 92 void Close(bool delay_host_deletion);
93 93
94 void CloseAndDeleteHost(MirroringHostInfo* host_info, 94 void CloseAndDeleteHost(MirroringHostInfo* host_info,
95 bool delay_host_deletion); 95 bool delay_host_deletion);
96 96
97 typedef std::map<int64_t, MirroringHostInfo*> MirroringHostInfoMap; 97 typedef std::map<int64_t, MirroringHostInfo*> MirroringHostInfoMap;
98 MirroringHostInfoMap mirroring_host_info_map_; 98 MirroringHostInfoMap mirroring_host_info_map_;
99 99
100 DisplayManager::MultiDisplayMode multi_display_mode_; 100 display::DisplayManager::MultiDisplayMode multi_display_mode_;
101 101
102 std::unique_ptr<aura::client::ScreenPositionClient> screen_position_client_; 102 std::unique_ptr<aura::client::ScreenPositionClient> screen_position_client_;
103 103
104 std::unique_ptr<ui::Reflector> reflector_; 104 std::unique_ptr<ui::Reflector> reflector_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(MirrorWindowController); 106 DISALLOW_COPY_AND_ASSIGN(MirrorWindowController);
107 }; 107 };
108 108
109 } // namespace ash 109 } // namespace ash
110 110
111 #endif // ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_ 111 #endif // ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/display/extended_mouse_warp_controller_unittest.cc ('k') | ash/display/mirror_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698