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_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ | 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ | 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/host/ash_window_tree_host_platform.h" | 10 #include "ash/host/ash_window_tree_host_platform.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "ui/aura/window_observer.h" | 12 #include "ui/aura/window_observer.h" |
13 | 13 |
14 namespace ui { | 14 namespace ui { |
15 class ManagedDisplayInfo; | |
oshima
2016/08/26 21:47:53
remove this?
rjkroege
2016/08/29 22:21:59
Done.
| |
15 class Reflector; | 16 class Reflector; |
16 } | 17 } |
17 | 18 |
18 namespace ash { | 19 namespace ash { |
19 class DisplayInfo; | |
20 | 20 |
21 // A WTH used for unified desktop mode. This creates an offscreen | 21 // A WTH used for unified desktop mode. This creates an offscreen |
22 // compositor whose texture will be copied into each displays' | 22 // compositor whose texture will be copied into each displays' |
23 // compositor. | 23 // compositor. |
24 class AshWindowTreeHostUnified : public AshWindowTreeHostPlatform, | 24 class AshWindowTreeHostUnified : public AshWindowTreeHostPlatform, |
25 public aura::WindowObserver { | 25 public aura::WindowObserver { |
26 public: | 26 public: |
27 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds); | 27 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds); |
28 ~AshWindowTreeHostUnified() override; | 28 ~AshWindowTreeHostUnified() override; |
29 | 29 |
(...skipping 14 matching lines...) Expand all Loading... | |
44 void OnWindowDestroying(aura::Window* window) override; | 44 void OnWindowDestroying(aura::Window* window) override; |
45 | 45 |
46 std::vector<AshWindowTreeHost*> mirroring_hosts_; | 46 std::vector<AshWindowTreeHost*> mirroring_hosts_; |
47 | 47 |
48 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); | 48 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); |
49 }; | 49 }; |
50 | 50 |
51 } // namespace ash | 51 } // namespace ash |
52 | 52 |
53 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ | 53 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
OLD | NEW |