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

Issue 430473007: Font Family Preferences for Distilled Pages (Closed)

Created:
6 years, 4 months ago by sunangel
Modified:
6 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, smaslo
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289801

Patch Set 1 : #

Total comments: 33

Patch Set 2 : Formatting #

Total comments: 6

Patch Set 3 : styling #

Total comments: 15

Patch Set 4 : Synced -- use this branch as baseline for next changes #

Patch Set 5 : styling #

Total comments: 1

Patch Set 6 : Line wrap #

Patch Set 7 : synced #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -49 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DistilledPagePrefsView.java View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/dom_distiller/DistilledPagePrefsTest.java View 1 2 3 6 chunks +73 lines, -7 lines 0 comments Download
M chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc View 2 chunks +8 lines, -3 lines 0 comments Download
M components/dom_distiller.gypi View 1 2 3 chunks +14 lines, -0 lines 0 comments Download
M components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DistilledPagePrefs.java View 1 2 3 4 chunks +19 lines, -0 lines 0 comments Download
A components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
M components/dom_distiller/content/dom_distiller_viewer_source.cc View 1 2 3 5 chunks +17 lines, -4 lines 0 comments Download
M components/dom_distiller/content/resources/dom_distiller_viewer.js View 1 2 3 4 5 6 2 chunks +21 lines, -1 line 0 comments Download
M components/dom_distiller/core/css/distilledpage.css View 1 2 3 4 5 6 2 chunks +12 lines, -1 line 0 comments Download
M components/dom_distiller/core/distilled_page_prefs.h View 4 chunks +15 lines, -0 lines 0 comments Download
M components/dom_distiller/core/distilled_page_prefs.cc View 1 2 3 4 4 chunks +33 lines, -1 line 0 comments Download
M components/dom_distiller/core/distilled_page_prefs_android.h View 2 chunks +5 lines, -0 lines 0 comments Download
M components/dom_distiller/core/distilled_page_prefs_android.cc View 1 2 3 4 5 2 chunks +21 lines, -2 lines 0 comments Download
M components/dom_distiller/core/distilled_page_prefs_unittests.cc View 1 4 chunks +42 lines, -2 lines 0 comments Download
A + components/dom_distiller/core/font_family_list.h View 1 2 3 4 1 chunk +7 lines, -7 lines 0 comments Download
M components/dom_distiller/core/viewer.h View 4 chunks +11 lines, -3 lines 0 comments Download
M components/dom_distiller/core/viewer.cc View 1 2 3 4 5 6 7 chunks +54 lines, -18 lines 0 comments Download
M components/dom_distiller/core/viewer_unittest.cc View 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
robliao
https://codereview.chromium.org/430473007/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DistilledPagePrefsView.java File chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DistilledPagePrefsView.java (right): https://codereview.chromium.org/430473007/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DistilledPagePrefsView.java#newcode112 chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DistilledPagePrefsView.java:112: * TODO(smaslo): add GUI and front end implementation for ...
6 years, 4 months ago (2014-08-10 02:43:46 UTC) #1
sunangel
https://codereview.chromium.org/430473007/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DistilledPagePrefsView.java File chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DistilledPagePrefsView.java (right): https://codereview.chromium.org/430473007/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DistilledPagePrefsView.java#newcode112 chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DistilledPagePrefsView.java:112: * TODO(smaslo): add GUI and front end implementation for ...
6 years, 4 months ago (2014-08-11 21:51:33 UTC) #2
robliao
https://codereview.chromium.org/430473007/diff/120001/components/dom_distiller/content/dom_distiller_viewer_source.cc File components/dom_distiller/content/dom_distiller_viewer_source.cc (right): https://codereview.chromium.org/430473007/diff/120001/components/dom_distiller/content/dom_distiller_viewer_source.cc#newcode193 components/dom_distiller/content/dom_distiller_viewer_source.cc:193: viewer::GetUnsafeArticleHtml(article_proto, On 2014/08/11 21:51:33, sunangel wrote: > Can you ...
6 years, 4 months ago (2014-08-11 22:00:45 UTC) #3
sunangel
https://codereview.chromium.org/430473007/diff/120001/components/dom_distiller/content/dom_distiller_viewer_source.cc File components/dom_distiller/content/dom_distiller_viewer_source.cc (right): https://codereview.chromium.org/430473007/diff/120001/components/dom_distiller/content/dom_distiller_viewer_source.cc#newcode193 components/dom_distiller/content/dom_distiller_viewer_source.cc:193: viewer::GetUnsafeArticleHtml(article_proto, On 2014/08/11 22:00:45, robliao wrote: > On 2014/08/11 ...
6 years, 4 months ago (2014-08-12 02:09:56 UTC) #4
robliao
On 2014/08/12 02:09:56, sunangel wrote: > https://codereview.chromium.org/430473007/diff/120001/components/dom_distiller/content/dom_distiller_viewer_source.cc > File components/dom_distiller/content/dom_distiller_viewer_source.cc (right): > > https://codereview.chromium.org/430473007/diff/120001/components/dom_distiller/content/dom_distiller_viewer_source.cc#newcode193 > ...
6 years, 4 months ago (2014-08-12 17:20:26 UTC) #5
Yaron
https://codereview.chromium.org/430473007/diff/180001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template File components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template (right): https://codereview.chromium.org/430473007/diff/180001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template#newcode7 components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template:7: // An auto-generated enum for Distilled Page Theme preferences ...
6 years, 4 months ago (2014-08-13 01:58:47 UTC) #6
nyquist
https://codereview.chromium.org/430473007/diff/180001/components/dom_distiller/content/resources/dom_distiller_viewer.js File components/dom_distiller/content/resources/dom_distiller_viewer.js (right): https://codereview.chromium.org/430473007/diff/180001/components/dom_distiller/content/resources/dom_distiller_viewer.js#newcode27 components/dom_distiller/content/resources/dom_distiller_viewer.js:27: // Relies on the classname order of the body ...
6 years, 4 months ago (2014-08-13 05:44:31 UTC) #7
Yaron
https://codereview.chromium.org/430473007/diff/180001/components/dom_distiller/content/resources/dom_distiller_viewer.js File components/dom_distiller/content/resources/dom_distiller_viewer.js (right): https://codereview.chromium.org/430473007/diff/180001/components/dom_distiller/content/resources/dom_distiller_viewer.js#newcode27 components/dom_distiller/content/resources/dom_distiller_viewer.js:27: // Relies on the classname order of the body ...
6 years, 4 months ago (2014-08-13 16:49:29 UTC) #8
sunangel
https://codereview.chromium.org/430473007/diff/180001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template File components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template (right): https://codereview.chromium.org/430473007/diff/180001/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template#newcode7 components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template:7: // An auto-generated enum for Distilled Page Theme preferences ...
6 years, 4 months ago (2014-08-13 18:09:04 UTC) #9
Yaron
lgtm
6 years, 4 months ago (2014-08-13 18:37:00 UTC) #10
nyquist
rubberstamp lgtm since yaron doesn't have OWNERS yet.
6 years, 4 months ago (2014-08-13 19:56:59 UTC) #11
sunangel
The CQ bit was checked by sunangel@chromium.org
6 years, 4 months ago (2014-08-13 20:11:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sunangel@chromium.org/430473007/220001
6 years, 4 months ago (2014-08-13 20:12:49 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-14 05:27:48 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-14 05:41:54 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/4188)
6 years, 4 months ago (2014-08-14 05:41:56 UTC) #16
nyquist
also, I copied the subject to be the first line of the CL description as ...
6 years, 4 months ago (2014-08-14 16:54:17 UTC) #17
sunangel
The CQ bit was checked by sunangel@chromium.org
6 years, 4 months ago (2014-08-14 16:59:56 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sunangel@chromium.org/430473007/240001
6 years, 4 months ago (2014-08-14 17:04:25 UTC) #19
sunangel
The CQ bit was unchecked by sunangel@chromium.org
6 years, 4 months ago (2014-08-14 17:57:28 UTC) #20
sunangel
The CQ bit was checked by sunangel@chromium.org
6 years, 4 months ago (2014-08-14 20:05:02 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sunangel@chromium.org/430473007/280001
6 years, 4 months ago (2014-08-14 20:08:00 UTC) #22
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 05:25:32 UTC) #23
Message was sent while issue was closed.
Committed patchset #7 (280001) as 289801

Powered by Google App Engine
This is Rietveld 408576698