| 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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 const char kEnablePrintPreviewRegisterPromos[] = | 499 const char kEnablePrintPreviewRegisterPromos[] = |
| 500 "enable-print-preview-register-promos"; | 500 "enable-print-preview-register-promos"; |
| 501 | 501 |
| 502 // Enables tracking of tasks in profiler for viewing via about:profiler. | 502 // Enables tracking of tasks in profiler for viewing via about:profiler. |
| 503 // To predominantly disable tracking (profiling), use the command line switch: | 503 // To predominantly disable tracking (profiling), use the command line switch: |
| 504 // --enable-profiling=0 | 504 // --enable-profiling=0 |
| 505 // Some tracking will still take place at startup, but it will be turned off | 505 // Some tracking will still take place at startup, but it will be turned off |
| 506 // during chrome_browser_main. | 506 // during chrome_browser_main. |
| 507 const char kEnableProfiling[] = "enable-profiling"; | 507 const char kEnableProfiling[] = "enable-profiling"; |
| 508 | 508 |
| 509 // Enables query in the omnibox. | |
| 510 const char kEnableQueryExtraction[] = "enable-query-extraction"; | |
| 511 | |
| 512 // Enables support for the QUIC protocol. This is a temporary testing flag. | 509 // Enables support for the QUIC protocol. This is a temporary testing flag. |
| 513 const char kEnableQuic[] = "enable-quic"; | 510 const char kEnableQuic[] = "enable-quic"; |
| 514 | 511 |
| 515 // Enable use of Chromium's port selection for the ephemeral port via bind(). | 512 // Enable use of Chromium's port selection for the ephemeral port via bind(). |
| 516 // This only has an effect if QUIC protocol is enabled. | 513 // This only has an effect if QUIC protocol is enabled. |
| 517 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; | 514 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; |
| 518 | 515 |
| 519 // Enables save password prompt bubble. | 516 // Enables save password prompt bubble. |
| 520 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; | 517 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; |
| 521 | 518 |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1208 // Enables zero suggest functionality on Dev channel, showing most visited | 1205 // Enables zero suggest functionality on Dev channel, showing most visited |
| 1209 // sites as default suggestions. | 1206 // sites as default suggestions. |
| 1210 const char kEnableZeroSuggestMostVisited[] = | 1207 const char kEnableZeroSuggestMostVisited[] = |
| 1211 "enable-zero-suggest-most-visited"; | 1208 "enable-zero-suggest-most-visited"; |
| 1212 | 1209 |
| 1213 // Enable zero suggest functionality on Dev channel, showing most visited | 1210 // Enable zero suggest functionality on Dev channel, showing most visited |
| 1214 // sites on non-search-result pages as default suggestions. | 1211 // sites on non-search-result pages as default suggestions. |
| 1215 const char kEnableZeroSuggestMostVisitedWithoutSerp[] = | 1212 const char kEnableZeroSuggestMostVisitedWithoutSerp[] = |
| 1216 "enable-zero-suggest-most-visited-without-serp"; | 1213 "enable-zero-suggest-most-visited-without-serp"; |
| 1217 | 1214 |
| 1218 // Triggers prerendering of search base page to prefetch results for the typed | |
| 1219 // omnibox query. Only has an effect when prerender is enabled. | |
| 1220 const char kPrefetchSearchResults[] = "prefetch-search-results"; | |
| 1221 | |
| 1222 // Specifies Android phone page loading progress bar animation. | 1215 // Specifies Android phone page loading progress bar animation. |
| 1223 const char kProgressBarAnimation[] = "progress-bar-animation"; | 1216 const char kProgressBarAnimation[] = "progress-bar-animation"; |
| 1224 #endif // defined(OS_ANDROID) | 1217 #endif // defined(OS_ANDROID) |
| 1225 | 1218 |
| 1226 #if defined(USE_ASH) | 1219 #if defined(USE_ASH) |
| 1227 const char kOpenAsh[] = "open-ash"; | 1220 const char kOpenAsh[] = "open-ash"; |
| 1228 #endif | 1221 #endif |
| 1229 | 1222 |
| 1230 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS) | 1223 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS) |
| 1231 // These flags show the man page on Linux. They are equivalent to each | 1224 // These flags show the man page on Linux. They are equivalent to each |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1419 | 1412 |
| 1420 // ----------------------------------------------------------------------------- | 1413 // ----------------------------------------------------------------------------- |
| 1421 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1414 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1422 // | 1415 // |
| 1423 // You were going to just dump your switches here, weren't you? Instead, please | 1416 // You were going to just dump your switches here, weren't you? Instead, please |
| 1424 // put them in alphabetical order above, or in order inside the appropriate | 1417 // put them in alphabetical order above, or in order inside the appropriate |
| 1425 // ifdef at the bottom. The order should match the header. | 1418 // ifdef at the bottom. The order should match the header. |
| 1426 // ----------------------------------------------------------------------------- | 1419 // ----------------------------------------------------------------------------- |
| 1427 | 1420 |
| 1428 } // namespace switches | 1421 } // namespace switches |
| OLD | NEW |