| Index: public/platform/WebIDBTypes.h
|
| diff --git a/Source/modules/device_orientation/DeviceAcceleration.idl b/public/platform/WebIDBTypes.h
|
| similarity index 76%
|
| copy from Source/modules/device_orientation/DeviceAcceleration.idl
|
| copy to public/platform/WebIDBTypes.h
|
| index c4ff4a67e611f904d3f6a657a4a56849d015810b..f80d2fa904c9e5c7d713763c6df8189fe9b686b8 100644
|
| --- a/Source/modules/device_orientation/DeviceAcceleration.idl
|
| +++ b/public/platform/WebIDBTypes.h
|
| @@ -23,10 +23,28 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -[
|
| - NoInterfaceObject
|
| -] interface DeviceAcceleration {
|
| - readonly attribute double? x;
|
| - readonly attribute double? y;
|
| - readonly attribute double? z;
|
| +#ifndef WebIDBTypes_h
|
| +#define WebIDBTypes_h
|
| +
|
| +namespace WebKit {
|
| +
|
| +enum WebIDBKeyType {
|
| + WebIDBKeyTypeInvalid = 0,
|
| + WebIDBKeyTypeArray,
|
| + WebIDBKeyTypeString,
|
| + WebIDBKeyTypeDate,
|
| + WebIDBKeyTypeNumber,
|
| + WebIDBKeyTypeNull,
|
| + WebIDBKeyTypeMin,
|
| +};
|
| +
|
| +enum WebIDBKeyPathType {
|
| + WebIDBKeyPathTypeNull = 0,
|
| + WebIDBKeyPathTypeString,
|
| + WebIDBKeyPathTypeArray,
|
| };
|
| +
|
| +
|
| +} // namespace WebKit
|
| +
|
| +#endif // WebIDBTypes_h
|
|
|