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

Side by Side Diff: ash/first_run/desktop_cleaner.cc

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « ash/first_run/desktop_cleaner.h ('k') | ash/first_run/first_run_helper_impl.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 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
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
OLDNEW
« no previous file with comments | « ash/first_run/desktop_cleaner.h ('k') | ash/first_run/first_run_helper_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698