OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 #ifndef CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_ | 5 #ifndef CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_ |
6 #define CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_ | 6 #define CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/public/common/web_preferences.h" | 10 #include "content/public/common/web_preferences.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 bool IsPinchToZoomEnabled(); | 14 bool IsPinchToZoomEnabled(); |
15 #if defined(OS_WIN) | 15 #if defined(OS_WIN) |
16 // Disables Win32k Renderer lockdown for any future renderer child processes. | |
17 void DisableWin32kRendererLockdown(); | |
18 | |
19 // Returns whether Win32k Renderer lockdown is enabled or not. | 16 // Returns whether Win32k Renderer lockdown is enabled or not. |
20 bool IsWin32kRendererLockdownEnabled(); | 17 bool IsWin32kRendererLockdownEnabled(); |
21 #endif | 18 #endif |
22 V8CacheOptions GetV8CacheOptions(); | 19 V8CacheOptions GetV8CacheOptions(); |
23 | 20 |
24 CONTENT_EXPORT bool IsUseZoomForDSFEnabled(); | 21 CONTENT_EXPORT bool IsUseZoomForDSFEnabled(); |
25 | 22 |
26 } // namespace content | 23 } // namespace content |
27 | 24 |
28 #endif // CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_ | 25 #endif // CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_ |
OLD | NEW |