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

Unified Diff: src/plugin/PluginTabBase.h

Issue 6567422169448448: Issue 119 - Switch to injecting CSS for element hiding (Closed)
Patch Set: rename OnQuit Created Sept. 30, 2016, 3:25 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | src/plugin/PluginTabBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | src/plugin/PluginTabBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld