Add the ability to code generated prepopulated static nested structs
[chromium-blink-merge.git] / extensions / renderer / resources / guest_view / guest_view_iframe_container.js
blob3f1c5d9d42d8d4cb673234aa4b867c1f79191930
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // --site-per-process overrides for guest_view_container.js
7 var GuestViewContainer = require('guestViewContainer').GuestViewContainer;
9 GuestViewContainer.prototype.createInternalElement$ = function() {
10   var iframeElement = document.createElement('iframe');
11   iframeElement.style.width = '100%';
12   iframeElement.style.height = '100%';
13   privates(iframeElement).internal = this;
14   return iframeElement;