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

Side by Side Diff: ash/ash_switches.cc

Issue 261863002: Implementation of the Touch Exploration Mode - Part II (ash) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@touch_exploration_new_UI
Patch Set: Moving CrosAccessibilityObserver to anonymous namespace. 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/root_window_controller.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 (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 // Enable the Touch Exploration Mode. Touch Exploration Mode will be turned on
50 // automatically when spoken feedback is enabled when this flag is set.
51 const char kAshEnableTouchExplorationMode[] =
52 "ash-enable-touch-exploration-mode";
53
49 // Use alternate visual style for the caption buttons (minimize, maximize, 54 // Use alternate visual style for the caption buttons (minimize, maximize,
50 // restore, close). The alternate style: 55 // restore, close). The alternate style:
51 // - Adds a dedicated button for minimize. 56 // - Adds a dedicated button for minimize.
52 // - Removes the maximize button's help bubble. 57 // - Removes the maximize button's help bubble.
53 const char kAshEnableAlternateFrameCaptionButtonStyle[] = 58 const char kAshEnableAlternateFrameCaptionButtonStyle[] =
54 "ash-enable-alternate-caption-button"; 59 "ash-enable-alternate-caption-button";
55 60
56 #if defined(OS_CHROMEOS) 61 #if defined(OS_CHROMEOS)
57 // Enables key bindings to scroll magnified screen. 62 // Enables key bindings to scroll magnified screen.
58 const char kAshEnableMagnifierKeyScroller[] = 63 const char kAshEnableMagnifierKeyScroller[] =
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 return !CommandLine::ForCurrentProcess()-> 126 return !CommandLine::ForCurrentProcess()->
122 HasSwitch(kAshDisableAlternateFrameCaptionButtonStyle); 127 HasSwitch(kAshDisableAlternateFrameCaptionButtonStyle);
123 } 128 }
124 129
125 bool UseDockedWindows() { 130 bool UseDockedWindows() {
126 return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows); 131 return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows);
127 } 132 }
128 133
129 } // namespace switches 134 } // namespace switches
130 } // namespace ash 135 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698