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

Side by Side Diff: compiled/CSSPropertyFilter.h

Issue 29333474: Issue 4125 - [emscripten] Convert filter classes to C++ (Closed)
Patch Set: Replaced shared_ptr by boost-like intrusive_ptr Created Jan. 28, 2016, 7:50 p.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 | « compiled/ActiveFilter.cpp ('k') | compiled/CSSPropertyFilter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef ADBLOCK_PLUS_CSS_PROPERTY_FILTER_H
2 #define ADBLOCK_PLUS_CSS_PROPERTY_FILTER_H
3
4 #include <cstddef>
5
6 #include "Filter.h"
7 #include "ElemHideBase.h"
8
9 class CSSPropertyFilter: public ElemHideBase
10 {
11 private:
12 String mRegexpSource;
13 String mPrefix;
14 String mSuffix;
15 public:
16 CSSPropertyFilter(const String& text, String::size_type domainsEnd,
17 String::size_type selectorStart, String::size_type prefixEnd,
18 String::size_type regexpStart, String::size_type regexpEnd,
19 String::size_type suffixStart);
20 Type GetType() const;
21 String GetRegExpString() const;
22 const String GetSelectorPrefix() const
23 {
24 return mPrefix;
25 }
26 const String GetSelectorSuffix() const
27 {
28 return mSuffix;
29 }
30 };
31
32 #endif
OLDNEW
« no previous file with comments | « compiled/ActiveFilter.cpp ('k') | compiled/CSSPropertyFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld