forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makes ash/mus use RootWindowControllerCommon
BUG=none TEST=covered by tests R=jamescook@chromium.org Review-Url: https://codereview.chromium.org/2033843003 Cr-Commit-Position: refs/heads/master@{#398066}
- Loading branch information
sky
authored and
Commit bot
committed
Jun 6, 2016
1 parent
2b359d2
commit 8208371
Showing
25 changed files
with
220 additions
and
458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright 2016 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "ash/common/shell_window_ids.h" | ||
|
||
#include "base/macros.h" | ||
|
||
namespace ash { | ||
|
||
// NOTE: this list is ordered by activation order. That is, windows in | ||
// containers appearing earlier in the list are activated before windows in | ||
// containers appearing later in the list. | ||
const int kActivatableShellWindowIds[] = { | ||
kShellWindowId_OverlayContainer, kShellWindowId_LockSystemModalContainer, | ||
kShellWindowId_SettingBubbleContainer, kShellWindowId_LockScreenContainer, | ||
kShellWindowId_SystemModalContainer, kShellWindowId_AlwaysOnTopContainer, | ||
kShellWindowId_AppListContainer, kShellWindowId_DefaultContainer, | ||
|
||
// Docked, panel, launcher and status are intentionally checked after other | ||
// containers even though these layers are higher. The user expects their | ||
// windows to be focused before these elements. | ||
kShellWindowId_DockedContainer, kShellWindowId_PanelContainer, | ||
kShellWindowId_ShelfContainer, kShellWindowId_StatusContainer, | ||
}; | ||
|
||
const size_t kNumActivatableShellWindowIds = | ||
arraysize(kActivatableShellWindowIds); | ||
|
||
} // namespace ash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.