#include "components/dom_distiller/content/browser/distiller_javascript_service_impl.h"
#include "components/dom_distiller/core/dom_distiller_service.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
namespace dom_distiller {
DistillerJavaScriptServiceImpl::DistillerJavaScriptServiceImpl(
base::WeakPtr<DomDistillerService> distiller_service_weak_ptr)
: … { … }
DistillerJavaScriptServiceImpl::~DistillerJavaScriptServiceImpl() = default;
void DistillerJavaScriptServiceImpl::HandleDistillerOpenSettingsCall() { … }
void DistillerJavaScriptServiceImpl::HandleStoreThemePref(mojom::Theme theme) { … }
void DistillerJavaScriptServiceImpl::HandleStoreFontFamilyPref(
mojom::FontFamily font_family) { … }
void DistillerJavaScriptServiceImpl::HandleStoreFontScalingPref(
float font_scale) { … }
void CreateDistillerJavaScriptService(
base::WeakPtr<DomDistillerService> distiller_service_weak_ptr,
mojo::PendingReceiver<mojom::DistillerJavaScriptService> receiver) { … }
}