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

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

Issue 1466473002: Fix for closure compile after chrome_extensions.js externs update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | no next file » | 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 the closure compiler of 5 // This file contains various hacks needed to inform the closure compiler of
6 // various Chrome-specific properties and methods that is not specified in 6 // various Chrome-specific properties and methods that is not specified in
7 // /third_part/closure_compiler/externs/chrome_externsions.js. It is used only 7 // /third_part/closure_compiler/externs/chrome_externsions.js. It is used only
8 // with the closure compiler to verify the type-correctness of our code. 8 // with the closure compiler to verify the type-correctness of our code.
9 9
10 console.error('Proto file should not be executed.'); 10 console.error('Proto file should not be executed.');
11 11
12 /** @type {{background: Object}} */ 12 /** @type {{background: Object}} */
13 chrome.runtime.Manifest.prototype.app; 13 chrome.runtime.Manifest.prototype.app;
14 14
15 /** @type {chrome.app.window.Bounds} */
16 chrome.app.window.AppWindow.prototype.outerBounds;
17
18 /** @type {chrome.app.window.Bounds} */
19 chrome.app.window.AppWindow.prototype.innerBounds;
20
21 /** @type {string} */ 15 /** @type {string} */
22 chrome.app.window.AppWindow.prototype.id; 16 chrome.app.window.AppWindow.prototype.id;
23 17
24 /** 18 /**
25 * @param {{rects: Array<ClientRect>}} rects 19 * @param {{rects: Array<ClientRect>}} rects
26 */ 20 */
27 chrome.app.window.AppWindow.prototype.setShape = function(rects) {}; 21 chrome.app.window.AppWindow.prototype.setShape = function(rects) {};
28 22
29 /** @type {boolean} */ 23 /** @type {boolean} */
30 OnClickData.prototype.checked; 24 OnClickData.prototype.checked;
31 25
32 /** 26 /**
33 * @constructor 27 * @constructor
34 */ 28 */
35 chrome.socket.SendInfo = function() {}; 29 chrome.socket.SendInfo = function() {};
36 30
37 /** @type {number} */ 31 /** @type {number} */
38 chrome.socket.SendInfo.prototype.resultCode; 32 chrome.socket.SendInfo.prototype.resultCode;
39 33
40 /** @type {number} */ 34 /** @type {number} */
41 chrome.socket.SendInfo.prototype.bytesSent; 35 chrome.socket.SendInfo.prototype.bytesSent;
42 36
43 /** @param {function(FileWriter):void} callback */ 37 /** @param {function(FileWriter):void} callback */
44 Entry.prototype.createWriter = function(callback) {}; 38 Entry.prototype.createWriter = function(callback) {};
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698