| LEFT | RIGHT |
| 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 Loading... |
| 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 Loading... |
| 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 |
| LEFT | RIGHT |