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

Delta Between Two Patch Sets: src/plugin/PluginClass.cpp

Issue 6567422169448448: Issue 119 - Switch to injecting CSS for element hiding (Closed)
Left Patch Set: rebase Created Feb. 25, 2016, 5:38 p.m.
Right Patch Set: rename OnQuit Created Sept. 30, 2016, 3:25 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/plugin/PluginClass.h ('k') | src/plugin/PluginDomTraverserBase.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 { 291 {
292 DEBUG_GENERAL([this]() -> std::wstring 292 DEBUG_GENERAL([this]() -> std::wstring
293 { 293 {
294 std::wstringstream ss; 294 std::wstringstream ss;
295 ss << L"CPluginClass::SetSite, this = " << ToHexLiteral(this); 295 ss << L"CPluginClass::SetSite, this = " << ToHexLiteral(this);
296 ss << L", browser = nullptr"; 296 ss << L", browser = nullptr";
297 return ss.str(); 297 return ss.str();
298 }()); 298 }());
299 299
300 Unadvise(); 300 Unadvise();
301 assert(m_data->connectedWebBrowsersCache.empty() && "Connected web browser cache should be already empty");
301 302
302 // Destroy window 303 // Destroy window
303 if (m_pWndProcStatus) 304 if (m_pWndProcStatus)
304 { 305 {
305 ::SetWindowLongPtr(m_hStatusBarWnd, GWLP_WNDPROC, (LPARAM)(WNDPROC)m_pWn dProcStatus); 306 ::SetWindowLongPtr(m_hStatusBarWnd, GWLP_WNDPROC, (LPARAM)(WNDPROC)m_pWn dProcStatus);
306 307
307 m_pWndProcStatus = NULL; 308 m_pWndProcStatus = NULL;
308 } 309 }
309 310
310 if (m_hPaneWnd) 311 if (m_hPaneWnd)
(...skipping 1414 matching lines...) Expand 10 before | Expand all | Expand 10 after
1725 s_criticalSectionLocal.Unlock(); 1726 s_criticalSectionLocal.Unlock();
1726 1727
1727 return icon; 1728 return icon;
1728 } 1729 }
1729 1730
1730 ATOM CPluginClass::GetAtomPaneClass() 1731 ATOM CPluginClass::GetAtomPaneClass()
1731 { 1732 {
1732 return s_atomPaneClass; 1733 return s_atomPaneClass;
1733 } 1734 }
1734 1735
LEFTRIGHT

Powered by Google App Engine
This is Rietveld