Merge pull request #1 from bslassey/bslassey_get_size_from_chromecast
bug 1116860 - Get size of second screen from the chromecast r=minkle,rba...
This commit is contained in:
Коммит
344ebd0dbf
|
@ -39,7 +39,12 @@ CallingClient.prototype = {
|
|||
if (!msg) {
|
||||
return;
|
||||
}
|
||||
if (!this.senderId) {
|
||||
this.senderId = senderId;
|
||||
this._sendMessage({ type: "size",
|
||||
width: window.innerWidth,
|
||||
height: window.innerHeight });
|
||||
}
|
||||
log("Received raw message " + msg);
|
||||
var data = JSON.parse(msg);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче