blob: 499139f2e378757270e629acbf08da5aa16fc109 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview Stub methods to allow the closure compiler to compile
* successfully for external dependencies.
*/
/**
* Represents a voice as sent from the TTS Handler class. |languageCode| is
* the language, not the locale, i.e. 'en' rather than 'en-us'. |name| is the
* user-facing voice name, and |id| is the unique ID for that voice name (which
* is generated in tts_subpage.js and not passed from tts_handler.cc).
* |displayLanguage| is the user-facing display string, i.e. 'English'.
* |fullLanguageCode| is the code with locale, i.e. 'en-us' or 'en-gb'.
* |languageScore| is a relative measure of how closely the voice's language
* matches the app language, and can be used to set a default voice.
* @typedef {{languageCode: string, name: string, displayLanguage: string,
* extensionId: string, id: string, fullLanguageCode: string,
* languageScore: number}}
*/
let TtsHandlerVoice;
/**
* @typedef {{name: string, extensionId: string, optionsPage: string}}
*/
let TtsHandlerExtension;