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

Side by Side Diff: chrome/renderer/resources/extensions/event.js

Issue 7980055: Move bindings javascript into its own directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months 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 | Annotate | Revision Log
OLDNEW
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
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 })();
OLDNEW
« no previous file with comments | « chrome/renderer/resources/extensions/apitest.js ('k') | chrome/renderer/resources/extensions/extension_process_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698