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_GeckoServiceGpuProcessWrappers_h
#define mozilla_java_GeckoServiceGpuProcessWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class GeckoServiceGpuProcess : public mozilla::jni::ObjectBase<GeckoServiceGpuProcess>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/process/GeckoServiceGpuProcess";
explicit GeckoServiceGpuProcess(const Context& ctx) : ObjectBase<GeckoServiceGpuProcess>(ctx) {}
class RemoteCompositorSurfaceManager;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class GeckoServiceGpuProcess::RemoteCompositorSurfaceManager : public mozilla::jni::ObjectBase<RemoteCompositorSurfaceManager>
{
public:
static constexpr char name[] =
"org/mozilla/gecko/process/GeckoServiceGpuProcess$RemoteCompositorSurfaceManager";
explicit RemoteCompositorSurfaceManager(const Context& ctx) : ObjectBase<RemoteCompositorSurfaceManager>(ctx) {}
struct GetCompositorSurface_t {
typedef RemoteCompositorSurfaceManager Owner;
typedef mozilla::jni::Object::LocalRef ReturnType;
typedef mozilla::jni::Object::Param SetterType;
typedef mozilla::jni::Args<
int32_t> Args;
static constexpr char name[] = "getCompositorSurface";
static constexpr char signature[] =
"(I)Landroid/view/Surface;";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Surface getCompositorSurface(int)
auto GetCompositorSurface(int32_t) const -> mozilla::jni::Object::LocalRef;
struct GetInstance_t {
typedef RemoteCompositorSurfaceManager Owner;
typedef RemoteCompositorSurfaceManager::LocalRef ReturnType;
typedef RemoteCompositorSurfaceManager::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "getInstance";
static constexpr char signature[] =
"()Lorg/mozilla/gecko/process/GeckoServiceGpuProcess$RemoteCompositorSurfaceManager;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static GeckoServiceGpuProcess.RemoteCompositorSurfaceManager getInstance()
static auto GetInstance() -> RemoteCompositorSurfaceManager::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_GeckoServiceGpuProcessWrappers_h