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/ash_switches.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace ash { | 9 namespace ash { |
10 namespace switches { | 10 namespace switches { |
(...skipping 28 matching lines...) Expand all Loading... |
39 const char kAshDefaultWallpaperSmall[] = "ash-default-wallpaper-small"; | 39 const char kAshDefaultWallpaperSmall[] = "ash-default-wallpaper-small"; |
40 | 40 |
41 // Use the normal visual style for the caption buttons (minimize, maximize, | 41 // Use the normal visual style for the caption buttons (minimize, maximize, |
42 // restore, close). | 42 // restore, close). |
43 const char kAshDisableAlternateFrameCaptionButtonStyle[] = | 43 const char kAshDisableAlternateFrameCaptionButtonStyle[] = |
44 "ash-disable-alternate-caption-button"; | 44 "ash-disable-alternate-caption-button"; |
45 | 45 |
46 // Disable ability to dock windows at the desktop edge. | 46 // Disable ability to dock windows at the desktop edge. |
47 const char kAshDisableDockedWindows[] = "ash-disable-docked-windows"; | 47 const char kAshDisableDockedWindows[] = "ash-disable-docked-windows"; |
48 | 48 |
| 49 // Disable the Touch Exploration Mode. Touch Exploration Mode is no longer |
| 50 // turned on automatically when spoken feedback is enabled when this flag is |
| 51 // set. |
| 52 const char kAshDisableTouchExplorationMode[] = |
| 53 "ash-disable-touch-exploration-mode"; |
| 54 |
49 // Use alternate visual style for the caption buttons (minimize, maximize, | 55 // Use alternate visual style for the caption buttons (minimize, maximize, |
50 // restore, close). The alternate style: | 56 // restore, close). The alternate style: |
51 // - Adds a dedicated button for minimize. | 57 // - Adds a dedicated button for minimize. |
52 // - Removes the maximize button's help bubble. | 58 // - Removes the maximize button's help bubble. |
53 const char kAshEnableAlternateFrameCaptionButtonStyle[] = | 59 const char kAshEnableAlternateFrameCaptionButtonStyle[] = |
54 "ash-enable-alternate-caption-button"; | 60 "ash-enable-alternate-caption-button"; |
55 | 61 |
56 #if defined(OS_CHROMEOS) | 62 #if defined(OS_CHROMEOS) |
57 // Enables key bindings to scroll magnified screen. | 63 // Enables key bindings to scroll magnified screen. |
58 const char kAshEnableMagnifierKeyScroller[] = | 64 const char kAshEnableMagnifierKeyScroller[] = |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 return !CommandLine::ForCurrentProcess()-> | 127 return !CommandLine::ForCurrentProcess()-> |
122 HasSwitch(kAshDisableAlternateFrameCaptionButtonStyle); | 128 HasSwitch(kAshDisableAlternateFrameCaptionButtonStyle); |
123 } | 129 } |
124 | 130 |
125 bool UseDockedWindows() { | 131 bool UseDockedWindows() { |
126 return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows); | 132 return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows); |
127 } | 133 } |
128 | 134 |
129 } // namespace switches | 135 } // namespace switches |
130 } // namespace ash | 136 } // namespace ash |
OLD | NEW |