Roll src/third_party/WebKit a3b4a2e:7441784 (svn 202551:202552)
[chromium-blink-merge.git] / content / common / content_switches_internal.h
blobe2b1cc696a484c5ca779c3777f5fe6013aede0ee
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_
6 #define CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_
8 #include "content/public/common/web_preferences.h"
10 namespace content {
12 bool IsPinchToZoomEnabled();
13 #if defined(OS_WIN)
14 // Disables Win32k Renderer lockdown for any future renderer child processes.
15 void DisableWin32kRendererLockdown();
17 // Returns whether Win32k Renderer lockdown is enabled or not.
18 bool IsWin32kRendererLockdownEnabled();
19 // Returns whether Win32k PPAPI lockdown is enabled for a specific mime type.
20 bool IsWin32kLockdownEnabledForMimeType(const std::string& mime_type);
21 #endif
22 V8CacheOptions GetV8CacheOptions();
24 } // namespace content
26 #endif // CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_