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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 "main-frame-resizes-are-orientation-changes"; | 619 "main-frame-resizes-are-orientation-changes"; |
620 | 620 |
621 // Sets the width and height above which a composited layer will get tiled. | 621 // Sets the width and height above which a composited layer will get tiled. |
622 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 622 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
623 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 623 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
624 | 624 |
625 // Sample memory usage with high frequency and store the results to the | 625 // Sample memory usage with high frequency and store the results to the |
626 // Renderer.Memory histogram. Used in memory tests. | 626 // Renderer.Memory histogram. Used in memory tests. |
627 const char kMemoryMetrics[] = "memory-metrics"; | 627 const char kMemoryMetrics[] = "memory-metrics"; |
628 | 628 |
| 629 // The name of the Windows pipe on which to establish a Mojo IPC channel. |
| 630 const char kMojoChannelName[] = "mojo-channel-name"; |
| 631 |
| 632 // A secret that must be sent over the Mojo IPC channel by a client before the |
| 633 // browser trusts its connection. Only used on Windows. |
| 634 const char kMojoChannelSecret[] = "mojo-channel-secret"; |
| 635 |
629 // Use a Mojo-based LocalStorage implementation. | 636 // Use a Mojo-based LocalStorage implementation. |
630 const char kMojoLocalStorage[] = "mojo-local-storage"; | 637 const char kMojoLocalStorage[] = "mojo-local-storage"; |
631 | 638 |
| 639 // A random token a child process can exchange for a primordial message pipe |
| 640 // to the browser. |
| 641 const char kMojoPrimordialPipeToken[] = "mojo-primordial-pipe-token"; |
| 642 |
632 // Mutes audio sent to the audio device so it is not audible during | 643 // Mutes audio sent to the audio device so it is not audible during |
633 // automated testing. | 644 // automated testing. |
634 const char kMuteAudio[] = "mute-audio"; | 645 const char kMuteAudio[] = "mute-audio"; |
635 | 646 |
636 // Don't send HTTP-Referer headers. | 647 // Don't send HTTP-Referer headers. |
637 const char kNoReferrers[] = "no-referrers"; | 648 const char kNoReferrers[] = "no-referrers"; |
638 | 649 |
639 // Disables the sandbox for all process types that are normally sandboxed. | 650 // Disables the sandbox for all process types that are normally sandboxed. |
640 const char kNoSandbox[] = "no-sandbox"; | 651 const char kNoSandbox[] = "no-sandbox"; |
641 | 652 |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1034 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1045 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
1035 | 1046 |
1036 // Enables the exporting of the tracing events to ETW. This is only supported on | 1047 // Enables the exporting of the tracing events to ETW. This is only supported on |
1037 // Windows Vista and later. | 1048 // Windows Vista and later. |
1038 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1049 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1039 #endif | 1050 #endif |
1040 | 1051 |
1041 // Don't dump stuff here, follow the same order as the header. | 1052 // Don't dump stuff here, follow the same order as the header. |
1042 | 1053 |
1043 } // namespace switches | 1054 } // namespace switches |
OLD | NEW |