michael@0: // GENERATED CODE michael@0: // Generated by the Java program at /build/annotationProcessors at compile time from michael@0: // annotations on Java methods. To update, change the annotations on the corresponding Java michael@0: // methods and rerun the build. Manually updating this file will cause your build to fail. michael@0: michael@0: #ifndef GeneratedJNIWrappers_h__ michael@0: #define GeneratedJNIWrappers_h__ michael@0: michael@0: #include "nsXPCOMStrings.h" michael@0: #include "AndroidJavaWrappers.h" michael@0: michael@0: namespace mozilla { michael@0: namespace widget { michael@0: namespace android { michael@0: void InitStubs(JNIEnv *jEnv); michael@0: michael@0: class GeckoAppShell : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static GeckoAppShell* Wrap(jobject obj); michael@0: GeckoAppShell(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: static void AcknowledgeEvent(); michael@0: static void AddPluginViewWrapper(jobject a0, jfloat a1, jfloat a2, jfloat a3, jfloat a4, bool a5); michael@0: static void AlertsProgressListener_OnProgress(const nsAString& a0, int64_t a1, int64_t a2, const nsAString& a3); michael@0: static void CancelVibrate(); michael@0: static void CheckURIVisited(const nsAString& a0); michael@0: static void ClearMessageList(int32_t a0); michael@0: static void CloseCamera(); michael@0: static void CloseNotification(const nsAString& a0); michael@0: static void CreateMessageListWrapper(int64_t a0, int64_t a1, jobjectArray a2, int32_t a3, int32_t a4, bool a5, int32_t a6); michael@0: static void CreateShortcut(const nsAString& a0, const nsAString& a1, const nsAString& a2, const nsAString& a3); michael@0: static void DeleteMessageWrapper(int32_t a0, int32_t a1); michael@0: static void DisableBatteryNotifications(); michael@0: static void DisableNetworkNotifications(); michael@0: static void DisableScreenOrientationNotifications(); michael@0: static void DisableSensor(int32_t a0); michael@0: static void EnableBatteryNotifications(); michael@0: static void EnableLocation(bool a0); michael@0: static void EnableLocationHighAccuracy(bool a0); michael@0: static void EnableNetworkNotifications(); michael@0: static void EnableScreenOrientationNotifications(); michael@0: static void EnableSensor(int32_t a0); michael@0: static jobject GetContext(); michael@0: static jdoubleArray GetCurrentBatteryInformationWrapper(); michael@0: static jdoubleArray GetCurrentNetworkInformationWrapper(); michael@0: static jfloat GetDensity(); michael@0: static int32_t GetDpiWrapper(); michael@0: static jstring GetExtensionFromMimeTypeWrapper(const nsAString& a0); michael@0: static jobjectArray GetHandlersForMimeTypeWrapper(const nsAString& a0, const nsAString& a1); michael@0: static jobjectArray GetHandlersForURLWrapper(const nsAString& a0, const nsAString& a1); michael@0: static jbyteArray GetIconForExtensionWrapper(const nsAString& a0, int32_t a1); michael@0: static void GetMessageWrapper(int32_t a0, int32_t a1); michael@0: static jstring GetMimeTypeFromExtensionsWrapper(const nsAString& a0); michael@0: static void GetNextMessageInListWrapper(int32_t a0, int32_t a1); michael@0: static jstring GetProxyForURIWrapper(const nsAString& a0, const nsAString& a1, const nsAString& a2, int32_t a3); michael@0: static int32_t GetScreenDepthWrapper(); michael@0: static int16_t GetScreenOrientationWrapper(); michael@0: static bool GetShowPasswordSetting(); michael@0: static jintArray GetSystemColoursWrapper(); michael@0: static void HandleGeckoMessageWrapper(jobject a0); michael@0: static void HandleUncaughtException(jobject a0, jthrowable a1); michael@0: static void HideProgressDialog(); michael@0: static jintArray InitCameraWrapper(const nsAString& a0, int32_t a1, int32_t a2, int32_t a3); michael@0: static bool IsNetworkLinkKnown(); michael@0: static bool IsNetworkLinkUp(); michael@0: static bool IsTablet(); michael@0: static void KillAnyZombies(); michael@0: static jclass LoadPluginClass(const nsAString& a0, const nsAString& a1); michael@0: static void LockScreenOrientation(int32_t a0); michael@0: static void MarkURIVisited(const nsAString& a0); michael@0: static void MoveTaskToBack(); michael@0: static int32_t NetworkLinkType(); michael@0: static void NotifyDefaultPrevented(bool a0); michael@0: static void NotifyIME(int32_t a0); michael@0: static void NotifyIMEChange(const nsAString& a0, int32_t a1, int32_t a2, int32_t a3); michael@0: static void NotifyIMEContext(int32_t a0, const nsAString& a1, const nsAString& a2, const nsAString& a3); michael@0: static void NotifyWakeLockChanged(const nsAString& a0, const nsAString& a1); michael@0: static void NotifyXreExit(); michael@0: static bool OpenUriExternal(const nsAString& a0, const nsAString& a1, const nsAString& a2 = EmptyString(), const nsAString& a3 = EmptyString(), const nsAString& a4 = EmptyString(), const nsAString& a5 = EmptyString()); michael@0: static void PerformHapticFeedback(bool a0); michael@0: static bool PumpMessageLoop(); michael@0: static void RegisterSurfaceTextureFrameListener(jobject a0, int32_t a1); michael@0: static void RemovePluginView(jobject a0, bool a1); michael@0: static void ScanMedia(const nsAString& a0, const nsAString& a1); michael@0: static void ScheduleRestart(); michael@0: static void SendMessageWrapper(const nsAString& a0, const nsAString& a1, int32_t a2); michael@0: static void SetFullScreen(bool a0); michael@0: static void SetKeepScreenOn(bool a0); michael@0: static void SetURITitle(const nsAString& a0, const nsAString& a1); michael@0: static void ShowAlertNotificationWrapper(const nsAString& a0, const nsAString& a1, const nsAString& a2, const nsAString& a3, const nsAString& a4); michael@0: static void ShowInputMethodPicker(); michael@0: static bool UnlockProfile(); michael@0: static void UnlockScreenOrientation(); michael@0: static void UnregisterSurfaceTextureFrameListener(jobject a0); michael@0: static void Vibrate1(int64_t a0); michael@0: static void VibrateA(jlongArray a0, int32_t a1); michael@0: GeckoAppShell() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mGeckoAppShellClass; michael@0: static jmethodID jAcknowledgeEvent; michael@0: static jmethodID jAddPluginViewWrapper; michael@0: static jmethodID jAlertsProgressListener_OnProgress; michael@0: static jmethodID jCancelVibrate; michael@0: static jmethodID jCheckURIVisited; michael@0: static jmethodID jClearMessageList; michael@0: static jmethodID jCloseCamera; michael@0: static jmethodID jCloseNotification; michael@0: static jmethodID jCreateMessageListWrapper; michael@0: static jmethodID jCreateShortcut; michael@0: static jmethodID jDeleteMessageWrapper; michael@0: static jmethodID jDisableBatteryNotifications; michael@0: static jmethodID jDisableNetworkNotifications; michael@0: static jmethodID jDisableScreenOrientationNotifications; michael@0: static jmethodID jDisableSensor; michael@0: static jmethodID jEnableBatteryNotifications; michael@0: static jmethodID jEnableLocation; michael@0: static jmethodID jEnableLocationHighAccuracy; michael@0: static jmethodID jEnableNetworkNotifications; michael@0: static jmethodID jEnableScreenOrientationNotifications; michael@0: static jmethodID jEnableSensor; michael@0: static jmethodID jGetContext; michael@0: static jmethodID jGetCurrentBatteryInformationWrapper; michael@0: static jmethodID jGetCurrentNetworkInformationWrapper; michael@0: static jmethodID jGetDensity; michael@0: static jmethodID jGetDpiWrapper; michael@0: static jmethodID jGetExtensionFromMimeTypeWrapper; michael@0: static jmethodID jGetHandlersForMimeTypeWrapper; michael@0: static jmethodID jGetHandlersForURLWrapper; michael@0: static jmethodID jGetIconForExtensionWrapper; michael@0: static jmethodID jGetMessageWrapper; michael@0: static jmethodID jGetMimeTypeFromExtensionsWrapper; michael@0: static jmethodID jGetNextMessageInListWrapper; michael@0: static jmethodID jGetProxyForURIWrapper; michael@0: static jmethodID jGetScreenDepthWrapper; michael@0: static jmethodID jGetScreenOrientationWrapper; michael@0: static jmethodID jGetShowPasswordSetting; michael@0: static jmethodID jGetSystemColoursWrapper; michael@0: static jmethodID jHandleGeckoMessageWrapper; michael@0: static jmethodID jHandleUncaughtException; michael@0: static jmethodID jHideProgressDialog; michael@0: static jmethodID jInitCameraWrapper; michael@0: static jmethodID jIsNetworkLinkKnown; michael@0: static jmethodID jIsNetworkLinkUp; michael@0: static jmethodID jIsTablet; michael@0: static jmethodID jKillAnyZombies; michael@0: static jmethodID jLoadPluginClass; michael@0: static jmethodID jLockScreenOrientation; michael@0: static jmethodID jMarkURIVisited; michael@0: static jmethodID jMoveTaskToBack; michael@0: static jmethodID jNetworkLinkType; michael@0: static jmethodID jNotifyDefaultPrevented; michael@0: static jmethodID jNotifyIME; michael@0: static jmethodID jNotifyIMEChange; michael@0: static jmethodID jNotifyIMEContext; michael@0: static jmethodID jNotifyWakeLockChanged; michael@0: static jmethodID jNotifyXreExit; michael@0: static jmethodID jOpenUriExternal; michael@0: static jmethodID jPerformHapticFeedback; michael@0: static jmethodID jPumpMessageLoop; michael@0: static jmethodID jRegisterSurfaceTextureFrameListener; michael@0: static jmethodID jRemovePluginView; michael@0: static jmethodID jScanMedia; michael@0: static jmethodID jScheduleRestart; michael@0: static jmethodID jSendMessageWrapper; michael@0: static jmethodID jSetFullScreen; michael@0: static jmethodID jSetKeepScreenOn; michael@0: static jmethodID jSetURITitle; michael@0: static jmethodID jShowAlertNotificationWrapper; michael@0: static jmethodID jShowInputMethodPicker; michael@0: static jmethodID jUnlockProfile; michael@0: static jmethodID jUnlockScreenOrientation; michael@0: static jmethodID jUnregisterSurfaceTextureFrameListener; michael@0: static jmethodID jVibrate1; michael@0: static jmethodID jVibrateA; michael@0: }; michael@0: michael@0: class JavaDomKeyLocation : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static JavaDomKeyLocation* Wrap(jobject obj); michael@0: JavaDomKeyLocation(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: static jobject valueOf(const nsAString& a0); michael@0: static jobjectArray values(); michael@0: static jobject getDOM_KEY_LOCATION_JOYSTICK(); michael@0: static jobject getDOM_KEY_LOCATION_LEFT(); michael@0: static jobject getDOM_KEY_LOCATION_MOBILE(); michael@0: static jobject getDOM_KEY_LOCATION_NUMPAD(); michael@0: static jobject getDOM_KEY_LOCATION_RIGHT(); michael@0: static jobject getDOM_KEY_LOCATION_STANDARD(); michael@0: int32_t getvalue(); michael@0: JavaDomKeyLocation() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mDomKeyLocationClass; michael@0: static jmethodID jvalueOf; michael@0: static jmethodID jvalues; michael@0: static jfieldID jDOM_KEY_LOCATION_JOYSTICK; michael@0: static jfieldID jDOM_KEY_LOCATION_LEFT; michael@0: static jfieldID jDOM_KEY_LOCATION_MOBILE; michael@0: static jfieldID jDOM_KEY_LOCATION_NUMPAD; michael@0: static jfieldID jDOM_KEY_LOCATION_RIGHT; michael@0: static jfieldID jDOM_KEY_LOCATION_STANDARD; michael@0: static jfieldID jvalue; michael@0: }; michael@0: michael@0: class GeckoJavaSampler : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static GeckoJavaSampler* Wrap(jobject obj); michael@0: GeckoJavaSampler(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: static jstring GetFrameNameJavaProfilingWrapper(int32_t a0, int32_t a1, int32_t a2); michael@0: static jdouble GetSampleTimeJavaProfiling(int32_t a0, int32_t a1); michael@0: static jstring GetThreadNameJavaProfilingWrapper(int32_t a0); michael@0: static void PauseJavaProfiling(); michael@0: static void StartJavaProfiling(int32_t a0, int32_t a1); michael@0: static void StopJavaProfiling(); michael@0: static void UnpauseJavaProfiling(); michael@0: GeckoJavaSampler() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mGeckoJavaSamplerClass; michael@0: static jmethodID jGetFrameNameJavaProfilingWrapper; michael@0: static jmethodID jGetSampleTimeJavaProfiling; michael@0: static jmethodID jGetThreadNameJavaProfilingWrapper; michael@0: static jmethodID jPauseJavaProfiling; michael@0: static jmethodID jStartJavaProfiling; michael@0: static jmethodID jStopJavaProfiling; michael@0: static jmethodID jUnpauseJavaProfiling; michael@0: }; michael@0: michael@0: class SurfaceBits : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static SurfaceBits* Wrap(jobject obj); michael@0: SurfaceBits(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: SurfaceBits(); michael@0: jobject getbuffer(); michael@0: void setbuffer(jobject a0); michael@0: int32_t getformat(); michael@0: void setformat(int32_t a0); michael@0: int32_t getheight(); michael@0: void setheight(int32_t a0); michael@0: int32_t getwidth(); michael@0: void setwidth(int32_t a0); michael@0: protected: michael@0: static jclass mSurfaceBitsClass; michael@0: static jmethodID jSurfaceBits; michael@0: static jfieldID jbuffer; michael@0: static jfieldID jformat; michael@0: static jfieldID jheight; michael@0: static jfieldID jwidth; michael@0: }; michael@0: michael@0: class ThumbnailHelper : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static ThumbnailHelper* Wrap(jobject obj); michael@0: ThumbnailHelper(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: static void SendThumbnail(jobject a0, int32_t a1, bool a2); michael@0: ThumbnailHelper() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mThumbnailHelperClass; michael@0: static jmethodID jSendThumbnail; michael@0: }; michael@0: michael@0: class DisplayPortMetrics : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static DisplayPortMetrics* Wrap(jobject obj); michael@0: DisplayPortMetrics(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: DisplayPortMetrics(jfloat a0, jfloat a1, jfloat a2, jfloat a3, jfloat a4); michael@0: jobject getMPosition(); michael@0: jfloat getResolution(); michael@0: DisplayPortMetrics() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mDisplayPortMetricsClass; michael@0: static jmethodID jDisplayPortMetrics; michael@0: static jfieldID jMPosition; michael@0: static jfieldID jResolution; michael@0: }; michael@0: michael@0: class GLController : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static GLController* Wrap(jobject obj); michael@0: GLController(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: jobject CreateEGLSurfaceForCompositorWrapper(); michael@0: GLController() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mGLControllerClass; michael@0: static jmethodID jCreateEGLSurfaceForCompositorWrapper; michael@0: }; michael@0: michael@0: class GeckoLayerClient : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static GeckoLayerClient* Wrap(jobject obj); michael@0: GeckoLayerClient(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: void ActivateProgram(); michael@0: void ContentDocumentChanged(); michael@0: jobject CreateFrame(); michael@0: void DeactivateProgram(); michael@0: jobject GetDisplayPort(bool a0, bool a1, int32_t a2, jobject a3); michael@0: bool IsContentDocumentDisplayed(); michael@0: jobject ProgressiveUpdateCallback(bool a0, jfloat a1, jfloat a2, jfloat a3, jfloat a4, jfloat a5, bool a6); michael@0: void SetFirstPaintViewport(jfloat a0, jfloat a1, jfloat a2, jfloat a3, jfloat a4, jfloat a5, jfloat a6); michael@0: void SetPageRect(jfloat a0, jfloat a1, jfloat a2, jfloat a3); michael@0: jobject SyncFrameMetrics(jfloat a0, jfloat a1, jfloat a2, jfloat a3, jfloat a4, jfloat a5, jfloat a6, bool a7, int32_t a8, int32_t a9, int32_t a10, int32_t a11, jfloat a12, bool a13); michael@0: jobject SyncViewportInfo(int32_t a0, int32_t a1, int32_t a2, int32_t a3, jfloat a4, bool a5); michael@0: GeckoLayerClient() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mGeckoLayerClientClass; michael@0: static jmethodID jActivateProgram; michael@0: static jmethodID jContentDocumentChanged; michael@0: static jmethodID jCreateFrame; michael@0: static jmethodID jDeactivateProgram; michael@0: static jmethodID jGetDisplayPort; michael@0: static jmethodID jIsContentDocumentDisplayed; michael@0: static jmethodID jProgressiveUpdateCallback; michael@0: static jmethodID jSetFirstPaintViewport; michael@0: static jmethodID jSetPageRect; michael@0: static jmethodID jSyncFrameMetrics; michael@0: static jmethodID jSyncViewportInfo; michael@0: }; michael@0: michael@0: class ImmutableViewportMetrics : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static ImmutableViewportMetrics* Wrap(jobject obj); michael@0: ImmutableViewportMetrics(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: ImmutableViewportMetrics(jfloat a0, jfloat a1, jfloat a2, jfloat a3, jfloat a4, jfloat a5, jfloat a6, jfloat a7, jfloat a8, jfloat a9, jfloat a10, jfloat a11, jfloat a12); michael@0: ImmutableViewportMetrics() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mImmutableViewportMetricsClass; michael@0: static jmethodID jImmutableViewportMetrics; michael@0: }; michael@0: michael@0: class LayerView : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static LayerView* Wrap(jobject obj); michael@0: LayerView(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: static jobject RegisterCompositorWrapper(); michael@0: LayerView() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mLayerViewClass; michael@0: static jmethodID jRegisterCompositorWrapper; michael@0: }; michael@0: michael@0: class NativePanZoomController : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static NativePanZoomController* Wrap(jobject obj); michael@0: NativePanZoomController(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: void PostDelayedCallbackWrapper(int64_t a0); michael@0: void RequestContentRepaintWrapper(jfloat a0, jfloat a1, jfloat a2, jfloat a3, jfloat a4); michael@0: NativePanZoomController() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mNativePanZoomControllerClass; michael@0: static jmethodID jPostDelayedCallbackWrapper; michael@0: static jmethodID jRequestContentRepaintWrapper; michael@0: }; michael@0: michael@0: class ProgressiveUpdateData : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static ProgressiveUpdateData* Wrap(jobject obj); michael@0: ProgressiveUpdateData(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: ProgressiveUpdateData(); michael@0: void setViewport(jobject a0); michael@0: bool getabort(); michael@0: void setabort(bool a0); michael@0: jfloat getheight(); michael@0: void setheight(jfloat a0); michael@0: jfloat getscale(); michael@0: void setscale(jfloat a0); michael@0: jfloat getwidth(); michael@0: void setwidth(jfloat a0); michael@0: jfloat getx(); michael@0: void setx(jfloat a0); michael@0: jfloat gety(); michael@0: void sety(jfloat a0); michael@0: protected: michael@0: static jclass mProgressiveUpdateDataClass; michael@0: static jmethodID jProgressiveUpdateData; michael@0: static jmethodID jsetViewport; michael@0: static jfieldID jabort; michael@0: static jfieldID jheight; michael@0: static jfieldID jscale; michael@0: static jfieldID jwidth; michael@0: static jfieldID jx; michael@0: static jfieldID jy; michael@0: }; michael@0: michael@0: class ViewTransform : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static ViewTransform* Wrap(jobject obj); michael@0: ViewTransform(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: ViewTransform(jfloat a0, jfloat a1, jfloat a2); michael@0: jfloat getfixedLayerMarginBottom(); michael@0: void setfixedLayerMarginBottom(jfloat a0); michael@0: jfloat getfixedLayerMarginLeft(); michael@0: void setfixedLayerMarginLeft(jfloat a0); michael@0: jfloat getfixedLayerMarginRight(); michael@0: void setfixedLayerMarginRight(jfloat a0); michael@0: jfloat getfixedLayerMarginTop(); michael@0: void setfixedLayerMarginTop(jfloat a0); michael@0: jfloat getoffsetX(); michael@0: void setoffsetX(jfloat a0); michael@0: jfloat getoffsetY(); michael@0: void setoffsetY(jfloat a0); michael@0: jfloat getscale(); michael@0: void setscale(jfloat a0); michael@0: jfloat getx(); michael@0: void setx(jfloat a0); michael@0: jfloat gety(); michael@0: void sety(jfloat a0); michael@0: ViewTransform() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mViewTransformClass; michael@0: static jmethodID jViewTransform; michael@0: static jfieldID jfixedLayerMarginBottom; michael@0: static jfieldID jfixedLayerMarginLeft; michael@0: static jfieldID jfixedLayerMarginRight; michael@0: static jfieldID jfixedLayerMarginTop; michael@0: static jfieldID joffsetX; michael@0: static jfieldID joffsetY; michael@0: static jfieldID jscale; michael@0: static jfieldID jx; michael@0: static jfieldID jy; michael@0: }; michael@0: michael@0: class NativeZip : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static NativeZip* Wrap(jobject obj); michael@0: NativeZip(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: jobject CreateInputStream(jobject a0, int32_t a1); michael@0: NativeZip() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mNativeZipClass; michael@0: static jmethodID jCreateInputStream; michael@0: }; michael@0: michael@0: class MatrixBlobCursor : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static MatrixBlobCursor* Wrap(jobject obj); michael@0: MatrixBlobCursor(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: MatrixBlobCursor(jobjectArray a0); michael@0: MatrixBlobCursor(jobjectArray a0, int32_t a1); michael@0: void AddRow(jobject a0); michael@0: void AddRow(jobject a0, int32_t a1); michael@0: void AddRow(jobjectArray a0); michael@0: MatrixBlobCursor() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mMatrixBlobCursorClass; michael@0: static jmethodID jMatrixBlobCursor; michael@0: static jmethodID jMatrixBlobCursor0; michael@0: static jmethodID jAddRow; michael@0: static jmethodID jAddRow1; michael@0: static jmethodID jAddRow2; michael@0: }; michael@0: michael@0: class SQLiteBridgeException : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static SQLiteBridgeException* Wrap(jobject obj); michael@0: SQLiteBridgeException(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: SQLiteBridgeException(); michael@0: SQLiteBridgeException(const nsAString& a0); michael@0: static int64_t getserialVersionUID(); michael@0: protected: michael@0: static jclass mSQLiteBridgeExceptionClass; michael@0: static jmethodID jSQLiteBridgeException; michael@0: static jmethodID jSQLiteBridgeException0; michael@0: static jfieldID jserialVersionUID; michael@0: }; michael@0: michael@0: class Clipboard : public AutoGlobalWrappedJavaObject { michael@0: public: michael@0: static void InitStubs(JNIEnv *jEnv); michael@0: static Clipboard* Wrap(jobject obj); michael@0: Clipboard(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; michael@0: static void ClearText(); michael@0: static jstring GetClipboardTextWrapper(); michael@0: static bool HasText(); michael@0: static void SetClipboardText(const nsAString& a0); michael@0: Clipboard() : AutoGlobalWrappedJavaObject() {}; michael@0: protected: michael@0: static jclass mClipboardClass; michael@0: static jmethodID jClearText; michael@0: static jmethodID jGetClipboardTextWrapper; michael@0: static jmethodID jHasText; michael@0: static jmethodID jSetClipboardText; michael@0: }; michael@0: michael@0: michael@0: } /* android */ michael@0: } /* widget */ michael@0: } /* mozilla */ michael@0: #endif