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

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

Issue 514343002: XMPP implementation in JavaScript. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/webapp/js_proto/chrome_proto.js ('k') | remoting/webapp/unittests/base_unittest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/js_proto/dom_proto.js
diff --git a/remoting/webapp/js_proto/dom_proto.js b/remoting/webapp/js_proto/dom_proto.js
index 8eaa5ce9c0bab0c95c2de709337d79a075aa030b..b029733c3570f5c01ad635c84082b45a4c7b03da 100644
--- a/remoting/webapp/js_proto/dom_proto.js
+++ b/remoting/webapp/js_proto/dom_proto.js
@@ -27,6 +27,8 @@ Document.prototype.webkitIsFullScreen;
/** @type {boolean} */
Document.prototype.webkitHidden;
+/** @type {Element} */
+Document.prototype.firstElementChild;
/** @type {number} */
Element.ALLOW_KEYBOARD_INPUT;
@@ -38,6 +40,12 @@ Element.prototype.webkitRequestFullScreen = function(flags) {};
/** @type {boolean} */
Element.prototype.hidden;
+/** @type {string} */
+Element.prototype.localName;
+
+/** @type {string} */
+Element.prototype.textContent;
+
/** @constructor
@extends {HTMLElement} */
@@ -242,3 +250,10 @@ Event.prototype.initMouseEvent = function(
screenX, screenY, clientX, clientY,
ctrlKey, altKey, shiftKey, metaKey,
button, relatedTarget) {};
+
+/**
+ * @param {number} begin
+ * @param {number=} end
+ * @return {ArrayBuffer}
+ */
+ArrayBuffer.prototype.slice = function(begin, end) {};
« no previous file with comments | « remoting/webapp/js_proto/chrome_proto.js ('k') | remoting/webapp/unittests/base_unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698