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

Side by Side Diff: remoting/webapp/js_proto/chrome_proto.js

Issue 386853002: Add a Record button to the web-app if the host supports video recording. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: function -> var Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « remoting/webapp/html/window_frame.html ('k') | remoting/webapp/manifest.json.jinja2 » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file contains various hacks needed to inform JSCompiler of various 5 // This file contains various hacks needed to inform JSCompiler of various
6 // WebKit- and Chrome-specific properties and methods. It is used only with 6 // WebKit- and Chrome-specific properties and methods. It is used only with
7 // JSCompiler to verify the type-correctness of our code. 7 // JSCompiler to verify the type-correctness of our code.
8 8
9 /** @type {Object} */ 9 /** @type {Object} */
10 var chrome = {}; 10 var chrome = {};
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 OnClickData.prototype.selectionText; 234 OnClickData.prototype.selectionText;
235 /** @type {boolean} */ 235 /** @type {boolean} */
236 OnClickData.prototype.editable; 236 OnClickData.prototype.editable;
237 /** @type {boolean} */ 237 /** @type {boolean} */
238 OnClickData.prototype.wasChecked; 238 OnClickData.prototype.wasChecked;
239 /** @type {boolean} */ 239 /** @type {boolean} */
240 OnClickData.prototype.checked; 240 OnClickData.prototype.checked;
241 241
242 242
243 /** @type {Object} */ 243 /** @type {Object} */
244 chrome.fileSystem = {
245 /**
246 * @param {Object.<string>?} options
247 * @param {function(Entry, Array.<FileEntry>):void} callback
248 */
249 chooseEntry: function(options, callback) {},
250 /**
251 * @param {FileEntry} fileEntry
252 * @param {function(string):void} callback
253 */
254 getDisplayPath: function(fileEntry, callback) {}
255 };
256
257 /** @type {Object} */
244 chrome.identity = { 258 chrome.identity = {
245 /** 259 /**
246 * @param {Object.<string>} parameters 260 * @param {Object.<string>} parameters
247 * @param {function(string):void} callback 261 * @param {function(string):void} callback
248 */ 262 */
249 getAuthToken: function(parameters, callback) {}, 263 getAuthToken: function(parameters, callback) {},
250 /** 264 /**
251 * @param {Object.<string>} parameters 265 * @param {Object.<string>} parameters
252 * @param {function():void} callback 266 * @param {function():void} callback
253 */ 267 */
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 */ 514 */
501 chrome.cast.initialize = 515 chrome.cast.initialize =
502 function(apiConfig, onInitSuccess, onInitError) {}; 516 function(apiConfig, onInitSuccess, onInitError) {};
503 517
504 /** 518 /**
505 * @param {function(chrome.cast.Session):void} successCallback 519 * @param {function(chrome.cast.Session):void} successCallback
506 * @param {function(chrome.cast.Error):void} errorCallback 520 * @param {function(chrome.cast.Error):void} errorCallback
507 */ 521 */
508 chrome.cast.requestSession = 522 chrome.cast.requestSession =
509 function(successCallback, errorCallback) {}; 523 function(successCallback, errorCallback) {};
510
OLDNEW
« no previous file with comments | « remoting/webapp/html/window_frame.html ('k') | remoting/webapp/manifest.json.jinja2 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698