summaryrefslogtreecommitdiffstats
path: root/widget/android/NativeJSContainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'widget/android/NativeJSContainer.h')
-rw-r--r--widget/android/NativeJSContainer.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/widget/android/NativeJSContainer.h b/widget/android/NativeJSContainer.h
new file mode 100644
index 000000000..bebf75f1b
--- /dev/null
+++ b/widget/android/NativeJSContainer.h
@@ -0,0 +1,22 @@
+/* -*- Mode: c++; tab-width: 40; indent-tabs-mode: nil; c-basic-offset: 4; -*- */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#ifndef NativeJSObject_h__
+#define NativeJSObject_h__
+
+#include "GeneratedJNIWrappers.h"
+#include "jsapi.h"
+
+namespace mozilla {
+namespace widget {
+
+java::NativeJSContainer::LocalRef
+CreateNativeJSContainer(JSContext* cx, JS::HandleObject object);
+
+} // namespace widget
+} // namespace mozilla
+
+#endif // NativeJSObject_h__
+