Add a configurable flag entry for font src: local() matching

Expose the feature flag as a chrome://flags configurable value.

Also remove obsolete kFontCacheScalingDescription declaration.

Bug: 867866
Change-Id: Ib674bd0845d228bc82c67a342c19ace8f39cb157
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660343
Commit-Queue: Dominik Röttsches <[email protected]>
Reviewed-by: Stephen Chenney <[email protected]>
Cr-Commit-Position: refs/heads/master@{#669738}
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 00dcfa8..096c9e5 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -282,6 +282,14 @@
 const char kFocusModeDescription[] =
     "If enabled, allows the user to switch to Focus Mode";
 
+const char kFontSrcLocalMatchingName[] =
+    "Match @font-face { src: local(<name>) } names by PostScript and full font "
+    "name.";
+const char kFontSrcLocalMatchingDescription[] =
+    "Match local() src attributes in @font-face declarations precisely by "
+    "PostScript name and full font name instead of the previous behavior of "
+    "matching those unspecifically as family names.";
+
 const char kForceColorProfileSRGB[] = "sRGB";
 const char kForceColorProfileP3[] = "Display P3 D65";
 const char kForceColorProfileColorSpin[] = "Color spin with gamma 2.4";