Copy as Markdown
Other Tools
// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef mozilla_java_GeckoSessionNatives_h
#define mozilla_java_GeckoSessionNatives_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/GeckoSessionWrappers.h"
#include "mozilla/jni/Natives.h"
#endif
namespace mozilla {
namespace java {
template<class Impl>
class GeckoSession::Compositor::Natives : public mozilla::jni::NativeImpl<Compositor, Impl>
{
public:
static const JNINativeMethod methods[16];
};
template<class Impl>
MOZ_GLOBINIT const JNINativeMethod GeckoSession::Compositor::Natives<Impl>::methods[] = {
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::AttachNPZC_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::AttachNPZC_t, Impl>
::template Wrap<&Impl::AttachNPZC>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::DisposeNative_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::DisposeNative_t, Impl>
::template Wrap<&Impl::DisposeNative>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::EnableLayerUpdateNotifications_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::EnableLayerUpdateNotifications_t, Impl>
::template Wrap<&Impl::EnableLayerUpdateNotifications>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::GetMagnifiableSurface_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::GetMagnifiableSurface_t, Impl>
::template Wrap<&Impl::GetMagnifiableSurface>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::NotifyMemoryPressure_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::NotifyMemoryPressure_t, Impl>
::template Wrap<&Impl::NotifyMemoryPressure>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::OnBoundsChanged_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::OnBoundsChanged_t, Impl>
::template Wrap<&Impl::OnBoundsChanged>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::OnKeyboardHeightChanged_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::OnKeyboardHeightChanged_t, Impl>
::template Wrap<&Impl::OnKeyboardHeightChanged>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::OnSafeAreaInsetsChanged_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::OnSafeAreaInsetsChanged_t, Impl>
::template Wrap<&Impl::OnSafeAreaInsetsChanged>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::RequestScreenPixels_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::RequestScreenPixels_t, Impl>
::template Wrap<&Impl::RequestScreenPixels>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::SendToolbarAnimatorMessage_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::SendToolbarAnimatorMessage_t, Impl>
::template Wrap<&Impl::SendToolbarAnimatorMessage>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::SetDefaultClearColor_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::SetDefaultClearColor_t, Impl>
::template Wrap<&Impl::SetDefaultClearColor>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::SetDynamicToolbarMaxHeight_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::SetDynamicToolbarMaxHeight_t, Impl>
::template Wrap<&Impl::SetDynamicToolbarMaxHeight>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::SetFixedBottomOffset_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::SetFixedBottomOffset_t, Impl>
::template Wrap<&Impl::SetFixedBottomOffset>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::SetMaxToolbarHeight_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::SetMaxToolbarHeight_t, Impl>
::template Wrap<&Impl::SetMaxToolbarHeight>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::SyncPauseCompositor_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::SyncPauseCompositor_t, Impl>
::template Wrap<&Impl::SyncPauseCompositor>),
mozilla::jni::MakeNativeMethod<GeckoSession::Compositor::SyncResumeResizeCompositor_t>(
mozilla::jni::NativeStub<GeckoSession::Compositor::SyncResumeResizeCompositor_t, Impl>
::template Wrap<&Impl::SyncResumeResizeCompositor>)
};
template<class Impl>
class GeckoSession::Window::Natives : public mozilla::jni::NativeImpl<Window, Impl>
{
public:
static const JNINativeMethod methods[8];
};
template<class Impl>
MOZ_GLOBINIT const JNINativeMethod GeckoSession::Window::Natives<Impl>::methods[] = {
mozilla::jni::MakeNativeMethod<GeckoSession::Window::AttachAccessibility_t>(
mozilla::jni::NativeStub<GeckoSession::Window::AttachAccessibility_t, Impl>
::template Wrap<&Impl::AttachAccessibility>),
mozilla::jni::MakeNativeMethod<GeckoSession::Window::AttachEditable_t>(
mozilla::jni::NativeStub<GeckoSession::Window::AttachEditable_t, Impl>
::template Wrap<&Impl::AttachEditable>),
mozilla::jni::MakeNativeMethod<GeckoSession::Window::Close_t>(
mozilla::jni::NativeStub<GeckoSession::Window::Close_t, Impl>
::template Wrap<&Impl::Close>),
mozilla::jni::MakeNativeMethod<GeckoSession::Window::DisposeNative_t>(
mozilla::jni::NativeStub<GeckoSession::Window::DisposeNative_t, Impl>
::template Wrap<&Impl::DisposeNative>),
mozilla::jni::MakeNativeMethod<GeckoSession::Window::Transfer_t>(
mozilla::jni::NativeStub<GeckoSession::Window::Transfer_t, Impl>
::template Wrap<&Impl::Transfer>),
mozilla::jni::MakeNativeMethod<GeckoSession::Window::Open_t>(
mozilla::jni::NativeStub<GeckoSession::Window::Open_t, Impl>
::template Wrap<&Impl::Open>),
mozilla::jni::MakeNativeMethod<GeckoSession::Window::PrintToPdf_t>(
mozilla::jni::NativeStub<GeckoSession::Window::PrintToPdf_t, Impl>
::template Wrap<&Impl::PrintToPdf>),
mozilla::jni::MakeNativeMethod<GeckoSession::Window::PrintToPdf2_t>(
mozilla::jni::NativeStub<GeckoSession::Window::PrintToPdf2_t, Impl>
::template Wrap<&Impl::PrintToPdf>)
};
} /* java */
} /* mozilla */
#endif // mozilla_java_GeckoSessionNatives_h