Copy as Markdown
Other Tools
// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef mozilla_java_GeckoProcessManagerWrappers_h
#define mozilla_java_GeckoProcessManagerWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class GeckoProcessManager : public mozilla::jni::ObjectBase<GeckoProcessManager>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/process/GeckoProcessManager";
explicit GeckoProcessManager(const Context& ctx) : ObjectBase<GeckoProcessManager>(ctx) {}
class ConnectionManager;
class Selector;
struct GetCompositorSurfaceManager_t {
typedef GeckoProcessManager Owner;
typedef mozilla::jni::Object::LocalRef ReturnType;
typedef mozilla::jni::Object::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "getCompositorSurfaceManager";
static constexpr char signature[] =
"()Lorg/mozilla/gecko/gfx/CompositorSurfaceManager;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static CompositorSurfaceManager getCompositorSurfaceManager()
static auto GetCompositorSurfaceManager() -> mozilla::jni::Object::LocalRef;
// Suggested header signature for native method:
// static void GetEditableParent(mozilla::jni::Object::Param, int64_t, int64_t);
struct GetEditableParent_t {
typedef GeckoProcessManager Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
int64_t,
int64_t> Args;
static constexpr char name[] = "nativeGetEditableParent";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/IGeckoEditableChild;JJ)V";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::GECKO;
};
struct SetEditableChildParent_t {
typedef GeckoProcessManager Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "setEditableChildParent";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/IGeckoEditableChild;Lorg/mozilla/gecko/IGeckoEditableParent;)V";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static void setEditableChildParent(IGeckoEditableChild, IGeckoEditableParent)
static auto SetEditableChildParent(mozilla::jni::Object::Param, mozilla::jni::Object::Param) -> void;
struct SetProcessPriority_t {
typedef GeckoProcessManager Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
mozilla::jni::Object::Param,
int32_t> Args;
static constexpr char name[] = "setProcessPriority";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/process/GeckoProcessManager$Selector;Lorg/mozilla/gecko/process/ServiceAllocator$PriorityLevel;I)V";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static void setProcessPriority(Selector, ServiceAllocator.PriorityLevel, int)
static auto SetProcessPriority(mozilla::jni::Object::Param, mozilla::jni::Object::Param, int32_t) -> void;
struct ShutdownProcess_t {
typedef GeckoProcessManager Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "shutdownProcess";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/process/GeckoProcessManager$Selector;)V";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static void shutdownProcess(Selector)
static auto ShutdownProcess(mozilla::jni::Object::Param) -> void;
struct Start_t {
typedef GeckoProcessManager Owner;
typedef mozilla::jni::Object::LocalRef ReturnType;
typedef mozilla::jni::Object::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
mozilla::jni::ObjectArray::Param,
mozilla::jni::IntArray::Param> Args;
static constexpr char name[] = "start";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/process/GeckoProcessType;[Ljava/lang/String;[I)Lorg/mozilla/geckoview/GeckoResult;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static GeckoResult start(GeckoProcessType, String[], int[])
static auto Start(mozilla::jni::Object::Param, mozilla::jni::ObjectArray::Param, mozilla::jni::IntArray::Param) -> mozilla::jni::Object::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
template<class Impl> class Natives;
};
class GeckoProcessManager::ConnectionManager : public mozilla::jni::ObjectBase<ConnectionManager>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/process/GeckoProcessManager$ConnectionManager";
explicit ConnectionManager(const Context& ctx) : ObjectBase<ConnectionManager>(ctx) {}
// Suggested header signature for native method:
// static void AttachTo(mozilla::java::GeckoProcessManager::ConnectionManager::Param);
struct AttachTo_t {
typedef ConnectionManager Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
ConnectionManager::Param> Args;
static constexpr char name[] = "attachTo";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/process/GeckoProcessManager$ConnectionManager;)V";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::GECKO;
};
// Suggested header signature for native method:
// void ObserveNetworkNotifications();
struct ObserveNetworkNotifications_t {
typedef ConnectionManager Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "observeNetworkNotifications";
static constexpr char signature[] =
"()V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::GECKO;
};
struct OnBackground_t {
typedef ConnectionManager Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "onBackground";
static constexpr char signature[] =
"()V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void onBackground()
auto OnBackground() const -> void;
struct OnForeground_t {
typedef ConnectionManager Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "onForeground";
static constexpr char signature[] =
"()V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void onForeground()
auto OnForeground() const -> void;
struct OnNetworkStateChange_t {
typedef ConnectionManager Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
bool> Args;
static constexpr char name[] = "onNetworkStateChange";
static constexpr char signature[] =
"(Z)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void onNetworkStateChange(boolean)
auto OnNetworkStateChange(bool) const -> void;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
template<class Impl> class Natives;
};
class GeckoProcessManager::Selector : public mozilla::jni::ObjectBase<Selector>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/process/GeckoProcessManager$Selector";
explicit Selector(const Context& ctx) : ObjectBase<Selector>(ctx) {}
struct New_t {
typedef Selector Owner;
typedef Selector::LocalRef ReturnType;
typedef Selector::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "<init>";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/process/GeckoProcessType;)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Selector(GeckoProcessType)
static auto New(mozilla::jni::Object::Param) -> Selector::LocalRef;
struct New2_t {
typedef Selector Owner;
typedef Selector::LocalRef ReturnType;
typedef Selector::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
int32_t> Args;
static constexpr char name[] = "<init>";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/process/GeckoProcessType;I)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Selector(GeckoProcessType, int)
static auto New(mozilla::jni::Object::Param, int32_t) -> Selector::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_GeckoProcessManagerWrappers_h