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

Unified Diff: components/dom_distiller/core/dom_distiller_request_view_base.h

Issue 1225183002: Font size in DomDistiller prefs syncs with local scaling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix for rebasing Created 5 years, 5 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: components/dom_distiller/core/dom_distiller_request_view_base.h
diff --git a/components/dom_distiller/core/dom_distiller_request_view_base.h b/components/dom_distiller/core/dom_distiller_request_view_base.h
index af63af4aa558a4a8bf6806b50e34ec471cdde65d..1edca5867f5678d6428bb2b3f1ee2408c801e59e 100644
--- a/components/dom_distiller/core/dom_distiller_request_view_base.h
+++ b/components/dom_distiller/core/dom_distiller_request_view_base.h
@@ -40,9 +40,10 @@ class DomDistillerRequestViewBase : public ViewRequestDelegate,
protected:
// DistilledPagePrefs::Observer implementation:
+ void OnChangeTheme(DistilledPagePrefs::Theme new_theme) override;
void OnChangeFontFamily(
DistilledPagePrefs::FontFamily new_font_family) override;
- void OnChangeTheme(DistilledPagePrefs::Theme new_theme) override;
+ void OnChangeFontScaling(float scaling) override;
// Sends JavaScript to the attached Viewer, buffering data if the viewer isn't
// ready.

Powered by Google App Engine
This is Rietveld 408576698