OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 /** | 5 /** |
6 * @fileoverview This contains an implementation of the EventTarget interface | 6 * @fileoverview This contains an implementation of the EventTarget interface |
7 * as defined by DOM Level 2 Events. | 7 * as defined by DOM Level 2 Events. |
8 */ | 8 */ |
9 | 9 |
10 cr.define('cr', function() { | 10 cr.define('cr', function() { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 return !prevented && event.returnValue; | 96 return !prevented && event.returnValue; |
97 } | 97 } |
98 }; | 98 }; |
99 | 99 |
100 // Export | 100 // Export |
101 return { | 101 return { |
102 EventTarget: EventTarget | 102 EventTarget: EventTarget |
103 }; | 103 }; |
104 }); | 104 }); |
OLD | NEW |