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

Unified Diff: chrome/browser/dom_distiller/lazy_dom_distiller_service.h

Issue 341563002: Theme Preferences for Distilled Pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor change to constant name Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/dom_distiller/lazy_dom_distiller_service.h
diff --git a/chrome/browser/dom_distiller/lazy_dom_distiller_service.h b/chrome/browser/dom_distiller/lazy_dom_distiller_service.h
index d3ed5f4499f6c5e7f6b55ab8a26f785cab18295f..a68a9fa0afcfb6180f3ad3816cae52e88043737e 100644
--- a/chrome/browser/dom_distiller/lazy_dom_distiller_service.h
+++ b/chrome/browser/dom_distiller/lazy_dom_distiller_service.h
@@ -54,6 +54,7 @@ class LazyDomDistillerService : public DomDistillerServiceInterface,
scoped_ptr<SourcePageHandle> handle) OVERRIDE;
virtual void AddObserver(DomDistillerObserver* observer) OVERRIDE;
virtual void RemoveObserver(DomDistillerObserver* observer) OVERRIDE;
+ virtual ReaderModePrefs* GetReaderModePrefs() const OVERRIDE;
private:
// Accessor method for the backing service instance.
@@ -71,6 +72,9 @@ class LazyDomDistillerService : public DomDistillerServiceInterface,
// A BrowserContextKeyedServiceFactory for the DomDistillerService.
const DomDistillerServiceFactory* service_factory_;
+ // An instance of ReaderModePrefs for the DomDistillerService.
+ scoped_ptr<ReaderModePrefs> reader_mode_prefs_;
nyquist 2014/06/23 16:03:05 Could this be moved to DomDistillerService instead
smaslo 2014/06/23 22:14:32 Done.
+
// Used to track when the profile is shut down.
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698