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

Side by Side Diff: lib/appSupport.js

Issue 6287675942240256: Issue 185 - ABP icon is added to bookmark bar after installation (Closed)
Patch Set: Created May 7, 2014, 12:33 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 | « no previous file | no next file » | 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 <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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 else 356 else
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: "nav-bar"
367 before: ["bookmarks-button", "button-junk"]
368 }; 367 };
369 368
370 exports.statusbarPosition = { 369 exports.statusbarPosition = {
371 parent: "status-bar" 370 parent: "status-bar"
372 }; 371 };
373 372
374 exports.toolsMenu = { 373 exports.toolsMenu = {
375 parent: "taskPopup", 374 parent: "taskPopup",
376 after: "downloadmgr" 375 after: "downloadmgr"
377 }; 376 };
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 event.state = {id: addonID}; 938 event.state = {id: addonID};
940 browser._contentWindow.dispatchEvent(event); 939 browser._contentWindow.dispatchEvent(event);
941 } 940 }
942 }); 941 });
943 }, true); 942 }, true);
944 }; 943 };
945 944
946 break; 945 break;
947 } 946 }
948 } 947 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld