Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: extensions/renderer/resources/guest_view/guest_view_iframe_container.js

Issue 1165773004: Extract the element implementation logic to function mods in <webview>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@qui
Patch Set: fix comments Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 // --site-per-process overrides for guest_view_container.js
6
7 var GuestViewContainer = require('guestViewContainer').GuestViewContainer;
8
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;
15 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698