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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2178073006: Disable Quick View by default and add about flag to enable it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 4 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 | « chromeos/chromeos_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('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 "chromeos/chromeos_switches.h" 5 #include "chromeos/chromeos_switches.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // Disables wallpaper boot animation (except of OOBE case). 77 // Disables wallpaper boot animation (except of OOBE case).
78 const char kDisableBootAnimation[] = "disable-boot-animation"; 78 const char kDisableBootAnimation[] = "disable-boot-animation";
79 79
80 // Disables cloud backup feature. 80 // Disables cloud backup feature.
81 const char kDisableCloudImport[] = "disable-cloud-import"; 81 const char kDisableCloudImport[] = "disable-cloud-import";
82 82
83 // Disables the ChromeOS demo. 83 // Disables the ChromeOS demo.
84 const char kDisableDemoMode[] = "disable-demo-mode"; 84 const char kDisableDemoMode[] = "disable-demo-mode";
85 85
86 // Disable quick view in Files app. 86 // Disables quick view in Files app.
87 const char kDisableFilesQuickView[] = "disable-files-quick-view"; 87 const char kDisableFilesQuickView[] = "disable-files-quick-view";
88 88
89 // Disable HID-detection OOBE screen. 89 // Disable HID-detection OOBE screen.
90 const char kDisableHIDDetectionOnOOBE[] = "disable-hid-detection-on-oobe"; 90 const char kDisableHIDDetectionOnOOBE[] = "disable-hid-detection-on-oobe";
91 91
92 // Avoid doing expensive animations upon login. 92 // Avoid doing expensive animations upon login.
93 const char kDisableLoginAnimations[] = "disable-login-animations"; 93 const char kDisableLoginAnimations[] = "disable-login-animations";
94 94
95 // Disable new channel switcher UI. 95 // Disable new channel switcher UI.
96 const char kDisableNewChannelSwitcherUI[] = "disable-new-channel-switcher-ui"; 96 const char kDisableNewChannelSwitcherUI[] = "disable-new-channel-switcher-ui";
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // Enables starting the ARC instance upon session start. 130 // Enables starting the ARC instance upon session start.
131 const char kEnableArc[] = "enable-arc"; 131 const char kEnableArc[] = "enable-arc";
132 132
133 // Enables consumer management, which allows user to enroll, remotely lock and 133 // Enables consumer management, which allows user to enroll, remotely lock and
134 // locate the device. 134 // locate the device.
135 const char kEnableConsumerManagement[] = "enable-consumer-management"; 135 const char kEnableConsumerManagement[] = "enable-consumer-management";
136 136
137 // Enables details panel in Files app. 137 // Enables details panel in Files app.
138 const char kEnableFilesDetailsPanel[] = "enable-files-details-panel"; 138 const char kEnableFilesDetailsPanel[] = "enable-files-details-panel";
139 139
140 // Enables quick view in Files app.
141 const char kEnableFilesQuickView[] = "enable-files-quick-view";
142
140 // Disables notification when device is in end of life status. 143 // Disables notification when device is in end of life status.
141 const char kDisableEolNotification[] = "disable-eol-notification"; 144 const char kDisableEolNotification[] = "disable-eol-notification";
142 145
143 // If this switch is set, the device cannot be remotely disabled by its owner. 146 // If this switch is set, the device cannot be remotely disabled by its owner.
144 const char kDisableDeviceDisabling[] = "disable-device-disabling"; 147 const char kDisableDeviceDisabling[] = "disable-device-disabling";
145 148
146 // If this switch is set, the new Korean IME will not be available in 149 // If this switch is set, the new Korean IME will not be available in
147 // chrome://settings/languages. 150 // chrome://settings/languages.
148 const char kDisableNewKoreanIme[] = "disable-new-korean-ime"; 151 const char kDisableNewKoreanIme[] = "disable-new-korean-ime";
149 152
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 440 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
438 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 441 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
439 return false; 442 return false;
440 443
441 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 444 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
442 kTestCrosGaiaIdMigrationStarted; 445 kTestCrosGaiaIdMigrationStarted;
443 } 446 }
444 447
445 } // namespace switches 448 } // namespace switches
446 } // namespace chromeos 449 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698