chromium/components/dom_distiller/core/distilled_page_prefs.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/dom_distiller/core/distilled_page_prefs.h"

#include "base/functional/bind.h"
#include "base/location.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/task/single_thread_task_runner.h"
#include "components/dom_distiller/core/pref_names.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"

namespace {

const float kDefaultFontScale =;

// These values should agree with those in distiller_native_javascript.cc.
const float kMinFontScale =;
const float kMaxFontScale =;

}  // namespace

namespace dom_distiller {

DistilledPagePrefs::DistilledPagePrefs(PrefService* pref_service)
    :{}

DistilledPagePrefs::~DistilledPagePrefs() = default;

// static
void DistilledPagePrefs::RegisterProfilePrefs(
    user_prefs::PrefRegistrySyncable* registry) {}

void DistilledPagePrefs::SetFontFamily(mojom::FontFamily new_font_family) {}

mojom::FontFamily DistilledPagePrefs::GetFontFamily() {}

void DistilledPagePrefs::SetTheme(mojom::Theme new_theme) {}

mojom::Theme DistilledPagePrefs::GetTheme() {}

void DistilledPagePrefs::SetFontScaling(float scaling) {}

float DistilledPagePrefs::GetFontScaling() {}

void DistilledPagePrefs::AddObserver(Observer* obs) {}

void DistilledPagePrefs::RemoveObserver(Observer* obs) {}

void DistilledPagePrefs::NotifyOnChangeFontFamily(
    mojom::FontFamily new_font_family) {}

void DistilledPagePrefs::NotifyOnChangeTheme(mojom::Theme new_theme) {}

void DistilledPagePrefs::NotifyOnChangeFontScaling(float scaling) {}

}  // namespace dom_distiller