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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 | 384 |
385 // Make the values returned to window.performance.memory more granular and more | 385 // Make the values returned to window.performance.memory more granular and more |
386 // up to date in shared worker. Without this flag, the memory information is | 386 // up to date in shared worker. Without this flag, the memory information is |
387 // still available, but it is bucketized and updated less frequently. This flag | 387 // still available, but it is bucketized and updated less frequently. This flag |
388 // also applys to workers. | 388 // also applys to workers. |
389 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; | 389 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
390 | 390 |
391 // Enables payloads for received push messages when using the W3C Push API. | 391 // Enables payloads for received push messages when using the W3C Push API. |
392 const char kEnablePushMessagePayload[] = "enable-push-message-payload"; | 392 const char kEnablePushMessagePayload[] = "enable-push-message-payload"; |
393 | 393 |
394 // Enable hasPermission() method of the W3C Push API. | |
395 const char kEnablePushMessagingHasPermission[] = | |
396 "enable-push-messaging-has-permission"; | |
397 | |
398 // Set options to cache V8 data. (off, preparse data, or code) | 394 // Set options to cache V8 data. (off, preparse data, or code) |
399 const char kV8CacheOptions[] = "v8-cache-options"; | 395 const char kV8CacheOptions[] = "v8-cache-options"; |
400 | 396 |
401 // Signals that the V8 natives file has been transfered to the child process | 397 // Signals that the V8 natives file has been transfered to the child process |
402 // by a file descriptor. | 398 // by a file descriptor. |
403 const char kV8NativesPassedByFD[] = "v8-natives-passed-by-fd"; | 399 const char kV8NativesPassedByFD[] = "v8-natives-passed-by-fd"; |
404 | 400 |
405 // Signals that the V8 startup snapshot file has been transfered to the child | 401 // Signals that the V8 startup snapshot file has been transfered to the child |
406 // process by a file descriptor. | 402 // process by a file descriptor. |
407 const char kV8SnapshotPassedByFD[] = "v8-snapshot-passed-by-fd"; | 403 const char kV8SnapshotPassedByFD[] = "v8-snapshot-passed-by-fd"; |
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
998 // Windows Vista and later. | 994 // Windows Vista and later. |
999 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 995 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1000 #endif | 996 #endif |
1001 | 997 |
1002 // Enables the use of NPAPI plugins. | 998 // Enables the use of NPAPI plugins. |
1003 const char kEnableNpapi[] = "enable-npapi"; | 999 const char kEnableNpapi[] = "enable-npapi"; |
1004 | 1000 |
1005 // Don't dump stuff here, follow the same order as the header. | 1001 // Don't dump stuff here, follow the same order as the header. |
1006 | 1002 |
1007 } // namespace switches | 1003 } // namespace switches |
OLD | NEW |