Lines Matching refs:embed
32 * Native Client <embed> element.
33 * {@code null} when no <embed> is attached to the DOM.
88 var embed = document.createElement('embed');
89 embed.src = this.nmfPath_;
90 embed.type = 'application/x-nacl';
91 embed.width = 0;
92 embed.height = 0;
94 embed.setAttribute('tablesdir', this.tablesDir_);
96 embed.addEventListener('load', goog.bind(this.onInstanceLoad_, this),
98 embed.addEventListener('error', goog.bind(this.onInstanceError_, this),
100 embed.addEventListener('message', goog.bind(this.onInstanceMessage_, this),
102 elem.appendChild(embed);
104 this.embedElement_ = /** @type {!NaClEmbedElement} */ (embed);
126 * @return {boolean} {@code true} if the <embed> element is attached to the DOM.