| 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 | 10 |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 // Enables the Material Design feedback form. | 406 // Enables the Material Design feedback form. |
| 407 const char kEnableMaterialDesignFeedback[] = "enable-md-feedback"; | 407 const char kEnableMaterialDesignFeedback[] = "enable-md-feedback"; |
| 408 | 408 |
| 409 // Enables the Material Design policy page at chrome://md-policy. | 409 // Enables the Material Design policy page at chrome://md-policy. |
| 410 const char kEnableMaterialDesignPolicyPage[] = "enable-md-policy-page"; | 410 const char kEnableMaterialDesignPolicyPage[] = "enable-md-policy-page"; |
| 411 | 411 |
| 412 // Runs the Native Client inside the renderer process and enables GPU plugin | 412 // Runs the Native Client inside the renderer process and enables GPU plugin |
| 413 // (internally adds lEnableGpuPlugin to the command line). | 413 // (internally adds lEnableGpuPlugin to the command line). |
| 414 const char kEnableNaCl[] = "enable-nacl"; | 414 const char kEnableNaCl[] = "enable-nacl"; |
| 415 | 415 |
| 416 #if defined(OS_MACOSX) |
| 417 // Enable the use of native notifications alerts in addition to banners. |
| 418 // Requires kEnableNativeNotifications enabled too. |
| 419 const char kEnableNativeAlerts[] = "enable-native-alerts"; |
| 420 #endif // defined(OS_MACOSX) |
| 421 |
| 416 // Enables the use of native notifications instead of using the Chrome based | 422 // Enables the use of native notifications instead of using the Chrome based |
| 417 // ones. | 423 // ones. |
| 418 const char kEnableNativeNotifications[] = "enable-native-notifications"; | 424 const char kEnableNativeNotifications[] = "enable-native-notifications"; |
| 419 | 425 |
| 420 // Enables tracing for each navigation. It will attempt to trace each navigation | 426 // Enables tracing for each navigation. It will attempt to trace each navigation |
| 421 // for 10s, until the buffer is full, or until the next navigation. | 427 // for 10s, until the buffer is full, or until the next navigation. |
| 422 // It only works if a URL was provided by --trace-upload-url. | 428 // It only works if a URL was provided by --trace-upload-url. |
| 423 const char kEnableNavigationTracing[] = "enable-navigation-tracing"; | 429 const char kEnableNavigationTracing[] = "enable-navigation-tracing"; |
| 424 | 430 |
| 425 // Enables the network-related benchmarking extensions. | 431 // Enables the network-related benchmarking extensions. |
| (...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1334 | 1340 |
| 1335 // ----------------------------------------------------------------------------- | 1341 // ----------------------------------------------------------------------------- |
| 1336 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1342 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1337 // | 1343 // |
| 1338 // You were going to just dump your switches here, weren't you? Instead, please | 1344 // You were going to just dump your switches here, weren't you? Instead, please |
| 1339 // put them in alphabetical order above, or in order inside the appropriate | 1345 // put them in alphabetical order above, or in order inside the appropriate |
| 1340 // ifdef at the bottom. The order should match the header. | 1346 // ifdef at the bottom. The order should match the header. |
| 1341 // ----------------------------------------------------------------------------- | 1347 // ----------------------------------------------------------------------------- |
| 1342 | 1348 |
| 1343 } // namespace switches | 1349 } // namespace switches |
| OLD | NEW |