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

Side by Side Diff: ash/shell.h

Issue 2726823003: Remove WmLookup. (Closed)
Patch Set: Clean up and rebase. Created 3 years, 9 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) 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 // Returns true if the ash shell has been instantiated. 156 // Returns true if the ash shell has been instantiated.
157 static bool HasInstance(); 157 static bool HasInstance();
158 158
159 static void DeleteInstance(); 159 static void DeleteInstance();
160 160
161 // Returns the root window controller for the primary root window. 161 // Returns the root window controller for the primary root window.
162 // TODO(oshima): move this to |RootWindowController| 162 // TODO(oshima): move this to |RootWindowController|
163 static RootWindowController* GetPrimaryRootWindowController(); 163 static RootWindowController* GetPrimaryRootWindowController();
164 164
165 // Return RootWindowController* if RootWindowController with specified
sky 2017/03/02 23:49:57 How about: Returns the RootWindowController for th
thanhph1 2017/03/03 16:29:53 Done, sounds good!
166 // display id exists.
167 static RootWindowController* GetRootWindowControllerWithDisplayId(
168 int64_t display_id);
169
165 // Returns all root window controllers. 170 // Returns all root window controllers.
166 // TODO(oshima): move this to |RootWindowController| 171 // TODO(oshima): move this to |RootWindowController|
167 static RootWindowControllerList GetAllRootWindowControllers(); 172 static RootWindowControllerList GetAllRootWindowControllers();
168 173
169 // Returns the primary root Window. The primary root Window is the one that 174 // Returns the primary root Window. The primary root Window is the one that
170 // has a launcher. 175 // has a launcher.
171 static aura::Window* GetPrimaryRootWindow(); 176 static aura::Window* GetPrimaryRootWindow();
172 177
173 // Returns a root Window when used as a target when creating a new window. 178 // Returns a root Window when used as a target when creating a new window.
174 // The root window of the active window is used in most cases, but can 179 // The root window of the active window is used in most cases, but can
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_; 570 std::unique_ptr<ImmersiveHandlerFactoryAsh> immersive_handler_factory_;
566 571
567 std::unique_ptr<AppListDelegateImpl> app_list_delegate_impl_; 572 std::unique_ptr<AppListDelegateImpl> app_list_delegate_impl_;
568 573
569 DISALLOW_COPY_AND_ASSIGN(Shell); 574 DISALLOW_COPY_AND_ASSIGN(Shell);
570 }; 575 };
571 576
572 } // namespace ash 577 } // namespace ash
573 578
574 #endif // ASH_SHELL_H_ 579 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698