chromium/chrome/browser/ui/translate/translate_bubble_model_impl.cc

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

#include "chrome/browser/ui/translate/translate_bubble_model_impl.h"

#include <utility>

#include "chrome/browser/translate/chrome_translate_client.h"
#include "components/translate/core/browser/language_state.h"
#include "components/translate/core/browser/translate_ui_delegate.h"
#include "components/translate/core/browser/translate_ui_languages_manager.h"

TranslateBubbleModelImpl::TranslateBubbleModelImpl(
    translate::TranslateStep step,
    std::unique_ptr<translate::TranslateUIDelegate> ui_delegate)
    :{}

TranslateBubbleModelImpl::~TranslateBubbleModelImpl() = default;

// static
TranslateBubbleModel::ViewState
TranslateBubbleModelImpl::TranslateStepToViewState(
    translate::TranslateStep step) {}

TranslateBubbleModel::ViewState TranslateBubbleModelImpl::GetViewState() const {}

bool TranslateBubbleModelImpl::ShouldAlwaysTranslateBeCheckedByDefault() const {}

bool TranslateBubbleModelImpl::ShouldShowAlwaysTranslateShortcut() const {}

void TranslateBubbleModelImpl::SetViewState(
    TranslateBubbleModel::ViewState view_state) {}

void TranslateBubbleModelImpl::ShowError(
    translate::TranslateErrors error_type) {}

int TranslateBubbleModelImpl::GetNumberOfSourceLanguages() const {}

int TranslateBubbleModelImpl::GetNumberOfTargetLanguages() const {}

std::u16string TranslateBubbleModelImpl::GetSourceLanguageNameAt(
    int index) const {}

std::u16string TranslateBubbleModelImpl::GetTargetLanguageNameAt(
    int index) const {}

std::string TranslateBubbleModelImpl::GetSourceLanguageCode() const {}

int TranslateBubbleModelImpl::GetSourceLanguageIndex() const {}

void TranslateBubbleModelImpl::UpdateSourceLanguageIndex(int index) {}

int TranslateBubbleModelImpl::GetTargetLanguageIndex() const {}

void TranslateBubbleModelImpl::UpdateTargetLanguageIndex(int index) {}

void TranslateBubbleModelImpl::DeclineTranslation() {}

bool TranslateBubbleModelImpl::ShouldNeverTranslateLanguage() {}

void TranslateBubbleModelImpl::SetNeverTranslateLanguage(bool value) {}

bool TranslateBubbleModelImpl::ShouldNeverTranslateSite() {}

void TranslateBubbleModelImpl::SetNeverTranslateSite(bool value) {}

bool TranslateBubbleModelImpl::CanAddSiteToNeverPromptList() {}

bool TranslateBubbleModelImpl::ShouldAlwaysTranslate() const {}

void TranslateBubbleModelImpl::SetAlwaysTranslate(bool value) {}

void TranslateBubbleModelImpl::Translate() {}

void TranslateBubbleModelImpl::RevertTranslation() {}

void TranslateBubbleModelImpl::OnBubbleClosing() {}

bool TranslateBubbleModelImpl::IsPageTranslatedInCurrentLanguages() const {}

void TranslateBubbleModelImpl::ReportUIInteraction(
    translate::UIInteraction ui_interaction) {}

void TranslateBubbleModelImpl::ReportUIChange(bool is_ui_shown) {}