Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Unified Diff: content/public/common/content_switches.h

Issue 857123002: Disable Win32k renderer lockdown if DirectWrite is disabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cloudprint Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698