OLD | NEW |
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 Loading... |
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); |
OLD | NEW |