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

Unified Diff: include/AdblockPlus/JsEngine.h

Issue 5797488346791936: Issue 1107 - Support notifications (Closed)
Patch Set: Created Jan. 19, 2015, 12:50 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/AdblockPlus/JsEngine.h
diff --git a/include/AdblockPlus/JsEngine.h b/include/AdblockPlus/JsEngine.h
index c82ae02d5b24cae3c40737c19286968388dc7615..fa61369d8016bcb4adefc54669ac0cc214496234 100644
--- a/include/AdblockPlus/JsEngine.h
+++ b/include/AdblockPlus/JsEngine.h
@@ -145,6 +145,12 @@ namespace AdblockPlus
JsValuePtr NewObject();
/**
+ * Creates a new JavaScript array object.
+ * @return New `JsValue` instance.
+ */
+ JsValuePtr NewArray();
+
+ /**
* Creates a JavaScript function that invokes a C++ callback.
* @param callback C++ callback to invoke. The callback receives a
* `v8::Arguments` object and can use `FromArguments()` to retrieve

Powered by Google App Engine
This is Rietveld