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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 | 359 |
360 // Enables compositor-accelerated touch-screen pinch gestures. | 360 // Enables compositor-accelerated touch-screen pinch gestures. |
361 const char kEnablePinch[] = "enable-pinch"; | 361 const char kEnablePinch[] = "enable-pinch"; |
362 | 362 |
363 // Make the values returned to window.performance.memory more granular and more | 363 // Make the values returned to window.performance.memory more granular and more |
364 // up to date in shared worker. Without this flag, the memory information is | 364 // up to date in shared worker. Without this flag, the memory information is |
365 // still available, but it is bucketized and updated less frequently. This flag | 365 // still available, but it is bucketized and updated less frequently. This flag |
366 // also applys to workers. | 366 // also applys to workers. |
367 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; | 367 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
368 | 368 |
| 369 // Enables payloads for received push messages when using the W3C Push API. |
| 370 const char kEnablePushMessagePayload[] = "enable-push-message-payload"; |
| 371 |
369 // Set options to cache V8 data. (off, preparse data, or code) | 372 // Set options to cache V8 data. (off, preparse data, or code) |
370 const char kV8CacheOptions[] = "v8-cache-options"; | 373 const char kV8CacheOptions[] = "v8-cache-options"; |
371 | 374 |
372 // Enables the CSS multicol implementation that uses the regions implementation. | 375 // Enables the CSS multicol implementation that uses the regions implementation. |
373 const char kEnableRegionBasedColumns[] = | 376 const char kEnableRegionBasedColumns[] = |
374 "enable-region-based-columns"; | 377 "enable-region-based-columns"; |
375 | 378 |
376 // Replaces renderer-browser IPC channel with ChnanelMojo. | 379 // Replaces renderer-browser IPC channel with ChnanelMojo. |
377 const char kEnableRendererMojoChannel[] = | 380 const char kEnableRendererMojoChannel[] = |
378 "enable-renderer-mojo-channel"; | 381 "enable-renderer-mojo-channel"; |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
968 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) | 971 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) |
969 return false; | 972 return false; |
970 // Default. | 973 // Default. |
971 return group_name == "Enabled"; | 974 return group_name == "Enabled"; |
972 } | 975 } |
973 #endif | 976 #endif |
974 | 977 |
975 // Don't dump stuff here, follow the same order as the header. | 978 // Don't dump stuff here, follow the same order as the header. |
976 | 979 |
977 } // namespace switches | 980 } // namespace switches |
OLD | NEW |