2013-09-09 12:57:36 +00:00
|
|
|
// GENERATED CODE
|
2015-01-10 00:33:57 +00: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 03:41:36 +00:00
|
|
|
// corresponding Java methods and rerun the build. Manually updating this file
|
2015-01-10 00:33:57 +00:00
|
|
|
// will cause your build to fail.
|
2013-09-09 12:57:36 +00:00
|
|
|
|
2013-11-12 18:41:00 +00:00
|
|
|
#include "GeneratedJNIWrappers.h"
|
2015-01-10 00:33:57 +00:00
|
|
|
#include "mozilla/jni/Accessors.h"
|
2013-09-09 12:57:36 +00:00
|
|
|
|
2013-11-12 18:41:00 +00:00
|
|
|
namespace mozilla {
|
2016-07-21 17:49:04 +00:00
|
|
|
namespace java {
|
2013-09-09 12:57:36 +00:00
|
|
|
|
2016-08-04 13:16:05 +00:00
|
|
|
const char AndroidGamepadManager::name[] =
|
|
|
|
"org/mozilla/gecko/AndroidGamepadManager";
|
|
|
|
|
|
|
|
constexpr char AndroidGamepadManager::OnAxisChange_t::name[];
|
|
|
|
constexpr char AndroidGamepadManager::OnAxisChange_t::signature[];
|
|
|
|
|
|
|
|
constexpr char AndroidGamepadManager::OnButtonChange_t::name[];
|
|
|
|
constexpr char AndroidGamepadManager::OnButtonChange_t::signature[];
|
|
|
|
|
|
|
|
constexpr char AndroidGamepadManager::OnGamepadAdded_t::name[];
|
|
|
|
constexpr char AndroidGamepadManager::OnGamepadAdded_t::signature[];
|
|
|
|
|
|
|
|
auto AndroidGamepadManager::OnGamepadAdded(int32_t a0, int32_t a1) -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<OnGamepadAdded_t>::Call(AndroidGamepadManager::Context(), nullptr, a0, a1);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char AndroidGamepadManager::OnGamepadChange_t::name[];
|
|
|
|
constexpr char AndroidGamepadManager::OnGamepadChange_t::signature[];
|
|
|
|
|
|
|
|
constexpr char AndroidGamepadManager::Start_t::name[];
|
|
|
|
constexpr char AndroidGamepadManager::Start_t::signature[];
|
|
|
|
|
|
|
|
auto AndroidGamepadManager::Start() -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Start_t>::Call(AndroidGamepadManager::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char AndroidGamepadManager::Stop_t::name[];
|
|
|
|
constexpr char AndroidGamepadManager::Stop_t::signature[];
|
|
|
|
|
|
|
|
auto AndroidGamepadManager::Stop() -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Stop_t>::Call(AndroidGamepadManager::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
Bug 1307820 - Implement per-GeckoView messaging; r=snorp r=sebastian
Bug 1307820 - 1a. Move GeckoApp EventDispatcher to GeckoView; r=snorp
Make it a GeckoView-specific EventDispatcher instead of
GeckoApp-specific, so that GeckoView consumers can benefit from a
per-view EventDispatcher. In addition, a few events like Gecko:Ready are
moved back to the global EventDispatcher because that makes more sense.
Bug 1307820 - 1b. Don't use GeckoApp EventDispatcher during inflation; r=snorp
During layout inflation, we don't yet have GeckoView and therefore the
GeckoView EventDispatcher, so we should not register events until later,
typically during onAttachedToWindow.
Bug 1307820 - 2. Introduce GeckoBundle; r=snorp
The Android Bundle class has several disadvantages when used for holding
structured data from JS.
The most obvious one is the differentiation between int and double,
which doesn't exist in JS. So when a JS number is converted to either a
Bundle int or double, we run the risk of making a wrong conversion,
resulting in a type mismatch exception when Java uses the Bundle. This
extends to number arrays from JS.
There is one more gotcha when using arrays. When we receive an empty
array from JS, there is no way for us to determine the type of the
array, because even empty arrays in Java have types. We are forced to
pick an arbitrary type like boolean[], which can easily result in a type
mismatch exception when using the array on the Java side.
In addition, Bundle is fairly cumbersome, and we cannot access the inner
structures of Bundle from Java or JNI, making it harder to use.
With these factors in mind, this patch introduces GeckoBundle as a
better choice for Gecko/Java communication. It is almost fully
API-compatible with the Android Bundle; only the Bundle array methods
are different. It resolves the numbers problem by performing conversions
if necessary, and it is a lot more lightweight than Bundle.
Bug 1307820 - 3. Convert BundleEventListener to use GeckoBundle; r=snorp
Convert BundleEventListener from using Bundle to using GeckoBundle.
Because NativeJSContainer still only supports Bundle, we do an extra
conversion when sending Bundle messages, but eventually, as we eliminate
the use of NativeJSContainer, that will go away as well.
Bug 1307820 - 4. Introduce EventDispatcher interfaces; r=snorp
Introduce several new XPCOM interfaces for the new EventDispatcher API,
these interfaces are mostly mirrored after their Java counterparts.
* nsIAndroidEventDispatcher is the main interface for
registering/unregistering listeners and for dispatching events from
JS/C++.
* nsIAndroidEventListener is the interface that JS/C++ clients implement
to receive events.
* nsIAndroidEventCallback is the interface that JS/C++ clients implement
to receive responses from dispatched events.
* nsIAndroidView is the new interface that every window receives
that is specific to the window/GeckoView pair. It is passed to chrome
scripts through window arguments.
Bug 1307820 - 5. Remove EventDispatcher references from gfx code; r=snorp
EventDispatcher was used for JPZC, but NPZC doesn't use it anymore.
Bug 1307820 - 6. General JNI template improvements; r=snorp
This patch includes several improvements to the JNI templates.
* Context::RawClassRef is removed to avoid misuse, as Context::ClassRef
should be used instead.
* Fix a compile error, in certain usages, in the DisposeNative overload
in NativeStub.
* Add Ref::IsInstanceOf and Context::IsInstanceOf to mirror the
JNIEnv::IsInstanceOf call.
* Add Ref::operator* and Context::operator* to provide an easy way to
get a Context object.
* Add built-in declarations for boxed Java objects (e.g. Boolean,
Integer, etc).
* Add ObjectArray::New for creating new object arrays of specific types.
* Add lvalue qualifiers to LocalRef::operator= and GlobalRef::operator=,
to prevent accidentally assigning to rvalues. (e.g.
`objectArray->GetElement(0) = newObject;`, which won't work as intended.)
Bug 1307820 - 7. Support ownership through RefPtr for native JNI objects; r=snorp
In addition to direct ownership and weak pointer ownership, add a third
ownership model where a native JNI object owns a RefPtr that holds a
strong reference to the actual C++ object. This ownership model works
well with ref-counted objects such as XPCOM objects, and is activated
through the presence of public members AddRef() and Release() in the C++
object.
Bug 1307820 - 8. Implement Gecko-side EventDispatcher; r=snorp
Add a skeletal implementation of EventDispatcher on the Gecko side.
Each widget::EventDispatcher will be associated with a Java
EventDispatcher, so events can be dispatched from Gecko to Java and vice
versa. AndroidBridge and nsWindow will implement
nsIAndroidEventDispatcher through widget::EventDispatcher.
Other patches will add more complete functionality such as
GeckoBundle/JSObject translation and support for callbacks.
Bug 1307820 - 9. Implement dispatching between Gecko/Java; r=snorp
Implement translation between JSObject and GeckoBundle, and use that for
dispatching events from Gecko to Java and vice versa.
Bug 1307820 - 10. Implement callback support; r=snorp
Implement callback support for both Gecko-to-Java events and
Java-to-Gecko events.
For Gecko-to-Java, we translate nsIAndroidEventCallback to a Java
EventCallback through NativeCallbackDelegate and pass it to the Java
listener.
For Java-to-Gecko, we translate EventCallback to a
nsIAndroidEventCallback through JavaCallbackDelegate and pass it to the
Gecko listener. There is another JavaCallbackDelegate on the Java side
that redirects the callback to a particular thread. For example, if the
event was dispatched from the UI thread, we make sure the callback
happens on the UI thread as well.
Bug 1307820 - 11. Add BundleEventListener support for Gecko thread; r=snorp
Add support for BundleEventListener on the Gecko thread, so that we can
use it to replace any existing GeckoEventListener or NativeEventListener
implementations that require the listener be run synchronously on the
Gecko thread.
Bug 1307820 - 12. Add global EventDispatcher in AndroidBridge; r=snorp
Add an instance of EventDispatcher to AndroidBridge to act as a global
event dispatcher.
Bug 1307820 - 13. Add per-nsWindow EventDispatcher; r=snorp
Add an instance of EventDispatcher to each nsWindow through an
AndroidView object, which implements nsIAndroidView. The nsIAndroidView
is passed to the chrome script through the window argument when opening
the window.
Bug 1307820 - 14. Update auto-generated bindings; r=me
Bug 1307820 - 15. Update testEventDispatcher; r=snorp
Update testEventDispatcher to include new functionalities in
EventDisptcher.
* Add tests for dispatching events to UI/background thread through
nsIAndroidEventDispatcher::dispatch.
* Add tests for dispatching events to UI/background thread through
EventDispatcher.dispatch.
* Add tests for dispatching events to Gecko thread through
EventDispatcher.dispatch.
Each kind of test exercises both the global EventDispatcher through
EventDispatcher.getInstance() and the per-GeckoView EventDispatcher
through GeckoApp.getEventDispatcher().
2016-11-14 13:29:50 +00:00
|
|
|
const char EventDispatcher::name[] =
|
|
|
|
"org/mozilla/gecko/EventDispatcher";
|
|
|
|
|
|
|
|
constexpr char EventDispatcher::DispatchToGecko_t::name[];
|
|
|
|
constexpr char EventDispatcher::DispatchToGecko_t::signature[];
|
|
|
|
|
|
|
|
constexpr char EventDispatcher::DispatchToThreads_t::name[];
|
|
|
|
constexpr char EventDispatcher::DispatchToThreads_t::signature[];
|
|
|
|
|
2017-02-01 22:35:45 +00:00
|
|
|
auto EventDispatcher::DispatchToThreads(mozilla::jni::String::Param a0, mozilla::jni::Object::Param a1, mozilla::jni::Object::Param a2) const -> bool
|
Bug 1307820 - Implement per-GeckoView messaging; r=snorp r=sebastian
Bug 1307820 - 1a. Move GeckoApp EventDispatcher to GeckoView; r=snorp
Make it a GeckoView-specific EventDispatcher instead of
GeckoApp-specific, so that GeckoView consumers can benefit from a
per-view EventDispatcher. In addition, a few events like Gecko:Ready are
moved back to the global EventDispatcher because that makes more sense.
Bug 1307820 - 1b. Don't use GeckoApp EventDispatcher during inflation; r=snorp
During layout inflation, we don't yet have GeckoView and therefore the
GeckoView EventDispatcher, so we should not register events until later,
typically during onAttachedToWindow.
Bug 1307820 - 2. Introduce GeckoBundle; r=snorp
The Android Bundle class has several disadvantages when used for holding
structured data from JS.
The most obvious one is the differentiation between int and double,
which doesn't exist in JS. So when a JS number is converted to either a
Bundle int or double, we run the risk of making a wrong conversion,
resulting in a type mismatch exception when Java uses the Bundle. This
extends to number arrays from JS.
There is one more gotcha when using arrays. When we receive an empty
array from JS, there is no way for us to determine the type of the
array, because even empty arrays in Java have types. We are forced to
pick an arbitrary type like boolean[], which can easily result in a type
mismatch exception when using the array on the Java side.
In addition, Bundle is fairly cumbersome, and we cannot access the inner
structures of Bundle from Java or JNI, making it harder to use.
With these factors in mind, this patch introduces GeckoBundle as a
better choice for Gecko/Java communication. It is almost fully
API-compatible with the Android Bundle; only the Bundle array methods
are different. It resolves the numbers problem by performing conversions
if necessary, and it is a lot more lightweight than Bundle.
Bug 1307820 - 3. Convert BundleEventListener to use GeckoBundle; r=snorp
Convert BundleEventListener from using Bundle to using GeckoBundle.
Because NativeJSContainer still only supports Bundle, we do an extra
conversion when sending Bundle messages, but eventually, as we eliminate
the use of NativeJSContainer, that will go away as well.
Bug 1307820 - 4. Introduce EventDispatcher interfaces; r=snorp
Introduce several new XPCOM interfaces for the new EventDispatcher API,
these interfaces are mostly mirrored after their Java counterparts.
* nsIAndroidEventDispatcher is the main interface for
registering/unregistering listeners and for dispatching events from
JS/C++.
* nsIAndroidEventListener is the interface that JS/C++ clients implement
to receive events.
* nsIAndroidEventCallback is the interface that JS/C++ clients implement
to receive responses from dispatched events.
* nsIAndroidView is the new interface that every window receives
that is specific to the window/GeckoView pair. It is passed to chrome
scripts through window arguments.
Bug 1307820 - 5. Remove EventDispatcher references from gfx code; r=snorp
EventDispatcher was used for JPZC, but NPZC doesn't use it anymore.
Bug 1307820 - 6. General JNI template improvements; r=snorp
This patch includes several improvements to the JNI templates.
* Context::RawClassRef is removed to avoid misuse, as Context::ClassRef
should be used instead.
* Fix a compile error, in certain usages, in the DisposeNative overload
in NativeStub.
* Add Ref::IsInstanceOf and Context::IsInstanceOf to mirror the
JNIEnv::IsInstanceOf call.
* Add Ref::operator* and Context::operator* to provide an easy way to
get a Context object.
* Add built-in declarations for boxed Java objects (e.g. Boolean,
Integer, etc).
* Add ObjectArray::New for creating new object arrays of specific types.
* Add lvalue qualifiers to LocalRef::operator= and GlobalRef::operator=,
to prevent accidentally assigning to rvalues. (e.g.
`objectArray->GetElement(0) = newObject;`, which won't work as intended.)
Bug 1307820 - 7. Support ownership through RefPtr for native JNI objects; r=snorp
In addition to direct ownership and weak pointer ownership, add a third
ownership model where a native JNI object owns a RefPtr that holds a
strong reference to the actual C++ object. This ownership model works
well with ref-counted objects such as XPCOM objects, and is activated
through the presence of public members AddRef() and Release() in the C++
object.
Bug 1307820 - 8. Implement Gecko-side EventDispatcher; r=snorp
Add a skeletal implementation of EventDispatcher on the Gecko side.
Each widget::EventDispatcher will be associated with a Java
EventDispatcher, so events can be dispatched from Gecko to Java and vice
versa. AndroidBridge and nsWindow will implement
nsIAndroidEventDispatcher through widget::EventDispatcher.
Other patches will add more complete functionality such as
GeckoBundle/JSObject translation and support for callbacks.
Bug 1307820 - 9. Implement dispatching between Gecko/Java; r=snorp
Implement translation between JSObject and GeckoBundle, and use that for
dispatching events from Gecko to Java and vice versa.
Bug 1307820 - 10. Implement callback support; r=snorp
Implement callback support for both Gecko-to-Java events and
Java-to-Gecko events.
For Gecko-to-Java, we translate nsIAndroidEventCallback to a Java
EventCallback through NativeCallbackDelegate and pass it to the Java
listener.
For Java-to-Gecko, we translate EventCallback to a
nsIAndroidEventCallback through JavaCallbackDelegate and pass it to the
Gecko listener. There is another JavaCallbackDelegate on the Java side
that redirects the callback to a particular thread. For example, if the
event was dispatched from the UI thread, we make sure the callback
happens on the UI thread as well.
Bug 1307820 - 11. Add BundleEventListener support for Gecko thread; r=snorp
Add support for BundleEventListener on the Gecko thread, so that we can
use it to replace any existing GeckoEventListener or NativeEventListener
implementations that require the listener be run synchronously on the
Gecko thread.
Bug 1307820 - 12. Add global EventDispatcher in AndroidBridge; r=snorp
Add an instance of EventDispatcher to AndroidBridge to act as a global
event dispatcher.
Bug 1307820 - 13. Add per-nsWindow EventDispatcher; r=snorp
Add an instance of EventDispatcher to each nsWindow through an
AndroidView object, which implements nsIAndroidView. The nsIAndroidView
is passed to the chrome script through the window argument when opening
the window.
Bug 1307820 - 14. Update auto-generated bindings; r=me
Bug 1307820 - 15. Update testEventDispatcher; r=snorp
Update testEventDispatcher to include new functionalities in
EventDisptcher.
* Add tests for dispatching events to UI/background thread through
nsIAndroidEventDispatcher::dispatch.
* Add tests for dispatching events to UI/background thread through
EventDispatcher.dispatch.
* Add tests for dispatching events to Gecko thread through
EventDispatcher.dispatch.
Each kind of test exercises both the global EventDispatcher through
EventDispatcher.getInstance() and the per-GeckoView EventDispatcher
through GeckoApp.getEventDispatcher().
2016-11-14 13:29:50 +00:00
|
|
|
{
|
2017-02-01 22:35:45 +00:00
|
|
|
return mozilla::jni::Method<DispatchToThreads_t>::Call(EventDispatcher::mCtx, nullptr, a0, a1, a2);
|
Bug 1307820 - Implement per-GeckoView messaging; r=snorp r=sebastian
Bug 1307820 - 1a. Move GeckoApp EventDispatcher to GeckoView; r=snorp
Make it a GeckoView-specific EventDispatcher instead of
GeckoApp-specific, so that GeckoView consumers can benefit from a
per-view EventDispatcher. In addition, a few events like Gecko:Ready are
moved back to the global EventDispatcher because that makes more sense.
Bug 1307820 - 1b. Don't use GeckoApp EventDispatcher during inflation; r=snorp
During layout inflation, we don't yet have GeckoView and therefore the
GeckoView EventDispatcher, so we should not register events until later,
typically during onAttachedToWindow.
Bug 1307820 - 2. Introduce GeckoBundle; r=snorp
The Android Bundle class has several disadvantages when used for holding
structured data from JS.
The most obvious one is the differentiation between int and double,
which doesn't exist in JS. So when a JS number is converted to either a
Bundle int or double, we run the risk of making a wrong conversion,
resulting in a type mismatch exception when Java uses the Bundle. This
extends to number arrays from JS.
There is one more gotcha when using arrays. When we receive an empty
array from JS, there is no way for us to determine the type of the
array, because even empty arrays in Java have types. We are forced to
pick an arbitrary type like boolean[], which can easily result in a type
mismatch exception when using the array on the Java side.
In addition, Bundle is fairly cumbersome, and we cannot access the inner
structures of Bundle from Java or JNI, making it harder to use.
With these factors in mind, this patch introduces GeckoBundle as a
better choice for Gecko/Java communication. It is almost fully
API-compatible with the Android Bundle; only the Bundle array methods
are different. It resolves the numbers problem by performing conversions
if necessary, and it is a lot more lightweight than Bundle.
Bug 1307820 - 3. Convert BundleEventListener to use GeckoBundle; r=snorp
Convert BundleEventListener from using Bundle to using GeckoBundle.
Because NativeJSContainer still only supports Bundle, we do an extra
conversion when sending Bundle messages, but eventually, as we eliminate
the use of NativeJSContainer, that will go away as well.
Bug 1307820 - 4. Introduce EventDispatcher interfaces; r=snorp
Introduce several new XPCOM interfaces for the new EventDispatcher API,
these interfaces are mostly mirrored after their Java counterparts.
* nsIAndroidEventDispatcher is the main interface for
registering/unregistering listeners and for dispatching events from
JS/C++.
* nsIAndroidEventListener is the interface that JS/C++ clients implement
to receive events.
* nsIAndroidEventCallback is the interface that JS/C++ clients implement
to receive responses from dispatched events.
* nsIAndroidView is the new interface that every window receives
that is specific to the window/GeckoView pair. It is passed to chrome
scripts through window arguments.
Bug 1307820 - 5. Remove EventDispatcher references from gfx code; r=snorp
EventDispatcher was used for JPZC, but NPZC doesn't use it anymore.
Bug 1307820 - 6. General JNI template improvements; r=snorp
This patch includes several improvements to the JNI templates.
* Context::RawClassRef is removed to avoid misuse, as Context::ClassRef
should be used instead.
* Fix a compile error, in certain usages, in the DisposeNative overload
in NativeStub.
* Add Ref::IsInstanceOf and Context::IsInstanceOf to mirror the
JNIEnv::IsInstanceOf call.
* Add Ref::operator* and Context::operator* to provide an easy way to
get a Context object.
* Add built-in declarations for boxed Java objects (e.g. Boolean,
Integer, etc).
* Add ObjectArray::New for creating new object arrays of specific types.
* Add lvalue qualifiers to LocalRef::operator= and GlobalRef::operator=,
to prevent accidentally assigning to rvalues. (e.g.
`objectArray->GetElement(0) = newObject;`, which won't work as intended.)
Bug 1307820 - 7. Support ownership through RefPtr for native JNI objects; r=snorp
In addition to direct ownership and weak pointer ownership, add a third
ownership model where a native JNI object owns a RefPtr that holds a
strong reference to the actual C++ object. This ownership model works
well with ref-counted objects such as XPCOM objects, and is activated
through the presence of public members AddRef() and Release() in the C++
object.
Bug 1307820 - 8. Implement Gecko-side EventDispatcher; r=snorp
Add a skeletal implementation of EventDispatcher on the Gecko side.
Each widget::EventDispatcher will be associated with a Java
EventDispatcher, so events can be dispatched from Gecko to Java and vice
versa. AndroidBridge and nsWindow will implement
nsIAndroidEventDispatcher through widget::EventDispatcher.
Other patches will add more complete functionality such as
GeckoBundle/JSObject translation and support for callbacks.
Bug 1307820 - 9. Implement dispatching between Gecko/Java; r=snorp
Implement translation between JSObject and GeckoBundle, and use that for
dispatching events from Gecko to Java and vice versa.
Bug 1307820 - 10. Implement callback support; r=snorp
Implement callback support for both Gecko-to-Java events and
Java-to-Gecko events.
For Gecko-to-Java, we translate nsIAndroidEventCallback to a Java
EventCallback through NativeCallbackDelegate and pass it to the Java
listener.
For Java-to-Gecko, we translate EventCallback to a
nsIAndroidEventCallback through JavaCallbackDelegate and pass it to the
Gecko listener. There is another JavaCallbackDelegate on the Java side
that redirects the callback to a particular thread. For example, if the
event was dispatched from the UI thread, we make sure the callback
happens on the UI thread as well.
Bug 1307820 - 11. Add BundleEventListener support for Gecko thread; r=snorp
Add support for BundleEventListener on the Gecko thread, so that we can
use it to replace any existing GeckoEventListener or NativeEventListener
implementations that require the listener be run synchronously on the
Gecko thread.
Bug 1307820 - 12. Add global EventDispatcher in AndroidBridge; r=snorp
Add an instance of EventDispatcher to AndroidBridge to act as a global
event dispatcher.
Bug 1307820 - 13. Add per-nsWindow EventDispatcher; r=snorp
Add an instance of EventDispatcher to each nsWindow through an
AndroidView object, which implements nsIAndroidView. The nsIAndroidView
is passed to the chrome script through the window argument when opening
the window.
Bug 1307820 - 14. Update auto-generated bindings; r=me
Bug 1307820 - 15. Update testEventDispatcher; r=snorp
Update testEventDispatcher to include new functionalities in
EventDisptcher.
* Add tests for dispatching events to UI/background thread through
nsIAndroidEventDispatcher::dispatch.
* Add tests for dispatching events to UI/background thread through
EventDispatcher.dispatch.
* Add tests for dispatching events to Gecko thread through
EventDispatcher.dispatch.
Each kind of test exercises both the global EventDispatcher through
EventDispatcher.getInstance() and the per-GeckoView EventDispatcher
through GeckoApp.getEventDispatcher().
2016-11-14 13:29:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char EventDispatcher::DisposeNative_t::name[];
|
|
|
|
constexpr char EventDispatcher::DisposeNative_t::signature[];
|
|
|
|
|
|
|
|
constexpr char EventDispatcher::GetInstance_t::name[];
|
|
|
|
constexpr char EventDispatcher::GetInstance_t::signature[];
|
|
|
|
|
|
|
|
auto EventDispatcher::GetInstance() -> EventDispatcher::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetInstance_t>::Call(EventDispatcher::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char EventDispatcher::HasGeckoListener_t::name[];
|
|
|
|
constexpr char EventDispatcher::HasGeckoListener_t::signature[];
|
|
|
|
|
|
|
|
constexpr char EventDispatcher::SetAttachedToGecko_t::name[];
|
|
|
|
constexpr char EventDispatcher::SetAttachedToGecko_t::signature[];
|
|
|
|
|
|
|
|
auto EventDispatcher::SetAttachedToGecko(int32_t a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<SetAttachedToGecko_t>::Call(EventDispatcher::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
const char EventDispatcher::NativeCallbackDelegate::name[] =
|
|
|
|
"org/mozilla/gecko/EventDispatcher$NativeCallbackDelegate";
|
|
|
|
|
|
|
|
constexpr char EventDispatcher::NativeCallbackDelegate::New_t::name[];
|
|
|
|
constexpr char EventDispatcher::NativeCallbackDelegate::New_t::signature[];
|
|
|
|
|
|
|
|
auto EventDispatcher::NativeCallbackDelegate::New() -> NativeCallbackDelegate::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Constructor<New_t>::Call(NativeCallbackDelegate::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char EventDispatcher::NativeCallbackDelegate::Finalize_t::name[];
|
|
|
|
constexpr char EventDispatcher::NativeCallbackDelegate::Finalize_t::signature[];
|
|
|
|
|
|
|
|
constexpr char EventDispatcher::NativeCallbackDelegate::SendError_t::name[];
|
|
|
|
constexpr char EventDispatcher::NativeCallbackDelegate::SendError_t::signature[];
|
|
|
|
|
|
|
|
constexpr char EventDispatcher::NativeCallbackDelegate::SendSuccess_t::name[];
|
|
|
|
constexpr char EventDispatcher::NativeCallbackDelegate::SendSuccess_t::signature[];
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char GeckoAppShell::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/GeckoAppShell";
|
2015-01-10 00:33:57 +00:00
|
|
|
|
|
|
|
constexpr char GeckoAppShell::CancelVibrate_t::name[];
|
|
|
|
constexpr char GeckoAppShell::CancelVibrate_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::CancelVibrate() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<CancelVibrate_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::CloseCamera_t::name[];
|
|
|
|
constexpr char GeckoAppShell::CloseCamera_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::CloseCamera() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<CloseCamera_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::CloseNotification_t::name[];
|
|
|
|
constexpr char GeckoAppShell::CloseNotification_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::CloseNotification(mozilla::jni::String::Param a0) -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<CloseNotification_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::ConnectionGetMimeType_t::name[];
|
|
|
|
constexpr char GeckoAppShell::ConnectionGetMimeType_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::ConnectionGetMimeType(mozilla::jni::Object::Param a0) -> mozilla::jni::String::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<ConnectionGetMimeType_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::CreateInputStream_t::name[];
|
|
|
|
constexpr char GeckoAppShell::CreateInputStream_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::CreateInputStream(mozilla::jni::Object::Param a0) -> mozilla::jni::Object::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<CreateInputStream_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::DisableBatteryNotifications_t::name[];
|
|
|
|
constexpr char GeckoAppShell::DisableBatteryNotifications_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::DisableBatteryNotifications() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<DisableBatteryNotifications_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::DisableNetworkNotifications_t::name[];
|
|
|
|
constexpr char GeckoAppShell::DisableNetworkNotifications_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::DisableNetworkNotifications() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<DisableNetworkNotifications_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::DisableScreenOrientationNotifications_t::name[];
|
|
|
|
constexpr char GeckoAppShell::DisableScreenOrientationNotifications_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::DisableScreenOrientationNotifications() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<DisableScreenOrientationNotifications_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::DisableSensor_t::name[];
|
|
|
|
constexpr char GeckoAppShell::DisableSensor_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::DisableSensor(int32_t a0) -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<DisableSensor_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::EnableBatteryNotifications_t::name[];
|
|
|
|
constexpr char GeckoAppShell::EnableBatteryNotifications_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::EnableBatteryNotifications() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<EnableBatteryNotifications_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::EnableLocation_t::name[];
|
|
|
|
constexpr char GeckoAppShell::EnableLocation_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::EnableLocation(bool a0) -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<EnableLocation_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::EnableLocationHighAccuracy_t::name[];
|
|
|
|
constexpr char GeckoAppShell::EnableLocationHighAccuracy_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::EnableLocationHighAccuracy(bool a0) -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<EnableLocationHighAccuracy_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::EnableNetworkNotifications_t::name[];
|
|
|
|
constexpr char GeckoAppShell::EnableNetworkNotifications_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::EnableNetworkNotifications() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<EnableNetworkNotifications_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::EnableScreenOrientationNotifications_t::name[];
|
|
|
|
constexpr char GeckoAppShell::EnableScreenOrientationNotifications_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::EnableScreenOrientationNotifications() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<EnableScreenOrientationNotifications_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::EnableSensor_t::name[];
|
|
|
|
constexpr char GeckoAppShell::EnableSensor_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::EnableSensor(int32_t a0) -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<EnableSensor_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-05-03 19:04:06 +00:00
|
|
|
constexpr char GeckoAppShell::GetApplicationContext_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetApplicationContext_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAppShell::GetApplicationContext() -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetApplicationContext_t>::Call(GeckoAppShell::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
2015-01-10 00:33:57 +00:00
|
|
|
constexpr char GeckoAppShell::GetConnection_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetConnection_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::GetConnection(mozilla::jni::String::Param a0) -> mozilla::jni::Object::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<GetConnection_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::GetContext_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetContext_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::GetContext() -> mozilla::jni::Object::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<GetContext_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetCurrentBatteryInformation_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetCurrentBatteryInformation_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::GetCurrentBatteryInformation() -> mozilla::jni::DoubleArray::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetCurrentBatteryInformation_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetCurrentNetworkInformation_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetCurrentNetworkInformation_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::GetCurrentNetworkInformation() -> mozilla::jni::DoubleArray::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetCurrentNetworkInformation_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::GetDensity_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetDensity_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::GetDensity() -> float
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<GetDensity_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetDpi_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetDpi_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::GetDpi() -> int32_t
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetDpi_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-08-26 16:25:57 +00:00
|
|
|
constexpr char GeckoAppShell::GetExceptionStackTrace_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetExceptionStackTrace_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAppShell::GetExceptionStackTrace(mozilla::jni::Throwable::Param a0) -> mozilla::jni::String::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetExceptionStackTrace_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetExtensionFromMimeType_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetExtensionFromMimeType_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::GetExtensionFromMimeType(mozilla::jni::String::Param a0) -> mozilla::jni::String::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetExtensionFromMimeType_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2015-07-24 19:45:55 +00:00
|
|
|
constexpr char GeckoAppShell::GetHWDecoderCapability_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetHWDecoderCapability_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::GetHWDecoderCapability() -> bool
|
2015-07-24 19:45:55 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<GetHWDecoderCapability_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-07-24 19:45:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::GetHWEncoderCapability_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetHWEncoderCapability_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::GetHWEncoderCapability() -> bool
|
2015-07-24 19:45:55 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<GetHWEncoderCapability_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-07-24 19:45:55 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetHandlersForMimeType_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetHandlersForMimeType_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::GetHandlersForMimeType(mozilla::jni::String::Param a0, mozilla::jni::String::Param a1) -> mozilla::jni::ObjectArray::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetHandlersForMimeType_t>::Call(GeckoAppShell::Context(), nullptr, a0, a1);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetHandlersForURL_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetHandlersForURL_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::GetHandlersForURL(mozilla::jni::String::Param a0, mozilla::jni::String::Param a1) -> mozilla::jni::ObjectArray::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetHandlersForURL_t>::Call(GeckoAppShell::Context(), nullptr, a0, a1);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetIconForExtension_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetIconForExtension_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::GetIconForExtension(mozilla::jni::String::Param a0, int32_t a1) -> mozilla::jni::ByteArray::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetIconForExtension_t>::Call(GeckoAppShell::Context(), nullptr, a0, a1);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2015-04-24 09:43:31 +00:00
|
|
|
constexpr char GeckoAppShell::GetMaxTouchPoints_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetMaxTouchPoints_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::GetMaxTouchPoints() -> int32_t
|
2015-04-24 09:43:31 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<GetMaxTouchPoints_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-04-24 09:43:31 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetMimeTypeFromExtensions_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetMimeTypeFromExtensions_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::GetMimeTypeFromExtensions(mozilla::jni::String::Param a0) -> mozilla::jni::String::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetMimeTypeFromExtensions_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetNetworkLinkType_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetNetworkLinkType_t::signature[];
|
2015-10-06 22:40:38 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::GetNetworkLinkType() -> int32_t
|
2015-10-06 22:40:38 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetNetworkLinkType_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-10-06 22:40:38 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetProxyForURI_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetProxyForURI_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAppShell::GetProxyForURI(mozilla::jni::String::Param a0, mozilla::jni::String::Param a1, mozilla::jni::String::Param a2, int32_t a3) -> mozilla::jni::String::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetProxyForURI_t>::Call(GeckoAppShell::Context(), nullptr, a0, a1, a2, a3);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2015-08-18 21:55:15 +00:00
|
|
|
constexpr char GeckoAppShell::GetScreenAngle_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetScreenAngle_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAppShell::GetScreenAngle() -> int32_t
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<GetScreenAngle_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-08-18 21:55:15 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetScreenDepth_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetScreenDepth_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::GetScreenDepth() -> int32_t
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetScreenDepth_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetScreenOrientation_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetScreenOrientation_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::GetScreenOrientation() -> int16_t
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetScreenOrientation_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2015-08-26 20:25:40 +00:00
|
|
|
constexpr char GeckoAppShell::GetScreenSize_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetScreenSize_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAppShell::GetScreenSize() -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<GetScreenSize_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-08-26 20:25:40 +00:00
|
|
|
}
|
|
|
|
|
2015-01-10 00:33:57 +00:00
|
|
|
constexpr char GeckoAppShell::GetShowPasswordSetting_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetShowPasswordSetting_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::GetShowPasswordSetting() -> bool
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<GetShowPasswordSetting_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::GetSystemColors_t::name[];
|
|
|
|
constexpr char GeckoAppShell::GetSystemColors_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::GetSystemColors() -> mozilla::jni::IntArray::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetSystemColors_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::HandleUncaughtException_t::name[];
|
|
|
|
constexpr char GeckoAppShell::HandleUncaughtException_t::signature[];
|
|
|
|
|
2016-08-26 16:25:57 +00:00
|
|
|
auto GeckoAppShell::HandleUncaughtException(mozilla::jni::Throwable::Param a0) -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<HandleUncaughtException_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::HideProgressDialog_t::name[];
|
|
|
|
constexpr char GeckoAppShell::HideProgressDialog_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::HideProgressDialog() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<HideProgressDialog_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::InitCamera_t::name[];
|
|
|
|
constexpr char GeckoAppShell::InitCamera_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::InitCamera(mozilla::jni::String::Param a0, int32_t a1, int32_t a2, int32_t a3) -> mozilla::jni::IntArray::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<InitCamera_t>::Call(GeckoAppShell::Context(), nullptr, a0, a1, a2, a3);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::IsNetworkLinkKnown_t::name[];
|
|
|
|
constexpr char GeckoAppShell::IsNetworkLinkKnown_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::IsNetworkLinkKnown() -> bool
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<IsNetworkLinkKnown_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::IsNetworkLinkUp_t::name[];
|
|
|
|
constexpr char GeckoAppShell::IsNetworkLinkUp_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::IsNetworkLinkUp() -> bool
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<IsNetworkLinkUp_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::IsTablet_t::name[];
|
|
|
|
constexpr char GeckoAppShell::IsTablet_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::IsTablet() -> bool
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<IsTablet_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::KillAnyZombies_t::name[];
|
|
|
|
constexpr char GeckoAppShell::KillAnyZombies_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::KillAnyZombies() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<KillAnyZombies_t>::Call(GeckoAppShell::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::LoadPluginClass_t::name[];
|
|
|
|
constexpr char GeckoAppShell::LoadPluginClass_t::signature[];
|
|
|
|
|
2016-02-09 22:27:29 +00:00
|
|
|
auto GeckoAppShell::LoadPluginClass(mozilla::jni::String::Param a0, mozilla::jni::String::Param a1) -> mozilla::jni::Class::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<LoadPluginClass_t>::Call(GeckoAppShell::Context(), nullptr, a0, a1);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::LockScreenOrientation_t::name[];
|
|
|
|
constexpr char GeckoAppShell::LockScreenOrientation_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::LockScreenOrientation(int32_t a0) -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<LockScreenOrientation_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::MoveTaskToBack_t::name[];
|
|
|
|
constexpr char GeckoAppShell::MoveTaskToBack_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::MoveTaskToBack() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<MoveTaskToBack_t>::Call(GeckoAppShell::Context(), nullptr);
|
2013-09-09 12:57:36 +00:00
|
|
|
}
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-03-23 18:42:38 +00:00
|
|
|
constexpr char GeckoAppShell::NotifyObservers_t::name[];
|
|
|
|
constexpr char GeckoAppShell::NotifyObservers_t::signature[];
|
|
|
|
|
2016-08-04 13:17:54 +00:00
|
|
|
constexpr char GeckoAppShell::NotifyAlertListener_t::name[];
|
|
|
|
constexpr char GeckoAppShell::NotifyAlertListener_t::signature[];
|
|
|
|
|
2016-07-11 22:07:35 +00:00
|
|
|
constexpr char GeckoAppShell::NotifyUriVisited_t::name[];
|
|
|
|
constexpr char GeckoAppShell::NotifyUriVisited_t::signature[];
|
|
|
|
|
2015-01-10 00:33:57 +00:00
|
|
|
constexpr char GeckoAppShell::NotifyWakeLockChanged_t::name[];
|
|
|
|
constexpr char GeckoAppShell::NotifyWakeLockChanged_t::signature[];
|
2013-09-09 12:57:36 +00:00
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::NotifyWakeLockChanged(mozilla::jni::String::Param a0, mozilla::jni::String::Param a1) -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<NotifyWakeLockChanged_t>::Call(GeckoAppShell::Context(), nullptr, a0, a1);
|
2013-09-09 12:57:36 +00:00
|
|
|
}
|
|
|
|
|
2016-07-08 15:39:10 +00:00
|
|
|
constexpr char GeckoAppShell::OnLocationChanged_t::name[];
|
|
|
|
constexpr char GeckoAppShell::OnLocationChanged_t::signature[];
|
|
|
|
|
2016-07-08 15:39:09 +00:00
|
|
|
constexpr char GeckoAppShell::OnSensorChanged_t::name[];
|
|
|
|
constexpr char GeckoAppShell::OnSensorChanged_t::signature[];
|
|
|
|
|
2015-01-10 00:33:57 +00:00
|
|
|
constexpr char GeckoAppShell::OpenUriExternal_t::name[];
|
|
|
|
constexpr char GeckoAppShell::OpenUriExternal_t::signature[];
|
2013-09-09 12:57:36 +00:00
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::OpenUriExternal(mozilla::jni::String::Param a0, mozilla::jni::String::Param a1, mozilla::jni::String::Param a2, mozilla::jni::String::Param a3, mozilla::jni::String::Param a4, mozilla::jni::String::Param a5) -> bool
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<OpenUriExternal_t>::Call(GeckoAppShell::Context(), nullptr, a0, a1, a2, a3, a4, a5);
|
2013-09-09 12:57:36 +00:00
|
|
|
}
|
|
|
|
|
2015-01-10 00:33:57 +00:00
|
|
|
constexpr char GeckoAppShell::PerformHapticFeedback_t::name[];
|
|
|
|
constexpr char GeckoAppShell::PerformHapticFeedback_t::signature[];
|
2013-09-09 12:57:36 +00:00
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::PerformHapticFeedback(bool a0) -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<PerformHapticFeedback_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2013-09-09 12:57:36 +00:00
|
|
|
}
|
|
|
|
|
2016-08-18 22:04:11 +00:00
|
|
|
constexpr char GeckoAppShell::ReportJavaCrash_t::name[];
|
|
|
|
constexpr char GeckoAppShell::ReportJavaCrash_t::signature[];
|
|
|
|
|
2015-12-24 03:03:33 +00:00
|
|
|
constexpr char GeckoAppShell::SetScreenDepthOverride_t::name[];
|
|
|
|
constexpr char GeckoAppShell::SetScreenDepthOverride_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAppShell::SetScreenDepthOverride(int32_t a0) -> void
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<SetScreenDepthOverride_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2015-12-24 03:03:33 +00:00
|
|
|
}
|
|
|
|
|
2016-09-22 20:38:20 +00:00
|
|
|
constexpr char GeckoAppShell::ShowNotification_t::name[];
|
|
|
|
constexpr char GeckoAppShell::ShowNotification_t::signature[];
|
2016-04-17 13:18:20 +00:00
|
|
|
|
2016-09-22 20:38:20 +00:00
|
|
|
auto GeckoAppShell::ShowNotification(mozilla::jni::String::Param a0, mozilla::jni::String::Param a1, mozilla::jni::String::Param a2, mozilla::jni::String::Param a3, mozilla::jni::String::Param a4, mozilla::jni::String::Param a5, mozilla::jni::String::Param a6) -> void
|
2016-04-17 13:18:20 +00:00
|
|
|
{
|
2016-09-22 20:38:20 +00:00
|
|
|
return mozilla::jni::Method<ShowNotification_t>::Call(GeckoAppShell::Context(), nullptr, a0, a1, a2, a3, a4, a5, a6);
|
2016-04-17 13:18:20 +00:00
|
|
|
}
|
|
|
|
|
2016-10-05 23:51:04 +00:00
|
|
|
constexpr char GeckoAppShell::StartGeckoServiceChildProcess_t::name[];
|
|
|
|
constexpr char GeckoAppShell::StartGeckoServiceChildProcess_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAppShell::StartGeckoServiceChildProcess(mozilla::jni::String::Param a0, mozilla::jni::ObjectArray::Param a1, int32_t a2, int32_t a3) -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<StartGeckoServiceChildProcess_t>::Call(GeckoAppShell::Context(), nullptr, a0, a1, a2, a3);
|
|
|
|
}
|
|
|
|
|
2015-01-10 00:33:57 +00:00
|
|
|
constexpr char GeckoAppShell::UnlockProfile_t::name[];
|
|
|
|
constexpr char GeckoAppShell::UnlockProfile_t::signature[];
|
2014-09-09 22:08:37 +00:00
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::UnlockProfile() -> bool
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<UnlockProfile_t>::Call(GeckoAppShell::Context(), nullptr);
|
2014-09-09 22:08:37 +00:00
|
|
|
}
|
|
|
|
|
2015-01-10 00:33:57 +00:00
|
|
|
constexpr char GeckoAppShell::UnlockScreenOrientation_t::name[];
|
|
|
|
constexpr char GeckoAppShell::UnlockScreenOrientation_t::signature[];
|
2014-09-09 22:08:37 +00:00
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoAppShell::UnlockScreenOrientation() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<UnlockScreenOrientation_t>::Call(GeckoAppShell::Context(), nullptr);
|
2014-09-09 22:08:37 +00:00
|
|
|
}
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::Vibrate_t::name[];
|
|
|
|
constexpr char GeckoAppShell::Vibrate_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::Vibrate(int64_t a0) -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<Vibrate_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
2013-11-12 18:41:00 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char GeckoAppShell::Vibrate2_t::name[];
|
|
|
|
constexpr char GeckoAppShell::Vibrate2_t::signature[];
|
2013-11-12 18:41:00 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto GeckoAppShell::Vibrate(mozilla::jni::LongArray::Param a0, int32_t a1) -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<Vibrate2_t>::Call(GeckoAppShell::Context(), nullptr, a0, a1);
|
2013-11-12 18:41:00 +00:00
|
|
|
}
|
|
|
|
|
2016-08-26 16:26:46 +00:00
|
|
|
const char GeckoAppShell::CameraCallback::name[] =
|
|
|
|
"org/mozilla/gecko/GeckoAppShell$CameraCallback";
|
|
|
|
|
|
|
|
constexpr char GeckoAppShell::CameraCallback::OnFrameData_t::name[];
|
|
|
|
constexpr char GeckoAppShell::CameraCallback::OnFrameData_t::signature[];
|
|
|
|
|
2016-08-18 22:04:11 +00:00
|
|
|
const char GeckoBatteryManager::name[] =
|
|
|
|
"org/mozilla/gecko/GeckoBatteryManager";
|
|
|
|
|
|
|
|
constexpr char GeckoBatteryManager::OnBatteryChange_t::name[];
|
|
|
|
constexpr char GeckoBatteryManager::OnBatteryChange_t::signature[];
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char GeckoEditable::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/GeckoEditable";
|
2015-10-08 19:25:49 +00:00
|
|
|
|
|
|
|
constexpr char GeckoEditable::New_t::name[];
|
|
|
|
constexpr char GeckoEditable::New_t::signature[];
|
|
|
|
|
2015-12-24 03:03:34 +00:00
|
|
|
auto GeckoEditable::New(mozilla::jni::Object::Param a0) -> GeckoEditable::LocalRef
|
2015-10-08 19:25:49 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Constructor<New_t>::Call(GeckoEditable::Context(), nullptr, a0);
|
2015-10-08 19:25:49 +00:00
|
|
|
}
|
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
constexpr char GeckoEditable::OnViewChange_t::name[];
|
|
|
|
constexpr char GeckoEditable::OnViewChange_t::signature[];
|
2015-10-22 21:45:47 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
auto GeckoEditable::OnViewChange(mozilla::jni::Object::Param a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<OnViewChange_t>::Call(GeckoEditable::mCtx, nullptr, a0);
|
|
|
|
}
|
2015-10-08 19:25:49 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
constexpr char GeckoEditable::SetDefaultEditableChild_t::name[];
|
|
|
|
constexpr char GeckoEditable::SetDefaultEditableChild_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoEditable::SetDefaultEditableChild(mozilla::jni::Object::Param a0) const -> void
|
2015-10-08 19:25:49 +00:00
|
|
|
{
|
2017-03-02 18:47:14 +00:00
|
|
|
return mozilla::jni::Method<SetDefaultEditableChild_t>::Call(GeckoEditable::mCtx, nullptr, a0);
|
2015-10-08 19:25:49 +00:00
|
|
|
}
|
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
const char GeckoEditableChild::name[] =
|
|
|
|
"org/mozilla/gecko/GeckoEditableChild";
|
|
|
|
|
|
|
|
constexpr char GeckoEditableChild::New_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::New_t::signature[];
|
2015-10-08 19:25:49 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
auto GeckoEditableChild::New(mozilla::jni::Object::Param a0) -> GeckoEditableChild::LocalRef
|
2015-10-08 19:25:49 +00:00
|
|
|
{
|
2017-03-02 18:47:14 +00:00
|
|
|
return mozilla::jni::Constructor<New_t>::Call(GeckoEditableChild::Context(), nullptr, a0);
|
2015-10-08 19:25:49 +00:00
|
|
|
}
|
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
constexpr char GeckoEditableChild::NotifyIME_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::NotifyIME_t::signature[];
|
2016-03-01 12:49:54 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
auto GeckoEditableChild::NotifyIME(int32_t a0) const -> void
|
2016-03-01 12:49:54 +00:00
|
|
|
{
|
2017-03-02 18:47:14 +00:00
|
|
|
return mozilla::jni::Method<NotifyIME_t>::Call(GeckoEditableChild::mCtx, nullptr, a0);
|
2016-03-01 12:49:54 +00:00
|
|
|
}
|
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
constexpr char GeckoEditableChild::NotifyIMEContext_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::NotifyIMEContext_t::signature[];
|
2015-10-22 21:45:46 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
auto GeckoEditableChild::NotifyIMEContext(int32_t a0, mozilla::jni::String::Param a1, mozilla::jni::String::Param a2, mozilla::jni::String::Param a3) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<NotifyIMEContext_t>::Call(GeckoEditableChild::mCtx, nullptr, a0, a1, a2, a3);
|
|
|
|
}
|
2015-10-22 21:45:46 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
constexpr char GeckoEditableChild::OnDefaultKeyEvent_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::OnDefaultKeyEvent_t::signature[];
|
2016-07-20 07:19:05 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
auto GeckoEditableChild::OnDefaultKeyEvent(mozilla::jni::Object::Param a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<OnDefaultKeyEvent_t>::Call(GeckoEditableChild::mCtx, nullptr, a0);
|
|
|
|
}
|
2015-10-22 21:45:46 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
constexpr char GeckoEditableChild::OnImeAddCompositionRange_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::OnImeAddCompositionRange_t::signature[];
|
2015-10-22 21:45:46 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
constexpr char GeckoEditableChild::OnImeReplaceText_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::OnImeReplaceText_t::signature[];
|
2015-10-22 21:45:46 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
constexpr char GeckoEditableChild::OnImeRequestCursorUpdates_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::OnImeRequestCursorUpdates_t::signature[];
|
2015-10-08 19:25:49 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
constexpr char GeckoEditableChild::OnImeSynchronize_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::OnImeSynchronize_t::signature[];
|
|
|
|
|
|
|
|
constexpr char GeckoEditableChild::OnImeUpdateComposition_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::OnImeUpdateComposition_t::signature[];
|
|
|
|
|
|
|
|
constexpr char GeckoEditableChild::OnKeyEvent_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::OnKeyEvent_t::signature[];
|
2015-10-08 19:25:49 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
constexpr char GeckoEditableChild::OnSelectionChange_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::OnSelectionChange_t::signature[];
|
2015-10-08 19:25:49 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
auto GeckoEditableChild::OnSelectionChange(int32_t a0, int32_t a1) const -> void
|
2015-10-08 19:25:49 +00:00
|
|
|
{
|
2017-03-02 18:47:14 +00:00
|
|
|
return mozilla::jni::Method<OnSelectionChange_t>::Call(GeckoEditableChild::mCtx, nullptr, a0, a1);
|
2015-10-08 19:25:49 +00:00
|
|
|
}
|
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
constexpr char GeckoEditableChild::OnTextChange_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::OnTextChange_t::signature[];
|
2015-10-08 19:25:49 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
auto GeckoEditableChild::OnTextChange(mozilla::jni::String::Param a0, int32_t a1, int32_t a2, int32_t a3) const -> void
|
2015-10-08 19:25:49 +00:00
|
|
|
{
|
2017-03-02 18:47:14 +00:00
|
|
|
return mozilla::jni::Method<OnTextChange_t>::Call(GeckoEditableChild::mCtx, nullptr, a0, a1, a2, a3);
|
2015-10-08 19:25:49 +00:00
|
|
|
}
|
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
constexpr char GeckoEditableChild::UpdateCompositionRects_t::name[];
|
|
|
|
constexpr char GeckoEditableChild::UpdateCompositionRects_t::signature[];
|
2016-07-20 07:19:05 +00:00
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
auto GeckoEditableChild::UpdateCompositionRects(mozilla::jni::ObjectArray::Param a0) const -> void
|
2016-07-20 07:19:05 +00:00
|
|
|
{
|
2017-03-02 18:47:14 +00:00
|
|
|
return mozilla::jni::Method<UpdateCompositionRects_t>::Call(GeckoEditableChild::mCtx, nullptr, a0);
|
2016-07-20 07:19:05 +00:00
|
|
|
}
|
|
|
|
|
2017-03-02 18:47:14 +00:00
|
|
|
const char GeckoEditableClient::name[] =
|
|
|
|
"org/mozilla/gecko/GeckoEditableClient";
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char GeckoEditableListener::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/GeckoEditableListener";
|
2015-10-08 19:25:49 +00:00
|
|
|
|
2016-07-21 01:44:48 +00:00
|
|
|
const char GeckoNetworkManager::name[] =
|
|
|
|
"org/mozilla/gecko/GeckoNetworkManager";
|
|
|
|
|
|
|
|
constexpr char GeckoNetworkManager::OnConnectionChanged_t::name[];
|
|
|
|
constexpr char GeckoNetworkManager::OnConnectionChanged_t::signature[];
|
|
|
|
|
|
|
|
constexpr char GeckoNetworkManager::OnStatusChanged_t::name[];
|
|
|
|
constexpr char GeckoNetworkManager::OnStatusChanged_t::signature[];
|
|
|
|
|
2016-07-21 01:44:48 +00:00
|
|
|
const char GeckoScreenOrientation::name[] =
|
|
|
|
"org/mozilla/gecko/GeckoScreenOrientation";
|
|
|
|
|
|
|
|
constexpr char GeckoScreenOrientation::OnOrientationChange_t::name[];
|
|
|
|
constexpr char GeckoScreenOrientation::OnOrientationChange_t::signature[];
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char GeckoThread::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/GeckoThread";
|
2015-08-13 04:53:39 +00:00
|
|
|
|
2016-02-01 22:38:14 +00:00
|
|
|
constexpr char GeckoThread::CheckAndSetState_t::name[];
|
|
|
|
constexpr char GeckoThread::CheckAndSetState_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::CheckAndSetState(mozilla::jni::Object::Param a0, mozilla::jni::Object::Param a1) -> bool
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<CheckAndSetState_t>::Call(GeckoThread::Context(), nullptr, a0, a1);
|
2016-02-01 22:38:14 +00:00
|
|
|
}
|
|
|
|
|
Bug 1343075 - Use GeckoEditableSupport from PuppetWidget; r=masayuki r=rbarker r=snorp r=esawin
Bug 1343075 - 1a. Add TextEventDispatcherListener::GetIMEUpdatePreference; r=masayuki
Add a GetIMEUpdatePreference method to TextEventDispatcherListener to
optionally control which IME notifications are received by NotifyIME.
This patch also makes nsBaseWidget forward its GetIMEUpdatePreference
call to the widget's native TextEventDispatcherListener.
Bug 1343075 - 1b. Implement GetIMEUpdatePreference for all TextEventDispatcherListener; r=masayuki
This patch implements GetIMEUpdatePreference for all
TextEventDispatcherListener implementations, by moving previous
implementations of nsIWidget::GetIMEUpdatePreference.
Bug 1343075 - 2. Allow setting a PuppetWidget's native TextEventDispatcherListener; r=masayuki
In PuppetWidget, add getter and setter for the widget's native
TextEventDispatcherListener. This allows overriding of PuppetWidget's
default IME handling. For example, on Android, the PuppetWidget's native
TextEventDispatcherListener will communicate directly with Java IME code
in the main process.
Bug 1343075 - 3. Add AIDL interface for main process; r=rbarker
Add AIDL definition and implementation for an interface for the main
process that child processes can access.
Bug 1343075 - 4. Set Gecko thread JNIEnv for child process; r=snorp
Add a JNIEnv* parameter to XRE_SetAndroidChildFds, which is used to set
the Gecko thread JNIEnv for child processes. XRE_SetAndroidChildFds is
the only Android-specific entry point for child processes, so I think
it's the most logical place to initialize JNI.
Bug 1343075 - 5. Support multiple remote GeckoEditableChild; r=esawin
Support remote GeckoEditableChild instances that are created in the
content processes and connect to the parent process GeckoEditableParent
through binders.
Support having multiple GeckoEditableChild instances in GeckoEditable by
keeping track of which child is currently focused, and only allow
calls to/from the focused child by using access tokens.
Bug 1343075 - 6. Add method to get GeckoEditableParent instance; r=esawin
Add IProcessManager.getEditableParent, which a content process can call
to get the GeckoEditableParent instance that corresponds to a given
content process tab, from the main process.
Bug 1343075 - 7. Support GeckoEditableSupport in content processes; r=esawin
Support creating and running GeckoEditableSupport attached to a
PuppetWidget in content processes.
Because we don't know PuppetWidget's lifetime as well as nsWindow's,
when attached to PuppetWidget, we need to attach/detach our native
object on focus/blur, respectively.
Bug 1343075 - 8. Connect GeckoEditableSupport on PuppetWidget creation; r=esawin
Listen to the "tab-child-created" notification and attach our content
process GeckoEditableSupport to the new PuppetWidget.
Bug 1343075 - 9. Update auto-generated bindings; r=me
2017-03-08 03:34:39 +00:00
|
|
|
constexpr char GeckoThread::IsChildProcess_t::name[];
|
|
|
|
constexpr char GeckoThread::IsChildProcess_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::IsChildProcess() -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<IsChildProcess_t>::Call(GeckoThread::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
2016-04-20 19:06:13 +00:00
|
|
|
constexpr char GeckoThread::CreateServices_t::name[];
|
|
|
|
constexpr char GeckoThread::CreateServices_t::signature[];
|
|
|
|
|
2016-04-06 01:43:41 +00:00
|
|
|
constexpr char GeckoThread::OnPause_t::name[];
|
|
|
|
constexpr char GeckoThread::OnPause_t::signature[];
|
|
|
|
|
|
|
|
constexpr char GeckoThread::OnResume_t::name[];
|
|
|
|
constexpr char GeckoThread::OnResume_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
constexpr char GeckoThread::PumpMessageLoop_t::name[];
|
|
|
|
constexpr char GeckoThread::PumpMessageLoop_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoThread::PumpMessageLoop(mozilla::jni::Object::Param a0) -> bool
|
2015-08-13 04:53:39 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<PumpMessageLoop_t>::Call(GeckoThread::Context(), nullptr, a0);
|
2015-08-13 04:53:39 +00:00
|
|
|
}
|
|
|
|
|
2016-08-18 22:04:11 +00:00
|
|
|
constexpr char GeckoThread::RequestUiThreadCallback_t::name[];
|
|
|
|
constexpr char GeckoThread::RequestUiThreadCallback_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::RequestUiThreadCallback(int64_t a0) -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<RequestUiThreadCallback_t>::Call(GeckoThread::Context(), nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoThread::RunUiThreadCallback_t::name[];
|
|
|
|
constexpr char GeckoThread::RunUiThreadCallback_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
constexpr char GeckoThread::SetState_t::name[];
|
|
|
|
constexpr char GeckoThread::SetState_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::SetState(mozilla::jni::Object::Param a0) -> void
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<SetState_t>::Call(GeckoThread::Context(), nullptr, a0);
|
2015-08-13 04:53:39 +00:00
|
|
|
}
|
|
|
|
|
2015-08-19 22:14:47 +00:00
|
|
|
constexpr char GeckoThread::SpeculativeConnect_t::name[];
|
|
|
|
constexpr char GeckoThread::SpeculativeConnect_t::signature[];
|
|
|
|
|
2016-04-06 01:43:40 +00:00
|
|
|
constexpr char GeckoThread::WaitOnGecko_t::name[];
|
|
|
|
constexpr char GeckoThread::WaitOnGecko_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
constexpr char GeckoThread::ClsLoader_t::name[];
|
|
|
|
constexpr char GeckoThread::ClsLoader_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::ClsLoader() -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<ClsLoader_t>::Get(GeckoThread::Context(), nullptr);
|
2015-08-13 04:53:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoThread::MsgQueue_t::name[];
|
|
|
|
constexpr char GeckoThread::MsgQueue_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::MsgQueue() -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<MsgQueue_t>::Get(GeckoThread::Context(), nullptr);
|
2015-08-13 04:53:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
auto GeckoThread::MsgQueue(mozilla::jni::Object::Param a0) -> void
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<MsgQueue_t>::Set(GeckoThread::Context(), nullptr, a0);
|
2015-08-13 04:53:39 +00:00
|
|
|
}
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char GeckoThread::State::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/GeckoThread$State";
|
2015-08-13 04:53:39 +00:00
|
|
|
|
|
|
|
constexpr char GeckoThread::State::EXITED_t::name[];
|
|
|
|
constexpr char GeckoThread::State::EXITED_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::State::EXITED() -> State::LocalRef
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<EXITED_t>::Get(State::Context(), nullptr);
|
2015-08-13 04:53:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoThread::State::EXITING_t::name[];
|
|
|
|
constexpr char GeckoThread::State::EXITING_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::State::EXITING() -> State::LocalRef
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<EXITING_t>::Get(State::Context(), nullptr);
|
2015-08-13 04:53:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoThread::State::INITIAL_t::name[];
|
|
|
|
constexpr char GeckoThread::State::INITIAL_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::State::INITIAL() -> State::LocalRef
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<INITIAL_t>::Get(State::Context(), nullptr);
|
2015-08-13 04:53:39 +00:00
|
|
|
}
|
|
|
|
|
2015-08-13 04:53:40 +00:00
|
|
|
constexpr char GeckoThread::State::JNI_READY_t::name[];
|
|
|
|
constexpr char GeckoThread::State::JNI_READY_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::State::JNI_READY() -> State::LocalRef
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<JNI_READY_t>::Get(State::Context(), nullptr);
|
2015-08-13 04:53:40 +00:00
|
|
|
}
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
constexpr char GeckoThread::State::LAUNCHED_t::name[];
|
|
|
|
constexpr char GeckoThread::State::LAUNCHED_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::State::LAUNCHED() -> State::LocalRef
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<LAUNCHED_t>::Get(State::Context(), nullptr);
|
2015-08-13 04:53:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoThread::State::LIBS_READY_t::name[];
|
|
|
|
constexpr char GeckoThread::State::LIBS_READY_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::State::LIBS_READY() -> State::LocalRef
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<LIBS_READY_t>::Get(State::Context(), nullptr);
|
2015-08-13 04:53:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoThread::State::MOZGLUE_READY_t::name[];
|
|
|
|
constexpr char GeckoThread::State::MOZGLUE_READY_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::State::MOZGLUE_READY() -> State::LocalRef
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<MOZGLUE_READY_t>::Get(State::Context(), nullptr);
|
2015-08-13 04:53:39 +00:00
|
|
|
}
|
|
|
|
|
2015-08-19 22:14:47 +00:00
|
|
|
constexpr char GeckoThread::State::PROFILE_READY_t::name[];
|
|
|
|
constexpr char GeckoThread::State::PROFILE_READY_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::State::PROFILE_READY() -> State::LocalRef
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<PROFILE_READY_t>::Get(State::Context(), nullptr);
|
2015-08-19 22:14:47 +00:00
|
|
|
}
|
|
|
|
|
2017-05-11 20:39:29 +00:00
|
|
|
constexpr char GeckoThread::State::RESTARTING_t::name[];
|
|
|
|
constexpr char GeckoThread::State::RESTARTING_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::State::RESTARTING() -> State::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<RESTARTING_t>::Get(State::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
constexpr char GeckoThread::State::RUNNING_t::name[];
|
|
|
|
constexpr char GeckoThread::State::RUNNING_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoThread::State::RUNNING() -> State::LocalRef
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<RUNNING_t>::Get(State::Context(), nullptr);
|
2015-08-13 04:53:39 +00:00
|
|
|
}
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char GeckoView::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/GeckoView";
|
2015-09-21 14:13:32 +00:00
|
|
|
|
2017-03-08 22:14:46 +00:00
|
|
|
const char GeckoView::State::name[] =
|
|
|
|
"org/mozilla/gecko/GeckoView$State";
|
|
|
|
|
|
|
|
constexpr char GeckoView::State::INITIAL_t::name[];
|
|
|
|
constexpr char GeckoView::State::INITIAL_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoView::State::INITIAL() -> State::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<INITIAL_t>::Get(State::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoView::State::READY_t::name[];
|
|
|
|
constexpr char GeckoView::State::READY_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoView::State::READY() -> State::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<READY_t>::Get(State::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char GeckoView::Window::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/GeckoView$Window";
|
2015-09-21 14:13:32 +00:00
|
|
|
|
2015-10-22 21:45:46 +00:00
|
|
|
constexpr char GeckoView::Window::Close_t::name[];
|
|
|
|
constexpr char GeckoView::Window::Close_t::signature[];
|
|
|
|
|
2015-09-21 14:13:32 +00:00
|
|
|
constexpr char GeckoView::Window::DisposeNative_t::name[];
|
|
|
|
constexpr char GeckoView::Window::DisposeNative_t::signature[];
|
|
|
|
|
2016-07-21 01:43:34 +00:00
|
|
|
constexpr char GeckoView::Window::LoadUri_t::name[];
|
|
|
|
constexpr char GeckoView::Window::LoadUri_t::signature[];
|
|
|
|
|
2017-04-12 19:51:00 +00:00
|
|
|
constexpr char GeckoView::Window::OnReattach_t::name[];
|
|
|
|
constexpr char GeckoView::Window::OnReattach_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoView::Window::OnReattach(GeckoView::Param a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<OnReattach_t>::Call(Window::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
2015-09-21 14:13:32 +00:00
|
|
|
constexpr char GeckoView::Window::Open_t::name[];
|
|
|
|
constexpr char GeckoView::Window::Open_t::signature[];
|
|
|
|
|
2015-12-24 03:03:35 +00:00
|
|
|
constexpr char GeckoView::Window::Reattach_t::name[];
|
|
|
|
constexpr char GeckoView::Window::Reattach_t::signature[];
|
|
|
|
|
2017-03-28 19:56:30 +00:00
|
|
|
constexpr char GeckoView::Window::SetState_t::name[];
|
|
|
|
constexpr char GeckoView::Window::SetState_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoView::Window::SetState(mozilla::jni::Object::Param a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<SetState_t>::Call(Window::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char PrefsHelper::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/PrefsHelper";
|
2015-09-28 16:07:09 +00:00
|
|
|
|
2016-02-01 22:38:13 +00:00
|
|
|
constexpr char PrefsHelper::CallPrefHandler_t::name[];
|
|
|
|
constexpr char PrefsHelper::CallPrefHandler_t::signature[];
|
2015-09-28 16:07:09 +00:00
|
|
|
|
2016-02-01 22:38:13 +00:00
|
|
|
auto PrefsHelper::CallPrefHandler(mozilla::jni::Object::Param a0, int32_t a1, mozilla::jni::String::Param a2, bool a3, int32_t a4, mozilla::jni::String::Param a5) -> void
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<CallPrefHandler_t>::Call(PrefsHelper::Context(), nullptr, a0, a1, a2, a3, a4, a5);
|
2016-02-01 22:38:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char PrefsHelper::AddObserver_t::name[];
|
|
|
|
constexpr char PrefsHelper::AddObserver_t::signature[];
|
|
|
|
|
|
|
|
constexpr char PrefsHelper::GetPrefs_t::name[];
|
|
|
|
constexpr char PrefsHelper::GetPrefs_t::signature[];
|
|
|
|
|
|
|
|
constexpr char PrefsHelper::RemoveObserver_t::name[];
|
|
|
|
constexpr char PrefsHelper::RemoveObserver_t::signature[];
|
|
|
|
|
|
|
|
constexpr char PrefsHelper::SetPref_t::name[];
|
|
|
|
constexpr char PrefsHelper::SetPref_t::signature[];
|
|
|
|
|
|
|
|
constexpr char PrefsHelper::OnPrefChange_t::name[];
|
|
|
|
constexpr char PrefsHelper::OnPrefChange_t::signature[];
|
|
|
|
|
|
|
|
auto PrefsHelper::OnPrefChange(mozilla::jni::String::Param a0, int32_t a1, bool a2, int32_t a3, mozilla::jni::String::Param a4) -> void
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<OnPrefChange_t>::Call(PrefsHelper::Context(), nullptr, a0, a1, a2, a3, a4);
|
2016-02-01 22:38:13 +00:00
|
|
|
}
|
2015-09-28 16:07:09 +00:00
|
|
|
|
2016-11-03 14:58:30 +00:00
|
|
|
const char ScreenManagerHelper::name[] =
|
|
|
|
"org/mozilla/gecko/ScreenManagerHelper";
|
|
|
|
|
|
|
|
constexpr char ScreenManagerHelper::AddDisplay_t::name[];
|
|
|
|
constexpr char ScreenManagerHelper::AddDisplay_t::signature[];
|
|
|
|
|
|
|
|
constexpr char ScreenManagerHelper::RemoveDisplay_t::name[];
|
|
|
|
constexpr char ScreenManagerHelper::RemoveDisplay_t::signature[];
|
|
|
|
|
2016-08-23 22:52:30 +00:00
|
|
|
const char SurfaceTextureListener::name[] =
|
|
|
|
"org/mozilla/gecko/SurfaceTextureListener";
|
|
|
|
|
|
|
|
constexpr char SurfaceTextureListener::New_t::name[];
|
|
|
|
constexpr char SurfaceTextureListener::New_t::signature[];
|
|
|
|
|
|
|
|
auto SurfaceTextureListener::New() -> SurfaceTextureListener::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Constructor<New_t>::Call(SurfaceTextureListener::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
2017-03-03 21:23:15 +00:00
|
|
|
constexpr char SurfaceTextureListener::DisposeNative_t::name[];
|
|
|
|
constexpr char SurfaceTextureListener::DisposeNative_t::signature[];
|
|
|
|
|
2016-08-23 22:52:30 +00:00
|
|
|
constexpr char SurfaceTextureListener::OnFrameAvailable_t::name[];
|
|
|
|
constexpr char SurfaceTextureListener::OnFrameAvailable_t::signature[];
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char GeckoLayerClient::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/gfx/GeckoLayerClient";
|
2015-01-10 00:33:57 +00:00
|
|
|
|
|
|
|
constexpr char GeckoLayerClient::ContentDocumentChanged_t::name[];
|
|
|
|
constexpr char GeckoLayerClient::ContentDocumentChanged_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoLayerClient::ContentDocumentChanged() const -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<ContentDocumentChanged_t>::Call(GeckoLayerClient::mCtx, nullptr);
|
2013-11-12 18:41:00 +00:00
|
|
|
}
|
|
|
|
|
2015-01-10 00:33:57 +00:00
|
|
|
constexpr char GeckoLayerClient::IsContentDocumentDisplayed_t::name[];
|
|
|
|
constexpr char GeckoLayerClient::IsContentDocumentDisplayed_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto GeckoLayerClient::IsContentDocumentDisplayed() const -> bool
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<IsContentDocumentDisplayed_t>::Call(GeckoLayerClient::mCtx, nullptr);
|
2013-11-12 18:41:00 +00:00
|
|
|
}
|
|
|
|
|
2016-01-07 02:33:18 +00:00
|
|
|
constexpr char GeckoLayerClient::OnGeckoReady_t::name[];
|
|
|
|
constexpr char GeckoLayerClient::OnGeckoReady_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoLayerClient::OnGeckoReady() const -> void
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<OnGeckoReady_t>::Call(GeckoLayerClient::mCtx, nullptr);
|
2016-01-07 02:33:18 +00:00
|
|
|
}
|
|
|
|
|
2016-05-16 16:17:17 +00:00
|
|
|
constexpr char GeckoLayerClient::SynthesizeNativeMouseEvent_t::name[];
|
|
|
|
constexpr char GeckoLayerClient::SynthesizeNativeMouseEvent_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoLayerClient::SynthesizeNativeMouseEvent(int32_t a0, int32_t a1, int32_t a2) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<SynthesizeNativeMouseEvent_t>::Call(GeckoLayerClient::mCtx, nullptr, a0, a1, a2);
|
|
|
|
}
|
|
|
|
|
2016-02-23 15:17:46 +00:00
|
|
|
constexpr char GeckoLayerClient::SynthesizeNativeTouchPoint_t::name[];
|
|
|
|
constexpr char GeckoLayerClient::SynthesizeNativeTouchPoint_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoLayerClient::SynthesizeNativeTouchPoint(int32_t a0, int32_t a1, int32_t a2, int32_t a3, double a4, int32_t a5) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<SynthesizeNativeTouchPoint_t>::Call(GeckoLayerClient::mCtx, nullptr, a0, a1, a2, a3, a4, a5);
|
|
|
|
}
|
|
|
|
|
2017-04-05 22:42:50 +00:00
|
|
|
constexpr char GeckoLayerClient::UpdateRootFrameMetrics_t::name[];
|
|
|
|
constexpr char GeckoLayerClient::UpdateRootFrameMetrics_t::signature[];
|
2016-09-01 16:24:39 +00:00
|
|
|
|
2017-04-05 22:42:50 +00:00
|
|
|
auto GeckoLayerClient::UpdateRootFrameMetrics(float a0, float a1, float a2, float a3, float a4, float a5, float a6) const -> void
|
2016-09-01 16:24:39 +00:00
|
|
|
{
|
2017-04-05 22:42:50 +00:00
|
|
|
return mozilla::jni::Method<UpdateRootFrameMetrics_t>::Call(GeckoLayerClient::mCtx, nullptr, a0, a1, a2, a3, a4, a5, a6);
|
2016-09-01 16:24:39 +00:00
|
|
|
}
|
|
|
|
|
2017-03-03 21:23:15 +00:00
|
|
|
const char GeckoSurface::name[] =
|
|
|
|
"org/mozilla/gecko/gfx/GeckoSurface";
|
|
|
|
|
|
|
|
constexpr char GeckoSurface::New_t::name[];
|
|
|
|
constexpr char GeckoSurface::New_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoSurface::New(mozilla::jni::Object::Param a0, GeckoSurface::LocalRef* a1) -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a1);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a1 = mozilla::jni::Constructor<New_t>::Call(GeckoSurface::Context(), &rv, a0);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoSurface::GetAvailable_t::name[];
|
|
|
|
constexpr char GeckoSurface::GetAvailable_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoSurface::GetAvailable() const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetAvailable_t>::Call(GeckoSurface::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoSurface::GetHandle_t::name[];
|
|
|
|
constexpr char GeckoSurface::GetHandle_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoSurface::GetHandle() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetHandle_t>::Call(GeckoSurface::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoSurface::SetAvailable_t::name[];
|
|
|
|
constexpr char GeckoSurface::SetAvailable_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoSurface::SetAvailable(bool a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<SetAvailable_t>::Call(GeckoSurface::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
const char GeckoSurfaceTexture::name[] =
|
|
|
|
"org/mozilla/gecko/gfx/GeckoSurfaceTexture";
|
|
|
|
|
|
|
|
constexpr char GeckoSurfaceTexture::GetHandle_t::name[];
|
|
|
|
constexpr char GeckoSurfaceTexture::GetHandle_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoSurfaceTexture::GetHandle() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetHandle_t>::Call(GeckoSurfaceTexture::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoSurfaceTexture::GetTexName_t::name[];
|
|
|
|
constexpr char GeckoSurfaceTexture::GetTexName_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoSurfaceTexture::GetTexName() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetTexName_t>::Call(GeckoSurfaceTexture::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoSurfaceTexture::IsSingleBuffer_t::name[];
|
|
|
|
constexpr char GeckoSurfaceTexture::IsSingleBuffer_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoSurfaceTexture::IsSingleBuffer() const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<IsSingleBuffer_t>::Call(GeckoSurfaceTexture::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoSurfaceTexture::IsSingleBufferSupported_t::name[];
|
|
|
|
constexpr char GeckoSurfaceTexture::IsSingleBufferSupported_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoSurfaceTexture::IsSingleBufferSupported() -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<IsSingleBufferSupported_t>::Call(GeckoSurfaceTexture::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoSurfaceTexture::Lookup_t::name[];
|
|
|
|
constexpr char GeckoSurfaceTexture::Lookup_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoSurfaceTexture::Lookup(int32_t a0) -> GeckoSurfaceTexture::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Lookup_t>::Call(GeckoSurfaceTexture::Context(), nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoSurfaceTexture::NativeAcquireTexture_t::name[];
|
|
|
|
constexpr char GeckoSurfaceTexture::NativeAcquireTexture_t::signature[];
|
|
|
|
|
|
|
|
constexpr char GeckoSurfaceTexture::ReleaseTexImage_t::name[];
|
|
|
|
constexpr char GeckoSurfaceTexture::ReleaseTexImage_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoSurfaceTexture::ReleaseTexImage() const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<ReleaseTexImage_t>::Call(GeckoSurfaceTexture::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoSurfaceTexture::UpdateTexImage_t::name[];
|
|
|
|
constexpr char GeckoSurfaceTexture::UpdateTexImage_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoSurfaceTexture::UpdateTexImage() const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<UpdateTexImage_t>::Call(GeckoSurfaceTexture::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char ImmutableViewportMetrics::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/gfx/ImmutableViewportMetrics";
|
2015-01-10 00:33:57 +00:00
|
|
|
|
|
|
|
constexpr char ImmutableViewportMetrics::New_t::name[];
|
|
|
|
constexpr char ImmutableViewportMetrics::New_t::signature[];
|
|
|
|
|
2015-08-18 18:27:19 +00:00
|
|
|
auto ImmutableViewportMetrics::New(float a0, float a1, float a2, float a3, float a4, float a5, float a6, float a7, float a8, float a9, int32_t a10, int32_t a11, float a12) -> ImmutableViewportMetrics::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Constructor<New_t>::Call(ImmutableViewportMetrics::Context(), nullptr, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
|
2013-11-12 18:41:00 +00:00
|
|
|
}
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char LayerView::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/gfx/LayerView";
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-19 21:17:25 +00:00
|
|
|
constexpr char LayerView::GetCompositor_t::name[];
|
|
|
|
constexpr char LayerView::GetCompositor_t::signature[];
|
|
|
|
|
|
|
|
auto LayerView::GetCompositor() const -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetCompositor_t>::Call(LayerView::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
2017-04-25 22:46:51 +00:00
|
|
|
constexpr char LayerView::IsCompositorReady_t::name[];
|
|
|
|
constexpr char LayerView::IsCompositorReady_t::signature[];
|
2016-08-19 21:17:25 +00:00
|
|
|
|
2017-04-25 22:46:51 +00:00
|
|
|
auto LayerView::IsCompositorReady() const -> bool
|
2016-08-19 21:17:25 +00:00
|
|
|
{
|
2017-04-25 22:46:51 +00:00
|
|
|
return mozilla::jni::Method<IsCompositorReady_t>::Call(LayerView::mCtx, nullptr);
|
2016-08-19 21:17:25 +00:00
|
|
|
}
|
|
|
|
|
2016-08-01 18:21:31 +00:00
|
|
|
const char LayerView::Compositor::name[] =
|
|
|
|
"org/mozilla/gecko/gfx/LayerView$Compositor";
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::AttachToJava_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::AttachToJava_t::signature[];
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::CreateCompositor_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::CreateCompositor_t::signature[];
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::Destroy_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::Destroy_t::signature[];
|
|
|
|
|
|
|
|
auto LayerView::Compositor::Destroy() const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Destroy_t>::Call(Compositor::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::DisposeNative_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::DisposeNative_t::signature[];
|
|
|
|
|
2017-04-05 22:42:50 +00:00
|
|
|
constexpr char LayerView::Compositor::EnableLayerUpdateNotifications_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::EnableLayerUpdateNotifications_t::signature[];
|
|
|
|
|
2016-08-01 18:21:31 +00:00
|
|
|
constexpr char LayerView::Compositor::OnSizeChanged_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::OnSizeChanged_t::signature[];
|
|
|
|
|
2016-08-23 22:55:12 +00:00
|
|
|
constexpr char LayerView::Compositor::Reattach_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::Reattach_t::signature[];
|
|
|
|
|
|
|
|
auto LayerView::Compositor::Reattach() const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Reattach_t>::Call(Compositor::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
2017-04-05 22:42:50 +00:00
|
|
|
constexpr char LayerView::Compositor::RecvScreenPixels_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::RecvScreenPixels_t::signature[];
|
|
|
|
|
|
|
|
auto LayerView::Compositor::RecvScreenPixels(int32_t a0, int32_t a1, mozilla::jni::IntArray::Param a2) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<RecvScreenPixels_t>::Call(Compositor::mCtx, nullptr, a0, a1, a2);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::RecvToolbarAnimatorMessage_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::RecvToolbarAnimatorMessage_t::signature[];
|
|
|
|
|
|
|
|
auto LayerView::Compositor::RecvToolbarAnimatorMessage(int32_t a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<RecvToolbarAnimatorMessage_t>::Call(Compositor::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::RequestScreenPixels_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::RequestScreenPixels_t::signature[];
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::SendToolbarAnimatorMessage_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::SendToolbarAnimatorMessage_t::signature[];
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::SendToolbarPixelsToCompositor_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::SendToolbarPixelsToCompositor_t::signature[];
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::SetDefaultClearColor_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::SetDefaultClearColor_t::signature[];
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::SetMaxToolbarHeight_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::SetMaxToolbarHeight_t::signature[];
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::SetPinned_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::SetPinned_t::signature[];
|
|
|
|
|
2016-08-01 18:21:31 +00:00
|
|
|
constexpr char LayerView::Compositor::SyncInvalidateAndScheduleComposite_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::SyncInvalidateAndScheduleComposite_t::signature[];
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::SyncPauseCompositor_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::SyncPauseCompositor_t::signature[];
|
|
|
|
|
|
|
|
constexpr char LayerView::Compositor::SyncResumeResizeCompositor_t::name[];
|
|
|
|
constexpr char LayerView::Compositor::SyncResumeResizeCompositor_t::signature[];
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char NativePanZoomController::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/gfx/NativePanZoomController";
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-01-15 18:05:44 +00:00
|
|
|
constexpr char NativePanZoomController::Destroy_t::name[];
|
|
|
|
constexpr char NativePanZoomController::Destroy_t::signature[];
|
|
|
|
|
|
|
|
auto NativePanZoomController::Destroy() const -> void
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<Destroy_t>::Call(NativePanZoomController::mCtx, nullptr);
|
2016-01-15 18:05:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char NativePanZoomController::DisposeNative_t::name[];
|
|
|
|
constexpr char NativePanZoomController::DisposeNative_t::signature[];
|
|
|
|
|
|
|
|
constexpr char NativePanZoomController::HandleMotionEvent_t::name[];
|
|
|
|
constexpr char NativePanZoomController::HandleMotionEvent_t::signature[];
|
|
|
|
|
2016-03-11 23:29:50 +00:00
|
|
|
constexpr char NativePanZoomController::HandleMouseEvent_t::name[];
|
|
|
|
constexpr char NativePanZoomController::HandleMouseEvent_t::signature[];
|
|
|
|
|
2016-02-12 00:34:58 +00:00
|
|
|
constexpr char NativePanZoomController::HandleScrollEvent_t::name[];
|
|
|
|
constexpr char NativePanZoomController::HandleScrollEvent_t::signature[];
|
|
|
|
|
2016-01-15 18:05:44 +00:00
|
|
|
constexpr char NativePanZoomController::SetIsLongpressEnabled_t::name[];
|
|
|
|
constexpr char NativePanZoomController::SetIsLongpressEnabled_t::signature[];
|
|
|
|
|
2016-03-10 23:06:13 +00:00
|
|
|
constexpr char NativePanZoomController::OnSelectionDragState_t::name[];
|
|
|
|
constexpr char NativePanZoomController::OnSelectionDragState_t::signature[];
|
|
|
|
|
|
|
|
auto NativePanZoomController::OnSelectionDragState(bool a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<OnSelectionDragState_t>::Call(NativePanZoomController::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
2016-01-26 01:27:24 +00:00
|
|
|
constexpr char NativePanZoomController::UpdateOverscrollOffset_t::name[];
|
|
|
|
constexpr char NativePanZoomController::UpdateOverscrollOffset_t::signature[];
|
|
|
|
|
|
|
|
auto NativePanZoomController::UpdateOverscrollOffset(float a0, float a1) const -> void
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<UpdateOverscrollOffset_t>::Call(NativePanZoomController::mCtx, nullptr, a0, a1);
|
2016-01-26 01:27:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char NativePanZoomController::UpdateOverscrollVelocity_t::name[];
|
|
|
|
constexpr char NativePanZoomController::UpdateOverscrollVelocity_t::signature[];
|
|
|
|
|
|
|
|
auto NativePanZoomController::UpdateOverscrollVelocity(float a0, float a1) const -> void
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<UpdateOverscrollVelocity_t>::Call(NativePanZoomController::mCtx, nullptr, a0, a1);
|
2016-01-26 01:27:24 +00:00
|
|
|
}
|
|
|
|
|
2016-06-29 20:42:12 +00:00
|
|
|
const char StackScroller::name[] =
|
|
|
|
"org/mozilla/gecko/gfx/StackScroller";
|
|
|
|
|
|
|
|
constexpr char StackScroller::New_t::name[];
|
|
|
|
constexpr char StackScroller::New_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::New(mozilla::jni::Object::Param a0, StackScroller::LocalRef* a1) -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a1);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a1 = mozilla::jni::Constructor<New_t>::Call(StackScroller::Context(), &rv, a0);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::AbortAnimation_t::name[];
|
|
|
|
constexpr char StackScroller::AbortAnimation_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::AbortAnimation() const -> nsresult
|
|
|
|
{
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
mozilla::jni::Method<AbortAnimation_t>::Call(StackScroller::mCtx, &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::ComputeScrollOffset_t::name[];
|
|
|
|
constexpr char StackScroller::ComputeScrollOffset_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::ComputeScrollOffset(int64_t a0, bool* a1) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a1);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a1 = mozilla::jni::Method<ComputeScrollOffset_t>::Call(StackScroller::mCtx, &rv, a0);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::Fling_t::name[];
|
|
|
|
constexpr char StackScroller::Fling_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::Fling(int32_t a0, int32_t a1, int32_t a2, int32_t a3, int32_t a4, int32_t a5, int32_t a6, int32_t a7, int32_t a8, int32_t a9, int64_t a10) const -> nsresult
|
|
|
|
{
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
mozilla::jni::Method<Fling_t>::Call(StackScroller::mCtx, &rv, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::ForceFinished_t::name[];
|
|
|
|
constexpr char StackScroller::ForceFinished_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::ForceFinished(bool a0) const -> nsresult
|
|
|
|
{
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
mozilla::jni::Method<ForceFinished_t>::Call(StackScroller::mCtx, &rv, a0);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2016-06-29 20:42:17 +00:00
|
|
|
constexpr char StackScroller::GetCurrSpeedX_t::name[];
|
|
|
|
constexpr char StackScroller::GetCurrSpeedX_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::GetCurrSpeedX(float* a0) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Method<GetCurrSpeedX_t>::Call(StackScroller::mCtx, &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::GetCurrSpeedY_t::name[];
|
|
|
|
constexpr char StackScroller::GetCurrSpeedY_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::GetCurrSpeedY(float* a0) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Method<GetCurrSpeedY_t>::Call(StackScroller::mCtx, &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2016-06-29 20:42:12 +00:00
|
|
|
constexpr char StackScroller::GetCurrX_t::name[];
|
|
|
|
constexpr char StackScroller::GetCurrX_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::GetCurrX(int32_t* a0) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Method<GetCurrX_t>::Call(StackScroller::mCtx, &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::GetCurrY_t::name[];
|
|
|
|
constexpr char StackScroller::GetCurrY_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::GetCurrY(int32_t* a0) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Method<GetCurrY_t>::Call(StackScroller::mCtx, &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::GetFinalX_t::name[];
|
|
|
|
constexpr char StackScroller::GetFinalX_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::GetFinalX(int32_t* a0) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Method<GetFinalX_t>::Call(StackScroller::mCtx, &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::GetFinalY_t::name[];
|
|
|
|
constexpr char StackScroller::GetFinalY_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::GetFinalY(int32_t* a0) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Method<GetFinalY_t>::Call(StackScroller::mCtx, &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::InitContants_t::name[];
|
|
|
|
constexpr char StackScroller::InitContants_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::InitContants() -> nsresult
|
|
|
|
{
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
mozilla::jni::Method<InitContants_t>::Call(StackScroller::Context(), &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::IsFinished_t::name[];
|
|
|
|
constexpr char StackScroller::IsFinished_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::IsFinished(bool* a0) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Method<IsFinished_t>::Call(StackScroller::mCtx, &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::SetFinalX_t::name[];
|
|
|
|
constexpr char StackScroller::SetFinalX_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::SetFinalX(int32_t a0) const -> nsresult
|
|
|
|
{
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
mozilla::jni::Method<SetFinalX_t>::Call(StackScroller::mCtx, &rv, a0);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::SpringBack_t::name[];
|
|
|
|
constexpr char StackScroller::SpringBack_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::SpringBack(int32_t a0, int32_t a1, int32_t a2, int32_t a3, int32_t a4, int32_t a5, int64_t a6, bool* a7) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a7);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a7 = mozilla::jni::Method<SpringBack_t>::Call(StackScroller::mCtx, &rv, a0, a1, a2, a3, a4, a5, a6);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::StartScroll_t::name[];
|
|
|
|
constexpr char StackScroller::StartScroll_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::StartScroll(int32_t a0, int32_t a1, int32_t a2, int32_t a3, int64_t a4, int32_t a5) const -> nsresult
|
|
|
|
{
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
mozilla::jni::Method<StartScroll_t>::Call(StackScroller::mCtx, &rv, a0, a1, a2, a3, a4, a5);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::ViscousFluid_t::name[];
|
|
|
|
constexpr char StackScroller::ViscousFluid_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::ViscousFluid(float a0, float* a1) -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a1);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a1 = mozilla::jni::Method<ViscousFluid_t>::Call(StackScroller::Context(), &rv, a0);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::MFlywheel_t::name[];
|
|
|
|
constexpr char StackScroller::MFlywheel_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::MFlywheel(bool* a0) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Field<MFlywheel_t>::Get(StackScroller::mCtx, &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::MMode_t::name[];
|
|
|
|
constexpr char StackScroller::MMode_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::MMode(int32_t* a0) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Field<MMode_t>::Get(StackScroller::mCtx, &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
auto StackScroller::MMode(int32_t a0) const -> nsresult
|
|
|
|
{
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
mozilla::jni::Field<MMode_t>::Set(StackScroller::mCtx, &rv, a0);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::MScrollerX_t::name[];
|
|
|
|
constexpr char StackScroller::MScrollerX_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::MScrollerX(mozilla::jni::Object::LocalRef* a0) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Field<MScrollerX_t>::Get(StackScroller::mCtx, &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::MScrollerY_t::name[];
|
|
|
|
constexpr char StackScroller::MScrollerY_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::MScrollerY(mozilla::jni::Object::LocalRef* a0) const -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Field<MScrollerY_t>::Get(StackScroller::mCtx, &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::SViscousFluidNormalize_t::name[];
|
|
|
|
constexpr char StackScroller::SViscousFluidNormalize_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::SViscousFluidNormalize(float* a0) -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Field<SViscousFluidNormalize_t>::Get(StackScroller::Context(), &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
auto StackScroller::SViscousFluidNormalize(float a0) -> nsresult
|
|
|
|
{
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
mozilla::jni::Field<SViscousFluidNormalize_t>::Set(StackScroller::Context(), &rv, a0);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char StackScroller::SViscousFluidScale_t::name[];
|
|
|
|
constexpr char StackScroller::SViscousFluidScale_t::signature[];
|
|
|
|
|
|
|
|
auto StackScroller::SViscousFluidScale(float* a0) -> nsresult
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(a0);
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
*a0 = mozilla::jni::Field<SViscousFluidScale_t>::Get(StackScroller::Context(), &rv);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
auto StackScroller::SViscousFluidScale(float a0) -> nsresult
|
|
|
|
{
|
|
|
|
nsresult rv = NS_OK;
|
|
|
|
mozilla::jni::Field<SViscousFluidScale_t>::Set(StackScroller::Context(), &rv, a0);
|
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
2017-03-03 21:23:15 +00:00
|
|
|
const char SurfaceAllocator::name[] =
|
|
|
|
"org/mozilla/gecko/gfx/SurfaceAllocator";
|
|
|
|
|
|
|
|
constexpr char SurfaceAllocator::AcquireSurface_t::name[];
|
|
|
|
constexpr char SurfaceAllocator::AcquireSurface_t::signature[];
|
|
|
|
|
|
|
|
auto SurfaceAllocator::AcquireSurface(int32_t a0, int32_t a1, bool a2) -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<AcquireSurface_t>::Call(SurfaceAllocator::Context(), nullptr, a0, a1, a2);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char SurfaceAllocator::DisposeSurface_t::name[];
|
|
|
|
constexpr char SurfaceAllocator::DisposeSurface_t::signature[];
|
|
|
|
|
|
|
|
auto SurfaceAllocator::DisposeSurface(mozilla::jni::Object::Param a0) -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<DisposeSurface_t>::Call(SurfaceAllocator::Context(), nullptr, a0);
|
|
|
|
}
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char ViewTransform::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/gfx/ViewTransform";
|
2015-01-10 00:33:57 +00:00
|
|
|
|
|
|
|
constexpr char ViewTransform::New_t::name[];
|
|
|
|
constexpr char ViewTransform::New_t::signature[];
|
2013-11-12 18:41:00 +00:00
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::New(float a0, float a1, float a2) -> ViewTransform::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Constructor<New_t>::Call(ViewTransform::Context(), nullptr, a0, a1, a2);
|
2013-11-12 18:41:00 +00:00
|
|
|
}
|
|
|
|
|
2015-01-10 00:33:57 +00:00
|
|
|
constexpr char ViewTransform::FixedLayerMarginBottom_t::name[];
|
|
|
|
constexpr char ViewTransform::FixedLayerMarginBottom_t::signature[];
|
2013-11-12 18:41:00 +00:00
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::FixedLayerMarginBottom() const -> float
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<FixedLayerMarginBottom_t>::Get(ViewTransform::mCtx, nullptr);
|
2013-11-12 18:41:00 +00:00
|
|
|
}
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::FixedLayerMarginBottom(float a0) const -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<FixedLayerMarginBottom_t>::Set(ViewTransform::mCtx, nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char ViewTransform::FixedLayerMarginLeft_t::name[];
|
|
|
|
constexpr char ViewTransform::FixedLayerMarginLeft_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::FixedLayerMarginLeft() const -> float
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<FixedLayerMarginLeft_t>::Get(ViewTransform::mCtx, nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::FixedLayerMarginLeft(float a0) const -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<FixedLayerMarginLeft_t>::Set(ViewTransform::mCtx, nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char ViewTransform::FixedLayerMarginRight_t::name[];
|
|
|
|
constexpr char ViewTransform::FixedLayerMarginRight_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::FixedLayerMarginRight() const -> float
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<FixedLayerMarginRight_t>::Get(ViewTransform::mCtx, nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::FixedLayerMarginRight(float a0) const -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<FixedLayerMarginRight_t>::Set(ViewTransform::mCtx, nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char ViewTransform::FixedLayerMarginTop_t::name[];
|
|
|
|
constexpr char ViewTransform::FixedLayerMarginTop_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::FixedLayerMarginTop() const -> float
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<FixedLayerMarginTop_t>::Get(ViewTransform::mCtx, nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::FixedLayerMarginTop(float a0) const -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<FixedLayerMarginTop_t>::Set(ViewTransform::mCtx, nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2015-08-18 18:27:20 +00:00
|
|
|
constexpr char ViewTransform::Height_t::name[];
|
|
|
|
constexpr char ViewTransform::Height_t::signature[];
|
|
|
|
|
|
|
|
auto ViewTransform::Height() const -> float
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<Height_t>::Get(ViewTransform::mCtx, nullptr);
|
2015-08-18 18:27:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
auto ViewTransform::Height(float a0) const -> void
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<Height_t>::Set(ViewTransform::mCtx, nullptr, a0);
|
2015-08-18 18:27:20 +00:00
|
|
|
}
|
|
|
|
|
2015-01-10 00:33:57 +00:00
|
|
|
constexpr char ViewTransform::Scale_t::name[];
|
|
|
|
constexpr char ViewTransform::Scale_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::Scale() const -> float
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<Scale_t>::Get(ViewTransform::mCtx, nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::Scale(float a0) const -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<Scale_t>::Set(ViewTransform::mCtx, nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2015-08-18 18:27:20 +00:00
|
|
|
constexpr char ViewTransform::Width_t::name[];
|
|
|
|
constexpr char ViewTransform::Width_t::signature[];
|
|
|
|
|
|
|
|
auto ViewTransform::Width() const -> float
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<Width_t>::Get(ViewTransform::mCtx, nullptr);
|
2015-08-18 18:27:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
auto ViewTransform::Width(float a0) const -> void
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<Width_t>::Set(ViewTransform::mCtx, nullptr, a0);
|
2015-08-18 18:27:20 +00:00
|
|
|
}
|
|
|
|
|
2015-01-10 00:33:57 +00:00
|
|
|
constexpr char ViewTransform::X_t::name[];
|
|
|
|
constexpr char ViewTransform::X_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::X() const -> float
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<X_t>::Get(ViewTransform::mCtx, nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::X(float a0) const -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<X_t>::Set(ViewTransform::mCtx, nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char ViewTransform::Y_t::name[];
|
|
|
|
constexpr char ViewTransform::Y_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::Y() const -> float
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<Y_t>::Get(ViewTransform::mCtx, nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto ViewTransform::Y(float a0) const -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Field<Y_t>::Set(ViewTransform::mCtx, nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-12-20 06:18:35 +00:00
|
|
|
const char VsyncSource::name[] =
|
|
|
|
"org/mozilla/gecko/gfx/VsyncSource";
|
|
|
|
|
|
|
|
constexpr char VsyncSource::GetRefreshRate_t::name[];
|
|
|
|
constexpr char VsyncSource::GetRefreshRate_t::signature[];
|
|
|
|
|
|
|
|
auto VsyncSource::GetRefreshRate() const -> float
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetRefreshRate_t>::Call(VsyncSource::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char VsyncSource::NotifyVsync_t::name[];
|
|
|
|
constexpr char VsyncSource::NotifyVsync_t::signature[];
|
|
|
|
|
|
|
|
constexpr char VsyncSource::ObserveVsync_t::name[];
|
|
|
|
constexpr char VsyncSource::ObserveVsync_t::signature[];
|
|
|
|
|
|
|
|
auto VsyncSource::ObserveVsync(bool a0) const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<ObserveVsync_t>::Call(VsyncSource::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
2017-01-09 19:10:23 +00:00
|
|
|
constexpr char VsyncSource::INSTANCE_t::name[];
|
|
|
|
constexpr char VsyncSource::INSTANCE_t::signature[];
|
|
|
|
|
|
|
|
auto VsyncSource::INSTANCE() -> VsyncSource::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<INSTANCE_t>::Get(VsyncSource::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
2017-03-01 16:17:09 +00:00
|
|
|
const char CodecProxy::name[] =
|
|
|
|
"org/mozilla/gecko/media/CodecProxy";
|
|
|
|
|
|
|
|
constexpr char CodecProxy::Create_t::name[];
|
|
|
|
constexpr char CodecProxy::Create_t::signature[];
|
|
|
|
|
|
|
|
auto CodecProxy::Create(bool a0, mozilla::jni::Object::Param a1, mozilla::jni::Object::Param a2, mozilla::jni::Object::Param a3, mozilla::jni::String::Param a4) -> CodecProxy::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Create_t>::Call(CodecProxy::Context(), nullptr, a0, a1, a2, a3, a4);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char CodecProxy::Flush_t::name[];
|
|
|
|
constexpr char CodecProxy::Flush_t::signature[];
|
|
|
|
|
|
|
|
auto CodecProxy::Flush() const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Flush_t>::Call(CodecProxy::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char CodecProxy::Input_t::name[];
|
|
|
|
constexpr char CodecProxy::Input_t::signature[];
|
|
|
|
|
|
|
|
auto CodecProxy::Input(mozilla::jni::ByteBuffer::Param a0, mozilla::jni::Object::Param a1, mozilla::jni::Object::Param a2) const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Input_t>::Call(CodecProxy::mCtx, nullptr, a0, a1, a2);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char CodecProxy::IsAdaptivePlaybackSupported_t::name[];
|
|
|
|
constexpr char CodecProxy::IsAdaptivePlaybackSupported_t::signature[];
|
|
|
|
|
|
|
|
auto CodecProxy::IsAdaptivePlaybackSupported() const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<IsAdaptivePlaybackSupported_t>::Call(CodecProxy::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char CodecProxy::Release_t::name[];
|
|
|
|
constexpr char CodecProxy::Release_t::signature[];
|
|
|
|
|
|
|
|
auto CodecProxy::Release() const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Release_t>::Call(CodecProxy::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char CodecProxy::ReleaseOutput_t::name[];
|
|
|
|
constexpr char CodecProxy::ReleaseOutput_t::signature[];
|
|
|
|
|
|
|
|
auto CodecProxy::ReleaseOutput(mozilla::jni::Object::Param a0, bool a1) const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<ReleaseOutput_t>::Call(CodecProxy::mCtx, nullptr, a0, a1);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char CodecProxy::SetRates_t::name[];
|
|
|
|
constexpr char CodecProxy::SetRates_t::signature[];
|
|
|
|
|
|
|
|
auto CodecProxy::SetRates(int32_t a0) const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<SetRates_t>::Call(CodecProxy::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
const char CodecProxy::NativeCallbacks::name[] =
|
|
|
|
"org/mozilla/gecko/media/CodecProxy$NativeCallbacks";
|
|
|
|
|
|
|
|
constexpr char CodecProxy::NativeCallbacks::New_t::name[];
|
|
|
|
constexpr char CodecProxy::NativeCallbacks::New_t::signature[];
|
|
|
|
|
|
|
|
auto CodecProxy::NativeCallbacks::New() -> NativeCallbacks::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Constructor<New_t>::Call(NativeCallbacks::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char CodecProxy::NativeCallbacks::DisposeNative_t::name[];
|
|
|
|
constexpr char CodecProxy::NativeCallbacks::DisposeNative_t::signature[];
|
|
|
|
|
|
|
|
auto CodecProxy::NativeCallbacks::DisposeNative() const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<DisposeNative_t>::Call(NativeCallbacks::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char CodecProxy::NativeCallbacks::OnError_t::name[];
|
|
|
|
constexpr char CodecProxy::NativeCallbacks::OnError_t::signature[];
|
|
|
|
|
2017-04-07 09:07:02 +00:00
|
|
|
constexpr char CodecProxy::NativeCallbacks::OnInputStatus_t::name[];
|
|
|
|
constexpr char CodecProxy::NativeCallbacks::OnInputStatus_t::signature[];
|
2017-03-01 16:17:09 +00:00
|
|
|
|
|
|
|
constexpr char CodecProxy::NativeCallbacks::OnOutput_t::name[];
|
|
|
|
constexpr char CodecProxy::NativeCallbacks::OnOutput_t::signature[];
|
|
|
|
|
|
|
|
constexpr char CodecProxy::NativeCallbacks::OnOutputFormatChanged_t::name[];
|
|
|
|
constexpr char CodecProxy::NativeCallbacks::OnOutputFormatChanged_t::signature[];
|
|
|
|
|
2017-05-25 04:46:06 +00:00
|
|
|
const char GeckoAudioInfo::name[] =
|
|
|
|
"org/mozilla/gecko/media/GeckoAudioInfo";
|
|
|
|
|
|
|
|
constexpr char GeckoAudioInfo::New_t::name[];
|
|
|
|
constexpr char GeckoAudioInfo::New_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAudioInfo::New(int32_t a0, int32_t a1, int32_t a2, int32_t a3, int64_t a4, mozilla::jni::String::Param a5, mozilla::jni::ByteArray::Param a6) -> GeckoAudioInfo::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Constructor<New_t>::Call(GeckoAudioInfo::Context(), nullptr, a0, a1, a2, a3, a4, a5, a6);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAudioInfo::BitDepth_t::name[];
|
|
|
|
constexpr char GeckoAudioInfo::BitDepth_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAudioInfo::BitDepth() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<BitDepth_t>::Get(GeckoAudioInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAudioInfo::Channels_t::name[];
|
|
|
|
constexpr char GeckoAudioInfo::Channels_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAudioInfo::Channels() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Channels_t>::Get(GeckoAudioInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAudioInfo::CodecSpecificData_t::name[];
|
|
|
|
constexpr char GeckoAudioInfo::CodecSpecificData_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAudioInfo::CodecSpecificData() const -> mozilla::jni::ByteArray::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<CodecSpecificData_t>::Get(GeckoAudioInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAudioInfo::Duration_t::name[];
|
|
|
|
constexpr char GeckoAudioInfo::Duration_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAudioInfo::Duration() const -> int64_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Duration_t>::Get(GeckoAudioInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAudioInfo::MimeType_t::name[];
|
|
|
|
constexpr char GeckoAudioInfo::MimeType_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAudioInfo::MimeType() const -> mozilla::jni::String::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<MimeType_t>::Get(GeckoAudioInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAudioInfo::Profile_t::name[];
|
|
|
|
constexpr char GeckoAudioInfo::Profile_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAudioInfo::Profile() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Profile_t>::Get(GeckoAudioInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoAudioInfo::Rate_t::name[];
|
|
|
|
constexpr char GeckoAudioInfo::Rate_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoAudioInfo::Rate() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Rate_t>::Get(GeckoAudioInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
2017-05-25 12:48:03 +00:00
|
|
|
const char GeckoHlsDemuxerWrapper::name[] =
|
|
|
|
"org/mozilla/gecko/media/GeckoHlsDemuxerWrapper";
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::Create_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::Create_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsDemuxerWrapper::Create(mozilla::jni::Object::Param a0, mozilla::jni::Object::Param a1) -> GeckoHlsDemuxerWrapper::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Create_t>::Call(GeckoHlsDemuxerWrapper::Context(), nullptr, a0, a1);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::Destroy_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::Destroy_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsDemuxerWrapper::Destroy() const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Destroy_t>::Call(GeckoHlsDemuxerWrapper::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::GetAudioInfo_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::GetAudioInfo_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsDemuxerWrapper::GetAudioInfo(int32_t a0) const -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetAudioInfo_t>::Call(GeckoHlsDemuxerWrapper::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::GetBuffered_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::GetBuffered_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsDemuxerWrapper::GetBuffered() const -> int64_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetBuffered_t>::Call(GeckoHlsDemuxerWrapper::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::GetNextKeyFrameTime_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::GetNextKeyFrameTime_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsDemuxerWrapper::GetNextKeyFrameTime() const -> int64_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetNextKeyFrameTime_t>::Call(GeckoHlsDemuxerWrapper::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::GetNumberOfTracks_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::GetNumberOfTracks_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsDemuxerWrapper::GetNumberOfTracks(int32_t a0) const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetNumberOfTracks_t>::Call(GeckoHlsDemuxerWrapper::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::GetSamples_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::GetSamples_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsDemuxerWrapper::GetSamples(int32_t a0, int32_t a1) const -> mozilla::jni::ObjectArray::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetSamples_t>::Call(GeckoHlsDemuxerWrapper::mCtx, nullptr, a0, a1);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::GetVideoInfo_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::GetVideoInfo_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsDemuxerWrapper::GetVideoInfo(int32_t a0) const -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetVideoInfo_t>::Call(GeckoHlsDemuxerWrapper::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::IsLiveStream_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::IsLiveStream_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsDemuxerWrapper::IsLiveStream() const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<IsLiveStream_t>::Call(GeckoHlsDemuxerWrapper::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::Seek_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::Seek_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsDemuxerWrapper::Seek(int64_t a0) const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Seek_t>::Call(GeckoHlsDemuxerWrapper::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
const char GeckoHlsDemuxerWrapper::HlsDemuxerCallbacks::name[] =
|
|
|
|
"org/mozilla/gecko/media/GeckoHlsDemuxerWrapper$HlsDemuxerCallbacks";
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::HlsDemuxerCallbacks::New_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::HlsDemuxerCallbacks::New_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsDemuxerWrapper::HlsDemuxerCallbacks::New() -> HlsDemuxerCallbacks::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Constructor<New_t>::Call(HlsDemuxerCallbacks::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::HlsDemuxerCallbacks::OnError_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::HlsDemuxerCallbacks::OnError_t::signature[];
|
|
|
|
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::HlsDemuxerCallbacks::OnInitialized_t::name[];
|
|
|
|
constexpr char GeckoHlsDemuxerWrapper::HlsDemuxerCallbacks::OnInitialized_t::signature[];
|
|
|
|
|
2017-05-25 04:46:06 +00:00
|
|
|
const char GeckoHlsSample::name[] =
|
|
|
|
"org/mozilla/gecko/media/GeckoHlsSample";
|
|
|
|
|
|
|
|
constexpr char GeckoHlsSample::IsEOS_t::name[];
|
|
|
|
constexpr char GeckoHlsSample::IsEOS_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsSample::IsEOS() const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<IsEOS_t>::Call(GeckoHlsSample::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsSample::IsKeyFrame_t::name[];
|
|
|
|
constexpr char GeckoHlsSample::IsKeyFrame_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsSample::IsKeyFrame() const -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<IsKeyFrame_t>::Call(GeckoHlsSample::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsSample::WriteToByteBuffer_t::name[];
|
|
|
|
constexpr char GeckoHlsSample::WriteToByteBuffer_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsSample::WriteToByteBuffer(mozilla::jni::ByteBuffer::Param a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<WriteToByteBuffer_t>::Call(GeckoHlsSample::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsSample::CryptoInfo_t::name[];
|
|
|
|
constexpr char GeckoHlsSample::CryptoInfo_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsSample::CryptoInfo() const -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<CryptoInfo_t>::Get(GeckoHlsSample::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsSample::Duration_t::name[];
|
|
|
|
constexpr char GeckoHlsSample::Duration_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsSample::Duration() const -> int64_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Duration_t>::Get(GeckoHlsSample::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
auto GeckoHlsSample::Duration(int64_t a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Duration_t>::Set(GeckoHlsSample::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsSample::FormatIndex_t::name[];
|
|
|
|
constexpr char GeckoHlsSample::FormatIndex_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsSample::FormatIndex() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<FormatIndex_t>::Get(GeckoHlsSample::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoHlsSample::Info_t::name[];
|
|
|
|
constexpr char GeckoHlsSample::Info_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoHlsSample::Info() const -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Info_t>::Get(GeckoHlsSample::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
const char GeckoVideoInfo::name[] =
|
|
|
|
"org/mozilla/gecko/media/GeckoVideoInfo";
|
|
|
|
|
|
|
|
constexpr char GeckoVideoInfo::New_t::name[];
|
|
|
|
constexpr char GeckoVideoInfo::New_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoVideoInfo::New(int32_t a0, int32_t a1, int32_t a2, int32_t a3, int32_t a4, int32_t a5, int64_t a6, mozilla::jni::String::Param a7, mozilla::jni::ByteArray::Param a8, mozilla::jni::ByteArray::Param a9) -> GeckoVideoInfo::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Constructor<New_t>::Call(GeckoVideoInfo::Context(), nullptr, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoVideoInfo::CodecSpecificData_t::name[];
|
|
|
|
constexpr char GeckoVideoInfo::CodecSpecificData_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoVideoInfo::CodecSpecificData() const -> mozilla::jni::ByteArray::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<CodecSpecificData_t>::Get(GeckoVideoInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoVideoInfo::DisplayHeight_t::name[];
|
|
|
|
constexpr char GeckoVideoInfo::DisplayHeight_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoVideoInfo::DisplayHeight() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<DisplayHeight_t>::Get(GeckoVideoInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoVideoInfo::DisplayWidth_t::name[];
|
|
|
|
constexpr char GeckoVideoInfo::DisplayWidth_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoVideoInfo::DisplayWidth() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<DisplayWidth_t>::Get(GeckoVideoInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoVideoInfo::Duration_t::name[];
|
|
|
|
constexpr char GeckoVideoInfo::Duration_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoVideoInfo::Duration() const -> int64_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Duration_t>::Get(GeckoVideoInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoVideoInfo::ExtraData_t::name[];
|
|
|
|
constexpr char GeckoVideoInfo::ExtraData_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoVideoInfo::ExtraData() const -> mozilla::jni::ByteArray::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<ExtraData_t>::Get(GeckoVideoInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoVideoInfo::MimeType_t::name[];
|
|
|
|
constexpr char GeckoVideoInfo::MimeType_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoVideoInfo::MimeType() const -> mozilla::jni::String::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<MimeType_t>::Get(GeckoVideoInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoVideoInfo::PictureHeight_t::name[];
|
|
|
|
constexpr char GeckoVideoInfo::PictureHeight_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoVideoInfo::PictureHeight() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<PictureHeight_t>::Get(GeckoVideoInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoVideoInfo::PictureWidth_t::name[];
|
|
|
|
constexpr char GeckoVideoInfo::PictureWidth_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoVideoInfo::PictureWidth() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<PictureWidth_t>::Get(GeckoVideoInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoVideoInfo::Rotation_t::name[];
|
|
|
|
constexpr char GeckoVideoInfo::Rotation_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoVideoInfo::Rotation() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Rotation_t>::Get(GeckoVideoInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoVideoInfo::StereoMode_t::name[];
|
|
|
|
constexpr char GeckoVideoInfo::StereoMode_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoVideoInfo::StereoMode() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<StereoMode_t>::Get(GeckoVideoInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
2017-03-01 16:17:09 +00:00
|
|
|
const char MediaDrmProxy::name[] =
|
|
|
|
"org/mozilla/gecko/media/MediaDrmProxy";
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::CanDecode_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::CanDecode_t::signature[];
|
|
|
|
|
|
|
|
auto MediaDrmProxy::CanDecode(mozilla::jni::String::Param a0) -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<CanDecode_t>::Call(MediaDrmProxy::Context(), nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::IsCryptoSchemeSupported_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::IsCryptoSchemeSupported_t::signature[];
|
|
|
|
|
|
|
|
auto MediaDrmProxy::IsCryptoSchemeSupported(mozilla::jni::String::Param a0, mozilla::jni::String::Param a1) -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<IsCryptoSchemeSupported_t>::Call(MediaDrmProxy::Context(), nullptr, a0, a1);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::CloseSession_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::CloseSession_t::signature[];
|
|
|
|
|
|
|
|
auto MediaDrmProxy::CloseSession(int32_t a0, mozilla::jni::String::Param a1) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<CloseSession_t>::Call(MediaDrmProxy::mCtx, nullptr, a0, a1);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::Create_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::Create_t::signature[];
|
|
|
|
|
|
|
|
auto MediaDrmProxy::Create(mozilla::jni::String::Param a0, mozilla::jni::Object::Param a1) -> MediaDrmProxy::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Create_t>::Call(MediaDrmProxy::Context(), nullptr, a0, a1);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::CreateSession_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::CreateSession_t::signature[];
|
|
|
|
|
|
|
|
auto MediaDrmProxy::CreateSession(int32_t a0, int32_t a1, mozilla::jni::String::Param a2, mozilla::jni::ByteArray::Param a3) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<CreateSession_t>::Call(MediaDrmProxy::mCtx, nullptr, a0, a1, a2, a3);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::Destroy_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::Destroy_t::signature[];
|
|
|
|
|
|
|
|
auto MediaDrmProxy::Destroy() const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Destroy_t>::Call(MediaDrmProxy::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::GetMediaCrypto_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::GetMediaCrypto_t::signature[];
|
|
|
|
|
|
|
|
auto MediaDrmProxy::GetMediaCrypto(mozilla::jni::String::Param a0) -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetMediaCrypto_t>::Call(MediaDrmProxy::Context(), nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::GetStubId_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::GetStubId_t::signature[];
|
|
|
|
|
|
|
|
auto MediaDrmProxy::GetStubId() const -> mozilla::jni::String::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetStubId_t>::Call(MediaDrmProxy::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::IsSchemeSupported_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::IsSchemeSupported_t::signature[];
|
|
|
|
|
|
|
|
auto MediaDrmProxy::IsSchemeSupported(mozilla::jni::String::Param a0) -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<IsSchemeSupported_t>::Call(MediaDrmProxy::Context(), nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::UpdateSession_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::UpdateSession_t::signature[];
|
|
|
|
|
|
|
|
auto MediaDrmProxy::UpdateSession(int32_t a0, mozilla::jni::String::Param a1, mozilla::jni::ByteArray::Param a2) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<UpdateSession_t>::Call(MediaDrmProxy::mCtx, nullptr, a0, a1, a2);
|
|
|
|
}
|
|
|
|
|
|
|
|
const char16_t MediaDrmProxy::AAC[] = u"audio/mp4a-latm";
|
|
|
|
|
|
|
|
const char16_t MediaDrmProxy::AVC[] = u"video/avc";
|
|
|
|
|
|
|
|
const char16_t MediaDrmProxy::OPUS[] = u"audio/opus";
|
|
|
|
|
|
|
|
const char16_t MediaDrmProxy::VORBIS[] = u"audio/vorbis";
|
|
|
|
|
|
|
|
const char16_t MediaDrmProxy::VP8[] = u"video/x-vnd.on2.vp8";
|
|
|
|
|
|
|
|
const char16_t MediaDrmProxy::VP9[] = u"video/x-vnd.on2.vp9";
|
|
|
|
|
|
|
|
const char MediaDrmProxy::NativeMediaDrmProxyCallbacks::name[] =
|
|
|
|
"org/mozilla/gecko/media/MediaDrmProxy$NativeMediaDrmProxyCallbacks";
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::New_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::New_t::signature[];
|
|
|
|
|
|
|
|
auto MediaDrmProxy::NativeMediaDrmProxyCallbacks::New() -> NativeMediaDrmProxyCallbacks::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Constructor<New_t>::Call(NativeMediaDrmProxyCallbacks::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnRejectPromise_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnRejectPromise_t::signature[];
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnSessionBatchedKeyChanged_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnSessionBatchedKeyChanged_t::signature[];
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnSessionClosed_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnSessionClosed_t::signature[];
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnSessionCreated_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnSessionCreated_t::signature[];
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnSessionError_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnSessionError_t::signature[];
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnSessionMessage_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnSessionMessage_t::signature[];
|
|
|
|
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnSessionUpdated_t::name[];
|
|
|
|
constexpr char MediaDrmProxy::NativeMediaDrmProxyCallbacks::OnSessionUpdated_t::signature[];
|
|
|
|
|
|
|
|
const char Sample::name[] =
|
|
|
|
"org/mozilla/gecko/media/Sample";
|
|
|
|
|
|
|
|
constexpr char Sample::WriteToByteBuffer_t::name[];
|
|
|
|
constexpr char Sample::WriteToByteBuffer_t::signature[];
|
|
|
|
|
|
|
|
auto Sample::WriteToByteBuffer(mozilla::jni::ByteBuffer::Param a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<WriteToByteBuffer_t>::Call(Sample::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char Sample::Info_t::name[];
|
|
|
|
constexpr char Sample::Info_t::signature[];
|
|
|
|
|
|
|
|
auto Sample::Info() const -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Info_t>::Get(Sample::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
auto Sample::Info(mozilla::jni::Object::Param a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Info_t>::Set(Sample::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
const char SessionKeyInfo::name[] =
|
|
|
|
"org/mozilla/gecko/media/SessionKeyInfo";
|
|
|
|
|
|
|
|
constexpr char SessionKeyInfo::New_t::name[];
|
|
|
|
constexpr char SessionKeyInfo::New_t::signature[];
|
|
|
|
|
|
|
|
auto SessionKeyInfo::New(mozilla::jni::ByteArray::Param a0, int32_t a1) -> SessionKeyInfo::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Constructor<New_t>::Call(SessionKeyInfo::Context(), nullptr, a0, a1);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char SessionKeyInfo::KeyId_t::name[];
|
|
|
|
constexpr char SessionKeyInfo::KeyId_t::signature[];
|
|
|
|
|
|
|
|
auto SessionKeyInfo::KeyId() const -> mozilla::jni::ByteArray::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<KeyId_t>::Get(SessionKeyInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
auto SessionKeyInfo::KeyId(mozilla::jni::ByteArray::Param a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<KeyId_t>::Set(SessionKeyInfo::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char SessionKeyInfo::Status_t::name[];
|
|
|
|
constexpr char SessionKeyInfo::Status_t::signature[];
|
|
|
|
|
|
|
|
auto SessionKeyInfo::Status() const -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Status_t>::Get(SessionKeyInfo::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
auto SessionKeyInfo::Status(int32_t a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<Status_t>::Set(SessionKeyInfo::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
Bug 1343075 - Use GeckoEditableSupport from PuppetWidget; r=masayuki r=rbarker r=snorp r=esawin
Bug 1343075 - 1a. Add TextEventDispatcherListener::GetIMEUpdatePreference; r=masayuki
Add a GetIMEUpdatePreference method to TextEventDispatcherListener to
optionally control which IME notifications are received by NotifyIME.
This patch also makes nsBaseWidget forward its GetIMEUpdatePreference
call to the widget's native TextEventDispatcherListener.
Bug 1343075 - 1b. Implement GetIMEUpdatePreference for all TextEventDispatcherListener; r=masayuki
This patch implements GetIMEUpdatePreference for all
TextEventDispatcherListener implementations, by moving previous
implementations of nsIWidget::GetIMEUpdatePreference.
Bug 1343075 - 2. Allow setting a PuppetWidget's native TextEventDispatcherListener; r=masayuki
In PuppetWidget, add getter and setter for the widget's native
TextEventDispatcherListener. This allows overriding of PuppetWidget's
default IME handling. For example, on Android, the PuppetWidget's native
TextEventDispatcherListener will communicate directly with Java IME code
in the main process.
Bug 1343075 - 3. Add AIDL interface for main process; r=rbarker
Add AIDL definition and implementation for an interface for the main
process that child processes can access.
Bug 1343075 - 4. Set Gecko thread JNIEnv for child process; r=snorp
Add a JNIEnv* parameter to XRE_SetAndroidChildFds, which is used to set
the Gecko thread JNIEnv for child processes. XRE_SetAndroidChildFds is
the only Android-specific entry point for child processes, so I think
it's the most logical place to initialize JNI.
Bug 1343075 - 5. Support multiple remote GeckoEditableChild; r=esawin
Support remote GeckoEditableChild instances that are created in the
content processes and connect to the parent process GeckoEditableParent
through binders.
Support having multiple GeckoEditableChild instances in GeckoEditable by
keeping track of which child is currently focused, and only allow
calls to/from the focused child by using access tokens.
Bug 1343075 - 6. Add method to get GeckoEditableParent instance; r=esawin
Add IProcessManager.getEditableParent, which a content process can call
to get the GeckoEditableParent instance that corresponds to a given
content process tab, from the main process.
Bug 1343075 - 7. Support GeckoEditableSupport in content processes; r=esawin
Support creating and running GeckoEditableSupport attached to a
PuppetWidget in content processes.
Because we don't know PuppetWidget's lifetime as well as nsWindow's,
when attached to PuppetWidget, we need to attach/detach our native
object on focus/blur, respectively.
Bug 1343075 - 8. Connect GeckoEditableSupport on PuppetWidget creation; r=esawin
Listen to the "tab-child-created" notification and attach our content
process GeckoEditableSupport to the new PuppetWidget.
Bug 1343075 - 9. Update auto-generated bindings; r=me
2017-03-08 03:34:39 +00:00
|
|
|
const char GeckoProcessManager::name[] =
|
|
|
|
"org/mozilla/gecko/process/GeckoProcessManager";
|
|
|
|
|
|
|
|
constexpr char GeckoProcessManager::GetEditableParent_t::name[];
|
|
|
|
constexpr char GeckoProcessManager::GetEditableParent_t::signature[];
|
|
|
|
|
|
|
|
const char GeckoServiceChildProcess::name[] =
|
|
|
|
"org/mozilla/gecko/process/GeckoServiceChildProcess";
|
|
|
|
|
|
|
|
constexpr char GeckoServiceChildProcess::GetEditableParent_t::name[];
|
|
|
|
constexpr char GeckoServiceChildProcess::GetEditableParent_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoServiceChildProcess::GetEditableParent(int64_t a0, int64_t a1) -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<GetEditableParent_t>::Call(GeckoServiceChildProcess::Context(), nullptr, a0, a1);
|
|
|
|
}
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char Clipboard::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/util/Clipboard";
|
2015-01-10 00:33:57 +00:00
|
|
|
|
|
|
|
constexpr char Clipboard::ClearText_t::name[];
|
|
|
|
constexpr char Clipboard::ClearText_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto Clipboard::ClearText() -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<ClearText_t>::Call(Clipboard::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char Clipboard::GetText_t::name[];
|
|
|
|
constexpr char Clipboard::GetText_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto Clipboard::GetText() -> mozilla::jni::String::LocalRef
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<GetText_t>::Call(Clipboard::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char Clipboard::HasText_t::name[];
|
|
|
|
constexpr char Clipboard::HasText_t::signature[];
|
|
|
|
|
2015-08-13 04:53:39 +00:00
|
|
|
auto Clipboard::HasText() -> bool
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<HasText_t>::Call(Clipboard::Context(), nullptr);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
constexpr char Clipboard::SetText_t::name[];
|
|
|
|
constexpr char Clipboard::SetText_t::signature[];
|
2015-01-10 00:33:57 +00:00
|
|
|
|
2016-08-13 03:15:52 +00:00
|
|
|
auto Clipboard::SetText(mozilla::jni::String::Param a0) -> void
|
2015-01-10 00:33:57 +00:00
|
|
|
{
|
2016-08-13 03:15:52 +00:00
|
|
|
return mozilla::jni::Method<SetText_t>::Call(Clipboard::Context(), nullptr, a0);
|
2015-01-10 00:33:57 +00:00
|
|
|
}
|
|
|
|
|
Bug 1307820 - Implement per-GeckoView messaging; r=snorp r=sebastian
Bug 1307820 - 1a. Move GeckoApp EventDispatcher to GeckoView; r=snorp
Make it a GeckoView-specific EventDispatcher instead of
GeckoApp-specific, so that GeckoView consumers can benefit from a
per-view EventDispatcher. In addition, a few events like Gecko:Ready are
moved back to the global EventDispatcher because that makes more sense.
Bug 1307820 - 1b. Don't use GeckoApp EventDispatcher during inflation; r=snorp
During layout inflation, we don't yet have GeckoView and therefore the
GeckoView EventDispatcher, so we should not register events until later,
typically during onAttachedToWindow.
Bug 1307820 - 2. Introduce GeckoBundle; r=snorp
The Android Bundle class has several disadvantages when used for holding
structured data from JS.
The most obvious one is the differentiation between int and double,
which doesn't exist in JS. So when a JS number is converted to either a
Bundle int or double, we run the risk of making a wrong conversion,
resulting in a type mismatch exception when Java uses the Bundle. This
extends to number arrays from JS.
There is one more gotcha when using arrays. When we receive an empty
array from JS, there is no way for us to determine the type of the
array, because even empty arrays in Java have types. We are forced to
pick an arbitrary type like boolean[], which can easily result in a type
mismatch exception when using the array on the Java side.
In addition, Bundle is fairly cumbersome, and we cannot access the inner
structures of Bundle from Java or JNI, making it harder to use.
With these factors in mind, this patch introduces GeckoBundle as a
better choice for Gecko/Java communication. It is almost fully
API-compatible with the Android Bundle; only the Bundle array methods
are different. It resolves the numbers problem by performing conversions
if necessary, and it is a lot more lightweight than Bundle.
Bug 1307820 - 3. Convert BundleEventListener to use GeckoBundle; r=snorp
Convert BundleEventListener from using Bundle to using GeckoBundle.
Because NativeJSContainer still only supports Bundle, we do an extra
conversion when sending Bundle messages, but eventually, as we eliminate
the use of NativeJSContainer, that will go away as well.
Bug 1307820 - 4. Introduce EventDispatcher interfaces; r=snorp
Introduce several new XPCOM interfaces for the new EventDispatcher API,
these interfaces are mostly mirrored after their Java counterparts.
* nsIAndroidEventDispatcher is the main interface for
registering/unregistering listeners and for dispatching events from
JS/C++.
* nsIAndroidEventListener is the interface that JS/C++ clients implement
to receive events.
* nsIAndroidEventCallback is the interface that JS/C++ clients implement
to receive responses from dispatched events.
* nsIAndroidView is the new interface that every window receives
that is specific to the window/GeckoView pair. It is passed to chrome
scripts through window arguments.
Bug 1307820 - 5. Remove EventDispatcher references from gfx code; r=snorp
EventDispatcher was used for JPZC, but NPZC doesn't use it anymore.
Bug 1307820 - 6. General JNI template improvements; r=snorp
This patch includes several improvements to the JNI templates.
* Context::RawClassRef is removed to avoid misuse, as Context::ClassRef
should be used instead.
* Fix a compile error, in certain usages, in the DisposeNative overload
in NativeStub.
* Add Ref::IsInstanceOf and Context::IsInstanceOf to mirror the
JNIEnv::IsInstanceOf call.
* Add Ref::operator* and Context::operator* to provide an easy way to
get a Context object.
* Add built-in declarations for boxed Java objects (e.g. Boolean,
Integer, etc).
* Add ObjectArray::New for creating new object arrays of specific types.
* Add lvalue qualifiers to LocalRef::operator= and GlobalRef::operator=,
to prevent accidentally assigning to rvalues. (e.g.
`objectArray->GetElement(0) = newObject;`, which won't work as intended.)
Bug 1307820 - 7. Support ownership through RefPtr for native JNI objects; r=snorp
In addition to direct ownership and weak pointer ownership, add a third
ownership model where a native JNI object owns a RefPtr that holds a
strong reference to the actual C++ object. This ownership model works
well with ref-counted objects such as XPCOM objects, and is activated
through the presence of public members AddRef() and Release() in the C++
object.
Bug 1307820 - 8. Implement Gecko-side EventDispatcher; r=snorp
Add a skeletal implementation of EventDispatcher on the Gecko side.
Each widget::EventDispatcher will be associated with a Java
EventDispatcher, so events can be dispatched from Gecko to Java and vice
versa. AndroidBridge and nsWindow will implement
nsIAndroidEventDispatcher through widget::EventDispatcher.
Other patches will add more complete functionality such as
GeckoBundle/JSObject translation and support for callbacks.
Bug 1307820 - 9. Implement dispatching between Gecko/Java; r=snorp
Implement translation between JSObject and GeckoBundle, and use that for
dispatching events from Gecko to Java and vice versa.
Bug 1307820 - 10. Implement callback support; r=snorp
Implement callback support for both Gecko-to-Java events and
Java-to-Gecko events.
For Gecko-to-Java, we translate nsIAndroidEventCallback to a Java
EventCallback through NativeCallbackDelegate and pass it to the Java
listener.
For Java-to-Gecko, we translate EventCallback to a
nsIAndroidEventCallback through JavaCallbackDelegate and pass it to the
Gecko listener. There is another JavaCallbackDelegate on the Java side
that redirects the callback to a particular thread. For example, if the
event was dispatched from the UI thread, we make sure the callback
happens on the UI thread as well.
Bug 1307820 - 11. Add BundleEventListener support for Gecko thread; r=snorp
Add support for BundleEventListener on the Gecko thread, so that we can
use it to replace any existing GeckoEventListener or NativeEventListener
implementations that require the listener be run synchronously on the
Gecko thread.
Bug 1307820 - 12. Add global EventDispatcher in AndroidBridge; r=snorp
Add an instance of EventDispatcher to AndroidBridge to act as a global
event dispatcher.
Bug 1307820 - 13. Add per-nsWindow EventDispatcher; r=snorp
Add an instance of EventDispatcher to each nsWindow through an
AndroidView object, which implements nsIAndroidView. The nsIAndroidView
is passed to the chrome script through the window argument when opening
the window.
Bug 1307820 - 14. Update auto-generated bindings; r=me
Bug 1307820 - 15. Update testEventDispatcher; r=snorp
Update testEventDispatcher to include new functionalities in
EventDisptcher.
* Add tests for dispatching events to UI/background thread through
nsIAndroidEventDispatcher::dispatch.
* Add tests for dispatching events to UI/background thread through
EventDispatcher.dispatch.
* Add tests for dispatching events to Gecko thread through
EventDispatcher.dispatch.
Each kind of test exercises both the global EventDispatcher through
EventDispatcher.getInstance() and the per-GeckoView EventDispatcher
through GeckoApp.getEventDispatcher().
2016-11-14 13:29:50 +00:00
|
|
|
const char EventCallback::name[] =
|
|
|
|
"org/mozilla/gecko/util/EventCallback";
|
|
|
|
|
|
|
|
constexpr char EventCallback::SendError_t::name[];
|
|
|
|
constexpr char EventCallback::SendError_t::signature[];
|
|
|
|
|
|
|
|
auto EventCallback::SendError(mozilla::jni::Object::Param a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<SendError_t>::Call(EventCallback::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char EventCallback::SendSuccess_t::name[];
|
|
|
|
constexpr char EventCallback::SendSuccess_t::signature[];
|
|
|
|
|
|
|
|
auto EventCallback::SendSuccess(mozilla::jni::Object::Param a0) const -> void
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<SendSuccess_t>::Call(EventCallback::mCtx, nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
const char GeckoBundle::name[] =
|
|
|
|
"org/mozilla/gecko/util/GeckoBundle";
|
|
|
|
|
|
|
|
constexpr char GeckoBundle::New_t::name[];
|
|
|
|
constexpr char GeckoBundle::New_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoBundle::New(mozilla::jni::ObjectArray::Param a0, mozilla::jni::ObjectArray::Param a1) -> GeckoBundle::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Constructor<New_t>::Call(GeckoBundle::Context(), nullptr, a0, a1);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoBundle::Box_t::name[];
|
|
|
|
constexpr char GeckoBundle::Box_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoBundle::Box(double a0) -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Box_t>::Call(GeckoBundle::Context(), nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoBundle::Box2_t::name[];
|
|
|
|
constexpr char GeckoBundle::Box2_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoBundle::Box(int32_t a0) -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Box2_t>::Call(GeckoBundle::Context(), nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoBundle::Box3_t::name[];
|
|
|
|
constexpr char GeckoBundle::Box3_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoBundle::Box(bool a0) -> mozilla::jni::Object::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Box3_t>::Call(GeckoBundle::Context(), nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoBundle::Keys_t::name[];
|
|
|
|
constexpr char GeckoBundle::Keys_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoBundle::Keys() const -> mozilla::jni::ObjectArray::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Keys_t>::Call(GeckoBundle::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoBundle::UnboxBoolean_t::name[];
|
|
|
|
constexpr char GeckoBundle::UnboxBoolean_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoBundle::UnboxBoolean(mozilla::jni::Object::Param a0) -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<UnboxBoolean_t>::Call(GeckoBundle::Context(), nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoBundle::UnboxDouble_t::name[];
|
|
|
|
constexpr char GeckoBundle::UnboxDouble_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoBundle::UnboxDouble(mozilla::jni::Object::Param a0) -> double
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<UnboxDouble_t>::Call(GeckoBundle::Context(), nullptr, a0);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoBundle::UnboxInteger_t::name[];
|
|
|
|
constexpr char GeckoBundle::UnboxInteger_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoBundle::UnboxInteger(mozilla::jni::Object::Param a0) -> int32_t
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<UnboxInteger_t>::Call(GeckoBundle::Context(), nullptr, a0);
|
2017-02-01 22:35:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoBundle::UnboxString_t::name[];
|
|
|
|
constexpr char GeckoBundle::UnboxString_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoBundle::UnboxString(mozilla::jni::Object::Param a0) -> mozilla::jni::String::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<UnboxString_t>::Call(GeckoBundle::Context(), nullptr, a0);
|
Bug 1307820 - Implement per-GeckoView messaging; r=snorp r=sebastian
Bug 1307820 - 1a. Move GeckoApp EventDispatcher to GeckoView; r=snorp
Make it a GeckoView-specific EventDispatcher instead of
GeckoApp-specific, so that GeckoView consumers can benefit from a
per-view EventDispatcher. In addition, a few events like Gecko:Ready are
moved back to the global EventDispatcher because that makes more sense.
Bug 1307820 - 1b. Don't use GeckoApp EventDispatcher during inflation; r=snorp
During layout inflation, we don't yet have GeckoView and therefore the
GeckoView EventDispatcher, so we should not register events until later,
typically during onAttachedToWindow.
Bug 1307820 - 2. Introduce GeckoBundle; r=snorp
The Android Bundle class has several disadvantages when used for holding
structured data from JS.
The most obvious one is the differentiation between int and double,
which doesn't exist in JS. So when a JS number is converted to either a
Bundle int or double, we run the risk of making a wrong conversion,
resulting in a type mismatch exception when Java uses the Bundle. This
extends to number arrays from JS.
There is one more gotcha when using arrays. When we receive an empty
array from JS, there is no way for us to determine the type of the
array, because even empty arrays in Java have types. We are forced to
pick an arbitrary type like boolean[], which can easily result in a type
mismatch exception when using the array on the Java side.
In addition, Bundle is fairly cumbersome, and we cannot access the inner
structures of Bundle from Java or JNI, making it harder to use.
With these factors in mind, this patch introduces GeckoBundle as a
better choice for Gecko/Java communication. It is almost fully
API-compatible with the Android Bundle; only the Bundle array methods
are different. It resolves the numbers problem by performing conversions
if necessary, and it is a lot more lightweight than Bundle.
Bug 1307820 - 3. Convert BundleEventListener to use GeckoBundle; r=snorp
Convert BundleEventListener from using Bundle to using GeckoBundle.
Because NativeJSContainer still only supports Bundle, we do an extra
conversion when sending Bundle messages, but eventually, as we eliminate
the use of NativeJSContainer, that will go away as well.
Bug 1307820 - 4. Introduce EventDispatcher interfaces; r=snorp
Introduce several new XPCOM interfaces for the new EventDispatcher API,
these interfaces are mostly mirrored after their Java counterparts.
* nsIAndroidEventDispatcher is the main interface for
registering/unregistering listeners and for dispatching events from
JS/C++.
* nsIAndroidEventListener is the interface that JS/C++ clients implement
to receive events.
* nsIAndroidEventCallback is the interface that JS/C++ clients implement
to receive responses from dispatched events.
* nsIAndroidView is the new interface that every window receives
that is specific to the window/GeckoView pair. It is passed to chrome
scripts through window arguments.
Bug 1307820 - 5. Remove EventDispatcher references from gfx code; r=snorp
EventDispatcher was used for JPZC, but NPZC doesn't use it anymore.
Bug 1307820 - 6. General JNI template improvements; r=snorp
This patch includes several improvements to the JNI templates.
* Context::RawClassRef is removed to avoid misuse, as Context::ClassRef
should be used instead.
* Fix a compile error, in certain usages, in the DisposeNative overload
in NativeStub.
* Add Ref::IsInstanceOf and Context::IsInstanceOf to mirror the
JNIEnv::IsInstanceOf call.
* Add Ref::operator* and Context::operator* to provide an easy way to
get a Context object.
* Add built-in declarations for boxed Java objects (e.g. Boolean,
Integer, etc).
* Add ObjectArray::New for creating new object arrays of specific types.
* Add lvalue qualifiers to LocalRef::operator= and GlobalRef::operator=,
to prevent accidentally assigning to rvalues. (e.g.
`objectArray->GetElement(0) = newObject;`, which won't work as intended.)
Bug 1307820 - 7. Support ownership through RefPtr for native JNI objects; r=snorp
In addition to direct ownership and weak pointer ownership, add a third
ownership model where a native JNI object owns a RefPtr that holds a
strong reference to the actual C++ object. This ownership model works
well with ref-counted objects such as XPCOM objects, and is activated
through the presence of public members AddRef() and Release() in the C++
object.
Bug 1307820 - 8. Implement Gecko-side EventDispatcher; r=snorp
Add a skeletal implementation of EventDispatcher on the Gecko side.
Each widget::EventDispatcher will be associated with a Java
EventDispatcher, so events can be dispatched from Gecko to Java and vice
versa. AndroidBridge and nsWindow will implement
nsIAndroidEventDispatcher through widget::EventDispatcher.
Other patches will add more complete functionality such as
GeckoBundle/JSObject translation and support for callbacks.
Bug 1307820 - 9. Implement dispatching between Gecko/Java; r=snorp
Implement translation between JSObject and GeckoBundle, and use that for
dispatching events from Gecko to Java and vice versa.
Bug 1307820 - 10. Implement callback support; r=snorp
Implement callback support for both Gecko-to-Java events and
Java-to-Gecko events.
For Gecko-to-Java, we translate nsIAndroidEventCallback to a Java
EventCallback through NativeCallbackDelegate and pass it to the Java
listener.
For Java-to-Gecko, we translate EventCallback to a
nsIAndroidEventCallback through JavaCallbackDelegate and pass it to the
Gecko listener. There is another JavaCallbackDelegate on the Java side
that redirects the callback to a particular thread. For example, if the
event was dispatched from the UI thread, we make sure the callback
happens on the UI thread as well.
Bug 1307820 - 11. Add BundleEventListener support for Gecko thread; r=snorp
Add support for BundleEventListener on the Gecko thread, so that we can
use it to replace any existing GeckoEventListener or NativeEventListener
implementations that require the listener be run synchronously on the
Gecko thread.
Bug 1307820 - 12. Add global EventDispatcher in AndroidBridge; r=snorp
Add an instance of EventDispatcher to AndroidBridge to act as a global
event dispatcher.
Bug 1307820 - 13. Add per-nsWindow EventDispatcher; r=snorp
Add an instance of EventDispatcher to each nsWindow through an
AndroidView object, which implements nsIAndroidView. The nsIAndroidView
is passed to the chrome script through the window argument when opening
the window.
Bug 1307820 - 14. Update auto-generated bindings; r=me
Bug 1307820 - 15. Update testEventDispatcher; r=snorp
Update testEventDispatcher to include new functionalities in
EventDisptcher.
* Add tests for dispatching events to UI/background thread through
nsIAndroidEventDispatcher::dispatch.
* Add tests for dispatching events to UI/background thread through
EventDispatcher.dispatch.
* Add tests for dispatching events to Gecko thread through
EventDispatcher.dispatch.
Each kind of test exercises both the global EventDispatcher through
EventDispatcher.getInstance() and the per-GeckoView EventDispatcher
through GeckoApp.getEventDispatcher().
2016-11-14 13:29:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoBundle::Values_t::name[];
|
|
|
|
constexpr char GeckoBundle::Values_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoBundle::Values() const -> mozilla::jni::ObjectArray::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<Values_t>::Call(GeckoBundle::mCtx, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
constexpr char GeckoBundle::EMPTY_BOOLEAN_ARRAY_t::name[];
|
|
|
|
constexpr char GeckoBundle::EMPTY_BOOLEAN_ARRAY_t::signature[];
|
|
|
|
|
|
|
|
auto GeckoBundle::EMPTY_BOOLEAN_ARRAY() -> mozilla::jni::BooleanArray::LocalRef
|
|
|
|
{
|
|
|
|
return mozilla::jni::Field<EMPTY_BOOLEAN_ARRAY_t>::Get(GeckoBundle::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
2016-06-27 18:49:55 +00:00
|
|
|
const char HardwareCodecCapabilityUtils::name[] =
|
2016-02-09 22:27:29 +00:00
|
|
|
"org/mozilla/gecko/util/HardwareCodecCapabilityUtils";
|
2016-01-22 20:33:25 +00:00
|
|
|
|
2016-10-26 08:57:55 +00:00
|
|
|
constexpr char HardwareCodecCapabilityUtils::HasHWVP9_t::name[];
|
|
|
|
constexpr char HardwareCodecCapabilityUtils::HasHWVP9_t::signature[];
|
|
|
|
|
|
|
|
auto HardwareCodecCapabilityUtils::HasHWVP9() -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<HasHWVP9_t>::Call(HardwareCodecCapabilityUtils::Context(), nullptr);
|
|
|
|
}
|
|
|
|
|
2016-11-23 06:11:22 +00:00
|
|
|
constexpr char HardwareCodecCapabilityUtils::CheckSupportsAdaptivePlayback_t::name[];
|
|
|
|
constexpr char HardwareCodecCapabilityUtils::CheckSupportsAdaptivePlayback_t::signature[];
|
|
|
|
|
|
|
|
auto HardwareCodecCapabilityUtils::CheckSupportsAdaptivePlayback(mozilla::jni::Object::Param a0, mozilla::jni::String::Param a1) -> bool
|
|
|
|
{
|
|
|
|
return mozilla::jni::Method<CheckSupportsAdaptivePlayback_t>::Call(HardwareCodecCapabilityUtils::Context(), nullptr, a0, a1);
|
|
|
|
}
|
|
|
|
|
2016-01-22 20:33:25 +00:00
|
|
|
constexpr char HardwareCodecCapabilityUtils::FindDecoderCodecInfoForMimeType_t::name[];
|
|
|
|
constexpr char HardwareCodecCapabilityUtils::FindDecoderCodecInfoForMimeType_t::signature[];
|
|
|
|
|
|
|
|
auto HardwareCodecCapabilityUtils::FindDecoderCodecInfoForMimeType(mozilla::jni::String::Param a0) -> bool
|
|
|
|
{
|
2016-02-09 22:27:29 +00:00
|
|
|
return mozilla::jni::Method<FindDecoderCodecInfoForMimeType_t>::Call(HardwareCodecCapabilityUtils::Context(), nullptr, a0);
|
2016-01-22 20:33:25 +00:00
|
|
|
}
|
|
|
|
|
2016-08-05 17:23:44 +00:00
|
|
|
} /* java */
|
2013-11-12 18:41:00 +00:00
|
|
|
} /* mozilla */
|