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

Side by Side Diff: ash/ash_switches.cc

Issue 240333007: wip: Second crack at implementing the touch exploration mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding a flag to disable the touch exploration mode. Created 6 years, 7 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
« no previous file with comments | « ash/ash_switches.h ('k') | ash/default_accessibility_delegate.cc » ('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 (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
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
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
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/default_accessibility_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698