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

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: keep focus when useFontScaling() is called, add tests 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 ef0fb9f0f8628f38a95e04f94bfa08f0aa1f07e8..0790a78e37b3f502746d6cf306df39ec31a93c62 100644
--- a/components/dom_distiller/core/dom_distiller_request_view_base.h
+++ b/components/dom_distiller/core/dom_distiller_request_view_base.h
@@ -45,9 +45,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