Index: src/plugin/PluginTabBase.h |
diff --git a/src/plugin/PluginTabBase.h b/src/plugin/PluginTabBase.h |
index d48e59d5071c9706396d7a3a2ae3856b74077fe2..4c7d0dcbf276cfbe7131c1d94ce3156bc882b69e 100644 |
--- a/src/plugin/PluginTabBase.h |
+++ b/src/plugin/PluginTabBase.h |
@@ -38,15 +38,18 @@ class CPluginTab |
std::thread m_thread; |
std::atomic<bool> m_continueThreadRunning; |
- CPluginDomTraverser* m_traverser; |
+ std::unique_ptr<CPluginDomTraverser> m_traverser; |
public: |
- CPluginFilter m_filter; |
+ class AsyncPluginFilter; |
+ std::shared_ptr<AsyncPluginFilter> m_asyncPluginFilter; |
private: |
void ThreadProc(); |
CComAutoCriticalSection m_criticalSectionCache; |
std::set<std::wstring> m_cacheFrames; |
std::wstring m_cacheDomain; |
void InjectABP(IWebBrowser2* browser); |
+ bool IsTraverserEnabled(); |
+ bool IsCSSInjectionEnabled(); |
public: |
CPluginTab(); |