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

Side by Side Diff: extensions/renderer/resources/guest_view/extension_options/extension_options_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 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 var CreateEvent = require('guestViewEvents').CreateEvent; 5 var CreateEvent = require('guestViewEvents').CreateEvent;
6 var GuestViewEvents = require('guestViewEvents').GuestViewEvents; 6 var GuestViewEvents = require('guestViewEvents').GuestViewEvents;
7 7
8 function ExtensionOptionsEvents(extensionOptionsImpl) { 8 function ExtensionOptionsEvents(extensionOptionsImpl) {
9 GuestViewEvents.call(this, extensionOptionsImpl); 9 GuestViewEvents.call(this, extensionOptionsImpl);
10 10
(...skipping 19 matching lines...) Expand all
30 evt: CreateEvent('extensionOptionsInternal.onPreferredSizeChanged'), 30 evt: CreateEvent('extensionOptionsInternal.onPreferredSizeChanged'),
31 fields:['width', 'height'] 31 fields:['width', 'height']
32 } 32 }
33 } 33 }
34 34
35 ExtensionOptionsEvents.prototype.getEvents = function() { 35 ExtensionOptionsEvents.prototype.getEvents = function() {
36 return ExtensionOptionsEvents.EVENTS; 36 return ExtensionOptionsEvents.EVENTS;
37 }; 37 };
38 38
39 // Exports. 39 // Exports.
40 exports.ExtensionOptionsEvents = ExtensionOptionsEvents; 40 exports.$set('ExtensionOptionsEvents', ExtensionOptionsEvents);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698