| Index: components/dom_distiller/core/viewer.cc
|
| diff --git a/components/dom_distiller/core/viewer.cc b/components/dom_distiller/core/viewer.cc
|
| index 4f04332e3d44748c8b56837ccf1f7d911c92393c..db85d065d4485ec5dc4c86648c2b172d1155ff75 100644
|
| --- a/components/dom_distiller/core/viewer.cc
|
| +++ b/components/dom_distiller/core/viewer.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/json/json_writer.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/metrics/histogram_macros.h"
|
| +#include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_util.h"
|
| #include "components/dom_distiller/core/distilled_page_prefs.h"
|
| #include "components/dom_distiller/core/dom_distiller_service.h"
|
| @@ -306,6 +307,10 @@ const std::string GetDistilledPageFontFamilyJs(
|
| return "useFontFamily('" + GetJsFontFamily(font_family) + "');";
|
| }
|
|
|
| +const std::string GetDistilledPageFontScalingJs(float scaling) {
|
| + return "useFontScaling(" + base::DoubleToString(scaling) + ");";
|
| +}
|
| +
|
| } // namespace viewer
|
|
|
| } // namespace dom_distiller
|
|
|