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

Delta Between Two Patch Sets: include.postload.js

Issue 6528746257383424: Issue 1708 - Integrate first-run page changes in Chrome/Opera/Safari (Closed)
Left Patch Set: Rebased patch Created Dec. 18, 2014, 10:12 p.m.
Right Patch Set: Rebased Created Dec. 19, 2014, 8:09 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « ext/background.js ('k') | metadata.common » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 case "clickhide-close": 717 case "clickhide-close":
718 if (clickHideFiltersDialog && msg.remove) 718 if (clickHideFiltersDialog && msg.remove)
719 { 719 {
720 // Explicitly get rid of currentElement 720 // Explicitly get rid of currentElement
721 var element = currentElement.prisoner || currentElement; 721 var element = currentElement.prisoner || currentElement;
722 if (element && element.parentNode) 722 if (element && element.parentNode)
723 element.parentNode.removeChild(element); 723 element.parentNode.removeChild(element);
724 } 724 }
725 clickHide_deactivate(); 725 clickHide_deactivate();
726 break; 726 break;
727 default:
728 sendResponse({});
729 break;
730 } 727 }
731 }); 728 });
732 729
733 if (window == window.top) 730 if (window == window.top)
734 ext.backgroundPage.sendMessage({type: "report-html-page"}); 731 ext.backgroundPage.sendMessage({type: "report-html-page"});
735 } 732 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld