Index: src/plugin/PluginTabBase.h |
=================================================================== |
--- a/src/plugin/PluginTabBase.h |
+++ b/src/plugin/PluginTabBase.h |
@@ -39,7 +39,7 @@ |
std::thread m_thread; |
std::atomic<bool> m_continueThreadRunning; |
public: |
- CPluginFilter m_filter; |
+ std::unique_ptr<CPluginFilter> filter; |
Eric
2016/02/03 18:03:20
As simple as this change looks, it's the core of t
|
private: |
void ThreadProc(); |
CComAutoCriticalSection m_criticalSectionCache; |
@@ -57,6 +57,7 @@ |
virtual void OnActivate(); |
virtual void OnUpdate(); |
virtual void OnNavigate(const std::wstring& url); |
+ void OnDownloadBegin(); |
virtual void OnDownloadComplete(IWebBrowser2* browser); |
virtual void OnDocumentComplete(IWebBrowser2* browser, const std::wstring& url, bool isDocumentBrowser); |
static DWORD WINAPI TabThreadProc(LPVOID pParam); |