Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: ui/file_manager/externs/chrome_cast.js

Issue 823583005: Add type annotations to caster.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/cast/caster.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @namespace 6 * @namespace
7 */ 7 */
8 chrome.cast = {}; 8 chrome.cast = {};
9 9
10 10
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 /** @type {?number} */ 327 /** @type {?number} */
328 chrome.cast.Volume.prototype.level; 328 chrome.cast.Volume.prototype.level;
329 329
330 /** @type {?boolean} */ 330 /** @type {?boolean} */
331 chrome.cast.Volume.prototype.muted; 331 chrome.cast.Volume.prototype.muted;
332 332
333 333
334 /** 334 /**
335 * @param {!chrome.cast.SessionRequest} sessionRequest 335 * @param {!chrome.cast.SessionRequest} sessionRequest
336 * @param {function(!chrome.cast.Session)} sessionListener 336 * @param {function(!chrome.cast.Session)} sessionListener
337 * @param {function(!chrome.cast.ReceiverAvailability)} receiverListener 337 * @param {function(!chrome.cast.ReceiverAvailability,Array.<Object>)}
338 * receiverListener
338 * @param {chrome.cast.AutoJoinPolicy=} opt_autoJoinPolicy 339 * @param {chrome.cast.AutoJoinPolicy=} opt_autoJoinPolicy
339 * @param {chrome.cast.DefaultActionPolicy=} opt_defaultActionPolicy 340 * @param {chrome.cast.DefaultActionPolicy=} opt_defaultActionPolicy
340 * @constructor 341 * @constructor
341 * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.Api Config 342 * @see https://developers.google.com/cast/docs/reference/chrome/chrome.cast.Api Config
342 */ 343 */
343 chrome.cast.ApiConfig = function(sessionRequest, sessionListener, 344 chrome.cast.ApiConfig = function(sessionRequest, sessionListener,
344 receiverListener, opt_autoJoinPolicy, opt_defaultActionPolicy) {}; 345 receiverListener, opt_autoJoinPolicy, opt_defaultActionPolicy) {};
345 346
346 /** @type {!chrome.cast.SessionRequest} */ 347 /** @type {!chrome.cast.SessionRequest} */
347 chrome.cast.ApiConfig.prototype.sessionRequest; 348 chrome.cast.ApiConfig.prototype.sessionRequest;
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 chrome.cast.media.TextTrackStyle.prototype.fontFamily; 1232 chrome.cast.media.TextTrackStyle.prototype.fontFamily;
1232 1233
1233 /** @type {?chrome.cast.media.TextTrackFontGenericFamily} */ 1234 /** @type {?chrome.cast.media.TextTrackFontGenericFamily} */
1234 chrome.cast.media.TextTrackStyle.prototype.fontGenericFamily; 1235 chrome.cast.media.TextTrackStyle.prototype.fontGenericFamily;
1235 1236
1236 /** @type {?chrome.cast.media.TextTrackFontStyle} */ 1237 /** @type {?chrome.cast.media.TextTrackFontStyle} */
1237 chrome.cast.media.TextTrackStyle.prototype.fontStyle; 1238 chrome.cast.media.TextTrackStyle.prototype.fontStyle;
1238 1239
1239 /** @type {Object} */ 1240 /** @type {Object} */
1240 chrome.cast.media.TextTrackStyle.prototype.customData; 1241 chrome.cast.media.TextTrackStyle.prototype.customData;
OLDNEW
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/cast/caster.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698