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

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

Issue 1417513003: [Extensions] Don't allow built-in extensions code to be overridden (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Jochen's Created 5 years, 1 month 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This module implements WebView (<webview>) as a custom element that wraps a 5 // This module implements WebView (<webview>) as a custom element that wraps a
6 // BrowserPlugin object element. The object element is hidden within 6 // BrowserPlugin object element. The object element is hidden within
7 // the shadow DOM of the WebView element. 7 // the shadow DOM of the WebView element.
8 8
9 var DocumentNatives = requireNative('document_natives'); 9 var DocumentNatives = requireNative('document_natives');
10 var GuestView = require('guestView').GuestView; 10 var GuestView = require('guestView').GuestView;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 this.element.webkitRequestFullScreen(); 216 this.element.webkitRequestFullScreen();
217 }.bind(this)); 217 }.bind(this));
218 }; 218 };
219 219
220 // Implemented when the ChromeWebView API is available. 220 // Implemented when the ChromeWebView API is available.
221 WebViewImpl.prototype.maybeSetupContextMenus = function() {}; 221 WebViewImpl.prototype.maybeSetupContextMenus = function() {};
222 222
223 GuestViewContainer.registerElement(WebViewImpl); 223 GuestViewContainer.registerElement(WebViewImpl);
224 224
225 // Exports. 225 // Exports.
226 exports.WebViewImpl = WebViewImpl; 226 exports.$set('WebViewImpl', WebViewImpl);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698