Chromium Code Reviews| Index: ash/common/wm_shell.h |
| diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h |
| index 78ee00d2744ef22abecc1d6e38367f00db1de364..66e84e5731f20008087937a8644607ee8bd41218 100644 |
| --- a/ash/common/wm_shell.h |
| +++ b/ash/common/wm_shell.h |
| @@ -24,6 +24,7 @@ class PointerWatcher; |
| namespace ash { |
| class AccessibilityDelegate; |
| +class DisplayInfo; |
| class FocusCycler; |
| class MruWindowTracker; |
| class SessionStateDelegate; |
| @@ -77,6 +78,10 @@ class ASH_EXPORT WmShell { |
| // appropriate container in the returned window. |
| virtual WmWindow* GetRootWindowForNewWindows() = 0; |
| + // Retuns the display info associated with |display_id|. |
| + // TODO(msw): Remove this when DisplayManager has been moved. |
|
James Cook
2016/06/22 21:27:24
maybe cite the bug here?
msw
2016/06/22 22:16:11
Done.
|
| + virtual const DisplayInfo& GetDisplayInfo(int64_t display_id) const = 0; |
| + |
| // Returns true if the first window shown on first run should be |
| // unconditionally maximized, overriding the heuristic that normally chooses |
| // the window size. |
| @@ -105,8 +110,7 @@ class ASH_EXPORT WmShell { |
| // Returns true if |window| can be shown for the current user. This is |
| // intended to check if the current user matches the user associated with |
| // |window|. |
| - // TODO(jamescook): Remove this when ShellDelegate is accessible via this |
| - // interface. |
| + // TODO(jamescook): Remove this when ShellDelegate has been moved. |
| virtual bool CanShowWindowForUser(WmWindow* window) = 0; |
| // See aura::client::CursorClient for details on these. |