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

Unified Diff: remoting/webapp/jscompiler_hacks.js

Issue 23891005: Fix OAuth "trampoline" content script to send a message with the oauth results rather than using a … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refresh window on new refresh token Created 7 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 | « remoting/webapp/cs_oauth2_trampoline.js ('k') | remoting/webapp/oauth2.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/jscompiler_hacks.js
diff --git a/remoting/webapp/jscompiler_hacks.js b/remoting/webapp/jscompiler_hacks.js
index 57c9419dc097d58e642975bb57a4f1d4333f81e9..94c3ba18041bb92a26f45224d1f5ebed57539db5 100644
--- a/remoting/webapp/jscompiler_hacks.js
+++ b/remoting/webapp/jscompiler_hacks.js
@@ -127,28 +127,7 @@ chrome.app.window = {
*/
chrome.contextMenus = {
/** @type {chrome.Event} */
- onClicked: null,
- /**
- * @param {!Object} createProperties
- * @param {function()=} opt_callback
- * @return {string|number}
- */
- create: function(createProperties, opt_callback) {},
- /**
- * @param {string|number} menuItemId
- * @param {function()=} opt_callback
- */
- remove: function(menuItemId, opt_callback) {},
- /**
- * @param {function()=} opt_callback
- */
- removeAll: function(opt_callback) {},
- /**
- * @param {string|number} id
- * @param {!Object} updateProperties
- * @param {function()=} opt_callback
- */
- update: function(id, updateProperties, opt_callback) {}
+ onClicked: null
};
/** @type {Object} */
@@ -234,7 +213,9 @@ chrome.Window = function() {
this.type = '';
};
-/** @param {string} message*/
+/**
+ * @param {*} message
+ */
chrome.extension.sendMessage = function(message) {}
/** @type {chrome.Event} */
« no previous file with comments | « remoting/webapp/cs_oauth2_trampoline.js ('k') | remoting/webapp/oauth2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698