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

Side by Side Diff: extensions/renderer/resources/guest_view/guest_view_container.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 the shared functionality for different guestview 5 // This module implements the shared functionality for different guestview
6 // containers, such as web_view, app_view, etc. 6 // containers, such as web_view, app_view, etc.
7 7
8 var DocumentNatives = requireNative('document_natives'); 8 var DocumentNatives = requireNative('document_natives');
9 var GuestView = require('guestView').GuestView; 9 var GuestView = require('guestView').GuestView;
10 var GuestViewInternalNatives = requireNative('guest_view_internal'); 10 var GuestViewInternalNatives = requireNative('guest_view_internal');
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 299
300 // Delete the callbacks so developers cannot call them and produce unexpected 300 // Delete the callbacks so developers cannot call them and produce unexpected
301 // behavior. 301 // behavior.
302 delete proto.createdCallback; 302 delete proto.createdCallback;
303 delete proto.attachedCallback; 303 delete proto.attachedCallback;
304 delete proto.detachedCallback; 304 delete proto.detachedCallback;
305 delete proto.attributeChangedCallback; 305 delete proto.attributeChangedCallback;
306 } 306 }
307 307
308 // Exports. 308 // Exports.
309 exports.GuestViewContainer = GuestViewContainer; 309 exports.$set('GuestViewContainer', GuestViewContainer);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698