2013-11-19 19:56:09 +04:00
|
|
|
// GENERATED CODE
|
2015-01-10 03:33:57 +03:00
|
|
|
// Generated by the Java program at /build/annotationProcessors at compile time
|
|
|
|
// from annotations on Java methods. To update, change the annotations on the
|
2015-07-11 06:41:36 +03:00
|
|
|
// corresponding Java methods and rerun the build. Manually updating this file
|
2015-01-10 03:33:57 +03:00
|
|
|
// will cause your build to fail.
|
2013-11-12 22:41:00 +04:00
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
#ifndef GeneratedJNIWrappers_h
|
|
|
|
#define GeneratedJNIWrappers_h
|
2013-11-12 22:41:00 +04:00
|
|
|
|
2015-01-10 03:33:57 +03:00
|
|
|
#include "mozilla/jni/Refs.h"
|
2013-11-12 22:41:00 +04:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace widget {
|
|
|
|
|
2015-07-29 22:11:15 +03:00
|
|
|
class ANRReporter : public mozilla::jni::Class<ANRReporter>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<ANRReporter> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<ANRReporter> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<ANRReporter> GlobalRef;
|
|
|
|
typedef const mozilla::jni::Param<ANRReporter>& Param;
|
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/ANRReporter";
|
|
|
|
|
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
ANRReporter(jobject instance) : Class(instance) {}
|
2015-07-29 22:11:15 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetNativeStack_t {
|
|
|
|
typedef ANRReporter Owner;
|
|
|
|
typedef mozilla::jni::String::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::String::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "getNativeStack";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Ljava/lang/String;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct ReleaseNativeStack_t {
|
|
|
|
typedef ANRReporter Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "releaseNativeStack";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct RequestNativeStack_t {
|
|
|
|
typedef ANRReporter Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
bool> Args;
|
|
|
|
static constexpr char name[] = "requestNativeStack";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Z)Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
template<class Impl> class Natives;
|
|
|
|
};
|
|
|
|
|
2015-10-01 20:40:53 +03:00
|
|
|
class AlarmReceiver : public mozilla::jni::Class<AlarmReceiver>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<AlarmReceiver> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<AlarmReceiver> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<AlarmReceiver> GlobalRef;
|
|
|
|
typedef const mozilla::jni::Param<AlarmReceiver>& Param;
|
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/AlarmReceiver";
|
|
|
|
|
|
|
|
protected:
|
|
|
|
AlarmReceiver(jobject instance) : Class(instance) {}
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct NotifyAlarmFired_t {
|
|
|
|
typedef AlarmReceiver Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "notifyAlarmFired";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
template<class Impl> class Natives;
|
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class DownloadsIntegration : public mozilla::jni::Class<DownloadsIntegration>
|
|
|
|
{
|
2014-10-20 23:24:49 +04:00
|
|
|
public:
|
2015-01-10 03:33:57 +03:00
|
|
|
typedef mozilla::jni::Ref<DownloadsIntegration> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<DownloadsIntegration> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<DownloadsIntegration> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<DownloadsIntegration>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/DownloadsIntegration";
|
|
|
|
|
2014-10-20 23:24:49 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
DownloadsIntegration(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct ScanMedia_t {
|
|
|
|
typedef DownloadsIntegration Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "scanMedia";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Ljava/lang/String;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto ScanMedia(mozilla::jni::String::Param, mozilla::jni::String::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2014-10-20 23:24:49 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class GeckoAppShell : public mozilla::jni::Class<GeckoAppShell>
|
|
|
|
{
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<GeckoAppShell> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<GeckoAppShell> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<GeckoAppShell> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<GeckoAppShell>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/GeckoAppShell";
|
|
|
|
|
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
GeckoAppShell(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
public:
|
2015-01-10 03:33:57 +03:00
|
|
|
struct AcknowledgeEvent_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "acknowledgeEvent";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto AcknowledgeEvent() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct AddPluginViewWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
bool> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "addPluginView";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Landroid/view/View;FFFFZ)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto AddPluginViewWrapper(mozilla::jni::Object::Param, float, float, float, float, bool) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct AlertsProgressListener_OnProgress_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
int64_t,
|
|
|
|
int64_t,
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "alertsProgressListener_OnProgress";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;JJLjava/lang/String;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto AlertsProgressListener_OnProgress(mozilla::jni::String::Param, int64_t, int64_t, mozilla::jni::String::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct CancelVibrate_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "cancelVibrate";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto CancelVibrate() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct CheckURIVisited_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "checkUriVisited";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto CheckURIVisited(mozilla::jni::String::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct ClearMessageList_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "clearMessageList";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(I)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto ClearMessageList(int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct CloseCamera_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "closeCamera";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto CloseCamera() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct CloseNotification_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "closeNotification";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto CloseNotification(mozilla::jni::String::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct ConnectionGetMimeType_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::String::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::String::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "connectionGetMimeType";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/net/URLConnection;)Ljava/lang/String;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto ConnectionGetMimeType(mozilla::jni::Object::Param) -> mozilla::jni::String::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct CreateInputStream_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "createInputStream";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/net/URLConnection;)Ljava/io/InputStream;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto CreateInputStream(mozilla::jni::Object::Param) -> mozilla::jni::Object::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct CreateMessageListWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int64_t,
|
|
|
|
int64_t,
|
|
|
|
mozilla::jni::ObjectArray::Param,
|
|
|
|
int32_t,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
bool,
|
|
|
|
bool,
|
|
|
|
int64_t,
|
|
|
|
bool,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "createMessageList";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(JJ[Ljava/lang/String;ILjava/lang/String;ZZJZI)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto CreateMessageListWrapper(int64_t, int64_t, mozilla::jni::ObjectArray::Param, int32_t, mozilla::jni::String::Param, bool, bool, int64_t, bool, int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct CreateShortcut_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "createShortcut";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto CreateShortcut(mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct DeleteMessageWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "deleteMessage";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(II)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto DeleteMessageWrapper(int32_t, int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-10-01 20:40:53 +03:00
|
|
|
public:
|
|
|
|
struct DisableAlarm_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "disableAlarm";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto DisableAlarm() -> void;
|
|
|
|
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
struct DisableBatteryNotifications_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "disableBatteryNotifications";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto DisableBatteryNotifications() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct DisableNetworkNotifications_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "disableNetworkNotifications";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto DisableNetworkNotifications() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct DisableScreenOrientationNotifications_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "disableScreenOrientationNotifications";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto DisableScreenOrientationNotifications() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct DisableSensor_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "disableSensor";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(I)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto DisableSensor(int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct EnableBatteryNotifications_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "enableBatteryNotifications";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto EnableBatteryNotifications() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct EnableLocation_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
bool> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "enableLocation";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Z)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto EnableLocation(bool) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct EnableLocationHighAccuracy_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
bool> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "enableLocationHighAccuracy";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Z)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto EnableLocationHighAccuracy(bool) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct EnableNetworkNotifications_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "enableNetworkNotifications";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto EnableNetworkNotifications() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct EnableScreenOrientationNotifications_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "enableScreenOrientationNotifications";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto EnableScreenOrientationNotifications() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct EnableSensor_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "enableSensor";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(I)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto EnableSensor(int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GamepadAdded_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "gamepadAdded";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(II)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GamepadAdded(int32_t, int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetConnection_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getConnection";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)Ljava/net/URLConnection;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetConnection(mozilla::jni::String::Param) -> mozilla::jni::Object::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetContext_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getContext";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Landroid/content/Context;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetContext() -> mozilla::jni::Object::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetCurrentBatteryInformationWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::DoubleArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::DoubleArray::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getCurrentBatteryInformation";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()[D";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetCurrentBatteryInformationWrapper() -> mozilla::jni::DoubleArray::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetCurrentNetworkInformationWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::DoubleArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::DoubleArray::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getCurrentNetworkInformation";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()[D";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetCurrentNetworkInformationWrapper() -> mozilla::jni::DoubleArray::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetDensity_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getDensity";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()F";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetDensity() -> float;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetDpiWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef int32_t ReturnType;
|
|
|
|
typedef int32_t SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getDpi";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()I";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetDpiWrapper() -> int32_t;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetExtensionFromMimeTypeWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::String::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::String::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getExtensionFromMimeType";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)Ljava/lang/String;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetExtensionFromMimeTypeWrapper(mozilla::jni::String::Param) -> mozilla::jni::String::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetExternalPublicDirectory_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::String::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::String::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getExternalPublicDirectory";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)Ljava/lang/String;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetExternalPublicDirectory(mozilla::jni::String::Param) -> mozilla::jni::String::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-07-24 22:45:55 +03:00
|
|
|
public:
|
|
|
|
struct GetHWDecoderCapability_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "getHWDecoderCapability";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetHWDecoderCapability() -> bool;
|
2015-07-24 22:45:55 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetHWEncoderCapability_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "getHWEncoderCapability";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetHWEncoderCapability() -> bool;
|
2015-07-24 22:45:55 +03:00
|
|
|
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
struct GetHandlersForMimeTypeWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::ObjectArray::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getHandlersForMimeType";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetHandlersForMimeTypeWrapper(mozilla::jni::String::Param, mozilla::jni::String::Param) -> mozilla::jni::ObjectArray::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetHandlersForURLWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::ObjectArray::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getHandlersForURL";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetHandlersForURLWrapper(mozilla::jni::String::Param, mozilla::jni::String::Param) -> mozilla::jni::ObjectArray::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetIconForExtensionWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::ByteArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::ByteArray::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getIconForExtension";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;I)[B";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetIconForExtensionWrapper(mozilla::jni::String::Param, int32_t) -> mozilla::jni::ByteArray::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-04-24 12:43:31 +03:00
|
|
|
public:
|
|
|
|
struct GetMaxTouchPoints_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef int32_t ReturnType;
|
|
|
|
typedef int32_t SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-04-24 12:43:31 +03:00
|
|
|
static constexpr char name[] = "getMaxTouchPoints";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()I";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-04-24 12:43:31 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetMaxTouchPoints() -> int32_t;
|
2015-04-24 12:43:31 +03:00
|
|
|
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
struct GetMessageWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getMessage";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(II)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetMessageWrapper(int32_t, int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetMimeTypeFromExtensionsWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::String::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::String::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getMimeTypeFromExtensions";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)Ljava/lang/String;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetMimeTypeFromExtensionsWrapper(mozilla::jni::String::Param) -> mozilla::jni::String::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetNextMessageInListWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getNextMessageInList";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(II)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetNextMessageInListWrapper(int32_t, int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetProxyForURIWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::String::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::String::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getProxyForURI";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetProxyForURIWrapper(mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, int32_t) -> mozilla::jni::String::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-19 00:55:15 +03:00
|
|
|
public:
|
|
|
|
struct GetScreenAngle_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef int32_t ReturnType;
|
|
|
|
typedef int32_t SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "getScreenAngle";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()I";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto GetScreenAngle() -> int32_t;
|
|
|
|
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
struct GetScreenDepthWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef int32_t ReturnType;
|
|
|
|
typedef int32_t SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getScreenDepth";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()I";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetScreenDepthWrapper() -> int32_t;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetScreenOrientationWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef int16_t ReturnType;
|
|
|
|
typedef int16_t SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getScreenOrientation";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()S";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetScreenOrientationWrapper() -> int16_t;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-26 23:25:40 +03:00
|
|
|
public:
|
|
|
|
struct GetScreenSize_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "getScreenSize";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Landroid/graphics/Rect;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto GetScreenSize() -> mozilla::jni::Object::LocalRef;
|
|
|
|
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
struct GetShowPasswordSetting_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getShowPasswordSetting";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetShowPasswordSetting() -> bool;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetSystemColoursWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::IntArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::IntArray::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getSystemColors";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()[I";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetSystemColoursWrapper() -> mozilla::jni::IntArray::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct HandleGeckoMessageWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "handleGeckoMessage";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Lorg/mozilla/gecko/util/NativeJSContainer;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto HandleGeckoMessageWrapper(mozilla::jni::Object::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct HandleUncaughtException_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param,
|
|
|
|
mozilla::jni::Throwable::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "handleUncaughtException";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/Thread;Ljava/lang/Throwable;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::IGNORE;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto HandleUncaughtException(mozilla::jni::Object::Param, mozilla::jni::Throwable::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct HideProgressDialog_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "hideProgressDialog";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto HideProgressDialog() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct InitCameraWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::IntArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::IntArray::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
int32_t,
|
|
|
|
int32_t,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "initCamera";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;III)[I";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto InitCameraWrapper(mozilla::jni::String::Param, int32_t, int32_t, int32_t) -> mozilla::jni::IntArray::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct IsNetworkLinkKnown_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "isNetworkLinkKnown";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto IsNetworkLinkKnown() -> bool;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct IsNetworkLinkUp_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "isNetworkLinkUp";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto IsNetworkLinkUp() -> bool;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct IsTablet_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "isTablet";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto IsTablet() -> bool;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct KillAnyZombies_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "killAnyZombies";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto KillAnyZombies() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct LoadPluginClass_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef mozilla::jni::ClassObject::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::ClassObject::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "loadPluginClass";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Class;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto LoadPluginClass(mozilla::jni::String::Param, mozilla::jni::String::Param) -> mozilla::jni::ClassObject::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct LockScreenOrientation_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "lockScreenOrientation";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(I)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto LockScreenOrientation(int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct MarkURIVisited_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "markUriVisited";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto MarkURIVisited(mozilla::jni::String::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct MoveTaskToBack_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "moveTaskToBack";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto MoveTaskToBack() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct NetworkLinkType_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef int32_t ReturnType;
|
|
|
|
typedef int32_t SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "networkLinkType";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()I";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto NetworkLinkType() -> int32_t;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct NotifyDefaultPrevented_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
bool> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "notifyDefaultPrevented";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Z)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto NotifyDefaultPrevented(bool) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct NotifyIME_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "notifyIME";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(I)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto NotifyIME(int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct NotifyIMEChange_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
int32_t,
|
|
|
|
int32_t,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "notifyIMEChange";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;III)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto NotifyIMEChange(mozilla::jni::String::Param, int32_t, int32_t, int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct NotifyIMEContext_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "notifyIMEContext";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto NotifyIMEContext(int32_t, mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct NotifyWakeLockChanged_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "notifyWakeLockChanged";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Ljava/lang/String;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto NotifyWakeLockChanged(mozilla::jni::String::Param, mozilla::jni::String::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct OpenUriExternal_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "openUriExternal";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto OpenUriExternal(mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param) -> bool;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct PerformHapticFeedback_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
bool> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "performHapticFeedback";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Z)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto PerformHapticFeedback(bool) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct RegisterSurfaceTextureFrameListener_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "registerSurfaceTextureFrameListener";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/Object;I)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto RegisterSurfaceTextureFrameListener(mozilla::jni::Object::Param, int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct RemovePluginView_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param,
|
|
|
|
bool> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "removePluginView";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Landroid/view/View;Z)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto RemovePluginView(mozilla::jni::Object::Param, bool) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct RequestUiThreadCallback_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int64_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "requestUiThreadCallback";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(J)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto RequestUiThreadCallback(int64_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct ScheduleRestart_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "scheduleRestart";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto ScheduleRestart() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct SendMessageWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "sendMessage";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Ljava/lang/String;I)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto SendMessageWrapper(mozilla::jni::String::Param, mozilla::jni::String::Param, int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-10-01 20:40:53 +03:00
|
|
|
public:
|
|
|
|
struct SetAlarm_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t,
|
|
|
|
int32_t> Args;
|
|
|
|
static constexpr char name[] = "setAlarm";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(II)Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto SetAlarm(int32_t, int32_t) -> bool;
|
|
|
|
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
struct SetFullScreen_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
bool> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "setFullScreen";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Z)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto SetFullScreen(bool) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct SetKeepScreenOn_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
bool> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "setKeepScreenOn";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Z)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto SetKeepScreenOn(bool) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct SetURITitle_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "setUriTitle";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Ljava/lang/String;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto SetURITitle(mozilla::jni::String::Param, mozilla::jni::String::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct ShowAlertNotificationWrapper_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "showAlertNotification";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto ShowAlertNotificationWrapper(mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct ShowInputMethodPicker_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "showInputMethodPicker";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto ShowInputMethodPicker() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct StartMonitoringGamepad_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "startMonitoringGamepad";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto StartMonitoringGamepad() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct StopMonitoringGamepad_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "stopMonitoringGamepad";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto StopMonitoringGamepad() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct UnlockProfile_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "unlockProfile";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto UnlockProfile() -> bool;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct UnlockScreenOrientation_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "unlockScreenOrientation";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto UnlockScreenOrientation() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct UnregisterSurfaceTextureFrameListener_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "unregisterSurfaceTextureFrameListener";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/Object;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto UnregisterSurfaceTextureFrameListener(mozilla::jni::Object::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct Vibrate1_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int64_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "vibrate";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(J)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto Vibrate1(int64_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct VibrateA_t {
|
|
|
|
typedef GeckoAppShell Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::LongArray::Param,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "vibrate";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"([JI)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto VibrateA(mozilla::jni::LongArray::Param, int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class GeckoJavaSampler : public mozilla::jni::Class<GeckoJavaSampler>
|
|
|
|
{
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<GeckoJavaSampler> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<GeckoJavaSampler> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<GeckoJavaSampler> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<GeckoJavaSampler>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/GeckoJavaSampler";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
GeckoJavaSampler(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetFrameNameJavaProfilingWrapper_t {
|
|
|
|
typedef GeckoJavaSampler Owner;
|
|
|
|
typedef mozilla::jni::String::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::String::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t,
|
|
|
|
int32_t,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getFrameName";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(III)Ljava/lang/String;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetFrameNameJavaProfilingWrapper(int32_t, int32_t, int32_t) -> mozilla::jni::String::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-09-18 00:17:26 +03:00
|
|
|
public:
|
|
|
|
struct GetProfilerTime_t {
|
|
|
|
typedef GeckoJavaSampler Owner;
|
|
|
|
typedef double ReturnType;
|
|
|
|
typedef double SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "getProfilerTime";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()D";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
struct GetSampleTimeJavaProfiling_t {
|
|
|
|
typedef GeckoJavaSampler Owner;
|
|
|
|
typedef double ReturnType;
|
|
|
|
typedef double SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getSampleTime";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(II)D";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetSampleTimeJavaProfiling(int32_t, int32_t) -> double;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetThreadNameJavaProfilingWrapper_t {
|
|
|
|
typedef GeckoJavaSampler Owner;
|
|
|
|
typedef mozilla::jni::String::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::String::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getThreadName";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(I)Ljava/lang/String;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetThreadNameJavaProfilingWrapper(int32_t) -> mozilla::jni::String::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct PauseJavaProfiling_t {
|
|
|
|
typedef GeckoJavaSampler Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "pause";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto PauseJavaProfiling() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct StartJavaProfiling_t {
|
|
|
|
typedef GeckoJavaSampler Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "start";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(II)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto StartJavaProfiling(int32_t, int32_t) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct StopJavaProfiling_t {
|
|
|
|
typedef GeckoJavaSampler Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "stop";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto StopJavaProfiling() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct UnpauseJavaProfiling_t {
|
|
|
|
typedef GeckoJavaSampler Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "unpause";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto UnpauseJavaProfiling() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-09-18 00:17:26 +03:00
|
|
|
public:
|
|
|
|
template<class Impl> class Natives;
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
class GeckoThread : public mozilla::jni::Class<GeckoThread>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<GeckoThread> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<GeckoThread> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<GeckoThread> GlobalRef;
|
|
|
|
typedef const mozilla::jni::Param<GeckoThread>& Param;
|
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/GeckoThread";
|
|
|
|
|
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
GeckoThread(jobject instance) : Class(instance) {}
|
2015-08-13 07:53:39 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
public:
|
|
|
|
class State;
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
public:
|
|
|
|
struct PumpMessageLoop_t {
|
|
|
|
typedef GeckoThread Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param> Args;
|
|
|
|
static constexpr char name[] = "pumpMessageLoop";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Landroid/os/Message;)Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto PumpMessageLoop(mozilla::jni::Object::Param) -> bool;
|
2015-08-13 07:53:39 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
public:
|
|
|
|
struct SetState_t {
|
|
|
|
typedef GeckoThread Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param> Args;
|
|
|
|
static constexpr char name[] = "setState";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Lorg/mozilla/gecko/GeckoThread$State;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto SetState(mozilla::jni::Object::Param) -> void;
|
|
|
|
|
2015-08-20 01:14:47 +03:00
|
|
|
public:
|
|
|
|
struct SpeculativeConnect_t {
|
|
|
|
typedef GeckoThread Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "speculativeConnectNative";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
public:
|
|
|
|
struct ClsLoader_t {
|
|
|
|
typedef GeckoThread Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "clsLoader";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Ljava/lang/ClassLoader;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto ClsLoader() -> mozilla::jni::Object::LocalRef;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct MsgQueue_t {
|
|
|
|
typedef GeckoThread Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "msgQueue";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Landroid/os/MessageQueue;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto MsgQueue() -> mozilla::jni::Object::LocalRef;
|
|
|
|
|
|
|
|
static auto MsgQueue(mozilla::jni::Object::Param) -> void;
|
|
|
|
|
2015-08-20 01:14:47 +03:00
|
|
|
public:
|
|
|
|
template<class Impl> class Natives;
|
2015-08-13 07:53:39 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
class GeckoThread::State : public mozilla::jni::Class<State>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<State> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<State> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<State> GlobalRef;
|
|
|
|
typedef const mozilla::jni::Param<State>& Param;
|
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/GeckoThread$State";
|
|
|
|
|
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
State(jobject instance) : Class(instance) {}
|
2015-08-13 07:53:39 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct New_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef State::LocalRef ReturnType;
|
|
|
|
typedef State::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
int32_t> Args;
|
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;I)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto New(mozilla::jni::String::Param, int32_t) -> State::LocalRef;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct Is_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
State::Param> Args;
|
|
|
|
static constexpr char name[] = "is";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Lorg/mozilla/gecko/GeckoThread$State;)Z";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
auto Is(State::Param) const -> bool;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct IsAtLeast_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
State::Param> Args;
|
|
|
|
static constexpr char name[] = "isAtLeast";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Lorg/mozilla/gecko/GeckoThread$State;)Z";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
auto IsAtLeast(State::Param) const -> bool;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct IsAtMost_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
State::Param> Args;
|
|
|
|
static constexpr char name[] = "isAtMost";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Lorg/mozilla/gecko/GeckoThread$State;)Z";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
auto IsAtMost(State::Param) const -> bool;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct IsBetween_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
State::Param,
|
|
|
|
State::Param> Args;
|
|
|
|
static constexpr char name[] = "isBetween";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Lorg/mozilla/gecko/GeckoThread$State;Lorg/mozilla/gecko/GeckoThread$State;)Z";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
auto IsBetween(State::Param, State::Param) const -> bool;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct ValueOf_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef State::LocalRef ReturnType;
|
|
|
|
typedef State::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "valueOf";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)Lorg/mozilla/gecko/GeckoThread$State;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto ValueOf(mozilla::jni::String::Param) -> State::LocalRef;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct Values_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::ObjectArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "values";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()[Lorg/mozilla/gecko/GeckoThread$State;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto Values() -> mozilla::jni::ObjectArray::LocalRef;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct EXITED_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef State::LocalRef ReturnType;
|
|
|
|
typedef State::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "EXITED";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Lorg/mozilla/gecko/GeckoThread$State;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto EXITED() -> State::LocalRef;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct EXITING_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef State::LocalRef ReturnType;
|
|
|
|
typedef State::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "EXITING";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Lorg/mozilla/gecko/GeckoThread$State;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto EXITING() -> State::LocalRef;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct INITIAL_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef State::LocalRef ReturnType;
|
|
|
|
typedef State::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "INITIAL";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Lorg/mozilla/gecko/GeckoThread$State;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto INITIAL() -> State::LocalRef;
|
|
|
|
|
2015-08-13 07:53:40 +03:00
|
|
|
public:
|
|
|
|
struct JNI_READY_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef State::LocalRef ReturnType;
|
|
|
|
typedef State::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "JNI_READY";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Lorg/mozilla/gecko/GeckoThread$State;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto JNI_READY() -> State::LocalRef;
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
public:
|
|
|
|
struct LAUNCHED_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef State::LocalRef ReturnType;
|
|
|
|
typedef State::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "LAUNCHED";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Lorg/mozilla/gecko/GeckoThread$State;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto LAUNCHED() -> State::LocalRef;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct LIBS_READY_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef State::LocalRef ReturnType;
|
|
|
|
typedef State::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "LIBS_READY";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Lorg/mozilla/gecko/GeckoThread$State;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto LIBS_READY() -> State::LocalRef;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct MOZGLUE_READY_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef State::LocalRef ReturnType;
|
|
|
|
typedef State::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "MOZGLUE_READY";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Lorg/mozilla/gecko/GeckoThread$State;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto MOZGLUE_READY() -> State::LocalRef;
|
|
|
|
|
2015-08-20 01:14:47 +03:00
|
|
|
public:
|
|
|
|
struct PROFILE_READY_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef State::LocalRef ReturnType;
|
|
|
|
typedef State::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "PROFILE_READY";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Lorg/mozilla/gecko/GeckoThread$State;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto PROFILE_READY() -> State::LocalRef;
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
public:
|
|
|
|
struct RUNNING_t {
|
|
|
|
typedef State Owner;
|
|
|
|
typedef State::LocalRef ReturnType;
|
|
|
|
typedef State::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "RUNNING";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Lorg/mozilla/gecko/GeckoThread$State;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto RUNNING() -> State::LocalRef;
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
};
|
|
|
|
|
2015-09-21 17:13:32 +03:00
|
|
|
class GeckoView : public mozilla::jni::Class<GeckoView>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<GeckoView> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<GeckoView> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<GeckoView> GlobalRef;
|
|
|
|
typedef const mozilla::jni::Param<GeckoView>& Param;
|
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/GeckoView";
|
|
|
|
|
|
|
|
protected:
|
|
|
|
GeckoView(jobject instance) : Class(instance) {}
|
|
|
|
|
|
|
|
public:
|
|
|
|
class Window;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
class GeckoView::Window : public mozilla::jni::Class<Window>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<Window> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<Window> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<Window> GlobalRef;
|
|
|
|
typedef const mozilla::jni::Param<Window>& Param;
|
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/GeckoView$Window";
|
|
|
|
|
|
|
|
protected:
|
|
|
|
Window(jobject instance) : Class(instance) {}
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct New_t {
|
|
|
|
typedef Window Owner;
|
|
|
|
typedef Window::LocalRef ReturnType;
|
|
|
|
typedef Window::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
static auto New() -> Window::LocalRef;
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct DisposeNative_t {
|
|
|
|
typedef Window Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "disposeNative";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct Open_t {
|
|
|
|
typedef Window Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
Window::Param,
|
|
|
|
int32_t,
|
|
|
|
int32_t> Args;
|
|
|
|
static constexpr char name[] = "open";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Lorg/mozilla/gecko/GeckoView$Window;II)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
template<class Impl> class Natives;
|
|
|
|
};
|
|
|
|
|
2015-09-28 19:07:09 +03:00
|
|
|
class PrefsHelper : public mozilla::jni::Class<PrefsHelper>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<PrefsHelper> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<PrefsHelper> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<PrefsHelper> GlobalRef;
|
|
|
|
typedef const mozilla::jni::Param<PrefsHelper>& Param;
|
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/PrefsHelper";
|
|
|
|
|
|
|
|
protected:
|
|
|
|
PrefsHelper(jobject instance) : Class(instance) {}
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetPrefsById_t {
|
|
|
|
typedef PrefsHelper Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t,
|
|
|
|
mozilla::jni::ObjectArray::Param,
|
|
|
|
bool> Args;
|
|
|
|
static constexpr char name[] = "getPrefsById";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(I[Ljava/lang/String;Z)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct RemovePrefsObserver_t {
|
|
|
|
typedef PrefsHelper Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t> Args;
|
|
|
|
static constexpr char name[] = "removePrefsObserver";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(I)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
template<class Impl> class Natives;
|
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class RestrictedProfiles : public mozilla::jni::Class<RestrictedProfiles>
|
|
|
|
{
|
2013-11-12 22:41:00 +04:00
|
|
|
public:
|
2015-01-10 03:33:57 +03:00
|
|
|
typedef mozilla::jni::Ref<RestrictedProfiles> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<RestrictedProfiles> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<RestrictedProfiles> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<RestrictedProfiles>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/RestrictedProfiles";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
RestrictedProfiles(jobject instance) : Class(instance) {}
|
2013-11-12 22:41:00 +04:00
|
|
|
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
struct IsAllowed_t {
|
|
|
|
typedef RestrictedProfiles Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t,
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "isAllowed";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(ILjava/lang/String;)Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto IsAllowed(int32_t, mozilla::jni::String::Param) -> bool;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct IsUserRestricted_t {
|
|
|
|
typedef RestrictedProfiles Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "isUserRestricted";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto IsUserRestricted() -> bool;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2014-09-10 02:08:37 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class SurfaceBits : public mozilla::jni::Class<SurfaceBits>
|
|
|
|
{
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<SurfaceBits> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<SurfaceBits> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<SurfaceBits> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<SurfaceBits>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/SurfaceBits";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
SurfaceBits(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct New_t {
|
|
|
|
typedef SurfaceBits Owner;
|
|
|
|
typedef SurfaceBits::LocalRef ReturnType;
|
|
|
|
typedef SurfaceBits::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto New() -> SurfaceBits::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct Buffer_t {
|
|
|
|
typedef SurfaceBits Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "buffer";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Ljava/nio/ByteBuffer;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Buffer() const -> mozilla::jni::Object::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Buffer(mozilla::jni::Object::Param) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct Format_t {
|
|
|
|
typedef SurfaceBits Owner;
|
|
|
|
typedef int32_t ReturnType;
|
|
|
|
typedef int32_t SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "format";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"I";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Format() const -> int32_t;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Format(int32_t) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct Height_t {
|
|
|
|
typedef SurfaceBits Owner;
|
|
|
|
typedef int32_t ReturnType;
|
|
|
|
typedef int32_t SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "height";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"I";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Height() const -> int32_t;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Height(int32_t) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct Width_t {
|
|
|
|
typedef SurfaceBits Owner;
|
|
|
|
typedef int32_t ReturnType;
|
|
|
|
typedef int32_t SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "width";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"I";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Width() const -> int32_t;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Width(int32_t) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class ThumbnailHelper : public mozilla::jni::Class<ThumbnailHelper>
|
|
|
|
{
|
2013-11-12 22:41:00 +04:00
|
|
|
public:
|
2015-01-10 03:33:57 +03:00
|
|
|
typedef mozilla::jni::Ref<ThumbnailHelper> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<ThumbnailHelper> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<ThumbnailHelper> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<ThumbnailHelper>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/ThumbnailHelper";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
ThumbnailHelper(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct SendThumbnail_t {
|
|
|
|
typedef ThumbnailHelper Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param,
|
|
|
|
int32_t,
|
|
|
|
bool,
|
|
|
|
bool> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "notifyThumbnail";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/nio/ByteBuffer;IZZ)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto SendThumbnail(mozilla::jni::Object::Param, int32_t, bool, bool) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class DisplayPortMetrics : public mozilla::jni::Class<DisplayPortMetrics>
|
|
|
|
{
|
2013-11-12 22:41:00 +04:00
|
|
|
public:
|
2015-01-10 03:33:57 +03:00
|
|
|
typedef mozilla::jni::Ref<DisplayPortMetrics> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<DisplayPortMetrics> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<DisplayPortMetrics> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<DisplayPortMetrics>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/gfx/DisplayPortMetrics";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
DisplayPortMetrics(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct New_t {
|
|
|
|
typedef DisplayPortMetrics Owner;
|
|
|
|
typedef DisplayPortMetrics::LocalRef ReturnType;
|
|
|
|
typedef DisplayPortMetrics::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(FFFFF)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto New(float, float, float, float, float) -> DisplayPortMetrics::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct MPosition_t {
|
|
|
|
typedef DisplayPortMetrics Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "mPosition";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Landroid/graphics/RectF;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto MPosition() const -> mozilla::jni::Object::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct Resolution_t {
|
|
|
|
typedef DisplayPortMetrics Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "resolution";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Resolution() const -> float;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class GLController : public mozilla::jni::Class<GLController>
|
|
|
|
{
|
2013-11-12 22:41:00 +04:00
|
|
|
public:
|
2015-01-10 03:33:57 +03:00
|
|
|
typedef mozilla::jni::Ref<GLController> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<GLController> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<GLController> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<GLController>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/gfx/GLController";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
GLController(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct CreateEGLSurfaceForCompositorWrapper_t {
|
|
|
|
typedef GLController Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "createEGLSurfaceForCompositor";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Ljavax/microedition/khronos/egl/EGLSurface;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto CreateEGLSurfaceForCompositorWrapper() const -> mozilla::jni::Object::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class GeckoLayerClient : public mozilla::jni::Class<GeckoLayerClient>
|
|
|
|
{
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<GeckoLayerClient> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<GeckoLayerClient> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<GeckoLayerClient> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<GeckoLayerClient>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/gfx/GeckoLayerClient";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
GeckoLayerClient(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct ActivateProgram_t {
|
|
|
|
typedef GeckoLayerClient Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "activateProgram";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto ActivateProgram() const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct ContentDocumentChanged_t {
|
|
|
|
typedef GeckoLayerClient Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "contentDocumentChanged";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto ContentDocumentChanged() const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct CreateFrame_t {
|
|
|
|
typedef GeckoLayerClient Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "createFrame";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Lorg/mozilla/gecko/gfx/LayerRenderer$Frame;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto CreateFrame() const -> mozilla::jni::Object::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct DeactivateProgramAndRestoreState_t {
|
|
|
|
typedef GeckoLayerClient Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
bool,
|
|
|
|
int32_t,
|
|
|
|
int32_t,
|
|
|
|
int32_t,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "deactivateProgramAndRestoreState";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(ZIIII)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto DeactivateProgramAndRestoreState(bool, int32_t, int32_t, int32_t, int32_t) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetDisplayPort_t {
|
|
|
|
typedef GeckoLayerClient Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
bool,
|
|
|
|
bool,
|
|
|
|
int32_t,
|
|
|
|
mozilla::jni::Object::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getDisplayPort";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(ZZILorg/mozilla/gecko/gfx/ImmutableViewportMetrics;)Lorg/mozilla/gecko/gfx/DisplayPortMetrics;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto GetDisplayPort(bool, bool, int32_t, mozilla::jni::Object::Param) const -> mozilla::jni::Object::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct IsContentDocumentDisplayed_t {
|
|
|
|
typedef GeckoLayerClient Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "isContentDocumentDisplayed";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Z";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto IsContentDocumentDisplayed() const -> bool;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct ProgressiveUpdateCallback_t {
|
|
|
|
typedef GeckoLayerClient Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
bool,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
bool> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "progressiveUpdateCallback";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(ZFFFFFZ)Lorg/mozilla/gecko/gfx/ProgressiveUpdateData;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto ProgressiveUpdateCallback(bool, float, float, float, float, float, bool) const -> mozilla::jni::Object::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct SetFirstPaintViewport_t {
|
|
|
|
typedef GeckoLayerClient Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "setFirstPaintViewport";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(FFFFFFF)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto SetFirstPaintViewport(float, float, float, float, float, float, float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct SetPageRect_t {
|
|
|
|
typedef GeckoLayerClient Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "setPageRect";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(FFFF)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto SetPageRect(float, float, float, float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct SyncFrameMetrics_t {
|
|
|
|
typedef GeckoLayerClient Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
int32_t,
|
|
|
|
int32_t,
|
|
|
|
int32_t,
|
|
|
|
int32_t,
|
|
|
|
float,
|
2015-09-12 04:58:16 +03:00
|
|
|
bool,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "syncFrameMetrics";
|
|
|
|
static constexpr char signature[] =
|
2015-09-12 04:58:16 +03:00
|
|
|
"(FFFFFFFIIIIFZI)Lorg/mozilla/gecko/gfx/ViewTransform;";
|
2015-01-10 03:33:57 +03:00
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-09-12 04:58:16 +03:00
|
|
|
auto SyncFrameMetrics(float, float, float, float, float, float, float, int32_t, int32_t, int32_t, int32_t, float, bool, int32_t) const -> mozilla::jni::Object::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct SyncViewportInfo_t {
|
|
|
|
typedef GeckoLayerClient Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
int32_t,
|
|
|
|
int32_t,
|
|
|
|
int32_t,
|
|
|
|
int32_t,
|
|
|
|
float,
|
2015-08-18 21:27:20 +03:00
|
|
|
bool,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "syncViewportInfo";
|
|
|
|
static constexpr char signature[] =
|
2015-08-18 21:27:20 +03:00
|
|
|
"(IIIIFZI)Lorg/mozilla/gecko/gfx/ViewTransform;";
|
2015-01-10 03:33:57 +03:00
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-18 21:27:20 +03:00
|
|
|
auto SyncViewportInfo(int32_t, int32_t, int32_t, int32_t, float, bool, int32_t) const -> mozilla::jni::Object::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class ImmutableViewportMetrics : public mozilla::jni::Class<ImmutableViewportMetrics>
|
|
|
|
{
|
2013-11-12 22:41:00 +04:00
|
|
|
public:
|
2015-01-10 03:33:57 +03:00
|
|
|
typedef mozilla::jni::Ref<ImmutableViewportMetrics> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<ImmutableViewportMetrics> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<ImmutableViewportMetrics> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<ImmutableViewportMetrics>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/gfx/ImmutableViewportMetrics";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
ImmutableViewportMetrics(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct New_t {
|
|
|
|
typedef ImmutableViewportMetrics Owner;
|
|
|
|
typedef ImmutableViewportMetrics::LocalRef ReturnType;
|
|
|
|
typedef ImmutableViewportMetrics::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
2015-08-18 21:27:19 +03:00
|
|
|
int32_t,
|
|
|
|
int32_t,
|
2015-07-11 06:41:36 +03:00
|
|
|
float> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
2015-08-18 21:27:19 +03:00
|
|
|
"(FFFFFFFFFFIIF)V";
|
2015-01-10 03:33:57 +03:00
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-18 21:27:19 +03:00
|
|
|
static auto New(float, float, float, float, float, float, float, float, float, float, int32_t, int32_t, float) -> ImmutableViewportMetrics::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class LayerView : public mozilla::jni::Class<LayerView>
|
|
|
|
{
|
2013-11-12 22:41:00 +04:00
|
|
|
public:
|
2015-01-10 03:33:57 +03:00
|
|
|
typedef mozilla::jni::Ref<LayerView> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<LayerView> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<LayerView> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<LayerView>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/gfx/LayerView";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
LayerView(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct RegisterCompositorWrapper_t {
|
|
|
|
typedef LayerView Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "registerCxxCompositor";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Lorg/mozilla/gecko/gfx/GLController;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto RegisterCompositorWrapper() -> mozilla::jni::Object::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-01-21 07:59:23 +03:00
|
|
|
public:
|
|
|
|
struct updateZoomedView_t {
|
|
|
|
typedef LayerView Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param> Args;
|
2015-01-21 07:59:23 +03:00
|
|
|
static constexpr char name[] = "updateZoomedView";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/nio/ByteBuffer;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-21 07:59:23 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto updateZoomedView(mozilla::jni::Object::Param) -> void;
|
2015-01-21 07:59:23 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class NativePanZoomController : public mozilla::jni::Class<NativePanZoomController>
|
|
|
|
{
|
2013-11-12 22:41:00 +04:00
|
|
|
public:
|
2015-01-10 03:33:57 +03:00
|
|
|
typedef mozilla::jni::Ref<NativePanZoomController> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<NativePanZoomController> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<NativePanZoomController> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<NativePanZoomController>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/gfx/NativePanZoomController";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
NativePanZoomController(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct RequestContentRepaintWrapper_t {
|
|
|
|
typedef NativePanZoomController Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "requestContentRepaint";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(FFFFF)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto RequestContentRepaintWrapper(float, float, float, float, float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class ProgressiveUpdateData : public mozilla::jni::Class<ProgressiveUpdateData>
|
|
|
|
{
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<ProgressiveUpdateData> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<ProgressiveUpdateData> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<ProgressiveUpdateData> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<ProgressiveUpdateData>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/gfx/ProgressiveUpdateData";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
ProgressiveUpdateData(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct New_t {
|
|
|
|
typedef ProgressiveUpdateData Owner;
|
|
|
|
typedef ProgressiveUpdateData::LocalRef ReturnType;
|
|
|
|
typedef ProgressiveUpdateData::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto New() -> ProgressiveUpdateData::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct SetViewport_t {
|
|
|
|
typedef ProgressiveUpdateData Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "setViewport";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Lorg/mozilla/gecko/gfx/ImmutableViewportMetrics;)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto SetViewport(mozilla::jni::Object::Param) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct Abort_t {
|
|
|
|
typedef ProgressiveUpdateData Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "abort";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"Z";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Abort() const -> bool;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Abort(bool) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct Scale_t {
|
|
|
|
typedef ProgressiveUpdateData Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "scale";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Scale() const -> float;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Scale(float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct X_t {
|
|
|
|
typedef ProgressiveUpdateData Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "x";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto X() const -> float;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto X(float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct Y_t {
|
|
|
|
typedef ProgressiveUpdateData Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "y";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Y() const -> float;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Y(float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class ViewTransform : public mozilla::jni::Class<ViewTransform>
|
|
|
|
{
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<ViewTransform> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<ViewTransform> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<ViewTransform> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<ViewTransform>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/gfx/ViewTransform";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
ViewTransform(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct New_t {
|
|
|
|
typedef ViewTransform Owner;
|
|
|
|
typedef ViewTransform::LocalRef ReturnType;
|
|
|
|
typedef ViewTransform::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
float,
|
|
|
|
float,
|
|
|
|
float> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(FFF)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto New(float, float, float) -> ViewTransform::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct FixedLayerMarginBottom_t {
|
|
|
|
typedef ViewTransform Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "fixedLayerMarginBottom";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto FixedLayerMarginBottom() const -> float;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto FixedLayerMarginBottom(float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct FixedLayerMarginLeft_t {
|
|
|
|
typedef ViewTransform Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "fixedLayerMarginLeft";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto FixedLayerMarginLeft() const -> float;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto FixedLayerMarginLeft(float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct FixedLayerMarginRight_t {
|
|
|
|
typedef ViewTransform Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "fixedLayerMarginRight";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto FixedLayerMarginRight() const -> float;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto FixedLayerMarginRight(float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct FixedLayerMarginTop_t {
|
|
|
|
typedef ViewTransform Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "fixedLayerMarginTop";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto FixedLayerMarginTop() const -> float;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto FixedLayerMarginTop(float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-18 21:27:20 +03:00
|
|
|
public:
|
|
|
|
struct Height_t {
|
|
|
|
typedef ViewTransform Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "height";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
auto Height() const -> float;
|
|
|
|
|
|
|
|
auto Height(float) const -> void;
|
|
|
|
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
struct Scale_t {
|
|
|
|
typedef ViewTransform Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "scale";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Scale() const -> float;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Scale(float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-18 21:27:20 +03:00
|
|
|
public:
|
|
|
|
struct Width_t {
|
|
|
|
typedef ViewTransform Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "width";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
auto Width() const -> float;
|
|
|
|
|
|
|
|
auto Width(float) const -> void;
|
|
|
|
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
struct X_t {
|
|
|
|
typedef ViewTransform Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "x";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto X() const -> float;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto X(float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct Y_t {
|
|
|
|
typedef ViewTransform Owner;
|
|
|
|
typedef float ReturnType;
|
|
|
|
typedef float SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "y";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"F";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Y() const -> float;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto Y(float) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class MatrixBlobCursor : public mozilla::jni::Class<MatrixBlobCursor>
|
|
|
|
{
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<MatrixBlobCursor> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<MatrixBlobCursor> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<MatrixBlobCursor> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<MatrixBlobCursor>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/sqlite/MatrixBlobCursor";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
MatrixBlobCursor(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct New_t {
|
|
|
|
typedef MatrixBlobCursor Owner;
|
|
|
|
typedef MatrixBlobCursor::LocalRef ReturnType;
|
|
|
|
typedef MatrixBlobCursor::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::ObjectArray::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"([Ljava/lang/String;)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto New(mozilla::jni::ObjectArray::Param) -> MatrixBlobCursor::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct New2_t {
|
|
|
|
typedef MatrixBlobCursor Owner;
|
|
|
|
typedef MatrixBlobCursor::LocalRef ReturnType;
|
|
|
|
typedef MatrixBlobCursor::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::ObjectArray::Param,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"([Ljava/lang/String;I)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto New(mozilla::jni::ObjectArray::Param, int32_t) -> MatrixBlobCursor::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct AddRow_t {
|
|
|
|
typedef MatrixBlobCursor Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "addRow";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/Iterable;)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto AddRow(mozilla::jni::Object::Param) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct AddRow2_t {
|
|
|
|
typedef MatrixBlobCursor Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::Object::Param,
|
|
|
|
int32_t> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "addRow";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/util/ArrayList;I)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto AddRow(mozilla::jni::Object::Param, int32_t) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct AddRow3_t {
|
|
|
|
typedef MatrixBlobCursor Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::ObjectArray::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "addRow";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"([Ljava/lang/Object;)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto AddRow(mozilla::jni::ObjectArray::Param) const -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class SQLiteBridgeException : public mozilla::jni::Class<SQLiteBridgeException>
|
|
|
|
{
|
2013-11-12 22:41:00 +04:00
|
|
|
public:
|
2015-01-10 03:33:57 +03:00
|
|
|
typedef mozilla::jni::Ref<SQLiteBridgeException> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<SQLiteBridgeException> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<SQLiteBridgeException> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<SQLiteBridgeException>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/sqlite/SQLiteBridgeException";
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
SQLiteBridgeException(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct New_t {
|
|
|
|
typedef SQLiteBridgeException Owner;
|
|
|
|
typedef SQLiteBridgeException::LocalRef ReturnType;
|
|
|
|
typedef SQLiteBridgeException::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto New() -> SQLiteBridgeException::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct New2_t {
|
|
|
|
typedef SQLiteBridgeException Owner;
|
|
|
|
typedef SQLiteBridgeException::LocalRef ReturnType;
|
|
|
|
typedef SQLiteBridgeException::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto New(mozilla::jni::String::Param) -> SQLiteBridgeException::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct SerialVersionUID_t {
|
|
|
|
typedef SQLiteBridgeException Owner;
|
|
|
|
typedef int64_t ReturnType;
|
|
|
|
typedef int64_t SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "serialVersionUID";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"J";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = true;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto SerialVersionUID() -> int64_t;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-07-11 06:41:36 +03:00
|
|
|
class Clipboard : public mozilla::jni::Class<Clipboard>
|
|
|
|
{
|
2015-01-10 03:33:57 +03:00
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<Clipboard> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<Clipboard> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<Clipboard> GlobalRef;
|
2015-07-11 06:41:35 +03:00
|
|
|
typedef const mozilla::jni::Param<Clipboard>& Param;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/util/Clipboard";
|
|
|
|
|
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
Clipboard(jobject instance) : Class(instance) {}
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
public:
|
2015-01-10 03:33:57 +03:00
|
|
|
struct ClearText_t {
|
|
|
|
typedef Clipboard Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "clearText";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto ClearText() -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetClipboardTextWrapper_t {
|
|
|
|
typedef Clipboard Owner;
|
|
|
|
typedef mozilla::jni::String::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::String::Param SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "getText";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Ljava/lang/String;";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto GetClipboardTextWrapper() -> mozilla::jni::String::LocalRef;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct HasText_t {
|
|
|
|
typedef Clipboard Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "hasText";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Z";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto HasText() -> bool;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct SetClipboardText_t {
|
|
|
|
typedef Clipboard Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
2015-07-11 06:41:36 +03:00
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
2015-01-10 03:33:57 +03:00
|
|
|
static constexpr char name[] = "setText";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/CharSequence;)V";
|
|
|
|
static const bool isStatic = true;
|
|
|
|
static const bool isMultithreaded = false;
|
2015-07-11 06:41:36 +03:00
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
2015-01-10 03:33:57 +03:00
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto SetClipboardText(mozilla::jni::String::Param) -> void;
|
2015-01-10 03:33:57 +03:00
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
};
|
|
|
|
|
2015-08-05 00:47:28 +03:00
|
|
|
class NativeJSContainer : public mozilla::jni::Class<NativeJSContainer>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<NativeJSContainer> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<NativeJSContainer> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<NativeJSContainer> GlobalRef;
|
|
|
|
typedef const mozilla::jni::Param<NativeJSContainer>& Param;
|
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/util/NativeJSContainer";
|
|
|
|
|
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
NativeJSContainer(jobject instance) : Class(instance) {}
|
2015-08-05 00:47:28 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct New_t {
|
|
|
|
typedef NativeJSContainer Owner;
|
|
|
|
typedef NativeJSContainer::LocalRef ReturnType;
|
|
|
|
typedef NativeJSContainer::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto New() -> NativeJSContainer::LocalRef;
|
2015-08-05 00:47:28 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct Clone2_t {
|
|
|
|
typedef NativeJSContainer Owner;
|
|
|
|
typedef NativeJSContainer::LocalRef ReturnType;
|
|
|
|
typedef NativeJSContainer::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "clone";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Lorg/mozilla/gecko/util/NativeJSContainer;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct DisposeNative_t {
|
|
|
|
typedef NativeJSContainer Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "disposeNative";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
template<class Impl> class Natives;
|
|
|
|
};
|
|
|
|
|
|
|
|
class NativeJSObject : public mozilla::jni::Class<NativeJSObject>
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
typedef mozilla::jni::Ref<NativeJSObject> Ref;
|
|
|
|
typedef mozilla::jni::LocalRef<NativeJSObject> LocalRef;
|
|
|
|
typedef mozilla::jni::GlobalRef<NativeJSObject> GlobalRef;
|
|
|
|
typedef const mozilla::jni::Param<NativeJSObject>& Param;
|
|
|
|
|
|
|
|
static constexpr char name[] =
|
|
|
|
"org/mozilla/gecko/util/NativeJSObject";
|
|
|
|
|
|
|
|
protected:
|
2015-08-13 23:57:34 +03:00
|
|
|
NativeJSObject(jobject instance) : Class(instance) {}
|
2015-08-05 00:47:28 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct New_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef NativeJSObject::LocalRef ReturnType;
|
|
|
|
typedef NativeJSObject::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "<init>";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
static auto New() -> NativeJSObject::LocalRef;
|
2015-08-05 00:47:28 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct DisposeNative_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef void ReturnType;
|
|
|
|
typedef void SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "disposeNative";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()V";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
2015-08-13 07:53:39 +03:00
|
|
|
auto DisposeNative() const -> void;
|
2015-08-05 00:47:28 +03:00
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetBoolean_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "getBoolean";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)Z";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetBooleanArray_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::BooleanArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::BooleanArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "getBooleanArray";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)[Z";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetBundle_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "getBundle";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)Landroid/os/Bundle;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetBundleArray_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::ObjectArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "getBundleArray";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)[Landroid/os/Bundle;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetDouble_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef double ReturnType;
|
|
|
|
typedef double SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "getDouble";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)D";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetDoubleArray_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::DoubleArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::DoubleArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "getDoubleArray";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)[D";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetInt_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef int32_t ReturnType;
|
|
|
|
typedef int32_t SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "getInt";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)I";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetIntArray_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::IntArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::IntArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "getIntArray";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)[I";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetObject_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef NativeJSObject::LocalRef ReturnType;
|
|
|
|
typedef NativeJSObject::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "getObject";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)Lorg/mozilla/gecko/util/NativeJSObject;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetObjectArray_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::ObjectArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "getObjectArray";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)[Lorg/mozilla/gecko/util/NativeJSObject;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetString_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::String::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::String::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "getString";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)Ljava/lang/String;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct GetStringArray_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::ObjectArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "getStringArray";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)[Ljava/lang/String;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct Has_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "has";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;)Z";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct OptBoolean_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef bool ReturnType;
|
|
|
|
typedef bool SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
bool> Args;
|
|
|
|
static constexpr char name[] = "optBoolean";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Z)Z";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct OptBooleanArray_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::BooleanArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::BooleanArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::BooleanArray::Param> Args;
|
|
|
|
static constexpr char name[] = "optBooleanArray";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;[Z)[Z";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct OptBundle_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::Object::Param> Args;
|
|
|
|
static constexpr char name[] = "optBundle";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Landroid/os/Bundle;)Landroid/os/Bundle;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct OptBundleArray_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::ObjectArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::ObjectArray::Param> Args;
|
|
|
|
static constexpr char name[] = "optBundleArray";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;[Landroid/os/Bundle;)[Landroid/os/Bundle;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct OptDouble_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef double ReturnType;
|
|
|
|
typedef double SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
double> Args;
|
|
|
|
static constexpr char name[] = "optDouble";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;D)D";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct OptDoubleArray_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::DoubleArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::DoubleArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::DoubleArray::Param> Args;
|
|
|
|
static constexpr char name[] = "optDoubleArray";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;[D)[D";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct OptInt_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef int32_t ReturnType;
|
|
|
|
typedef int32_t SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
int32_t> Args;
|
|
|
|
static constexpr char name[] = "optInt";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;I)I";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct OptIntArray_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::IntArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::IntArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::IntArray::Param> Args;
|
|
|
|
static constexpr char name[] = "optIntArray";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;[I)[I";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct OptObject_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef NativeJSObject::LocalRef ReturnType;
|
|
|
|
typedef NativeJSObject::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
NativeJSObject::Param> Args;
|
|
|
|
static constexpr char name[] = "optObject";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Lorg/mozilla/gecko/util/NativeJSObject;)Lorg/mozilla/gecko/util/NativeJSObject;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct OptObjectArray_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::ObjectArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::ObjectArray::Param> Args;
|
|
|
|
static constexpr char name[] = "optObjectArray";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;[Lorg/mozilla/gecko/util/NativeJSObject;)[Lorg/mozilla/gecko/util/NativeJSObject;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct OptString_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::String::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::String::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::String::Param> Args;
|
|
|
|
static constexpr char name[] = "optString";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct OptStringArray_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::ObjectArray::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::ObjectArray::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<
|
|
|
|
mozilla::jni::String::Param,
|
|
|
|
mozilla::jni::ObjectArray::Param> Args;
|
|
|
|
static constexpr char name[] = "optStringArray";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"(Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct ToBundle_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::Object::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::Object::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "toBundle";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Landroid/os/Bundle;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
struct ToString_t {
|
|
|
|
typedef NativeJSObject Owner;
|
|
|
|
typedef mozilla::jni::String::LocalRef ReturnType;
|
|
|
|
typedef mozilla::jni::String::Param SetterType;
|
|
|
|
typedef mozilla::jni::Args<> Args;
|
|
|
|
static constexpr char name[] = "toString";
|
|
|
|
static constexpr char signature[] =
|
|
|
|
"()Ljava/lang/String;";
|
|
|
|
static const bool isStatic = false;
|
|
|
|
static const bool isMultithreaded = true;
|
|
|
|
static const mozilla::jni::ExceptionMode exceptionMode =
|
|
|
|
mozilla::jni::ExceptionMode::ABORT;
|
|
|
|
};
|
|
|
|
|
|
|
|
public:
|
|
|
|
template<class Impl> class Natives;
|
|
|
|
};
|
|
|
|
|
2013-11-12 22:41:00 +04:00
|
|
|
} /* widget */
|
|
|
|
} /* mozilla */
|
2015-07-11 06:41:36 +03:00
|
|
|
#endif // GeneratedJNIWrappers_h
|