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

Side by Side Diff: ash/common/wm_shell.h

Issue 2347493003: Moves RootWindowController::MoveWindowsTo to WmRootWindowController (Closed)
Patch Set: merge to trunk Created 4 years, 3 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_root_window_controller.cc ('k') | ash/mus/bridge/wm_shell_mus.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_COMMON_WM_SHELL_H_ 5 #ifndef ASH_COMMON_WM_SHELL_H_
6 #define ASH_COMMON_WM_SHELL_H_ 6 #define ASH_COMMON_WM_SHELL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 // Retuns the display info associated with |display_id|. 192 // Retuns the display info associated with |display_id|.
193 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480 193 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480
194 virtual const display::ManagedDisplayInfo& GetDisplayInfo( 194 virtual const display::ManagedDisplayInfo& GetDisplayInfo(
195 int64_t display_id) const = 0; 195 int64_t display_id) const = 0;
196 196
197 // Matches that of DisplayManager::IsActiveDisplayId(). 197 // Matches that of DisplayManager::IsActiveDisplayId().
198 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480 198 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480
199 virtual bool IsActiveDisplayId(int64_t display_id) const = 0; 199 virtual bool IsActiveDisplayId(int64_t display_id) const = 0;
200 200
201 // Returns true if the desktop is in unified mode and there are no mirroring
202 // displays.
203 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480
204 virtual bool IsInUnifiedMode() const = 0;
205
201 // Returns true if the desktop is in unified mode. 206 // Returns true if the desktop is in unified mode.
202 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480 207 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480
203 virtual bool IsInUnifiedMode() const = 0; 208 virtual bool IsInUnifiedModeIgnoreMirroring() const = 0;
204 209
205 // Returns the first display; this is the first display listed by hardware, 210 // Returns the first display; this is the first display listed by hardware,
206 // which corresponds to internal displays on devices with integrated displays. 211 // which corresponds to internal displays on devices with integrated displays.
207 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480 212 // TODO(mash): Remove when DisplayManager has been moved. crbug.com/622480
208 virtual display::Display GetFirstDisplay() const = 0; 213 virtual display::Display GetFirstDisplay() const = 0;
209 214
210 // Returns true if the first window shown on first run should be 215 // Returns true if the first window shown on first run should be
211 // unconditionally maximized, overriding the heuristic that normally chooses 216 // unconditionally maximized, overriding the heuristic that normally chooses
212 // the window size. 217 // the window size.
213 virtual bool IsForceMaximizeOnFirstRun() = 0; 218 virtual bool IsForceMaximizeOnFirstRun() = 0;
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 466 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
462 467
463 #if defined(OS_CHROMEOS) 468 #if defined(OS_CHROMEOS)
464 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; 469 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_;
465 #endif 470 #endif
466 }; 471 };
467 472
468 } // namespace ash 473 } // namespace ash
469 474
470 #endif // ASH_COMMON_WM_SHELL_H_ 475 #endif // ASH_COMMON_WM_SHELL_H_
OLDNEW
« no previous file with comments | « ash/common/wm_root_window_controller.cc ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698