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

Unified Diff: remoting/webapp/js_proto/chrome_proto.js

Issue 613313002: [Chromoting] Additional prototypes for jscompile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/webapp/js_proto/dom_proto.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/js_proto/chrome_proto.js
diff --git a/remoting/webapp/js_proto/chrome_proto.js b/remoting/webapp/js_proto/chrome_proto.js
index 359b997abf9f04aeeb0374d70ec9b579d4f8ad20..5535689bc14db43fdbdcf8bb7e322244abe71c91 100644
--- a/remoting/webapp/js_proto/chrome_proto.js
+++ b/remoting/webapp/js_proto/chrome_proto.js
@@ -55,8 +55,12 @@ chrome.runtime = {
/** @type {string} */
message: ''
},
- /** @return {{version: string, app: {background: Object}}} */
+ /** @type {string} */
+ id: '',
+ /** @return {{name: string, version: string, app: {background: Object}}} */
getManifest: function() {},
+ /** @param {function(Window):void} callback */
+ getBackgroundPage: function(callback) {},
/** @type {chrome.Event} */
onSuspend: null,
/** @type {chrome.Event} */
@@ -145,6 +149,11 @@ chrome.i18n = {};
*/
chrome.i18n.getMessage = function(messageName, opt_args) {};
+/**
+ * @return {string}
+ */
+chrome.i18n.getUILanguage = function() {};
+
/** @type {Object} */
chrome.storage = {};
@@ -359,10 +368,13 @@ var AppWindow = function() {
AppWindow.prototype.close = function() {};
AppWindow.prototype.drawAttention = function() {};
+AppWindow.prototype.focus = function() {};
AppWindow.prototype.maximize = function() {};
AppWindow.prototype.minimize = function() {};
AppWindow.prototype.restore = function() {};
AppWindow.prototype.show = function() {};
+/** @return {boolean} */
+AppWindow.prototype.isMinimized = function() {};
AppWindow.prototype.fullscreen = function() {};
/** @return {boolean} */
AppWindow.prototype.isFullscreen = function() {};
« no previous file with comments | « no previous file | remoting/webapp/js_proto/dom_proto.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698