OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ash_switches.h" | 5 #include "ash/common/ash_switches.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/sys_info.h" | 8 #include "base/sys_info.h" |
9 | 9 |
10 namespace ash { | 10 namespace ash { |
11 namespace switches { | 11 namespace switches { |
12 | 12 |
13 // Enables an animated transition from the boot splash screen (Chrome logo on a | 13 // Enables an animated transition from the boot splash screen (Chrome logo on a |
14 // white background) to the login screen. Implies | 14 // white background) to the login screen. Implies |
15 // |kAshCopyHostBackgroundAtBoot| and doesn't make much sense if used in | 15 // |kAshCopyHostBackgroundAtBoot| and doesn't make much sense if used in |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 | 136 |
137 return base::SysInfo::IsRunningOnChromeOS() || | 137 return base::SysInfo::IsRunningOnChromeOS() || |
138 base::CommandLine::ForCurrentProcess()->HasSwitch( | 138 base::CommandLine::ForCurrentProcess()->HasSwitch( |
139 kAshConstrainPointerToRoot); | 139 kAshConstrainPointerToRoot); |
140 } | 140 } |
141 | 141 |
142 #endif | 142 #endif |
143 | 143 |
144 } // namespace switches | 144 } // namespace switches |
145 } // namespace ash | 145 } // namespace ash |
OLD | NEW |