Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: lib/main.js

Issue 29364102: Issue 4658 - Incorporate element hiding emulation filters (Closed) Base URL: https://bitbucket.org/fhd/adblockplus
Patch Set: Update adblockpluscore dependency to b1e70036624f Created Dec. 13, 2016, 5:32 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/elemHideEmulation.js ('k') | metadata.gecko » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2016 Eyeo GmbH 3 * Copyright (C) 2006-2016 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 15 matching lines...) Expand all
26 registerPublicAPI(); 26 registerPublicAPI();
27 require("filterListener"); 27 require("filterListener");
28 require("contentPolicy"); 28 require("contentPolicy");
29 require("synchronizer"); 29 require("synchronizer");
30 require("notification"); 30 require("notification");
31 require("sync"); 31 require("sync");
32 require("messageResponder"); 32 require("messageResponder");
33 require("ui"); 33 require("ui");
34 require("objectTabs"); 34 require("objectTabs");
35 require("elemHideFF"); 35 require("elemHideFF");
36 require("cssProperties"); 36 require("elemHideEmulation");
37 37
38 function bootstrapChildProcesses() 38 function bootstrapChildProcesses()
39 { 39 {
40 let info = require("info"); 40 let info = require("info");
41 41
42 let processScript = info.addonRoot + "lib/child/bootstrap.js?" + 42 let processScript = info.addonRoot + "lib/child/bootstrap.js?" +
43 Math.random() + "&info=" + encodeURIComponent(JSON.stringify(info)); 43 Math.random() + "&info=" + encodeURIComponent(JSON.stringify(info));
44 let messageManager = Cc["@mozilla.org/parentprocessmessagemanager;1"] 44 let messageManager = Cc["@mozilla.org/parentprocessmessagemanager;1"]
45 .getService(Ci.nsIProcessScriptLoader) 45 .getService(Ci.nsIProcessScriptLoader)
46 .QueryInterface(Ci.nsIMessageBroadcaster); 46 .QueryInterface(Ci.nsIMessageBroadcaster);
(...skipping 28 matching lines...) Expand all
75 75
76 let registrar = Components.manager.QueryInterface(Ci.nsIComponentRegistrar); 76 let registrar = Components.manager.QueryInterface(Ci.nsIComponentRegistrar);
77 registrar.registerFactory(classID, "Adblock Plus public API URL", contractID, factory); 77 registrar.registerFactory(classID, "Adblock Plus public API URL", contractID, factory);
78 78
79 onShutdown.add(function() 79 onShutdown.add(function()
80 { 80 {
81 registrar.unregisterFactory(classID, factory); 81 registrar.unregisterFactory(classID, factory);
82 Cu.unload(uri.spec); 82 Cu.unload(uri.spec);
83 }); 83 });
84 } 84 }
OLDNEW
« no previous file with comments | « lib/elemHideEmulation.js ('k') | metadata.gecko » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld