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

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

Issue 2749633006: CrOS: Add a flag to allow easy selection of tablet mode. (Closed)
Patch Set: Reparent to master. 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
« no previous file with comments | « chrome/common/chrome_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 "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
496 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data 505 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data
497 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids 506 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids
498 // prefixed with the character "t" will be treated as Trigger Variation Ids. 507 // prefixed with the character "t" will be treated as Trigger Variation Ids.
499 const char kForceVariationIds[] = "force-variation-ids"; 508 const char kForceVariationIds[] = "force-variation-ids";
500 509
501 // Enables grouping websites by domain and filtering them by period. 510 // Enables grouping websites by domain and filtering them by period.
502 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; 511 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history";
503 512
504 // Specifies which page will be displayed in newly-opened tabs. We need this 513 // Specifies which page will be displayed in newly-opened tabs. We need this
505 // for testing purposes so that the UI tests don't depend on what comes up for 514 // for testing purposes so that the UI tests don't depend on what comes up for
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 1182
1174 // ----------------------------------------------------------------------------- 1183 // -----------------------------------------------------------------------------
1175 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1184 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1176 // 1185 //
1177 // You were going to just dump your switches here, weren't you? Instead, please 1186 // You were going to just dump your switches here, weren't you? Instead, please
1178 // put them in alphabetical order above, or in order inside the appropriate 1187 // put them in alphabetical order above, or in order inside the appropriate
1179 // ifdef at the bottom. The order should match the header. 1188 // ifdef at the bottom. The order should match the header.
1180 // ----------------------------------------------------------------------------- 1189 // -----------------------------------------------------------------------------
1181 1190
1182 } // namespace switches 1191 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698