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