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; |
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); |