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_PanZoomControllerWrappers_h
#define mozilla_java_PanZoomControllerWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class PanZoomController : public mozilla::jni::ObjectBase<PanZoomController>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/PanZoomController";
explicit PanZoomController(const Context& ctx) : ObjectBase<PanZoomController>(ctx) {}
class InputResultDetail;
class MotionEventData;
class NativeProvider;
static constexpr int32_t INPUT_RESULT_HANDLED = 1;
static constexpr int32_t INPUT_RESULT_HANDLED_CONTENT = 2;
static constexpr int32_t INPUT_RESULT_IGNORED = 3;
static constexpr int32_t INPUT_RESULT_UNHANDLED = 0;
static constexpr int32_t OVERSCROLL_FLAG_HORIZONTAL = 1;
static constexpr int32_t OVERSCROLL_FLAG_NONE = 0;
static constexpr int32_t OVERSCROLL_FLAG_VERTICAL = 2;
static constexpr int32_t SCROLLABLE_FLAG_BOTTOM = 4;
static constexpr int32_t SCROLLABLE_FLAG_LEFT = 8;
static constexpr int32_t SCROLLABLE_FLAG_NONE = 0;
static constexpr int32_t SCROLLABLE_FLAG_RIGHT = 2;
static constexpr int32_t SCROLLABLE_FLAG_TOP = 1;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class PanZoomController::InputResultDetail : public mozilla::jni::ObjectBase<InputResultDetail>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/PanZoomController$InputResultDetail";
explicit InputResultDetail(const Context& ctx) : ObjectBase<InputResultDetail>(ctx) {}
struct New_t {
typedef InputResultDetail Owner;
typedef InputResultDetail::LocalRef ReturnType;
typedef InputResultDetail::Param SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t,
int32_t> Args;
static constexpr char name[] = "<init>";
static constexpr char signature[] =
"(III)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;
};
// InputResultDetail(int, int, int)
static auto New(int32_t, int32_t, int32_t) -> InputResultDetail::LocalRef;
struct HandledResult_t {
typedef InputResultDetail Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "handledResult";
static constexpr char signature[] =
"()I";
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;
};
// int handledResult()
auto HandledResult() const -> int32_t;
struct OverscrollDirections_t {
typedef InputResultDetail Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "overscrollDirections";
static constexpr char signature[] =
"()I";
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;
};
// int overscrollDirections()
auto OverscrollDirections() const -> int32_t;
struct ScrollableDirections_t {
typedef InputResultDetail Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "scrollableDirections";
static constexpr char signature[] =
"()I";
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;
};
// int scrollableDirections()
auto ScrollableDirections() const -> int32_t;
struct MHandledResult_t {
typedef InputResultDetail Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "mHandledResult";
static constexpr char signature[] =
"I";
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;
};
auto MHandledResult() const -> int32_t;
struct MOverscrollDirections_t {
typedef InputResultDetail Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "mOverscrollDirections";
static constexpr char signature[] =
"I";
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;
};
auto MOverscrollDirections() const -> int32_t;
struct MScrollableDirections_t {
typedef InputResultDetail Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "mScrollableDirections";
static constexpr char signature[] =
"I";
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;
};
auto MScrollableDirections() const -> int32_t;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class PanZoomController::MotionEventData : public mozilla::jni::ObjectBase<MotionEventData>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/PanZoomController$MotionEventData";
explicit MotionEventData(const Context& ctx) : ObjectBase<MotionEventData>(ctx) {}
struct New_t {
typedef MotionEventData Owner;
typedef MotionEventData::LocalRef ReturnType;
typedef MotionEventData::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "<init>";
static constexpr char signature[] =
"(Landroid/view/MotionEvent;)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;
};
// MotionEventData(MotionEvent)
static auto New(mozilla::jni::Object::Param) -> MotionEventData::LocalRef;
struct Action_t {
typedef MotionEventData Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "action";
static constexpr char signature[] =
"I";
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;
};
auto Action() const -> int32_t;
struct ActionIndex_t {
typedef MotionEventData Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "actionIndex";
static constexpr char signature[] =
"I";
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;
};
auto ActionIndex() const -> int32_t;
struct HistoricalOrientation_t {
typedef MotionEventData Owner;
typedef mozilla::jni::FloatArray::LocalRef ReturnType;
typedef mozilla::jni::FloatArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "historicalOrientation";
static constexpr char signature[] =
"[F";
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;
};
auto HistoricalOrientation() const -> mozilla::jni::FloatArray::LocalRef;
struct HistoricalPressure_t {
typedef MotionEventData Owner;
typedef mozilla::jni::FloatArray::LocalRef ReturnType;
typedef mozilla::jni::FloatArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "historicalPressure";
static constexpr char signature[] =
"[F";
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;
};
auto HistoricalPressure() const -> mozilla::jni::FloatArray::LocalRef;
struct HistoricalTime_t {
typedef MotionEventData Owner;
typedef mozilla::jni::LongArray::LocalRef ReturnType;
typedef mozilla::jni::LongArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "historicalTime";
static constexpr char signature[] =
"[J";
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;
};
auto HistoricalTime() const -> mozilla::jni::LongArray::LocalRef;
struct HistoricalToolMajor_t {
typedef MotionEventData Owner;
typedef mozilla::jni::FloatArray::LocalRef ReturnType;
typedef mozilla::jni::FloatArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "historicalToolMajor";
static constexpr char signature[] =
"[F";
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;
};
auto HistoricalToolMajor() const -> mozilla::jni::FloatArray::LocalRef;
struct HistoricalToolMinor_t {
typedef MotionEventData Owner;
typedef mozilla::jni::FloatArray::LocalRef ReturnType;
typedef mozilla::jni::FloatArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "historicalToolMinor";
static constexpr char signature[] =
"[F";
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;
};
auto HistoricalToolMinor() const -> mozilla::jni::FloatArray::LocalRef;
struct HistoricalX_t {
typedef MotionEventData Owner;
typedef mozilla::jni::FloatArray::LocalRef ReturnType;
typedef mozilla::jni::FloatArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "historicalX";
static constexpr char signature[] =
"[F";
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;
};
auto HistoricalX() const -> mozilla::jni::FloatArray::LocalRef;
struct HistoricalY_t {
typedef MotionEventData Owner;
typedef mozilla::jni::FloatArray::LocalRef ReturnType;
typedef mozilla::jni::FloatArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "historicalY";
static constexpr char signature[] =
"[F";
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;
};
auto HistoricalY() const -> mozilla::jni::FloatArray::LocalRef;
struct HistorySize_t {
typedef MotionEventData Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "historySize";
static constexpr char signature[] =
"I";
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;
};
auto HistorySize() const -> int32_t;
struct MetaState_t {
typedef MotionEventData Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "metaState";
static constexpr char signature[] =
"I";
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;
};
auto MetaState() const -> int32_t;
struct Orientation_t {
typedef MotionEventData Owner;
typedef mozilla::jni::FloatArray::LocalRef ReturnType;
typedef mozilla::jni::FloatArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "orientation";
static constexpr char signature[] =
"[F";
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;
};
auto Orientation() const -> mozilla::jni::FloatArray::LocalRef;
struct PointerId_t {
typedef MotionEventData Owner;
typedef mozilla::jni::IntArray::LocalRef ReturnType;
typedef mozilla::jni::IntArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "pointerId";
static constexpr char signature[] =
"[I";
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;
};
auto PointerId() const -> mozilla::jni::IntArray::LocalRef;
struct Pressure_t {
typedef MotionEventData Owner;
typedef mozilla::jni::FloatArray::LocalRef ReturnType;
typedef mozilla::jni::FloatArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "pressure";
static constexpr char signature[] =
"[F";
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;
};
auto Pressure() const -> mozilla::jni::FloatArray::LocalRef;
struct Time_t {
typedef MotionEventData Owner;
typedef int64_t ReturnType;
typedef int64_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "time";
static constexpr char signature[] =
"J";
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;
};
auto Time() const -> int64_t;
struct ToolMajor_t {
typedef MotionEventData Owner;
typedef mozilla::jni::FloatArray::LocalRef ReturnType;
typedef mozilla::jni::FloatArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "toolMajor";
static constexpr char signature[] =
"[F";
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;
};
auto ToolMajor() const -> mozilla::jni::FloatArray::LocalRef;
struct ToolMinor_t {
typedef MotionEventData Owner;
typedef mozilla::jni::FloatArray::LocalRef ReturnType;
typedef mozilla::jni::FloatArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "toolMinor";
static constexpr char signature[] =
"[F";
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;
};
auto ToolMinor() const -> mozilla::jni::FloatArray::LocalRef;
struct X_t {
typedef MotionEventData Owner;
typedef mozilla::jni::FloatArray::LocalRef ReturnType;
typedef mozilla::jni::FloatArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "x";
static constexpr char signature[] =
"[F";
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;
};
auto X() const -> mozilla::jni::FloatArray::LocalRef;
struct Y_t {
typedef MotionEventData Owner;
typedef mozilla::jni::FloatArray::LocalRef ReturnType;
typedef mozilla::jni::FloatArray::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "y";
static constexpr char signature[] =
"[F";
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;
};
auto Y() const -> mozilla::jni::FloatArray::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class PanZoomController::NativeProvider : public mozilla::jni::ObjectBase<NativeProvider>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/PanZoomController$NativeProvider";
explicit NativeProvider(const Context& ctx) : ObjectBase<NativeProvider>(ctx) {}
// Suggested header signature for native method:
// void HandleDragEvent(int32_t, int64_t, float, float, mozilla::java::GeckoDragAndDrop::DropData::Param);
struct HandleDragEvent_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
int64_t,
float,
float,
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "handleDragEvent";
static constexpr char signature[] =
"(IJFFLorg/mozilla/gecko/GeckoDragAndDrop$DropData;)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::UI;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Suggested header signature for native method:
// void HandleMotionEvent(mozilla::java::PanZoomController::MotionEventData::Param, float, float, mozilla::java::GeckoResult::Param);
struct HandleMotionEvent_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
float,
float,
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "handleMotionEvent";
static constexpr char signature[] =
"(Lorg/mozilla/geckoview/PanZoomController$MotionEventData;FFLorg/mozilla/geckoview/GeckoResult;)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::UI;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Suggested header signature for native method:
// int32_t HandleMouseEvent(int32_t, int64_t, int32_t, float, float, int32_t);
struct HandleMouseEvent_t {
typedef NativeProvider Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<
int32_t,
int64_t,
int32_t,
float,
float,
int32_t> Args;
static constexpr char name[] = "handleMouseEvent";
static constexpr char signature[] =
"(IJIFFI)I";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::UI;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Suggested header signature for native method:
// int32_t HandleScrollEvent(int64_t, int32_t, float, float, float, float);
struct HandleScrollEvent_t {
typedef NativeProvider Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<
int64_t,
int32_t,
float,
float,
float,
float> Args;
static constexpr char name[] = "handleScrollEvent";
static constexpr char signature[] =
"(JIFFFF)I";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::UI;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Suggested header signature for native method:
// void SetIsLongpressEnabled(bool);
struct SetIsLongpressEnabled_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
bool> Args;
static constexpr char name[] = "nativeSetIsLongpressEnabled";
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::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
struct SetAttached_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
bool> Args;
static constexpr char name[] = "setAttached";
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::UI;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void setAttached(boolean)
auto SetAttached(bool) const -> void;
struct SynthesizeNativeMouseEvent_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t,
int32_t,
int32_t> Args;
static constexpr char name[] = "synthesizeNativeMouseEvent";
static constexpr char signature[] =
"(IIII)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::UI;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void synthesizeNativeMouseEvent(int, int, int, int)
auto SynthesizeNativeMouseEvent(int32_t, int32_t, int32_t, int32_t) const -> void;
struct SynthesizeNativeTouchPoint_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t,
int32_t,
int32_t,
double,
int32_t> Args;
static constexpr char name[] = "synthesizeNativeTouchPoint";
static constexpr char signature[] =
"(IIIIDI)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::UI;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void synthesizeNativeTouchPoint(int, int, int, int, double, int)
auto SynthesizeNativeTouchPoint(int32_t, int32_t, int32_t, int32_t, double, int32_t) const -> void;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
template<class Impl> class Natives;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_PanZoomControllerWrappers_h