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: move MarkAsShown into Notification class and get rid of locale arg in Notification::GetTexts Created Jan. 22, 2015, 10:02 a.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();
Wladimir Palant 2015/01/22 10:47:20 This change (and method Push) should be unnecessar
+
+ /**
* 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