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

Side by Side Diff: compiled/CSSPropertyFilter.cpp

Issue 29333474: Issue 4125 - [emscripten] Convert filter classes to C++ (Closed)
Patch Set: How with CSS property filters Created Jan. 20, 2016, 1:12 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/CSSPropertyFilter.h ('k') | compiled/CommentFilter.h » ('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 #include "CSSPropertyFilter.h"
2 #include "RegExpFilter.h"
3
4 CSSPropertyFilter::CSSPropertyFilter(const std::u16string& text,
5 const std::u16string& domains, const std::u16string& selector,
6 const std::u16string& regexpSource, const std::u16string& prefix,
7 const std::u16string& suffix)
8 : ElemHideBase(text, domains, selector), prefix(prefix), suffix(suffix),
9 regexp(RegExpFilter::RegExpFromSource(regexpSource))
10 {
11 if (IsGeneric())
12 throw std::u16string(u"No active domain specified for CSS property filter");
13 }
14
15 Filter::Type CSSPropertyFilter::GetType() const
16 {
17 return Type::CSSPROPERTY;
18 }
OLDNEW
« no previous file with comments | « compiled/CSSPropertyFilter.h ('k') | compiled/CommentFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld