From 6a5b0718e89a93ef5786bed8333d5a5056ad5478 Mon Sep 17 00:00:00 2001 From: "smaslo@chromium.org" Date: Wed, 16 Jul 2014 00:30:10 +0000 Subject: Theme Preferences for Distilled Pages Adds support for allowing users to change the appearance of distilled pages to different themes. The current themes are light, dark and sepia. The theme of the page is controlled by the CSS class of the body element. When the page is loaded, this CSS class is set by inserting the CSS class into the HTML. When a setting is changed while a distilled page is open, the CSS class is set by calling the JavaScript function useTheme which then updates the body element's CSS class. BUG=383630 Review URL: https://codereview.chromium.org/341563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283303 0039d316-1c4b-4281-b951-d872f2087c98 --- components/dom_distiller.gypi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/dom_distiller.gypi') diff --git a/components/dom_distiller.gypi b/components/dom_distiller.gypi index 5f8c4bb..fc88cd2 100644 --- a/components/dom_distiller.gypi +++ b/components/dom_distiller.gypi @@ -60,6 +60,8 @@ 'dom_distiller/core/article_entry.h', 'dom_distiller/core/distilled_content_store.cc', 'dom_distiller/core/distilled_content_store.h', + 'dom_distiller/core/distilled_page_prefs.cc', + 'dom_distiller/core/distilled_page_prefs.h', 'dom_distiller/core/distiller.cc', 'dom_distiller/core/distiller.h', 'dom_distiller/core/distiller_page.cc', -- cgit v1.1