#include "components/dom_distiller/core/dom_distiller_request_view_base.h"
#include <memory>
#include <sstream>
#include <string>
#include <utility>
#include "components/dom_distiller/core/distilled_page_prefs.h"
#include "components/dom_distiller/core/dom_distiller_service.h"
#include "components/dom_distiller/core/experiments.h"
#include "components/dom_distiller/core/task_tracker.h"
#include "components/dom_distiller/core/viewer.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"
namespace dom_distiller {
DomDistillerRequestViewBase::DomDistillerRequestViewBase(
DistilledPagePrefs* distilled_page_prefs)
: … { … }
DomDistillerRequestViewBase::~DomDistillerRequestViewBase() = default;
void DomDistillerRequestViewBase::FlagAsErrorPage() { … }
bool DomDistillerRequestViewBase::IsErrorPage() { … }
void DomDistillerRequestViewBase::OnArticleReady(
const DistilledArticleProto* article_proto) { … }
void DomDistillerRequestViewBase::OnArticleUpdated(
ArticleDistillationUpdate article_update) { … }
void DomDistillerRequestViewBase::OnChangeTheme(mojom::Theme new_theme) { … }
void DomDistillerRequestViewBase::OnChangeFontFamily(
mojom::FontFamily new_font) { … }
void DomDistillerRequestViewBase::OnChangeFontScaling(float scaling) { … }
void DomDistillerRequestViewBase::TakeViewerHandle(
std::unique_ptr<ViewerHandle> viewer_handle) { … }
void DomDistillerRequestViewBase::SendCommonJavaScript() { … }
}