Index: compiled/CSSPropertyFilter.cpp |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/compiled/CSSPropertyFilter.cpp |
@@ -0,0 +1,18 @@ |
+#include "CSSPropertyFilter.h" |
+#include "RegExpFilter.h" |
+ |
+CSSPropertyFilter::CSSPropertyFilter(const String& text, |
+ const ElemHideData& data) |
+ : ElemHideBase(text, data), CSSPropertyFilterData(data) |
+{ |
+} |
+ |
+Filter::Type CSSPropertyFilter::GetType() const |
+{ |
+ return Type::CSSPROPERTY; |
+} |
+ |
+OwnedString CSSPropertyFilter::GetRegExpString() const |
+{ |
+ return std::move(RegExpFilter::RegExpFromSource(GetRegExpSource(mText))); |
+} |