diff options
author | sunangel@chromium.org <sunangel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-15 05:25:27 +0000 |
---|---|---|
committer | sunangel@chromium.org <sunangel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-15 05:26:36 +0000 |
commit | b55fad536993b566a1785d35757c76f404f0b188 (patch) | |
tree | 1afbb2ccfc3546b06f1a9ee005586fe29d94c478 /components/dom_distiller.gypi | |
parent | ab284123c7d60fc2888ab124816720ce99e900af (diff) | |
download | chromium_src-b55fad536993b566a1785d35757c76f404f0b188.zip chromium_src-b55fad536993b566a1785d35757c76f404f0b188.tar.gz chromium_src-b55fad536993b566a1785d35757c76f404f0b188.tar.bz2 |
Font Family Preferences for Distilled Pages
This CL adds backend support for Font Family preferences
within DistilledPagePrefs. The font families supported are
sans-serif (default), serif, and monospace. Serif and
monospace fonts are set by the browser, while sans-serif is
defined as Open Sans, and then the browser default sans-serif
font.
BUG=383630
Review URL: https://codereview.chromium.org/430473007
Cr-Commit-Position: refs/heads/master@{#289801}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289801 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/dom_distiller.gypi')
-rw-r--r-- | components/dom_distiller.gypi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/components/dom_distiller.gypi b/components/dom_distiller.gypi index b18bee7..865ef51 100644 --- a/components/dom_distiller.gypi +++ b/components/dom_distiller.gypi @@ -83,6 +83,7 @@ 'dom_distiller/core/dom_distiller_store.h', 'dom_distiller/core/feedback_reporter.cc', 'dom_distiller/core/feedback_reporter.h', + 'dom_distiller/core/font_family_list.h', 'dom_distiller/core/task_tracker.cc', 'dom_distiller/core/task_tracker.h', 'dom_distiller/core/theme_list.h', @@ -176,6 +177,7 @@ 'target_name': 'dom_distiller_core_java', 'type': 'none', 'dependencies': [ + 'dom_distiller_core_font_family_java', 'dom_distiller_core_theme_java', '../base/base.gyp:base', ], @@ -185,6 +187,18 @@ 'includes': [ '../build/java.gypi' ], }, { + 'target_name': 'dom_distiller_core_font_family_java', + 'type': 'none', + 'sources': [ + 'dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template', + ], + 'variables': { + 'package_name': 'org/chromium/components/dom_distiller/core', + 'template_deps': ['dom_distiller/core/font_family_list.h'], + }, + 'includes': [ '../build/android/java_cpp_template.gypi' ], + }, + { 'target_name': 'dom_distiller_core_jni_headers', 'type': 'none', 'sources': [ |