summaryrefslogtreecommitdiff
path: root/widget/android/NativeJSContainer.h
blob: bebf75f1b1180b7ff787ae1faff00e9f114cddcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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__