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..c35b9255ffe045cb6829a1e525f0057fd17ce038 100644 |
--- a/components/dom_distiller/core/dom_distiller_request_view_base.h |
+++ b/components/dom_distiller/core/dom_distiller_request_view_base.h |
@@ -40,14 +40,18 @@ 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. |
virtual void SendJavaScript(const std::string& buffer) = 0; |
+ // Sends JavaScript common to normal and error pages. |
+ void SendCommonJavaScript(); |
+ |
// The handle to the view request towards the DomDistillerService. It |
// needs to be kept around to ensure the distillation request finishes. |
scoped_ptr<ViewerHandle> viewer_handle_; |