Index: content/public/common/content_switches.h |
diff --git a/content/public/common/content_switches.h b/content/public/common/content_switches.h |
index 2db8c1770faf3e58d58b3172f6a062dcc45ae022..496e9a33b4019d07963dcb1d6b9243c7f2212e7b 100644 |
--- a/content/public/common/content_switches.h |
+++ b/content/public/common/content_switches.h |
@@ -288,7 +288,11 @@ CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[]; |
// Switch to uniquely identify names shared memory section for font cache |
// across chromium flavors. |
CONTENT_EXPORT extern const char kFontCacheSharedMemSuffix[]; |
-CONTENT_EXPORT bool IsWin32kRendererLockdownEnabled(); |
+// Returns whether Win32k renderer lockdown is enabled, either by field trial |
+// or by flags. Win32k renderer lockdown requires directwrite to be enabled, so |
+// this function will return false if directwrite is disabled by flags, unless |
+// |ignore_directwrite| is set to true. |
+CONTENT_EXPORT bool IsWin32kRendererLockdownEnabled(bool ignore_directwrite); |
#endif |
#if defined(ENABLE_PLUGINS) |