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

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
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..e922cd9fde8c4e45ce0da858219de48c5d840010 100644
--- a/remoting/webapp/js_proto/dom_proto.js
+++ b/remoting/webapp/js_proto/dom_proto.js
@@ -27,7 +27,6 @@ Document.prototype.webkitIsFullScreen;
/** @type {boolean} */
Document.prototype.webkitHidden;
-
/** @type {number} */
Element.ALLOW_KEYBOARD_INPUT;
@@ -38,6 +37,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 +247,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) {};

Powered by Google App Engine
This is Rietveld 408576698