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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2620073002: Adds the touch calibration setting behind a chrome switch (Closed)
Patch Set: nits 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
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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 const char kEnablePhysicalKeyboardAutocorrect[] = 252 const char kEnablePhysicalKeyboardAutocorrect[] =
253 "enable-physical-keyboard-autocorrect"; 253 "enable-physical-keyboard-autocorrect";
254 254
255 // Enables request of tablet site (via user agent override). 255 // Enables request of tablet site (via user agent override).
256 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; 256 const char kEnableRequestTabletSite[] = "enable-request-tablet-site";
257 257
258 // Enables using screenshots in tests and seets mode. 258 // Enables using screenshots in tests and seets mode.
259 const char kEnableScreenshotTestingWithMode[] = 259 const char kEnableScreenshotTestingWithMode[] =
260 "enable-screenshot-testing-with-mode"; 260 "enable-screenshot-testing-with-mode";
261 261
262 // Enables the touch calibration option in MD settings UI for valid touch
263 // displays.
264 const char kEnableTouchCalibrationSetting[] =
265 "enable-touch-calibration-setting";
266
262 // Enables touchpad three-finger-click as middle button. 267 // Enables touchpad three-finger-click as middle button.
263 const char kEnableTouchpadThreeFingerClick[] = 268 const char kEnableTouchpadThreeFingerClick[] =
264 "enable-touchpad-three-finger-click"; 269 "enable-touchpad-three-finger-click";
265 270
266 // Enables the chromecast support for video player app. 271 // Enables the chromecast support for video player app.
267 const char kEnableVideoPlayerChromecastSupport[] = 272 const char kEnableVideoPlayerChromecastSupport[] =
268 "enable-video-player-chromecast-support"; 273 "enable-video-player-chromecast-support";
269 274
270 // Disables ARC for managed accounts. 275 // Disables ARC for managed accounts.
271 const char kEnterpriseDisableArc[] = "enterprise-disable-arc"; 276 const char kEnterpriseDisableArc[] = "enterprise-disable-arc";
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 473 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
469 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 474 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
470 return false; 475 return false;
471 476
472 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 477 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
473 kTestCrosGaiaIdMigrationStarted; 478 kTestCrosGaiaIdMigrationStarted;
474 } 479 }
475 480
476 } // namespace switches 481 } // namespace switches
477 } // namespace chromeos 482 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | extensions/browser/api/system_display/display_info_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698