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

Side by Side Diff: src/plugin/PluginFilter.h

Issue 11427013: Appear fast for IE (Closed)
Patch Set: Created Aug. 7, 2013, 5:44 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #ifndef _PLUGIN_FILTER_H_ 1 #ifndef _PLUGIN_FILTER_H_
2 #define _PLUGIN_FILTER_H_ 2 #define _PLUGIN_FILTER_H_
3 3
4 4
5 #include "PluginTypedef.h" 5 #include "PluginTypedef.h"
6 #include <memory> 6 #include <memory>
7 7
8 enum CFilterElementHideAttrPos 8 enum CFilterElementHideAttrPos
9 { 9 {
10 POS_NONE = 0, STARTING, ENDING, ANYWHERE, EXACT 10 POS_NONE = 0, STARTING, ENDING, ANYWHERE, EXACT
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 bool LoadHideFilters(std::vector<std::wstring> filters); 165 bool LoadHideFilters(std::vector<std::wstring> filters);
166 166
167 bool AddFilterElementHide(CString filter); 167 bool AddFilterElementHide(CString filter);
168 168
169 169
170 bool IsElementHidden(const CString& tag, IHTMLElement* pEl, const CString& dom ain, const CString& indent) const; 170 bool IsElementHidden(const CString& tag, IHTMLElement* pEl, const CString& dom ain, const CString& indent) const;
171 171
172 172
173 bool ShouldBlock(CString src, int contentType, const CString& domain, bool add Debug=false) const; 173 bool ShouldBlock(CString src, int contentType, const CString& domain, bool add Debug=false) const;
174
175 HANDLE hideFiltersLoadedEvent;
174 }; 176 };
175 177
176 178
177 #endif // _PLUGIN_FILTER_H_ 179 #endif // _PLUGIN_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld