| 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/common/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 { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 // Disable the support for WebContents to lock the screen orientation. | 37 // Disable the support for WebContents to lock the screen orientation. |
| 38 const char kAshDisableScreenOrientationLock[] = | 38 const char kAshDisableScreenOrientationLock[] = |
| 39 "ash-disable-screen-orientation-lock"; | 39 "ash-disable-screen-orientation-lock"; |
| 40 | 40 |
| 41 // Disable the Touch Exploration Mode. Touch Exploration Mode will no longer be | 41 // Disable the Touch Exploration Mode. Touch Exploration Mode will no longer be |
| 42 // turned on automatically when spoken feedback is enabled when this flag is | 42 // turned on automatically when spoken feedback is enabled when this flag is |
| 43 // set. | 43 // set. |
| 44 const char kAshDisableTouchExplorationMode[] = | 44 const char kAshDisableTouchExplorationMode[] = |
| 45 "ash-disable-touch-exploration-mode"; | 45 "ash-disable-touch-exploration-mode"; |
| 46 | 46 |
| 47 // Enables fullscreen app list if Ash is in maximize mode. | |
| 48 const char kAshEnableFullscreenAppList[] = "ash-enable-fullscreen-app-list"; | |
| 49 | |
| 50 // Enables key bindings to scroll magnified screen. | 47 // Enables key bindings to scroll magnified screen. |
| 51 const char kAshEnableMagnifierKeyScroller[] = | 48 const char kAshEnableMagnifierKeyScroller[] = |
| 52 "ash-enable-magnifier-key-scroller"; | 49 "ash-enable-magnifier-key-scroller"; |
| 53 | 50 |
| 54 // Enables the palette on every display, instead of only the internal one. | 51 // Enables the palette on every display, instead of only the internal one. |
| 55 const char kAshEnablePaletteOnAllDisplays[] = | 52 const char kAshEnablePaletteOnAllDisplays[] = |
| 56 "ash-enable-palette-on-all-displays"; | 53 "ash-enable-palette-on-all-displays"; |
| 57 | 54 |
| 58 // Enables docking windows to the right or left (not to be confused with snapped | 55 // Enables docking windows to the right or left (not to be confused with snapped |
| 59 // windows). | 56 // windows). |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 kAshConstrainPointerToRoot); | 88 kAshConstrainPointerToRoot); |
| 92 } | 89 } |
| 93 | 90 |
| 94 bool DockedWindowsEnabled() { | 91 bool DockedWindowsEnabled() { |
| 95 return base::CommandLine::ForCurrentProcess()->HasSwitch( | 92 return base::CommandLine::ForCurrentProcess()->HasSwitch( |
| 96 ash::switches::kAshEnableDockedWindows); | 93 ash::switches::kAshEnableDockedWindows); |
| 97 } | 94 } |
| 98 | 95 |
| 99 } // namespace switches | 96 } // namespace switches |
| 100 } // namespace ash | 97 } // namespace ash |
| OLD | NEW |