Bug 1288834 - Update auto-generated bindings; r=me

This commit is contained in:
Jim Chen 2016-08-04 09:15:17 -04:00
Родитель 4ea7bbbc21
Коммит a0e70ac337
3 изменённых файлов: 59 добавлений и 6 удалений

Просмотреть файл

@ -345,6 +345,21 @@ const JNINativeMethod ThumbnailHelper::Natives<Impl>::methods[] = {
::template Wrap<&Impl::RequestThumbnail>) ::template Wrap<&Impl::RequestThumbnail>)
}; };
template<class Impl>
class ZoomedView::Natives : public mozilla::jni::NativeImpl<ZoomedView, Impl>
{
public:
static const JNINativeMethod methods[1];
};
template<class Impl>
const JNINativeMethod ZoomedView::Natives<Impl>::methods[] = {
mozilla::jni::MakeNativeMethod<ZoomedView::RequestZoomedViewData_t>(
mozilla::jni::NativeStub<ZoomedView::RequestZoomedViewData_t, Impl>
::template Wrap<&Impl::RequestZoomedViewData>)
};
template<class Impl> template<class Impl>
class LayerView::Compositor::Natives : public mozilla::jni::NativeImpl<Compositor, Impl> class LayerView::Compositor::Natives : public mozilla::jni::NativeImpl<Compositor, Impl>
{ {

Просмотреть файл

@ -1189,6 +1189,12 @@ auto ThumbnailHelper::SendThumbnail(mozilla::jni::ByteBuffer::Param a0, int32_t
constexpr char ThumbnailHelper::RequestThumbnail_t::name[]; constexpr char ThumbnailHelper::RequestThumbnail_t::name[];
constexpr char ThumbnailHelper::RequestThumbnail_t::signature[]; constexpr char ThumbnailHelper::RequestThumbnail_t::signature[];
const char ZoomedView::name[] =
"org/mozilla/gecko/ZoomedView";
constexpr char ZoomedView::RequestZoomedViewData_t::name[];
constexpr char ZoomedView::RequestZoomedViewData_t::signature[];
const char Distribution::name[] = const char Distribution::name[] =
"org/mozilla/gecko/distribution/Distribution"; "org/mozilla/gecko/distribution/Distribution";
@ -1394,12 +1400,12 @@ auto LayerRenderer::Frame::EndDrawing() const -> void
const char LayerView::name[] = const char LayerView::name[] =
"org/mozilla/gecko/gfx/LayerView"; "org/mozilla/gecko/gfx/LayerView";
constexpr char LayerView::updateZoomedView_t::name[]; constexpr char LayerView::UpdateZoomedView_t::name[];
constexpr char LayerView::updateZoomedView_t::signature[]; constexpr char LayerView::UpdateZoomedView_t::signature[];
auto LayerView::updateZoomedView(mozilla::jni::ByteBuffer::Param a0) -> void auto LayerView::UpdateZoomedView(mozilla::jni::ByteBuffer::Param a0) -> void
{ {
return mozilla::jni::Method<updateZoomedView_t>::Call(LayerView::Context(), nullptr, a0); return mozilla::jni::Method<UpdateZoomedView_t>::Call(LayerView::Context(), nullptr, a0);
} }
const char LayerView::Compositor::name[] = const char LayerView::Compositor::name[] =

Просмотреть файл

@ -3007,6 +3007,38 @@ public:
template<class Impl> class Natives; template<class Impl> class Natives;
}; };
class ZoomedView : public mozilla::jni::ObjectBase<ZoomedView, jobject>
{
public:
static const char name[];
explicit ZoomedView(const Context& ctx) : ObjectBase<ZoomedView, jobject>(ctx) {}
struct RequestZoomedViewData_t {
typedef ZoomedView Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::ByteBuffer::Param,
int32_t,
int32_t,
int32_t,
int32_t,
int32_t,
float> Args;
static constexpr char name[] = "requestZoomedViewData";
static constexpr char signature[] =
"(Ljava/nio/ByteBuffer;IIIIIF)V";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
};
static const bool isMultithreaded = false;
template<class Impl> class Natives;
};
class Distribution : public mozilla::jni::ObjectBase<Distribution, jobject> class Distribution : public mozilla::jni::ObjectBase<Distribution, jobject>
{ {
public: public:
@ -3504,7 +3536,7 @@ public:
class Compositor; class Compositor;
struct updateZoomedView_t { struct UpdateZoomedView_t {
typedef LayerView Owner; typedef LayerView Owner;
typedef void ReturnType; typedef void ReturnType;
typedef void SetterType; typedef void SetterType;
@ -3518,7 +3550,7 @@ public:
mozilla::jni::ExceptionMode::ABORT; mozilla::jni::ExceptionMode::ABORT;
}; };
static auto updateZoomedView(mozilla::jni::ByteBuffer::Param) -> void; static auto UpdateZoomedView(mozilla::jni::ByteBuffer::Param) -> void;
static const bool isMultithreaded = true; static const bool isMultithreaded = true;