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

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

Issue 2153343002: Implement support for loading font files from outside system directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add command line flag to control custom font file loading Created 4 years, 5 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/test/dwrite_font_fake_sender_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 8c476cf1ccac13602a982a0e4e39fd4a4e5e80f3..3b1ab525da860bd620571dc746777c330ce370ef 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -117,6 +117,13 @@ const char kDisableBlinkFeatures[] = "disable-blink-features";
// Disables HTML5 DB support.
const char kDisableDatabases[] = "disable-databases";
+// Controls the loading of font files installed outside the system fonts dir.
+// Disable: blocks loading font files from outside system fonts dir.
+// Force: forces all fonts to use the custom font file codepath.
nasko 2016/07/22 23:51:29 What is the default behavior when the flag isn't p
Ilya Kulshin 2016/07/25 21:22:45 Acknowledged.
+const char kDisableDirectWriteCustomFonts[] =
+ "disable-directwrite-custom-fonts";
+const char kForceDirectWriteCustomFonts[] = "force-directwrite-custom-fonts";
nasko 2016/07/22 23:51:29 This needs to be put in alphabetical order.
Ilya Kulshin 2016/07/25 21:22:45 Acknowledged.
+
// Disable the per-domain blocking for 3D APIs after GPU reset.
// This switch is intended only for tests.
const char kDisableDomainBlockingFor3DAPIs[] =
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/test/dwrite_font_fake_sender_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698