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

Side by Side Diff: extensions/renderer/resources/guest_view/guest_view_events.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 2015 The Chromium Authors. All rights reserved. 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 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 // Event management for GuestViewContainers. 5 // Event management for GuestViewContainers.
6 6
7 var EventBindings = require('event_bindings'); 7 var EventBindings = require('event_bindings');
8 var GuestViewInternalNatives = requireNative('guest_view_internal'); 8 var GuestViewInternalNatives = requireNative('guest_view_internal');
9 var MessagingNatives = requireNative('messaging_natives'); 9 var MessagingNatives = requireNative('messaging_natives');
10 10
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 return; 167 return;
168 } 168 }
169 return $Function.apply(func, view.events, $Array.slice(arguments)); 169 return $Function.apply(func, view.events, $Array.slice(arguments));
170 }; 170 };
171 }; 171 };
172 172
173 // Implemented by the derived event manager, if one exists. 173 // Implemented by the derived event manager, if one exists.
174 GuestViewEvents.prototype.getEvents = function() { return {}; }; 174 GuestViewEvents.prototype.getEvents = function() { return {}; };
175 175
176 // Exports. 176 // Exports.
177 exports.GuestViewEvents = GuestViewEvents; 177 exports.$set('GuestViewEvents', GuestViewEvents);
178 exports.CreateEvent = CreateEvent; 178 exports.$set('CreateEvent', CreateEvent);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698