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

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

Issue 11012013: Hanging resolved (critical sections unlocking) (Closed)
Patch Set: Comments addressed Created June 25, 2013, 11:56 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
« no previous file with comments | « src/engine/Debug.cpp ('k') | src/plugin/PluginFilter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "..\shared\Utils.h"
8 7
9 enum CFilterElementHideAttrPos 8 enum CFilterElementHideAttrPos
10 { 9 {
11 POS_NONE = 0, STARTING, ENDING, ANYWHERE, EXACT 10 POS_NONE = 0, STARTING, ENDING, ANYWHERE, EXACT
12 }; 11 };
13 12
14 enum CFilterElementHideAttrType 13 enum CFilterElementHideAttrType
15 { 14 {
16 TYPE_NONE = 0, STYLE, ID, CLASS 15 TYPE_NONE = 0, STYLE, ID, CLASS
17 }; 16 };
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 169
171 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;
172 171
173 172
174 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;
175 bool ShouldWhiteList(CString url) const; 174 bool ShouldWhiteList(CString url) const;
176 }; 175 };
177 176
178 177
179 #endif // _PLUGIN_FILTER_H_ 178 #endif // _PLUGIN_FILTER_H_
OLDNEW
« no previous file with comments | « src/engine/Debug.cpp ('k') | src/plugin/PluginFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld