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

Unified Diff: content/shell/common/shell_switches.cc

Issue 231763003: Support sideloaded fonts via command line option for blink layout_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move to content/shell Created 6 years, 8 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/shell/common/shell_switches.cc
diff --git a/content/shell/common/shell_switches.cc b/content/shell/common/shell_switches.cc
index bd308b701a037e8203417fd50f292183e5d3fe0c..997981edb61df1eb53b58d485c17596a939de6c7 100644
--- a/content/shell/common/shell_switches.cc
+++ b/content/shell/common/shell_switches.cc
@@ -39,7 +39,12 @@ const char kEncodeBinary[] = "encode-binary";
// Exposes the window.internals object to JavaScript for interactive development
// and debugging of layout tests that rely on it.
-const char kExposeInternalsForTesting[] = "expose-internals-for-testing";
+const char kExposeInternalsForTesting[] = "expose-internals-for-testing";
+
+// Registers additional font files on Windows (for fonts outside the usual
+// %WINDIR%\Fonts location). Multiple files can be used by separating them
+// with a semicolon (;).
+const char kRegisterFontFiles[] = "register-font-files";
// This makes us disable some web-platform runtime features so that we test
// content_shell as if it was a stable release. It is only followed when

Powered by Google App Engine
This is Rietveld 408576698