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_SessionAccessibilityWrappers_h
#define mozilla_java_SessionAccessibilityWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class SessionAccessibility : public mozilla::jni::ObjectBase<SessionAccessibility>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/SessionAccessibility";
explicit SessionAccessibility(const Context& ctx) : ObjectBase<SessionAccessibility>(ctx) {}
class NativeProvider;
class Settings;
static constexpr int32_t CLASSNAME_BUTTON = 1;
static constexpr int32_t CLASSNAME_CHECKBOX = 2;
static constexpr int32_t CLASSNAME_DIALOG = 3;
static constexpr int32_t CLASSNAME_EDITTEXT = 4;
static constexpr int32_t CLASSNAME_GRIDVIEW = 5;
static constexpr int32_t CLASSNAME_IMAGE = 6;
static constexpr int32_t CLASSNAME_LISTVIEW = 7;
static constexpr int32_t CLASSNAME_MENUITEM = 8;
static constexpr int32_t CLASSNAME_PROGRESSBAR = 9;
static constexpr int32_t CLASSNAME_RADIOBUTTON = 10;
static constexpr int32_t CLASSNAME_SEEKBAR = 11;
static constexpr int32_t CLASSNAME_SPINNER = 12;
static constexpr int32_t CLASSNAME_TABWIDGET = 13;
static constexpr int32_t CLASSNAME_TOGGLEBUTTON = 14;
static constexpr int32_t CLASSNAME_VIEW = 0;
static constexpr int32_t CLASSNAME_WEBVIEW = 15;
static constexpr int32_t FLAG_ACCESSIBILITY_FOCUSED = 0;
static constexpr int32_t FLAG_CHECKABLE = 2;
static constexpr int32_t FLAG_CHECKED = 4;
static constexpr int32_t FLAG_CLICKABLE = 8;
static constexpr int32_t FLAG_CONTENT_INVALID = 16;
static constexpr int32_t FLAG_CONTEXT_CLICKABLE = 32;
static constexpr int32_t FLAG_EDITABLE = 64;
static constexpr int32_t FLAG_ENABLED = 128;
static constexpr int32_t FLAG_EXPANDABLE = 131072;
static constexpr int32_t FLAG_EXPANDED = 262144;
static constexpr int32_t FLAG_FOCUSABLE = 256;
static constexpr int32_t FLAG_FOCUSED = 512;
static constexpr int32_t FLAG_LONG_CLICKABLE = 1024;
static constexpr int32_t FLAG_MULTI_LINE = 2048;
static constexpr int32_t FLAG_PASSWORD = 4096;
static constexpr int32_t FLAG_SCROLLABLE = 8192;
static constexpr int32_t FLAG_SELECTABLE = 65536;
static constexpr int32_t FLAG_SELECTED = 16384;
static constexpr int32_t FLAG_VISIBLE_TO_USER = 32768;
static constexpr int32_t HTML_GRANULARITY_ARTICLE = 0;
static constexpr int32_t HTML_GRANULARITY_BUTTON = 1;
static constexpr int32_t HTML_GRANULARITY_CHECKBOX = 2;
static constexpr int32_t HTML_GRANULARITY_COMBOBOX = 3;
static constexpr int32_t HTML_GRANULARITY_CONTROL = 4;
static constexpr int32_t HTML_GRANULARITY_DEFAULT = -1;
static constexpr int32_t HTML_GRANULARITY_FOCUSABLE = 5;
static constexpr int32_t HTML_GRANULARITY_FRAME = 6;
static constexpr int32_t HTML_GRANULARITY_GRAPHIC = 7;
static constexpr int32_t HTML_GRANULARITY_H1 = 8;
static constexpr int32_t HTML_GRANULARITY_H2 = 9;
static constexpr int32_t HTML_GRANULARITY_H3 = 10;
static constexpr int32_t HTML_GRANULARITY_H4 = 11;
static constexpr int32_t HTML_GRANULARITY_H5 = 12;
static constexpr int32_t HTML_GRANULARITY_H6 = 13;
static constexpr int32_t HTML_GRANULARITY_HEADING = 14;
static constexpr int32_t HTML_GRANULARITY_LANDMARK = 15;
static constexpr int32_t HTML_GRANULARITY_LINK = 16;
static constexpr int32_t HTML_GRANULARITY_LIST = 17;
static constexpr int32_t HTML_GRANULARITY_LIST_ITEM = 18;
static constexpr int32_t HTML_GRANULARITY_MAIN = 19;
static constexpr int32_t HTML_GRANULARITY_MEDIA = 20;
static constexpr int32_t HTML_GRANULARITY_RADIO = 21;
static constexpr int32_t HTML_GRANULARITY_SECTION = 22;
static constexpr int32_t HTML_GRANULARITY_TABLE = 23;
static constexpr int32_t HTML_GRANULARITY_TEXT_FIELD = 24;
static constexpr int32_t HTML_GRANULARITY_UNVISITED_LINK = 25;
static constexpr int32_t HTML_GRANULARITY_VISITED_LINK = 26;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class SessionAccessibility::NativeProvider : public mozilla::jni::ObjectBase<NativeProvider>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/SessionAccessibility$NativeProvider";
explicit NativeProvider(const Context& ctx) : ObjectBase<NativeProvider>(ctx) {}
// Suggested header signature for native method:
// void Click(int32_t);
struct Click_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t> Args;
static constexpr char name[] = "click";
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::GECKO;
};
// Suggested header signature for native method:
// void Copy(int32_t);
struct Copy_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t> Args;
static constexpr char name[] = "copy";
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::GECKO;
};
// Suggested header signature for native method:
// void Cut(int32_t);
struct Cut_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t> Args;
static constexpr char name[] = "cut";
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::GECKO;
};
// Suggested header signature for native method:
// void ExploreByTouch(int32_t, float, float);
struct ExploreByTouch_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
float,
float> Args;
static constexpr char name[] = "exploreByTouch";
static constexpr char signature[] =
"(IFF)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;
};
// Suggested header signature for native method:
// int32_t GetNodeClassName(int32_t);
struct GetNodeClassName_t {
typedef NativeProvider Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<
int32_t> Args;
static constexpr char name[] = "getNodeClassName";
static constexpr char signature[] =
"(I)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;
};
// Suggested header signature for native method:
// void GetNodeInfo(int32_t, mozilla::jni::Object::Param);
struct GetNodeInfo_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "getNodeInfo";
static constexpr char signature[] =
"(ILandroid/view/accessibility/AccessibilityNodeInfo;)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;
};
// Suggested header signature for native method:
// bool NavigateText(int32_t, int32_t, int32_t, int32_t, bool, bool);
struct NavigateText_t {
typedef NativeProvider Owner;
typedef bool ReturnType;
typedef bool SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t,
int32_t,
int32_t,
bool,
bool> Args;
static constexpr char name[] = "navigateText";
static constexpr char signature[] =
"(IIIIZZ)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::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Suggested header signature for native method:
// void Paste(int32_t);
struct Paste_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t> Args;
static constexpr char name[] = "paste";
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::GECKO;
};
// Suggested header signature for native method:
// bool Pivot(int32_t, int32_t, bool, bool);
struct Pivot_t {
typedef NativeProvider Owner;
typedef bool ReturnType;
typedef bool SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t,
bool,
bool> Args;
static constexpr char name[] = "pivotNative";
static constexpr char signature[] =
"(IIZZ)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::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
struct PopulateNodeCollectionInfo_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
int32_t,
int32_t,
int32_t,
bool> Args;
static constexpr char name[] = "populateNodeCollectionInfo";
static constexpr char signature[] =
"(Landroid/view/accessibility/AccessibilityNodeInfo;IIIZ)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;
};
// void populateNodeCollectionInfo(AccessibilityNodeInfo, int, int, int, boolean)
auto PopulateNodeCollectionInfo(mozilla::jni::Object::Param, int32_t, int32_t, int32_t, bool) const -> void;
struct PopulateNodeCollectionItemInfo_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
int32_t,
int32_t,
int32_t,
int32_t> Args;
static constexpr char name[] = "populateNodeCollectionItemInfo";
static constexpr char signature[] =
"(Landroid/view/accessibility/AccessibilityNodeInfo;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::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void populateNodeCollectionItemInfo(AccessibilityNodeInfo, int, int, int, int)
auto PopulateNodeCollectionItemInfo(mozilla::jni::Object::Param, int32_t, int32_t, int32_t, int32_t) const -> void;
struct PopulateNodeInfo_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
int32_t,
int32_t,
mozilla::jni::IntArray::Param,
int32_t,
int32_t,
mozilla::jni::IntArray::Param,
mozilla::jni::String::Param,
mozilla::jni::String::Param,
mozilla::jni::String::Param,
mozilla::jni::String::Param,
mozilla::jni::String::Param,
mozilla::jni::String::Param,
int32_t> Args;
static constexpr char name[] = "populateNodeInfo";
static constexpr char signature[] =
"(Landroid/view/accessibility/AccessibilityNodeInfo;II[III[ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;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;
};
// void populateNodeInfo(AccessibilityNodeInfo, int, int, int[], int, int, int[], String, String, String, String, String, String, int)
auto PopulateNodeInfo(mozilla::jni::Object::Param, int32_t, int32_t, mozilla::jni::IntArray::Param, int32_t, int32_t, mozilla::jni::IntArray::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, mozilla::jni::String::Param, int32_t) const -> void;
struct PopulateNodeRangeInfo_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
int32_t,
float,
float,
float> Args;
static constexpr char name[] = "populateNodeRangeInfo";
static constexpr char signature[] =
"(Landroid/view/accessibility/AccessibilityNodeInfo;IFFF)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;
};
// void populateNodeRangeInfo(AccessibilityNodeInfo, int, float, float, float)
auto PopulateNodeRangeInfo(mozilla::jni::Object::Param, int32_t, float, float, float) const -> void;
struct SendEvent_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t,
int32_t,
mozilla::jni::Object::Param> Args;
static constexpr char name[] = "sendEventNative";
static constexpr char signature[] =
"(IIILorg/mozilla/gecko/util/GeckoBundle;)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 sendEventNative(int, int, int, GeckoBundle)
auto SendEvent(int32_t, int32_t, int32_t, mozilla::jni::Object::Param) const -> void;
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;
// Suggested header signature for native method:
// void SetSelection(int32_t, int32_t, int32_t);
struct SetSelection_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t,
int32_t> Args;
static constexpr char name[] = "setSelection";
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::GECKO;
};
// Suggested header signature for native method:
// void SetText(int32_t, mozilla::jni::String::Param);
struct SetText_t {
typedef NativeProvider Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
mozilla::jni::String::Param> Args;
static constexpr char name[] = "setText";
static constexpr char signature[] =
"(ILjava/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::GECKO;
};
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
template<class Impl> class Natives;
};
class SessionAccessibility::Settings : public mozilla::jni::ObjectBase<Settings>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/SessionAccessibility$Settings";
explicit Settings(const Context& ctx) : ObjectBase<Settings>(ctx) {}
// Suggested header signature for native method:
// static void ToggleNativeAccessibility(bool);
struct ToggleNativeAccessibility_t {
typedef Settings Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
bool> Args;
static constexpr char name[] = "toggleNativeAccessibility";
static constexpr char signature[] =
"(Z)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;
};
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
template<class Impl> class Natives;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_SessionAccessibilityWrappers_h