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

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

Issue 2633293005: Converts mash to use Shell (Closed)
Patch Set: feedback Created 3 years, 11 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/common/wm_shell.cc ('k') | ash/display/window_tree_host_manager.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WINDOW_TREE_HOST_MANAGER_H_ 5 #ifndef ASH_DISPLAY_WINDOW_TREE_HOST_MANAGER_H_
6 #define ASH_DISPLAY_WINDOW_TREE_HOST_MANAGER_H_ 6 #define ASH_DISPLAY_WINDOW_TREE_HOST_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 aura::Window* GetRootWindowForDisplayId(int64_t id); 109 aura::Window* GetRootWindowForDisplayId(int64_t id);
110 110
111 // Returns AshWTH for given display |id|. Call results in CHECK failure 111 // Returns AshWTH for given display |id|. Call results in CHECK failure
112 // if the WTH does not exist. 112 // if the WTH does not exist.
113 AshWindowTreeHost* GetAshWindowTreeHostForDisplayId(int64_t id); 113 AshWindowTreeHost* GetAshWindowTreeHostForDisplayId(int64_t id);
114 114
115 // Sets the primary display by display id. This re-assigns the current primary 115 // Sets the primary display by display id. This re-assigns the current primary
116 // root window host to to new primary display. 116 // root window host to to new primary display.
117 void SetPrimaryDisplayId(int64_t id); 117 void SetPrimaryDisplayId(int64_t id);
118 118
119 // Closes all child windows in the all root windows.
120 void CloseChildWindows();
121
122 // Returns all root windows. In non extended desktop mode, this 119 // Returns all root windows. In non extended desktop mode, this
123 // returns the primary root window only. 120 // returns the primary root window only.
124 aura::Window::Windows GetAllRootWindows(); 121 aura::Window::Windows GetAllRootWindows();
125 122
126 // Returns all oot window controllers. In non extended desktop 123 // Returns all oot window controllers. In non extended desktop
127 // mode, this return a RootWindowController for the primary root window only. 124 // mode, this return a RootWindowController for the primary root window only.
128 std::vector<RootWindowController*> GetAllRootWindowControllers(); 125 std::vector<RootWindowController*> GetAllRootWindowControllers();
129 126
130 // Gets/Sets/Clears the overscan insets for the specified |display_id|. See 127 // Gets/Sets/Clears the overscan insets for the specified |display_id|. See
131 // display_manager.h for the details. 128 // display_manager.h for the details.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 int64_t cursor_display_id_for_restore_; 209 int64_t cursor_display_id_for_restore_;
213 210
214 base::WeakPtrFactory<WindowTreeHostManager> weak_ptr_factory_; 211 base::WeakPtrFactory<WindowTreeHostManager> weak_ptr_factory_;
215 212
216 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostManager); 213 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostManager);
217 }; 214 };
218 215
219 } // namespace ash 216 } // namespace ash
220 217
221 #endif // ASH_DISPLAY_WINDOW_TREE_HOST_MANAGER_H_ 218 #endif // ASH_DISPLAY_WINDOW_TREE_HOST_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/display/window_tree_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698