Source code

Generated file

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_GeckoViewScrollCaptureCallbackWrappers_h
#define mozilla_java_GeckoViewScrollCaptureCallbackWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class GeckoViewScrollCaptureCallback : public mozilla::jni::ObjectBase<GeckoViewScrollCaptureCallback>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/GeckoViewScrollCaptureCallback";
explicit GeckoViewScrollCaptureCallback(const Context& ctx) : ObjectBase<GeckoViewScrollCaptureCallback>(ctx) {}
static constexpr int32_t OUTCOME_CANCELED = 3;
static constexpr int32_t OUTCOME_COMPLETE = 0;
static constexpr int32_t OUTCOME_FAILED = 2;
static constexpr int32_t OUTCOME_PARTIAL = 1;
static constexpr int32_t TILE_RESULT_CANCELED_BEFORE = 1;
static constexpr int32_t TILE_RESULT_CANCELED_INFLIGHT = 2;
static constexpr int32_t TILE_RESULT_EMPTY_RECT = 6;
static constexpr int32_t TILE_RESULT_INVALID_SURFACE = 4;
static constexpr int32_t TILE_RESULT_NO_METRICS = 3;
static constexpr int32_t TILE_RESULT_OUTSIDE_CONTENT = 5;
static constexpr int32_t TILE_RESULT_PAINT_ERROR = 7;
static constexpr int32_t TILE_RESULT_SUCCESS = 0;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_GeckoViewScrollCaptureCallbackWrappers_h