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

Side by Side Diff: lib/appSupport.js

Issue 6719238685327360: Issue 384 - Wrong image shows up briefly for Adblock Plus icon (Closed)
Patch Set: Created May 23, 2014, 11:05 a.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 | « chrome/content/ui/overlay.xul ('k') | lib/ui.js » ('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 <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
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
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 }
OLDNEW
« no previous file with comments | « chrome/content/ui/overlay.xul ('k') | lib/ui.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld