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

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

Issue 1924703002: Rename gfx::Display/Screen to display::Display/Screen in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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>
(...skipping 14 matching lines...) Expand all
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 gfx { 31 namespace gfx {
32 class Display; 32 class Display;
33 } 33 }
34 34
35 namespace display {
36 using Display = gfx::Display;
37 }
38
35 namespace ui { 39 namespace ui {
36 class Reflector; 40 class Reflector;
37 } 41 }
38 42
39 namespace ash { 43 namespace ash {
40 class AshWindowTreeHost; 44 class AshWindowTreeHost;
41 class DisplayInfo; 45 class DisplayInfo;
42 class RootWindowTransformer; 46 class RootWindowTransformer;
43 47
44 namespace test{ 48 namespace test{
(...skipping 19 matching lines...) Expand all
64 // Close the mirror window if they're not necessary any longer. 68 // Close the mirror window if they're not necessary any longer.
65 void CloseIfNotNecessary(); 69 void CloseIfNotNecessary();
66 70
67 // aura::WindowTreeHostObserver overrides: 71 // aura::WindowTreeHostObserver overrides:
68 void OnHostResized(const aura::WindowTreeHost* host) override; 72 void OnHostResized(const aura::WindowTreeHost* host) override;
69 73
70 // Return the root window used to mirror the content. NULL if the 74 // Return the root window used to mirror the content. NULL if the
71 // display is not mirrored by the compositor path. 75 // display is not mirrored by the compositor path.
72 aura::Window* GetWindow(); 76 aura::Window* GetWindow();
73 77
74 // Returns the gfx::Display for the mirroring root window. 78 // Returns the display::Display for the mirroring root window.
75 gfx::Display GetDisplayForRootWindow(const aura::Window* root) const; 79 display::Display GetDisplayForRootWindow(const aura::Window* root) const;
76 80
77 // Returns the AshWindwoTreeHost created for |display_id|. 81 // Returns the AshWindwoTreeHost created for |display_id|.
78 AshWindowTreeHost* GetAshWindowTreeHostForDisplayId(int64_t display_id); 82 AshWindowTreeHost* GetAshWindowTreeHostForDisplayId(int64_t display_id);
79 83
80 // Returns all root windows hosting mirroring displays. 84 // Returns all root windows hosting mirroring displays.
81 aura::Window::Windows GetAllRootWindows() const; 85 aura::Window::Windows GetAllRootWindows() const;
82 86
83 private: 87 private:
84 friend class test::MirrorWindowTestApi; 88 friend class test::MirrorWindowTestApi;
85 89
(...skipping 15 matching lines...) Expand all
101 std::unique_ptr<aura::client::ScreenPositionClient> screen_position_client_; 105 std::unique_ptr<aura::client::ScreenPositionClient> screen_position_client_;
102 106
103 std::unique_ptr<ui::Reflector> reflector_; 107 std::unique_ptr<ui::Reflector> reflector_;
104 108
105 DISALLOW_COPY_AND_ASSIGN(MirrorWindowController); 109 DISALLOW_COPY_AND_ASSIGN(MirrorWindowController);
106 }; 110 };
107 111
108 } // namespace ash 112 } // namespace ash
109 113
110 #endif // ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_ 114 #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