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

Side by Side Diff: ash/host/ash_window_tree_host_unified.h

Issue 2270553002: Move ash::DisplayInfo to ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 3 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
« no previous file with comments | « ash/display/window_tree_host_manager_unittest.cc ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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 Reflector; 15 class Reflector;
16 } 16 }
17 17
18 namespace ash { 18 namespace ash {
19 class DisplayInfo;
20 19
21 // A WTH used for unified desktop mode. This creates an offscreen 20 // A WTH used for unified desktop mode. This creates an offscreen
22 // compositor whose texture will be copied into each displays' 21 // compositor whose texture will be copied into each displays'
23 // compositor. 22 // compositor.
24 class AshWindowTreeHostUnified : public AshWindowTreeHostPlatform, 23 class AshWindowTreeHostUnified : public AshWindowTreeHostPlatform,
25 public aura::WindowObserver { 24 public aura::WindowObserver {
26 public: 25 public:
27 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds); 26 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds);
28 ~AshWindowTreeHostUnified() override; 27 ~AshWindowTreeHostUnified() override;
29 28
(...skipping 14 matching lines...) Expand all
44 void OnWindowDestroying(aura::Window* window) override; 43 void OnWindowDestroying(aura::Window* window) override;
45 44
46 std::vector<AshWindowTreeHost*> mirroring_hosts_; 45 std::vector<AshWindowTreeHost*> mirroring_hosts_;
47 46
48 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); 47 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified);
49 }; 48 };
50 49
51 } // namespace ash 50 } // namespace ash
52 51
53 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ 52 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_
OLDNEW
« no previous file with comments | « ash/display/window_tree_host_manager_unittest.cc ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698