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) {}; |