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

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

Issue 2526333002: ash: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase Created 4 years 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/host/ash_window_tree_host.h ('k') | ash/host/ash_window_tree_host_x11.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 {
15 class Reflector;
16 }
17
18 namespace ash { 14 namespace ash {
19 15
20 // A WTH used for unified desktop mode. This creates an offscreen 16 // A WTH used for unified desktop mode. This creates an offscreen
21 // compositor whose texture will be copied into each displays' 17 // compositor whose texture will be copied into each displays'
22 // compositor. 18 // compositor.
23 class AshWindowTreeHostUnified : public AshWindowTreeHostPlatform, 19 class AshWindowTreeHostUnified : public AshWindowTreeHostPlatform,
24 public aura::WindowObserver { 20 public aura::WindowObserver {
25 public: 21 public:
26 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds); 22 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds);
27 ~AshWindowTreeHostUnified() override; 23 ~AshWindowTreeHostUnified() override;
(...skipping 15 matching lines...) Expand all
43 void OnWindowDestroying(aura::Window* window) override; 39 void OnWindowDestroying(aura::Window* window) override;
44 40
45 std::vector<AshWindowTreeHost*> mirroring_hosts_; 41 std::vector<AshWindowTreeHost*> mirroring_hosts_;
46 42
47 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); 43 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified);
48 }; 44 };
49 45
50 } // namespace ash 46 } // namespace ash
51 47
52 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ 48 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_
OLDNEW
« no previous file with comments | « ash/host/ash_window_tree_host.h ('k') | ash/host/ash_window_tree_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698