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

Side by Side Diff: chromeos/chromeos_switches.cc

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