зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1286925 - Update auto-generated bindings; r=me
This commit is contained in:
Родитель
0d2e7fcb1d
Коммит
240d5851e4
|
@ -155,6 +155,21 @@ const JNINativeMethod GeckoNetworkManager::Natives<Impl>::methods[] = {
|
||||||
::template Wrap<&Impl::OnStatusChanged>)
|
::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>
|
template<class Impl>
|
||||||
class GeckoSmsManager::Natives : public mozilla::jni::NativeImpl<GeckoSmsManager, 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::name[];
|
||||||
constexpr char GeckoNetworkManager::OnStatusChanged_t::signature[];
|
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[] =
|
const char GeckoSmsManager::name[] =
|
||||||
"org/mozilla/gecko/GeckoSmsManager";
|
"org/mozilla/gecko/GeckoSmsManager";
|
||||||
|
|
||||||
|
|
|
@ -2095,6 +2095,33 @@ public:
|
||||||
template<class Impl> class Natives;
|
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>
|
class GeckoSmsManager : public mozilla::jni::ObjectBase<GeckoSmsManager, jobject>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче