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