| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <http://adblockplus.org/>, | 2 * This file is part of Adblock Plus <http://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2014 Eyeo GmbH | 3 * Copyright (C) 2006-2014 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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 { | 357 { |
| 358 let browser = exports.getBrowser(window); | 358 let browser = exports.getBrowser(window); |
| 359 return (browser ? browser.currentURI : null); | 359 return (browser ? browser.currentURI : null); |
| 360 } | 360 } |
| 361 }; | 361 }; |
| 362 | 362 |
| 363 exports.contentContextMenu = ["contentAreaContextMenu", "mailContext"]; | 363 exports.contentContextMenu = ["contentAreaContextMenu", "mailContext"]; |
| 364 | 364 |
| 365 exports.defaultToolbarPosition = { | 365 exports.defaultToolbarPosition = { |
| 366 parent: ["PersonalToolbar", "msgToolbar"], | 366 parent: ["PersonalToolbar", "msgToolbar"], |
| 367 before: ["bookmarks-button", "button-junk"] | 367 before: ["bookmarks-button", "button-junk"], |
| 368 addClass: "toolbarbutton-1" |
| 368 }; | 369 }; |
| 369 | 370 |
| 370 exports.statusbarPosition = { | 371 exports.statusbarPosition = { |
| 371 parent: "status-bar" | 372 parent: "status-bar" |
| 372 }; | 373 }; |
| 373 | 374 |
| 374 exports.toolsMenu = { | 375 exports.toolsMenu = { |
| 375 parent: "taskPopup", | 376 parent: "taskPopup", |
| 376 after: "downloadmgr" | 377 after: "downloadmgr" |
| 377 }; | 378 }; |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 939 event.state = {id: require("info").addonID}; | 940 event.state = {id: require("info").addonID}; |
| 940 browser._contentWindow.dispatchEvent(event); | 941 browser._contentWindow.dispatchEvent(event); |
| 941 }); | 942 }); |
| 942 }); | 943 }); |
| 943 }, true); | 944 }, true); |
| 944 }; | 945 }; |
| 945 | 946 |
| 946 break; | 947 break; |
| 947 } | 948 } |
| 948 } | 949 } |
| OLD | NEW |