Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | // GENERATED CODE |
michael@0 | 2 | // Generated by the Java program at /build/annotationProcessors at compile time from |
michael@0 | 3 | // annotations on Java methods. To update, change the annotations on the corresponding Java |
michael@0 | 4 | // methods and rerun the build. Manually updating this file will cause your build to fail. |
michael@0 | 5 | |
michael@0 | 6 | #ifndef GeneratedJNIWrappers_h__ |
michael@0 | 7 | #define GeneratedJNIWrappers_h__ |
michael@0 | 8 | |
michael@0 | 9 | #include "nsXPCOMStrings.h" |
michael@0 | 10 | #include "AndroidJavaWrappers.h" |
michael@0 | 11 | |
michael@0 | 12 | namespace mozilla { |
michael@0 | 13 | namespace widget { |
michael@0 | 14 | namespace android { |
michael@0 | 15 | void InitStubs(JNIEnv *jEnv); |
michael@0 | 16 | |
michael@0 | 17 | class GeckoAppShell : public AutoGlobalWrappedJavaObject { |
michael@0 | 18 | public: |
michael@0 | 19 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 20 | static GeckoAppShell* Wrap(jobject obj); |
michael@0 | 21 | GeckoAppShell(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 22 | static void AcknowledgeEvent(); |
michael@0 | 23 | static void AddPluginViewWrapper(jobject a0, jfloat a1, jfloat a2, jfloat a3, jfloat a4, bool a5); |
michael@0 | 24 | static void AlertsProgressListener_OnProgress(const nsAString& a0, int64_t a1, int64_t a2, const nsAString& a3); |
michael@0 | 25 | static void CancelVibrate(); |
michael@0 | 26 | static void CheckURIVisited(const nsAString& a0); |
michael@0 | 27 | static void ClearMessageList(int32_t a0); |
michael@0 | 28 | static void CloseCamera(); |
michael@0 | 29 | static void CloseNotification(const nsAString& a0); |
michael@0 | 30 | static void CreateMessageListWrapper(int64_t a0, int64_t a1, jobjectArray a2, int32_t a3, int32_t a4, bool a5, int32_t a6); |
michael@0 | 31 | static void CreateShortcut(const nsAString& a0, const nsAString& a1, const nsAString& a2, const nsAString& a3); |
michael@0 | 32 | static void DeleteMessageWrapper(int32_t a0, int32_t a1); |
michael@0 | 33 | static void DisableBatteryNotifications(); |
michael@0 | 34 | static void DisableNetworkNotifications(); |
michael@0 | 35 | static void DisableScreenOrientationNotifications(); |
michael@0 | 36 | static void DisableSensor(int32_t a0); |
michael@0 | 37 | static void EnableBatteryNotifications(); |
michael@0 | 38 | static void EnableLocation(bool a0); |
michael@0 | 39 | static void EnableLocationHighAccuracy(bool a0); |
michael@0 | 40 | static void EnableNetworkNotifications(); |
michael@0 | 41 | static void EnableScreenOrientationNotifications(); |
michael@0 | 42 | static void EnableSensor(int32_t a0); |
michael@0 | 43 | static jobject GetContext(); |
michael@0 | 44 | static jdoubleArray GetCurrentBatteryInformationWrapper(); |
michael@0 | 45 | static jdoubleArray GetCurrentNetworkInformationWrapper(); |
michael@0 | 46 | static jfloat GetDensity(); |
michael@0 | 47 | static int32_t GetDpiWrapper(); |
michael@0 | 48 | static jstring GetExtensionFromMimeTypeWrapper(const nsAString& a0); |
michael@0 | 49 | static jobjectArray GetHandlersForMimeTypeWrapper(const nsAString& a0, const nsAString& a1); |
michael@0 | 50 | static jobjectArray GetHandlersForURLWrapper(const nsAString& a0, const nsAString& a1); |
michael@0 | 51 | static jbyteArray GetIconForExtensionWrapper(const nsAString& a0, int32_t a1); |
michael@0 | 52 | static void GetMessageWrapper(int32_t a0, int32_t a1); |
michael@0 | 53 | static jstring GetMimeTypeFromExtensionsWrapper(const nsAString& a0); |
michael@0 | 54 | static void GetNextMessageInListWrapper(int32_t a0, int32_t a1); |
michael@0 | 55 | static jstring GetProxyForURIWrapper(const nsAString& a0, const nsAString& a1, const nsAString& a2, int32_t a3); |
michael@0 | 56 | static int32_t GetScreenDepthWrapper(); |
michael@0 | 57 | static int16_t GetScreenOrientationWrapper(); |
michael@0 | 58 | static bool GetShowPasswordSetting(); |
michael@0 | 59 | static jintArray GetSystemColoursWrapper(); |
michael@0 | 60 | static void HandleGeckoMessageWrapper(jobject a0); |
michael@0 | 61 | static void HandleUncaughtException(jobject a0, jthrowable a1); |
michael@0 | 62 | static void HideProgressDialog(); |
michael@0 | 63 | static jintArray InitCameraWrapper(const nsAString& a0, int32_t a1, int32_t a2, int32_t a3); |
michael@0 | 64 | static bool IsNetworkLinkKnown(); |
michael@0 | 65 | static bool IsNetworkLinkUp(); |
michael@0 | 66 | static bool IsTablet(); |
michael@0 | 67 | static void KillAnyZombies(); |
michael@0 | 68 | static jclass LoadPluginClass(const nsAString& a0, const nsAString& a1); |
michael@0 | 69 | static void LockScreenOrientation(int32_t a0); |
michael@0 | 70 | static void MarkURIVisited(const nsAString& a0); |
michael@0 | 71 | static void MoveTaskToBack(); |
michael@0 | 72 | static int32_t NetworkLinkType(); |
michael@0 | 73 | static void NotifyDefaultPrevented(bool a0); |
michael@0 | 74 | static void NotifyIME(int32_t a0); |
michael@0 | 75 | static void NotifyIMEChange(const nsAString& a0, int32_t a1, int32_t a2, int32_t a3); |
michael@0 | 76 | static void NotifyIMEContext(int32_t a0, const nsAString& a1, const nsAString& a2, const nsAString& a3); |
michael@0 | 77 | static void NotifyWakeLockChanged(const nsAString& a0, const nsAString& a1); |
michael@0 | 78 | static void NotifyXreExit(); |
michael@0 | 79 | 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 | 80 | static void PerformHapticFeedback(bool a0); |
michael@0 | 81 | static bool PumpMessageLoop(); |
michael@0 | 82 | static void RegisterSurfaceTextureFrameListener(jobject a0, int32_t a1); |
michael@0 | 83 | static void RemovePluginView(jobject a0, bool a1); |
michael@0 | 84 | static void ScanMedia(const nsAString& a0, const nsAString& a1); |
michael@0 | 85 | static void ScheduleRestart(); |
michael@0 | 86 | static void SendMessageWrapper(const nsAString& a0, const nsAString& a1, int32_t a2); |
michael@0 | 87 | static void SetFullScreen(bool a0); |
michael@0 | 88 | static void SetKeepScreenOn(bool a0); |
michael@0 | 89 | static void SetURITitle(const nsAString& a0, const nsAString& a1); |
michael@0 | 90 | static void ShowAlertNotificationWrapper(const nsAString& a0, const nsAString& a1, const nsAString& a2, const nsAString& a3, const nsAString& a4); |
michael@0 | 91 | static void ShowInputMethodPicker(); |
michael@0 | 92 | static bool UnlockProfile(); |
michael@0 | 93 | static void UnlockScreenOrientation(); |
michael@0 | 94 | static void UnregisterSurfaceTextureFrameListener(jobject a0); |
michael@0 | 95 | static void Vibrate1(int64_t a0); |
michael@0 | 96 | static void VibrateA(jlongArray a0, int32_t a1); |
michael@0 | 97 | GeckoAppShell() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 98 | protected: |
michael@0 | 99 | static jclass mGeckoAppShellClass; |
michael@0 | 100 | static jmethodID jAcknowledgeEvent; |
michael@0 | 101 | static jmethodID jAddPluginViewWrapper; |
michael@0 | 102 | static jmethodID jAlertsProgressListener_OnProgress; |
michael@0 | 103 | static jmethodID jCancelVibrate; |
michael@0 | 104 | static jmethodID jCheckURIVisited; |
michael@0 | 105 | static jmethodID jClearMessageList; |
michael@0 | 106 | static jmethodID jCloseCamera; |
michael@0 | 107 | static jmethodID jCloseNotification; |
michael@0 | 108 | static jmethodID jCreateMessageListWrapper; |
michael@0 | 109 | static jmethodID jCreateShortcut; |
michael@0 | 110 | static jmethodID jDeleteMessageWrapper; |
michael@0 | 111 | static jmethodID jDisableBatteryNotifications; |
michael@0 | 112 | static jmethodID jDisableNetworkNotifications; |
michael@0 | 113 | static jmethodID jDisableScreenOrientationNotifications; |
michael@0 | 114 | static jmethodID jDisableSensor; |
michael@0 | 115 | static jmethodID jEnableBatteryNotifications; |
michael@0 | 116 | static jmethodID jEnableLocation; |
michael@0 | 117 | static jmethodID jEnableLocationHighAccuracy; |
michael@0 | 118 | static jmethodID jEnableNetworkNotifications; |
michael@0 | 119 | static jmethodID jEnableScreenOrientationNotifications; |
michael@0 | 120 | static jmethodID jEnableSensor; |
michael@0 | 121 | static jmethodID jGetContext; |
michael@0 | 122 | static jmethodID jGetCurrentBatteryInformationWrapper; |
michael@0 | 123 | static jmethodID jGetCurrentNetworkInformationWrapper; |
michael@0 | 124 | static jmethodID jGetDensity; |
michael@0 | 125 | static jmethodID jGetDpiWrapper; |
michael@0 | 126 | static jmethodID jGetExtensionFromMimeTypeWrapper; |
michael@0 | 127 | static jmethodID jGetHandlersForMimeTypeWrapper; |
michael@0 | 128 | static jmethodID jGetHandlersForURLWrapper; |
michael@0 | 129 | static jmethodID jGetIconForExtensionWrapper; |
michael@0 | 130 | static jmethodID jGetMessageWrapper; |
michael@0 | 131 | static jmethodID jGetMimeTypeFromExtensionsWrapper; |
michael@0 | 132 | static jmethodID jGetNextMessageInListWrapper; |
michael@0 | 133 | static jmethodID jGetProxyForURIWrapper; |
michael@0 | 134 | static jmethodID jGetScreenDepthWrapper; |
michael@0 | 135 | static jmethodID jGetScreenOrientationWrapper; |
michael@0 | 136 | static jmethodID jGetShowPasswordSetting; |
michael@0 | 137 | static jmethodID jGetSystemColoursWrapper; |
michael@0 | 138 | static jmethodID jHandleGeckoMessageWrapper; |
michael@0 | 139 | static jmethodID jHandleUncaughtException; |
michael@0 | 140 | static jmethodID jHideProgressDialog; |
michael@0 | 141 | static jmethodID jInitCameraWrapper; |
michael@0 | 142 | static jmethodID jIsNetworkLinkKnown; |
michael@0 | 143 | static jmethodID jIsNetworkLinkUp; |
michael@0 | 144 | static jmethodID jIsTablet; |
michael@0 | 145 | static jmethodID jKillAnyZombies; |
michael@0 | 146 | static jmethodID jLoadPluginClass; |
michael@0 | 147 | static jmethodID jLockScreenOrientation; |
michael@0 | 148 | static jmethodID jMarkURIVisited; |
michael@0 | 149 | static jmethodID jMoveTaskToBack; |
michael@0 | 150 | static jmethodID jNetworkLinkType; |
michael@0 | 151 | static jmethodID jNotifyDefaultPrevented; |
michael@0 | 152 | static jmethodID jNotifyIME; |
michael@0 | 153 | static jmethodID jNotifyIMEChange; |
michael@0 | 154 | static jmethodID jNotifyIMEContext; |
michael@0 | 155 | static jmethodID jNotifyWakeLockChanged; |
michael@0 | 156 | static jmethodID jNotifyXreExit; |
michael@0 | 157 | static jmethodID jOpenUriExternal; |
michael@0 | 158 | static jmethodID jPerformHapticFeedback; |
michael@0 | 159 | static jmethodID jPumpMessageLoop; |
michael@0 | 160 | static jmethodID jRegisterSurfaceTextureFrameListener; |
michael@0 | 161 | static jmethodID jRemovePluginView; |
michael@0 | 162 | static jmethodID jScanMedia; |
michael@0 | 163 | static jmethodID jScheduleRestart; |
michael@0 | 164 | static jmethodID jSendMessageWrapper; |
michael@0 | 165 | static jmethodID jSetFullScreen; |
michael@0 | 166 | static jmethodID jSetKeepScreenOn; |
michael@0 | 167 | static jmethodID jSetURITitle; |
michael@0 | 168 | static jmethodID jShowAlertNotificationWrapper; |
michael@0 | 169 | static jmethodID jShowInputMethodPicker; |
michael@0 | 170 | static jmethodID jUnlockProfile; |
michael@0 | 171 | static jmethodID jUnlockScreenOrientation; |
michael@0 | 172 | static jmethodID jUnregisterSurfaceTextureFrameListener; |
michael@0 | 173 | static jmethodID jVibrate1; |
michael@0 | 174 | static jmethodID jVibrateA; |
michael@0 | 175 | }; |
michael@0 | 176 | |
michael@0 | 177 | class JavaDomKeyLocation : public AutoGlobalWrappedJavaObject { |
michael@0 | 178 | public: |
michael@0 | 179 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 180 | static JavaDomKeyLocation* Wrap(jobject obj); |
michael@0 | 181 | JavaDomKeyLocation(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 182 | static jobject valueOf(const nsAString& a0); |
michael@0 | 183 | static jobjectArray values(); |
michael@0 | 184 | static jobject getDOM_KEY_LOCATION_JOYSTICK(); |
michael@0 | 185 | static jobject getDOM_KEY_LOCATION_LEFT(); |
michael@0 | 186 | static jobject getDOM_KEY_LOCATION_MOBILE(); |
michael@0 | 187 | static jobject getDOM_KEY_LOCATION_NUMPAD(); |
michael@0 | 188 | static jobject getDOM_KEY_LOCATION_RIGHT(); |
michael@0 | 189 | static jobject getDOM_KEY_LOCATION_STANDARD(); |
michael@0 | 190 | int32_t getvalue(); |
michael@0 | 191 | JavaDomKeyLocation() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 192 | protected: |
michael@0 | 193 | static jclass mDomKeyLocationClass; |
michael@0 | 194 | static jmethodID jvalueOf; |
michael@0 | 195 | static jmethodID jvalues; |
michael@0 | 196 | static jfieldID jDOM_KEY_LOCATION_JOYSTICK; |
michael@0 | 197 | static jfieldID jDOM_KEY_LOCATION_LEFT; |
michael@0 | 198 | static jfieldID jDOM_KEY_LOCATION_MOBILE; |
michael@0 | 199 | static jfieldID jDOM_KEY_LOCATION_NUMPAD; |
michael@0 | 200 | static jfieldID jDOM_KEY_LOCATION_RIGHT; |
michael@0 | 201 | static jfieldID jDOM_KEY_LOCATION_STANDARD; |
michael@0 | 202 | static jfieldID jvalue; |
michael@0 | 203 | }; |
michael@0 | 204 | |
michael@0 | 205 | class GeckoJavaSampler : public AutoGlobalWrappedJavaObject { |
michael@0 | 206 | public: |
michael@0 | 207 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 208 | static GeckoJavaSampler* Wrap(jobject obj); |
michael@0 | 209 | GeckoJavaSampler(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 210 | static jstring GetFrameNameJavaProfilingWrapper(int32_t a0, int32_t a1, int32_t a2); |
michael@0 | 211 | static jdouble GetSampleTimeJavaProfiling(int32_t a0, int32_t a1); |
michael@0 | 212 | static jstring GetThreadNameJavaProfilingWrapper(int32_t a0); |
michael@0 | 213 | static void PauseJavaProfiling(); |
michael@0 | 214 | static void StartJavaProfiling(int32_t a0, int32_t a1); |
michael@0 | 215 | static void StopJavaProfiling(); |
michael@0 | 216 | static void UnpauseJavaProfiling(); |
michael@0 | 217 | GeckoJavaSampler() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 218 | protected: |
michael@0 | 219 | static jclass mGeckoJavaSamplerClass; |
michael@0 | 220 | static jmethodID jGetFrameNameJavaProfilingWrapper; |
michael@0 | 221 | static jmethodID jGetSampleTimeJavaProfiling; |
michael@0 | 222 | static jmethodID jGetThreadNameJavaProfilingWrapper; |
michael@0 | 223 | static jmethodID jPauseJavaProfiling; |
michael@0 | 224 | static jmethodID jStartJavaProfiling; |
michael@0 | 225 | static jmethodID jStopJavaProfiling; |
michael@0 | 226 | static jmethodID jUnpauseJavaProfiling; |
michael@0 | 227 | }; |
michael@0 | 228 | |
michael@0 | 229 | class SurfaceBits : public AutoGlobalWrappedJavaObject { |
michael@0 | 230 | public: |
michael@0 | 231 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 232 | static SurfaceBits* Wrap(jobject obj); |
michael@0 | 233 | SurfaceBits(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 234 | SurfaceBits(); |
michael@0 | 235 | jobject getbuffer(); |
michael@0 | 236 | void setbuffer(jobject a0); |
michael@0 | 237 | int32_t getformat(); |
michael@0 | 238 | void setformat(int32_t a0); |
michael@0 | 239 | int32_t getheight(); |
michael@0 | 240 | void setheight(int32_t a0); |
michael@0 | 241 | int32_t getwidth(); |
michael@0 | 242 | void setwidth(int32_t a0); |
michael@0 | 243 | protected: |
michael@0 | 244 | static jclass mSurfaceBitsClass; |
michael@0 | 245 | static jmethodID jSurfaceBits; |
michael@0 | 246 | static jfieldID jbuffer; |
michael@0 | 247 | static jfieldID jformat; |
michael@0 | 248 | static jfieldID jheight; |
michael@0 | 249 | static jfieldID jwidth; |
michael@0 | 250 | }; |
michael@0 | 251 | |
michael@0 | 252 | class ThumbnailHelper : public AutoGlobalWrappedJavaObject { |
michael@0 | 253 | public: |
michael@0 | 254 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 255 | static ThumbnailHelper* Wrap(jobject obj); |
michael@0 | 256 | ThumbnailHelper(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 257 | static void SendThumbnail(jobject a0, int32_t a1, bool a2); |
michael@0 | 258 | ThumbnailHelper() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 259 | protected: |
michael@0 | 260 | static jclass mThumbnailHelperClass; |
michael@0 | 261 | static jmethodID jSendThumbnail; |
michael@0 | 262 | }; |
michael@0 | 263 | |
michael@0 | 264 | class DisplayPortMetrics : public AutoGlobalWrappedJavaObject { |
michael@0 | 265 | public: |
michael@0 | 266 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 267 | static DisplayPortMetrics* Wrap(jobject obj); |
michael@0 | 268 | DisplayPortMetrics(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 269 | DisplayPortMetrics(jfloat a0, jfloat a1, jfloat a2, jfloat a3, jfloat a4); |
michael@0 | 270 | jobject getMPosition(); |
michael@0 | 271 | jfloat getResolution(); |
michael@0 | 272 | DisplayPortMetrics() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 273 | protected: |
michael@0 | 274 | static jclass mDisplayPortMetricsClass; |
michael@0 | 275 | static jmethodID jDisplayPortMetrics; |
michael@0 | 276 | static jfieldID jMPosition; |
michael@0 | 277 | static jfieldID jResolution; |
michael@0 | 278 | }; |
michael@0 | 279 | |
michael@0 | 280 | class GLController : public AutoGlobalWrappedJavaObject { |
michael@0 | 281 | public: |
michael@0 | 282 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 283 | static GLController* Wrap(jobject obj); |
michael@0 | 284 | GLController(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 285 | jobject CreateEGLSurfaceForCompositorWrapper(); |
michael@0 | 286 | GLController() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 287 | protected: |
michael@0 | 288 | static jclass mGLControllerClass; |
michael@0 | 289 | static jmethodID jCreateEGLSurfaceForCompositorWrapper; |
michael@0 | 290 | }; |
michael@0 | 291 | |
michael@0 | 292 | class GeckoLayerClient : public AutoGlobalWrappedJavaObject { |
michael@0 | 293 | public: |
michael@0 | 294 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 295 | static GeckoLayerClient* Wrap(jobject obj); |
michael@0 | 296 | GeckoLayerClient(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 297 | void ActivateProgram(); |
michael@0 | 298 | void ContentDocumentChanged(); |
michael@0 | 299 | jobject CreateFrame(); |
michael@0 | 300 | void DeactivateProgram(); |
michael@0 | 301 | jobject GetDisplayPort(bool a0, bool a1, int32_t a2, jobject a3); |
michael@0 | 302 | bool IsContentDocumentDisplayed(); |
michael@0 | 303 | jobject ProgressiveUpdateCallback(bool a0, jfloat a1, jfloat a2, jfloat a3, jfloat a4, jfloat a5, bool a6); |
michael@0 | 304 | void SetFirstPaintViewport(jfloat a0, jfloat a1, jfloat a2, jfloat a3, jfloat a4, jfloat a5, jfloat a6); |
michael@0 | 305 | void SetPageRect(jfloat a0, jfloat a1, jfloat a2, jfloat a3); |
michael@0 | 306 | 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 | 307 | jobject SyncViewportInfo(int32_t a0, int32_t a1, int32_t a2, int32_t a3, jfloat a4, bool a5); |
michael@0 | 308 | GeckoLayerClient() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 309 | protected: |
michael@0 | 310 | static jclass mGeckoLayerClientClass; |
michael@0 | 311 | static jmethodID jActivateProgram; |
michael@0 | 312 | static jmethodID jContentDocumentChanged; |
michael@0 | 313 | static jmethodID jCreateFrame; |
michael@0 | 314 | static jmethodID jDeactivateProgram; |
michael@0 | 315 | static jmethodID jGetDisplayPort; |
michael@0 | 316 | static jmethodID jIsContentDocumentDisplayed; |
michael@0 | 317 | static jmethodID jProgressiveUpdateCallback; |
michael@0 | 318 | static jmethodID jSetFirstPaintViewport; |
michael@0 | 319 | static jmethodID jSetPageRect; |
michael@0 | 320 | static jmethodID jSyncFrameMetrics; |
michael@0 | 321 | static jmethodID jSyncViewportInfo; |
michael@0 | 322 | }; |
michael@0 | 323 | |
michael@0 | 324 | class ImmutableViewportMetrics : public AutoGlobalWrappedJavaObject { |
michael@0 | 325 | public: |
michael@0 | 326 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 327 | static ImmutableViewportMetrics* Wrap(jobject obj); |
michael@0 | 328 | ImmutableViewportMetrics(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 329 | 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 | 330 | ImmutableViewportMetrics() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 331 | protected: |
michael@0 | 332 | static jclass mImmutableViewportMetricsClass; |
michael@0 | 333 | static jmethodID jImmutableViewportMetrics; |
michael@0 | 334 | }; |
michael@0 | 335 | |
michael@0 | 336 | class LayerView : public AutoGlobalWrappedJavaObject { |
michael@0 | 337 | public: |
michael@0 | 338 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 339 | static LayerView* Wrap(jobject obj); |
michael@0 | 340 | LayerView(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 341 | static jobject RegisterCompositorWrapper(); |
michael@0 | 342 | LayerView() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 343 | protected: |
michael@0 | 344 | static jclass mLayerViewClass; |
michael@0 | 345 | static jmethodID jRegisterCompositorWrapper; |
michael@0 | 346 | }; |
michael@0 | 347 | |
michael@0 | 348 | class NativePanZoomController : public AutoGlobalWrappedJavaObject { |
michael@0 | 349 | public: |
michael@0 | 350 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 351 | static NativePanZoomController* Wrap(jobject obj); |
michael@0 | 352 | NativePanZoomController(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 353 | void PostDelayedCallbackWrapper(int64_t a0); |
michael@0 | 354 | void RequestContentRepaintWrapper(jfloat a0, jfloat a1, jfloat a2, jfloat a3, jfloat a4); |
michael@0 | 355 | NativePanZoomController() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 356 | protected: |
michael@0 | 357 | static jclass mNativePanZoomControllerClass; |
michael@0 | 358 | static jmethodID jPostDelayedCallbackWrapper; |
michael@0 | 359 | static jmethodID jRequestContentRepaintWrapper; |
michael@0 | 360 | }; |
michael@0 | 361 | |
michael@0 | 362 | class ProgressiveUpdateData : public AutoGlobalWrappedJavaObject { |
michael@0 | 363 | public: |
michael@0 | 364 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 365 | static ProgressiveUpdateData* Wrap(jobject obj); |
michael@0 | 366 | ProgressiveUpdateData(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 367 | ProgressiveUpdateData(); |
michael@0 | 368 | void setViewport(jobject a0); |
michael@0 | 369 | bool getabort(); |
michael@0 | 370 | void setabort(bool a0); |
michael@0 | 371 | jfloat getheight(); |
michael@0 | 372 | void setheight(jfloat a0); |
michael@0 | 373 | jfloat getscale(); |
michael@0 | 374 | void setscale(jfloat a0); |
michael@0 | 375 | jfloat getwidth(); |
michael@0 | 376 | void setwidth(jfloat a0); |
michael@0 | 377 | jfloat getx(); |
michael@0 | 378 | void setx(jfloat a0); |
michael@0 | 379 | jfloat gety(); |
michael@0 | 380 | void sety(jfloat a0); |
michael@0 | 381 | protected: |
michael@0 | 382 | static jclass mProgressiveUpdateDataClass; |
michael@0 | 383 | static jmethodID jProgressiveUpdateData; |
michael@0 | 384 | static jmethodID jsetViewport; |
michael@0 | 385 | static jfieldID jabort; |
michael@0 | 386 | static jfieldID jheight; |
michael@0 | 387 | static jfieldID jscale; |
michael@0 | 388 | static jfieldID jwidth; |
michael@0 | 389 | static jfieldID jx; |
michael@0 | 390 | static jfieldID jy; |
michael@0 | 391 | }; |
michael@0 | 392 | |
michael@0 | 393 | class ViewTransform : public AutoGlobalWrappedJavaObject { |
michael@0 | 394 | public: |
michael@0 | 395 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 396 | static ViewTransform* Wrap(jobject obj); |
michael@0 | 397 | ViewTransform(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 398 | ViewTransform(jfloat a0, jfloat a1, jfloat a2); |
michael@0 | 399 | jfloat getfixedLayerMarginBottom(); |
michael@0 | 400 | void setfixedLayerMarginBottom(jfloat a0); |
michael@0 | 401 | jfloat getfixedLayerMarginLeft(); |
michael@0 | 402 | void setfixedLayerMarginLeft(jfloat a0); |
michael@0 | 403 | jfloat getfixedLayerMarginRight(); |
michael@0 | 404 | void setfixedLayerMarginRight(jfloat a0); |
michael@0 | 405 | jfloat getfixedLayerMarginTop(); |
michael@0 | 406 | void setfixedLayerMarginTop(jfloat a0); |
michael@0 | 407 | jfloat getoffsetX(); |
michael@0 | 408 | void setoffsetX(jfloat a0); |
michael@0 | 409 | jfloat getoffsetY(); |
michael@0 | 410 | void setoffsetY(jfloat a0); |
michael@0 | 411 | jfloat getscale(); |
michael@0 | 412 | void setscale(jfloat a0); |
michael@0 | 413 | jfloat getx(); |
michael@0 | 414 | void setx(jfloat a0); |
michael@0 | 415 | jfloat gety(); |
michael@0 | 416 | void sety(jfloat a0); |
michael@0 | 417 | ViewTransform() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 418 | protected: |
michael@0 | 419 | static jclass mViewTransformClass; |
michael@0 | 420 | static jmethodID jViewTransform; |
michael@0 | 421 | static jfieldID jfixedLayerMarginBottom; |
michael@0 | 422 | static jfieldID jfixedLayerMarginLeft; |
michael@0 | 423 | static jfieldID jfixedLayerMarginRight; |
michael@0 | 424 | static jfieldID jfixedLayerMarginTop; |
michael@0 | 425 | static jfieldID joffsetX; |
michael@0 | 426 | static jfieldID joffsetY; |
michael@0 | 427 | static jfieldID jscale; |
michael@0 | 428 | static jfieldID jx; |
michael@0 | 429 | static jfieldID jy; |
michael@0 | 430 | }; |
michael@0 | 431 | |
michael@0 | 432 | class NativeZip : public AutoGlobalWrappedJavaObject { |
michael@0 | 433 | public: |
michael@0 | 434 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 435 | static NativeZip* Wrap(jobject obj); |
michael@0 | 436 | NativeZip(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 437 | jobject CreateInputStream(jobject a0, int32_t a1); |
michael@0 | 438 | NativeZip() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 439 | protected: |
michael@0 | 440 | static jclass mNativeZipClass; |
michael@0 | 441 | static jmethodID jCreateInputStream; |
michael@0 | 442 | }; |
michael@0 | 443 | |
michael@0 | 444 | class MatrixBlobCursor : public AutoGlobalWrappedJavaObject { |
michael@0 | 445 | public: |
michael@0 | 446 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 447 | static MatrixBlobCursor* Wrap(jobject obj); |
michael@0 | 448 | MatrixBlobCursor(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 449 | MatrixBlobCursor(jobjectArray a0); |
michael@0 | 450 | MatrixBlobCursor(jobjectArray a0, int32_t a1); |
michael@0 | 451 | void AddRow(jobject a0); |
michael@0 | 452 | void AddRow(jobject a0, int32_t a1); |
michael@0 | 453 | void AddRow(jobjectArray a0); |
michael@0 | 454 | MatrixBlobCursor() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 455 | protected: |
michael@0 | 456 | static jclass mMatrixBlobCursorClass; |
michael@0 | 457 | static jmethodID jMatrixBlobCursor; |
michael@0 | 458 | static jmethodID jMatrixBlobCursor0; |
michael@0 | 459 | static jmethodID jAddRow; |
michael@0 | 460 | static jmethodID jAddRow1; |
michael@0 | 461 | static jmethodID jAddRow2; |
michael@0 | 462 | }; |
michael@0 | 463 | |
michael@0 | 464 | class SQLiteBridgeException : public AutoGlobalWrappedJavaObject { |
michael@0 | 465 | public: |
michael@0 | 466 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 467 | static SQLiteBridgeException* Wrap(jobject obj); |
michael@0 | 468 | SQLiteBridgeException(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 469 | SQLiteBridgeException(); |
michael@0 | 470 | SQLiteBridgeException(const nsAString& a0); |
michael@0 | 471 | static int64_t getserialVersionUID(); |
michael@0 | 472 | protected: |
michael@0 | 473 | static jclass mSQLiteBridgeExceptionClass; |
michael@0 | 474 | static jmethodID jSQLiteBridgeException; |
michael@0 | 475 | static jmethodID jSQLiteBridgeException0; |
michael@0 | 476 | static jfieldID jserialVersionUID; |
michael@0 | 477 | }; |
michael@0 | 478 | |
michael@0 | 479 | class Clipboard : public AutoGlobalWrappedJavaObject { |
michael@0 | 480 | public: |
michael@0 | 481 | static void InitStubs(JNIEnv *jEnv); |
michael@0 | 482 | static Clipboard* Wrap(jobject obj); |
michael@0 | 483 | Clipboard(jobject obj, JNIEnv* env) : AutoGlobalWrappedJavaObject(obj, env) {}; |
michael@0 | 484 | static void ClearText(); |
michael@0 | 485 | static jstring GetClipboardTextWrapper(); |
michael@0 | 486 | static bool HasText(); |
michael@0 | 487 | static void SetClipboardText(const nsAString& a0); |
michael@0 | 488 | Clipboard() : AutoGlobalWrappedJavaObject() {}; |
michael@0 | 489 | protected: |
michael@0 | 490 | static jclass mClipboardClass; |
michael@0 | 491 | static jmethodID jClearText; |
michael@0 | 492 | static jmethodID jGetClipboardTextWrapper; |
michael@0 | 493 | static jmethodID jHasText; |
michael@0 | 494 | static jmethodID jSetClipboardText; |
michael@0 | 495 | }; |
michael@0 | 496 | |
michael@0 | 497 | |
michael@0 | 498 | } /* android */ |
michael@0 | 499 | } /* widget */ |
michael@0 | 500 | } /* mozilla */ |
michael@0 | 501 | #endif |