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

Side by Side Diff: ash/common/ash_switches.cc

Issue 2642853006: Remove the ash-enable-touch-view-testing flag (Closed)
Patch Set: holte's comment. Created 3 years, 11 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/common/ash_switches.h ('k') | ash/common/wm/maximize_mode/maximize_mode_controller.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/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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // Enables docking windows to the right or left (not to be confused with snapped 61 // Enables docking windows to the right or left (not to be confused with snapped
62 // windows). 62 // windows).
63 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows"; 63 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows";
64 64
65 // Enables the observation of accelerometer events to enter touch-view mode. 65 // Enables the observation of accelerometer events to enter touch-view mode.
66 const char kAshEnableTouchView[] = "enable-touchview"; 66 const char kAshEnableTouchView[] = "enable-touchview";
67 67
68 // Enables mirrored screen. 68 // Enables mirrored screen.
69 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen"; 69 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen";
70 70
71 // Enables touch view testing.
72 // TODO(skuhne): Remove DEBUG_TOGGLE_TOUCH_VIEW accelerator once this flag is
73 // removed.
74 const char kAshEnableTouchViewTesting[] = "ash-enable-touch-view-testing";
75
76 // Hides notifications that are irrelevant to Chrome OS device factory testing, 71 // Hides notifications that are irrelevant to Chrome OS device factory testing,
77 // such as battery level updates. 72 // such as battery level updates.
78 const char kAshHideNotificationsForFactory[] = 73 const char kAshHideNotificationsForFactory[] =
79 "ash-hide-notifications-for-factory"; 74 "ash-hide-notifications-for-factory";
80 75
81 // Specifies if Material Design elements in Chrome OS system UI are enabled. 76 // Specifies if Material Design elements in Chrome OS system UI are enabled.
82 // Can be disabled / enabled / experimental allowing to launch incrementally. 77 // Can be disabled / enabled / experimental allowing to launch incrementally.
83 const char kAshMaterialDesign[] = "ash-md"; 78 const char kAshMaterialDesign[] = "ash-md";
84 const char kAshMaterialDesignDisabled[] = "disabled"; 79 const char kAshMaterialDesignDisabled[] = "disabled";
85 const char kAshMaterialDesignEnabled[] = "enabled"; 80 const char kAshMaterialDesignEnabled[] = "enabled";
(...skipping 17 matching lines...) Expand all
103 kAshConstrainPointerToRoot); 98 kAshConstrainPointerToRoot);
104 } 99 }
105 100
106 bool DockedWindowsEnabled() { 101 bool DockedWindowsEnabled() {
107 return base::CommandLine::ForCurrentProcess()->HasSwitch( 102 return base::CommandLine::ForCurrentProcess()->HasSwitch(
108 ash::switches::kAshEnableDockedWindows); 103 ash::switches::kAshEnableDockedWindows);
109 } 104 }
110 105
111 } // namespace switches 106 } // namespace switches
112 } // namespace ash 107 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/ash_switches.h ('k') | ash/common/wm/maximize_mode/maximize_mode_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698