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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
369 | 369 |
370 // Enable rasterizer that writes directly to GPU memory. | 370 // Enable rasterizer that writes directly to GPU memory. |
371 const char kEnableOneCopy[] = "enable-one-copy"; | 371 const char kEnableOneCopy[] = "enable-one-copy"; |
372 | 372 |
373 // Enables use of hardware overlay for fullscreen video playback. Android only. | 373 // Enables use of hardware overlay for fullscreen video playback. Android only. |
374 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; | 374 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; |
375 | 375 |
376 // Enables compositor-accelerated touch-screen pinch gestures. | 376 // Enables compositor-accelerated touch-screen pinch gestures. |
377 const char kEnablePinch[] = "enable-pinch"; | 377 const char kEnablePinch[] = "enable-pinch"; |
378 | 378 |
379 // Enables testing features of the Plugin Placeholder. | |
Bernhard Bauer
2015/05/11 08:03:53
Can you add "For internal use only"?
tommycli
2015/05/11 17:00:08
Done.
| |
380 const char kEnablePluginPlaceholderTesting[] = | |
381 "enable-plugin-placeholder-testing"; | |
382 | |
379 // Make the values returned to window.performance.memory more granular and more | 383 // Make the values returned to window.performance.memory more granular and more |
380 // up to date in shared worker. Without this flag, the memory information is | 384 // up to date in shared worker. Without this flag, the memory information is |
381 // still available, but it is bucketized and updated less frequently. This flag | 385 // still available, but it is bucketized and updated less frequently. This flag |
382 // also applys to workers. | 386 // also applys to workers. |
383 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; | 387 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; |
384 | 388 |
385 // Enables payloads for received push messages when using the W3C Push API. | 389 // Enables payloads for received push messages when using the W3C Push API. |
386 const char kEnablePushMessagePayload[] = "enable-push-message-payload"; | 390 const char kEnablePushMessagePayload[] = "enable-push-message-payload"; |
387 | 391 |
388 // Enable hasPermission() method of the W3C Push API. | 392 // Enable hasPermission() method of the W3C Push API. |
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
987 // Windows Vista and later. | 991 // Windows Vista and later. |
988 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 992 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
989 #endif | 993 #endif |
990 | 994 |
991 // Enables the use of NPAPI plugins. | 995 // Enables the use of NPAPI plugins. |
992 const char kEnableNpapi[] = "enable-npapi"; | 996 const char kEnableNpapi[] = "enable-npapi"; |
993 | 997 |
994 // Don't dump stuff here, follow the same order as the header. | 998 // Don't dump stuff here, follow the same order as the header. |
995 | 999 |
996 } // namespace switches | 1000 } // namespace switches |
OLD | NEW |