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_GeckoEditableChildWrappers_h
#define mozilla_java_GeckoEditableChildWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class GeckoEditableChild : public mozilla::jni::ObjectBase<GeckoEditableChild>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/GeckoEditableChild";
explicit GeckoEditableChild(const Context& ctx) : ObjectBase<GeckoEditableChild>(ctx) {}
struct New_t {
typedef GeckoEditableChild Owner;
typedef GeckoEditableChild::LocalRef ReturnType;
typedef GeckoEditableChild::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
bool> Args;
static constexpr char name[] = "<init>";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/IGeckoEditableParent;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;
};
// GeckoEditableChild(IGeckoEditableParent, boolean)
static auto New(mozilla::jni::Object::Param, bool) -> GeckoEditableChild::LocalRef;
struct HasEditableParent_t {
typedef GeckoEditableChild Owner;
typedef bool ReturnType;
typedef bool SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "hasEditableParent";
static constexpr char signature[] =
"()Z";
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;
};
// boolean hasEditableParent()
auto HasEditableParent() const -> bool;
struct NotifyIME_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t> Args;
static constexpr char name[] = "notifyIME";
static constexpr char signature[] =
"(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::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void notifyIME(int)
auto NotifyIME(int32_t) const -> void;
struct NotifyIMEContext_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
mozilla::jni::String::Param,
mozilla::jni::String::Param,
mozilla::jni::String::Param,
mozilla::jni::String::Param,
bool,
int32_t> Args;
static constexpr char name[] = "notifyIMEContext";
static constexpr char signature[] =
"(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)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 notifyIMEContext(int, String, String, String, String, boolean, int)
auto NotifyIMEContext(int32_t, mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, bool, int32_t) const -> void;
struct OnDefaultKeyEvent_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "onDefaultKeyEvent";
static constexpr char signature[] =
"(Landroid/view/KeyEvent;)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 onDefaultKeyEvent(KeyEvent)
auto OnDefaultKeyEvent(mozilla::jni::Object::Param) const -> void;
// Suggested header signature for native method:
// void OnImeAddCompositionRange(int32_t, int32_t, int32_t, int32_t, int32_t, bool, int32_t, int32_t, int32_t);
struct OnImeAddCompositionRange_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t,
int32_t,
int32_t,
int32_t,
bool,
int32_t,
int32_t,
int32_t> Args;
static constexpr char name[] = "onImeAddCompositionRange";
static constexpr char signature[] =
"(IIIIIZIII)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::PROXY;
};
// Suggested header signature for native method:
// void OnImeInsertImage(mozilla::jni::ByteArray::Param, mozilla::jni::String::Param);
struct OnImeInsertImage_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::ByteArray::Param,
mozilla::jni::String::Param> Args;
static constexpr char name[] = "onImeInsertImage";
static constexpr char signature[] =
"([BLjava/lang/String;)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::PROXY;
};
// Suggested header signature for native method:
// void OnImeReplaceText(int32_t, int32_t, mozilla::jni::String::Param);
struct OnImeReplaceText_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t,
mozilla::jni::String::Param> Args;
static constexpr char name[] = "onImeReplaceText";
static constexpr char signature[] =
"(IILjava/lang/String;)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::PROXY;
};
// Suggested header signature for native method:
// void OnImeRequestCommit();
struct OnImeRequestCommit_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "onImeRequestCommit";
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::PROXY;
};
// Suggested header signature for native method:
// void OnImeRequestCursorUpdates(int32_t);
struct OnImeRequestCursorUpdates_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t> Args;
static constexpr char name[] = "onImeRequestCursorUpdates";
static constexpr char signature[] =
"(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::PROXY;
};
// Suggested header signature for native method:
// void OnImeSynchronize();
struct OnImeSynchronize_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "onImeSynchronize";
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::PROXY;
};
// Suggested header signature for native method:
// void OnImeUpdateComposition(int32_t, int32_t, int32_t);
struct OnImeUpdateComposition_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t,
int32_t> Args;
static constexpr char name[] = "onImeUpdateComposition";
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::PROXY;
};
// Suggested header signature for native method:
// void OnKeyEvent(int32_t, int32_t, int32_t, int32_t, int32_t, int64_t, int32_t, int32_t, int32_t, bool, mozilla::jni::Object::Param);
struct OnKeyEvent_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t,
int32_t,
int32_t,
int32_t,
int64_t,
int32_t,
int32_t,
int32_t,
bool,
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "onKeyEvent";
static constexpr char signature[] =
"(IIIIIJIIIZLandroid/view/KeyEvent;)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::PROXY;
};
struct OnSelectionChange_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t,
bool> Args;
static constexpr char name[] = "onSelectionChange";
static constexpr char signature[] =
"(IIZ)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::IGNORE;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void onSelectionChange(int, int, boolean)
auto OnSelectionChange(int32_t, int32_t, bool) const -> void;
struct OnTextChange_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param,
int32_t,
int32_t,
int32_t,
bool> Args;
static constexpr char name[] = "onTextChange";
static constexpr char signature[] =
"(Ljava/lang/CharSequence;IIIZ)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::IGNORE;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void onTextChange(CharSequence, int, int, int, boolean)
auto OnTextChange(mozilla::jni::String::Param, int32_t, int32_t, int32_t, bool) const -> void;
struct SetParent_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "setParent";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/IGeckoEditableParent;)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 setParent(IGeckoEditableParent)
auto SetParent(mozilla::jni::Object::Param) const -> void;
// Suggested header signature for native method:
// void TransferParent(mozilla::jni::Object::Param);
struct TransferParent_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "transferParent";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/IGeckoEditableParent;)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::PROXY;
};
struct UpdateCompositionRects_t {
typedef GeckoEditableChild Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::ObjectArray::Param,
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "updateCompositionRects";
static constexpr char signature[] =
"([Landroid/graphics/RectF;Landroid/graphics/RectF;)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 updateCompositionRects(RectF[], RectF)
auto UpdateCompositionRects(mozilla::jni::ObjectArray::Param, mozilla::jni::Object::Param) const -> void;
static constexpr int32_t FLAG_KEEP_CURRENT_COMPOSITION = 1;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
template<class Impl> class Natives;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_GeckoEditableChildWrappers_h