pending.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // Copyright 2017 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. /**
  5. * @fileoverview Externs for stuff not added to the Closure compiler yet, but
  6. * should get added.
  7. * @externs
  8. */
  9. /**
  10. * TODO(katie): Remove this once length is added to the Closure
  11. * chrome_extensions.js.
  12. * An event from the TTS engine to communicate the status of an utterance.
  13. * @constructor
  14. */
  15. function TtsEvent() {}
  16. /** @type {number} */
  17. TtsEvent.prototype.length;
  18. /**
  19. * @see https://drafts.css-houdini.org/css-typed-om/#stylepropertymap
  20. * @typedef {{set: function(string, *):void,
  21. * append: function(string, *):void,
  22. * delete: function(string):void,
  23. * clear: function():void }}
  24. * TODO(rbpotter): Remove this once it is added to Closure Compiler itself.
  25. */
  26. class StylePropertyMap {
  27. /**
  28. * @param {string} property
  29. * @param {*} values
  30. */
  31. set(property, values) {}
  32. /**
  33. * @param {string} property
  34. * @param {*} values
  35. */
  36. append(property, values) {}
  37. /** @param {string} property */
  38. delete(property) {}
  39. clear() {}
  40. }
  41. /** @type {!StylePropertyMap} */
  42. HTMLElement.prototype.attributeStyleMap;
  43. /** @return {!AnimationEffectTimingProperties} */
  44. AnimationEffect.prototype.getTiming = function() {};
  45. /** @return {!Array<!Object>} */
  46. AnimationEffect.prototype.getKeyframes = function() {};