summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/jscompiler_hacks.js
diff options
context:
space:
mode:
authorjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 16:58:04 +0000
committerjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 16:58:04 +0000
commitde63f08a1e0905fcb2a670e52a5d27fcdd0c4ec4 (patch)
tree14dfae9e99def078af8474ffec2fd396624f8d5f /remoting/webapp/jscompiler_hacks.js
parent3bf21e1dcd73903dfae5c4d9a7c8f2e55ed238d5 (diff)
downloadchromium_src-de63f08a1e0905fcb2a670e52a5d27fcdd0c4ec4.zip
chromium_src-de63f08a1e0905fcb2a670e52a5d27fcdd0c4ec4.tar.gz
chromium_src-de63f08a1e0905fcb2a670e52a5d27fcdd0c4ec4.tar.bz2
Support bump-scroll in full-screen by adjusting plugin margins.
BUG=125031 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10260022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134926 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/jscompiler_hacks.js')
-rw-r--r--remoting/webapp/jscompiler_hacks.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/remoting/webapp/jscompiler_hacks.js b/remoting/webapp/jscompiler_hacks.js
index 419a9d44..e949eed 100644
--- a/remoting/webapp/jscompiler_hacks.js
+++ b/remoting/webapp/jscompiler_hacks.js
@@ -28,5 +28,15 @@ Element.prototype.webkitRequestFullScreen = function(flags) {};
/** @type {{getRandomValues: function(Uint16Array):void}} */
Window.prototype.crypto;
+/** @constructor
+ @extends {HTMLElement} */
+var HTMLEmbedElement = function() { };
+
+/** @type {number} */
+HTMLEmbedElement.prototype.height;
+
+/** @type {number} */
+HTMLEmbedElement.prototype.width;
+
// This string is replaced with the actual value in build-webapp.py.
var OAUTH2_USE_OFFICIAL_CLIENT_ID = false;