Bug 1286925 - Update auto-generated bindings; r=me

This commit is contained in:
Jim Chen 2016-07-20 21:44:48 -04:00
Родитель 0d2e7fcb1d
Коммит 240d5851e4
3 изменённых файлов: 48 добавлений и 0 удалений

Просмотреть файл

@ -155,6 +155,21 @@ const JNINativeMethod GeckoNetworkManager::Natives<Impl>::methods[] = {
::template Wrap<&Impl::OnStatusChanged>)
};
template<class Impl>
class GeckoScreenOrientation::Natives : public mozilla::jni::NativeImpl<GeckoScreenOrientation, Impl>
{
public:
static const JNINativeMethod methods[1];
};
template<class Impl>
const JNINativeMethod GeckoScreenOrientation::Natives<Impl>::methods[] = {
mozilla::jni::MakeNativeMethod<GeckoScreenOrientation::OnOrientationChange_t>(
mozilla::jni::NativeStub<GeckoScreenOrientation::OnOrientationChange_t, Impl>
::template Wrap<&Impl::OnOrientationChange>)
};
template<class Impl>
class GeckoSmsManager::Natives : public mozilla::jni::NativeImpl<GeckoSmsManager, Impl>
{

Просмотреть файл

@ -915,6 +915,12 @@ constexpr char GeckoNetworkManager::OnConnectionChanged_t::signature[];
constexpr char GeckoNetworkManager::OnStatusChanged_t::name[];
constexpr char GeckoNetworkManager::OnStatusChanged_t::signature[];
const char GeckoScreenOrientation::name[] =
"org/mozilla/gecko/GeckoScreenOrientation";
constexpr char GeckoScreenOrientation::OnOrientationChange_t::name[];
constexpr char GeckoScreenOrientation::OnOrientationChange_t::signature[];
const char GeckoSmsManager::name[] =
"org/mozilla/gecko/GeckoSmsManager";

Просмотреть файл

@ -2095,6 +2095,33 @@ public:
template<class Impl> class Natives;
};
class GeckoScreenOrientation : public mozilla::jni::ObjectBase<GeckoScreenOrientation, jobject>
{
public:
static const char name[];
explicit GeckoScreenOrientation(const Context& ctx) : ObjectBase<GeckoScreenOrientation, jobject>(ctx) {}
struct OnOrientationChange_t {
typedef GeckoScreenOrientation Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int16_t,
int16_t> Args;
static constexpr char name[] = "onOrientationChange";
static constexpr char signature[] =
"(SS)V";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
};
static const bool isMultithreaded = false;
template<class Impl> class Natives;
};
class GeckoSmsManager : public mozilla::jni::ObjectBase<GeckoSmsManager, jobject>
{
public: