|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21572/root/usr/lib64/xulrunner-devel-17.0.10/include/ |
Upload File : |
/* THIS FILE IS AUTOGENERATED - DO NOT EDIT */
#ifndef _gen_mozilla_idl_dictionary_helpers_h_
#define _gen_mozilla_idl_dictionary_helpers_h_
#include "jsapi.h"
#include "nsError.h"
#include "nsString.h"
#include "nsCOMPtr.h"
#undef near
class nsIDOMWindow;
class nsIDOMEventTarget;
class nsIVariant;
class nsIDOMStorage;
class mozIDOMApplication;
class nsIURI;
namespace mozilla {
namespace dom {
class EventInit
{
public:
EventInit();
~EventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
bool bubbles;
bool cancelable;
};
class UIEventInit : public EventInit
{
public:
UIEventInit();
~UIEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
int32_t detail;
nsCOMPtr<nsIDOMWindow> view;
};
class MouseEventInit : public UIEventInit
{
public:
MouseEventInit();
~MouseEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
bool altKey;
uint16_t button;
uint16_t buttons;
int32_t clientX;
int32_t clientY;
bool ctrlKey;
bool metaKey;
nsCOMPtr<nsIDOMEventTarget> relatedTarget;
int32_t screenX;
int32_t screenY;
bool shiftKey;
};
class WheelEventInit : public MouseEventInit
{
public:
WheelEventInit();
~WheelEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
uint32_t deltaMode;
double deltaX;
double deltaY;
double deltaZ;
};
class IDBObjectStoreParameters
{
public:
IDBObjectStoreParameters();
~IDBObjectStoreParameters();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
bool autoIncrement;
JS::Value keyPath;
};
class IDBIndexParameters
{
public:
IDBIndexParameters();
~IDBIndexParameters();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
bool multiEntry;
bool unique;
};
class BlobPropertyBag
{
public:
BlobPropertyBag();
~BlobPropertyBag();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
nsAutoString endings;
nsAutoString type;
};
class MutationObserverInit
{
public:
MutationObserverInit();
~MutationObserverInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
JS::Value attributeFilter;
bool attributeOldValue;
bool attributes;
bool characterData;
bool characterDataOldValue;
bool childList;
bool subtree;
};
class MozWifiStatusChangeEventInit : public EventInit
{
public:
MozWifiStatusChangeEventInit();
~MozWifiStatusChangeEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
nsCOMPtr<nsIVariant> network;
nsAutoString status;
};
class MozWifiConnectionInfoEventInit : public EventInit
{
public:
MozWifiConnectionInfoEventInit();
~MozWifiConnectionInfoEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
int32_t linkSpeed;
nsCOMPtr<nsIVariant> network;
int16_t relSignalStrength;
int16_t signalStrength;
};
class GeoPositionOptions
{
public:
GeoPositionOptions();
~GeoPositionOptions();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
bool enableHighAccuracy;
int32_t maximumAge;
int32_t timeout;
};
class DOMFileMetadataParameters
{
public:
DOMFileMetadataParameters();
~DOMFileMetadataParameters();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
bool lastModified;
bool size;
};
class XMLHttpRequestParameters
{
public:
XMLHttpRequestParameters();
~XMLHttpRequestParameters();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
bool mozAnon;
bool mozSystem;
};
class DeviceStorageEnumerationParameters
{
public:
DeviceStorageEnumerationParameters();
~DeviceStorageEnumerationParameters();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
JS::Value since;
};
class CameraSize
{
public:
CameraSize();
~CameraSize();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
uint32_t height;
uint32_t width;
};
class CameraRegion
{
public:
CameraRegion();
~CameraRegion();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
int32_t bottom;
int32_t left;
int32_t right;
int32_t top;
uint32_t weight;
};
class CameraPosition
{
public:
CameraPosition();
~CameraPosition();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
double altitude;
double latitude;
double longitude;
double timestamp;
};
class CameraSelector
{
public:
CameraSelector();
~CameraSelector();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
nsAutoString camera;
};
class CameraPictureOptions
{
public:
CameraPictureOptions();
~CameraPictureOptions();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
nsAutoString fileFormat;
JS::Value pictureSize;
JS::Value position;
int32_t rotation;
};
class StorageEventInit : public EventInit
{
public:
StorageEventInit();
~StorageEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
nsAutoString key;
nsAutoString newValue;
nsAutoString oldValue;
nsCOMPtr<nsIDOMStorage> storageArea;
nsAutoString url;
};
class DeviceProximityEventInit : public EventInit
{
public:
DeviceProximityEventInit();
~DeviceProximityEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
double max;
double min;
double value;
};
class MozSettingsEventInit : public EventInit
{
public:
MozSettingsEventInit();
~MozSettingsEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
nsAutoString settingName;
nsCOMPtr<nsIVariant> settingValue;
};
class UserProximityEventInit : public EventInit
{
public:
UserProximityEventInit();
~UserProximityEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
bool near;
};
class CustomEventInit : public EventInit
{
public:
CustomEventInit();
~CustomEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
nsCOMPtr<nsIVariant> detail;
};
class PageTransitionEventInit : public EventInit
{
public:
PageTransitionEventInit();
~PageTransitionEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
bool persisted;
};
class PopStateEventInit : public EventInit
{
public:
PopStateEventInit();
~PopStateEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
nsCOMPtr<nsIVariant> state;
};
class HashChangeEventInit : public EventInit
{
public:
HashChangeEventInit();
~HashChangeEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
nsAutoString newURL;
nsAutoString oldURL;
};
class CloseEventInit : public EventInit
{
public:
CloseEventInit();
~CloseEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
uint16_t code;
nsAutoString reason;
bool wasClean;
};
class DeviceOrientationEventInit : public EventInit
{
public:
DeviceOrientationEventInit();
~DeviceOrientationEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
bool absolute;
double alpha;
double beta;
double gamma;
};
class DeviceLightEventInit : public EventInit
{
public:
DeviceLightEventInit();
~DeviceLightEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
double value;
};
class MozApplicationEventInit : public EventInit
{
public:
MozApplicationEventInit();
~MozApplicationEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
nsCOMPtr<mozIDOMApplication> application;
};
class DeviceStorageChangeEventInit : public EventInit
{
public:
DeviceStorageChangeEventInit();
~DeviceStorageChangeEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
nsAutoString path;
nsAutoString reason;
};
class PopupBlockedEventInit : public EventInit
{
public:
PopupBlockedEventInit();
~PopupBlockedEventInit();
// If aCx or aVal is null, NS_OK is returned and
// dictionary will use the default values.
nsresult Init(JSContext* aCx, const jsval* aVal);
nsAutoString popupWindowFeatures;
nsAutoString popupWindowName;
nsCOMPtr<nsIURI> popupWindowURI;
nsCOMPtr<nsIDOMWindow> requestingWindow;
};
}
}
#endif