summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/settings/a11y_page/externs.js
blob: 5734b7a6218df597d57ed193b7c08dfa59627b01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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 which cannot be included in
 * compiled_resources2.gyp.
 */

/**
 * @constructor
 */
Window.prototype.speechSynthesis = function() {};

/**
 * @type {function(Object)}
 */
Window.prototype.speechSynthesis.speak = function(utterance) {};

/**
 * @constructor
 */
Window.prototype.SpeechSynthesisUtterance = function() {};