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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 2765373002: CrOS: Move force UI mode switch from switches to ash switches. (Closed)
Patch Set: Created 3 years, 9 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 // is triggered. 486 // is triggered.
487 const char kForceDesktopIOSPromotion[] = "force-desktop-ios-promotion"; 487 const char kForceDesktopIOSPromotion[] = "force-desktop-ios-promotion";
488 488
489 // Displays the First Run experience when the browser is started, regardless of 489 // Displays the First Run experience when the browser is started, regardless of
490 // whether or not it's actually the First Run (this overrides kNoFirstRun). 490 // whether or not it's actually the First Run (this overrides kNoFirstRun).
491 const char kForceFirstRun[] = "force-first-run"; 491 const char kForceFirstRun[] = "force-first-run";
492 492
493 // Forces Chrome to use localNTP instead of server (GWS) NTP. 493 // Forces Chrome to use localNTP instead of server (GWS) NTP.
494 const char kForceLocalNtp[] = "force-local-ntp"; 494 const char kForceLocalNtp[] = "force-local-ntp";
495 495
496 // Enables required things for the selected UI mode, regardless of whether the
497 // chromebook is currently in the selected UI mode.
498 const char kForceTabletMode[] = "force-tablet-mode";
499
500 // Values for the kForceTabletMode flag.
501 const char kForceTabletModeAuto[] = "auto";
502 const char kForceTabletModeClamshell[] = "clamshell";
503 const char kForceTabletModeTouchView[] = "touch_view";
504
505 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data 496 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data
506 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids 497 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids
507 // prefixed with the character "t" will be treated as Trigger Variation Ids. 498 // prefixed with the character "t" will be treated as Trigger Variation Ids.
508 const char kForceVariationIds[] = "force-variation-ids"; 499 const char kForceVariationIds[] = "force-variation-ids";
509 500
510 // Enables grouping websites by domain and filtering them by period. 501 // Enables grouping websites by domain and filtering them by period.
511 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; 502 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history";
512 503
513 // Specifies which page will be displayed in newly-opened tabs. We need this 504 // Specifies which page will be displayed in newly-opened tabs. We need this
514 // for testing purposes so that the UI tests don't depend on what comes up for 505 // for testing purposes so that the UI tests don't depend on what comes up for
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 1177
1187 // ----------------------------------------------------------------------------- 1178 // -----------------------------------------------------------------------------
1188 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1179 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1189 // 1180 //
1190 // You were going to just dump your switches here, weren't you? Instead, please 1181 // You were going to just dump your switches here, weren't you? Instead, please
1191 // put them in alphabetical order above, or in order inside the appropriate 1182 // put them in alphabetical order above, or in order inside the appropriate
1192 // ifdef at the bottom. The order should match the header. 1183 // ifdef at the bottom. The order should match the header.
1193 // ----------------------------------------------------------------------------- 1184 // -----------------------------------------------------------------------------
1194 1185
1195 } // namespace switches 1186 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698