OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "ash/first_run/desktop_cleaner.h" | 5 #include "ash/first_run/desktop_cleaner.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell_window_ids.h" | 8 #include "ash/shell_window_ids.h" |
9 #include "ui/aura/window_event_dispatcher.h" | 9 #include "ui/aura/window_event_dispatcher.h" |
10 #include "ui/aura/window_observer.h" | 10 #include "ui/aura/window_observer.h" |
11 #include "ui/compositor/layer_animation_observer.h" | 11 #include "ui/compositor/layer_animation_observer.h" |
12 #include "ui/compositor/scoped_layer_animation_settings.h" | 12 #include "ui/compositor/scoped_layer_animation_settings.h" |
13 #include "ui/message_center/message_center.h" | 13 #include "ui/message_center/message_center.h" |
14 #include "ui/message_center/notification_blocker.h" | 14 #include "ui/message_center/notification_blocker.h" |
15 | 15 |
16 namespace ash { | 16 namespace ash { |
17 namespace internal { | |
18 | |
19 namespace { | 17 namespace { |
20 | 18 |
21 const int kContainerIdsToHide[] = { | 19 const int kContainerIdsToHide[] = { |
22 kShellWindowId_DefaultContainer, | 20 kShellWindowId_DefaultContainer, |
23 kShellWindowId_AlwaysOnTopContainer, | 21 kShellWindowId_AlwaysOnTopContainer, |
24 kShellWindowId_PanelContainer, | 22 kShellWindowId_PanelContainer, |
25 // TODO(dzhioev): uncomment this when issue with BrowserView::CanActivate | 23 // TODO(dzhioev): uncomment this when issue with BrowserView::CanActivate |
26 // will be fixed. | 24 // will be fixed. |
27 // kShellWindowId_SystemModalContainer | 25 // kShellWindowId_SystemModalContainer |
28 }; | 26 }; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 } | 105 } |
108 | 106 |
109 DesktopCleaner::~DesktopCleaner() {} | 107 DesktopCleaner::~DesktopCleaner() {} |
110 | 108 |
111 // static | 109 // static |
112 std::vector<int> DesktopCleaner::GetContainersToHideForTest() { | 110 std::vector<int> DesktopCleaner::GetContainersToHideForTest() { |
113 return std::vector<int>(kContainerIdsToHide, | 111 return std::vector<int>(kContainerIdsToHide, |
114 kContainerIdsToHide + arraysize(kContainerIdsToHide)); | 112 kContainerIdsToHide + arraysize(kContainerIdsToHide)); |
115 } | 113 } |
116 | 114 |
117 } // namespace internal | |
118 } // namespace ash | 115 } // namespace ash |
119 | 116 |
OLD | NEW |