diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-26 01:41:04 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-26 01:41:04 +0000 |
commit | 3f18e8db464aa841e82b536d85de26f77fd2a2b1 (patch) | |
tree | 3d12007f6e43710c1b433c849b21d7d538b4f791 /base/base_paths_win.h | |
parent | 6db416a41378f54d8376beb26dc40daac472e690 (diff) | |
download | chromium_src-3f18e8db464aa841e82b536d85de26f77fd2a2b1.zip chromium_src-3f18e8db464aa841e82b536d85de26f77fd2a2b1.tar.gz chromium_src-3f18e8db464aa841e82b536d85de26f77fd2a2b1.tar.bz2 |
Support DirectWrite with sandbox on
This seems to be enough to get DirectWrite working with the sandbox on.
There's two parts:
1. Warmup for three things: the dwrite.dll, creating a font, and
accessing glyph metrics.
2. A renderer sandbox policy allowing readonly fonts directory access.
Manually tested working on Win 8.1, Win 7 Pro SP1 with QFE 2670838,
and Win Home Basic RTM (no SPs or QFEs).
Blink side here: https://codereview.chromium.org/210243004 but can land
independently after this change.
R=brettw@chromium.org, cpu@chromium.org, jam@chromium.org, jschuh@chromium.org, darin@chromium.org
BUG=333029
TEST=Run with --enable-direct-write and http://wikipedia.org/
Review URL: https://codereview.chromium.org/209163002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259434 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_paths_win.h')
-rw-r--r-- | base/base_paths_win.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/base_paths_win.h b/base/base_paths_win.h index 1c44578..b042d08 100644 --- a/base/base_paths_win.h +++ b/base/base_paths_win.h @@ -41,6 +41,7 @@ enum { // of the Default user. DIR_TASKBAR_PINS, // Directory for the shortcuts pinned to taskbar via // base::win::TaskbarPinShortcutLink(). + DIR_WINDOWS_FONTS, // Usually C:\Windows\Fonts. PATH_WIN_END }; |