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

Side by Side Diff: ash/shell.h

Issue 1965073002: Rename gfx::Display to display::Display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « ash/screen_util.h ('k') | ash/wm/common/window_positioner.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 (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_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 // has a launcher. 215 // has a launcher.
216 static aura::Window* GetPrimaryRootWindow(); 216 static aura::Window* GetPrimaryRootWindow();
217 217
218 // Returns a root Window when used as a target when creating a new window. 218 // Returns a root Window when used as a target when creating a new window.
219 // The root window of the active window is used in most cases, but can 219 // The root window of the active window is used in most cases, but can
220 // be overridden by using ScopedTargetRootWindow(). 220 // be overridden by using ScopedTargetRootWindow().
221 // If you want to get the root Window of the active window, just use 221 // If you want to get the root Window of the active window, just use
222 // |wm::GetActiveWindow()->GetRootWindow()|. 222 // |wm::GetActiveWindow()->GetRootWindow()|.
223 static aura::Window* GetTargetRootWindow(); 223 static aura::Window* GetTargetRootWindow();
224 224
225 // Returns the id of the gfx::Display corresponding to the window returned 225 // Returns the id of the display::Display corresponding to the window returned
226 // by |GetTargetRootWindow()| 226 // by |GetTargetRootWindow()|
227 static int64_t GetTargetDisplayId(); 227 static int64_t GetTargetDisplayId();
228 228
229 // Returns all root windows. 229 // Returns all root windows.
230 static aura::Window::Windows GetAllRootWindows(); 230 static aura::Window::Windows GetAllRootWindows();
231 231
232 static aura::Window* GetContainer(aura::Window* root_window, 232 static aura::Window* GetContainer(aura::Window* root_window,
233 int container_id); 233 int container_id);
234 static const aura::Window* GetContainer(const aura::Window* root_window, 234 static const aura::Window* GetContainer(const aura::Window* root_window,
235 int container_id); 235 int container_id);
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 bool in_mus_ = false; 814 bool in_mus_ = false;
815 815
816 std::unique_ptr<KeyboardUI> keyboard_ui_; 816 std::unique_ptr<KeyboardUI> keyboard_ui_;
817 817
818 DISALLOW_COPY_AND_ASSIGN(Shell); 818 DISALLOW_COPY_AND_ASSIGN(Shell);
819 }; 819 };
820 820
821 } // namespace ash 821 } // namespace ash
822 822
823 #endif // ASH_SHELL_H_ 823 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/screen_util.h ('k') | ash/wm/common/window_positioner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698