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

Delta Between Two Patch Sets: compiled/ElemHideException.cpp

Issue 29333474: Issue 4125 - [emscripten] Convert filter classes to C++ (Closed)
Left Patch Set: Using embind Created Jan. 15, 2016, 8:44 p.m.
Right Patch Set: Addressed comments from Patch Set 28 Created March 21, 2017, 10:04 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « compiled/ElemHideException.h ('k') | compiled/ElemHideFilter.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #include <emscripten/bind.h>
2
3 #include "ElemHideException.h" 1 #include "ElemHideException.h"
4 2
5 ElemHideException::ElemHideException(const std::wstring& text, 3 ElemHideException::ElemHideException(const String& text,
6 size_t domainsEnd, size_t selectorStart) 4 const ElemHideBaseData& data)
7 : ElemHideBase(text, domainsEnd, selectorStart) 5 : ElemHideBase(Type::ELEMHIDEEXCEPTION, text, data)
8 { 6 {
9 } 7 }
10
11 Filter::Type ElemHideException::GetType() const
12 {
13 return Type::ELEMHIDEEXCEPTION;
14 }
15
16 EMSCRIPTEN_BINDINGS(elemhideexception)
17 {
18 using namespace emscripten;
19 class_<ElemHideException,base<ActiveFilter>>("ElemHideException");
20 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld