OLD | NEW |
1 #ifndef _ADBLOCK_PLUS_DOM_TRAVERSER_H_ | 1 #ifndef _ADBLOCK_PLUS_DOM_TRAVERSER_H_ |
2 #define _ADBLOCK_PLUS_DOM_TRAVERSER_H_ | 2 #define _ADBLOCK_PLUS_DOM_TRAVERSER_H_ |
3 | 3 |
4 | 4 |
5 #include "PluginDomTraverserBase.h" | 5 #include "PluginDomTraverserBase.h" |
6 | 6 |
7 | 7 |
8 class CPluginTab; | 8 class CPluginTab; |
9 | 9 |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 class CPluginDomTraverser : public CPluginDomTraverserBase<CPluginDomTraverserCa
che> | 23 class CPluginDomTraverser : public CPluginDomTraverserBase<CPluginDomTraverserCa
che> |
24 { | 24 { |
25 | 25 |
26 public: | 26 public: |
27 | 27 |
28 CPluginDomTraverser(CPluginTab* tab); | 28 CPluginDomTraverser(CPluginTab* tab); |
29 | 29 |
30 protected: | 30 protected: |
31 | 31 |
32 bool OnIFrame(IHTMLElement* pEl, const CString& url, CString& indent); | 32 bool OnIFrame(IHTMLElement* pEl, const std::wstring & url, std::wstring & inde
nt); |
33 bool OnElement(IHTMLElement* pEl, const CString& tag, CPluginDomTraverserCache
* cache, bool isDebug, CString& indent); | 33 bool OnElement(IHTMLElement* pEl, const std::wstring & tag, CPluginDomTraverse
rCache* cache, bool isDebug, std::wstring & indent); |
34 | 34 |
35 bool IsEnabled(); | 35 bool IsEnabled(); |
36 | 36 |
37 void HideElement(IHTMLElement* pEl, const CString& type, const CString& url, b
ool isDebug, CString& indent); | 37 void HideElement(IHTMLElement* pEl, const std::wstring & type, const std::wstr
ing & url, bool isDebug, std::wstring & indent); |
38 | 38 |
39 }; | 39 }; |
40 | 40 |
41 | 41 |
42 #endif // _ADBLOCK_PLUS_DOM_TRAVERSER_H_ | 42 #endif // _ADBLOCK_PLUS_DOM_TRAVERSER_H_ |
OLD | NEW |