OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 chrome = chrome || {}; | 5 var chrome = chrome || {}; |
6 (function () { | 6 (function () { |
7 native function GetChromeHidden(); | 7 native function GetChromeHidden(); |
8 native function AttachEvent(eventName); | 8 native function AttachEvent(eventName); |
9 native function DetachEvent(eventName); | 9 native function DetachEvent(eventName); |
10 native function GetExternalFileEntry(fileDefinition); | 10 native function GetExternalFileEntry(fileDefinition); |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 var event = allAttachedEvents[i]; | 244 var event = allAttachedEvents[i]; |
245 if (event) | 245 if (event) |
246 event.detach_(); | 246 event.detach_(); |
247 } | 247 } |
248 }; | 248 }; |
249 | 249 |
250 chromeHidden.dispatchError = function(msg) { | 250 chromeHidden.dispatchError = function(msg) { |
251 console.error(msg); | 251 console.error(msg); |
252 }; | 252 }; |
253 })(); | 253 })(); |
OLD | NEW |