| 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 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 // Disable the Legacy Window which corresponds to the size of the WebContents. | 949 // Disable the Legacy Window which corresponds to the size of the WebContents. |
| 950 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; | 950 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; |
| 951 | 951 |
| 952 // Enable the Win32K process mitigation policy for renderer processes which | 952 // Enable the Win32K process mitigation policy for renderer processes which |
| 953 // prevents them from invoking user32 and gdi32 system calls which enter | 953 // prevents them from invoking user32 and gdi32 system calls which enter |
| 954 // the kernel. This is only supported on Windows 8 and beyond. | 954 // the kernel. This is only supported on Windows 8 and beyond. |
| 955 const char kEnableWin32kRendererLockDown[] | 955 const char kEnableWin32kRendererLockDown[] |
| 956 = "enable_win32k_renderer_lockdown"; | 956 = "enable_win32k_renderer_lockdown"; |
| 957 #endif | 957 #endif |
| 958 | 958 |
| 959 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 960 // Enables the use of NPAPI plugins. |
| 961 const char kEnableNpapi[] = "enable-npapi"; |
| 962 #endif |
| 963 |
| 959 #if defined(ENABLE_PLUGINS) | 964 #if defined(ENABLE_PLUGINS) |
| 960 // Enables the plugin power saver feature. | 965 // Enables the plugin power saver feature. |
| 961 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 966 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 962 #endif | 967 #endif |
| 963 | 968 |
| 964 // Don't dump stuff here, follow the same order as the header. | 969 // Don't dump stuff here, follow the same order as the header. |
| 965 | 970 |
| 966 } // namespace switches | 971 } // namespace switches |
| OLD | NEW |