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 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 // HTTP is still used for all requests. | 466 // HTTP is still used for all requests. |
467 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | 467 const char kEnableNpnHttpOnly[] = "enable-npn-http"; |
468 | 468 |
469 // Enable auto-reload of error pages if offline. | 469 // Enable auto-reload of error pages if offline. |
470 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 470 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
471 | 471 |
472 // Only auto-reload error pages when the tab is visible. | 472 // Only auto-reload error pages when the tab is visible. |
473 const char kEnableOfflineAutoReloadVisibleOnly[] = | 473 const char kEnableOfflineAutoReloadVisibleOnly[] = |
474 "enable-offline-auto-reload-visible-only"; | 474 "enable-offline-auto-reload-visible-only"; |
475 | 475 |
476 // Enable/Disable offering a "Load stale copy" option to the user if offline. | 476 // Enable/Disable offering a "Show saved copy" option to the user if offline. |
477 const char kEnableOfflineLoadStaleCache[] = "enable-offline-load-stale-cache"; | 477 // Primary/Secondary refers to button placement (for experiment). |
478 const char kDisableOfflineLoadStaleCache[] = | 478 const char kEnableShowSavedCopyPrimary[] = "enabled-show-saved-copy-primary"; |
479 "disable-offline-load-stale-cache"; | 479 const char kEnableShowSavedCopySecondary[] = |
| 480 "enabled-show-saved-copy-secondary"; |
| 481 const char kDisableShowSavedCopy[] = "disable-show-saved-copy"; |
480 | 482 |
481 // Enable the out of process PDF plugin. | 483 // Enable the out of process PDF plugin. |
482 const char kEnableOutOfProcessPdf[] = "enable-out-of-process-pdf"; | 484 const char kEnableOutOfProcessPdf[] = "enable-out-of-process-pdf"; |
483 | 485 |
484 // Enables panels (always on-top docked pop-up windows). | 486 // Enables panels (always on-top docked pop-up windows). |
485 const char kEnablePanels[] = "enable-panels"; | 487 const char kEnablePanels[] = "enable-panels"; |
486 | 488 |
487 // Enable the new material UI - requires out of process PDF plugin. | 489 // Enable the new material UI - requires out of process PDF plugin. |
488 const char kEnablePdfMaterialUI[] = "enable-pdf-material-ui"; | 490 const char kEnablePdfMaterialUI[] = "enable-pdf-material-ui"; |
489 | 491 |
(...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1374 | 1376 |
1375 // ----------------------------------------------------------------------------- | 1377 // ----------------------------------------------------------------------------- |
1376 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1378 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1377 // | 1379 // |
1378 // You were going to just dump your switches here, weren't you? Instead, please | 1380 // You were going to just dump your switches here, weren't you? Instead, please |
1379 // put them in alphabetical order above, or in order inside the appropriate | 1381 // put them in alphabetical order above, or in order inside the appropriate |
1380 // ifdef at the bottom. The order should match the header. | 1382 // ifdef at the bottom. The order should match the header. |
1381 // ----------------------------------------------------------------------------- | 1383 // ----------------------------------------------------------------------------- |
1382 | 1384 |
1383 } // namespace switches | 1385 } // namespace switches |
OLD | NEW |