OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_CUSTOM_H__ | 5 #ifndef V8_CUSTOM_H__ |
6 #define V8_CUSTOM_H__ | 6 #define V8_CUSTOM_H__ |
7 | 7 |
8 #include <v8.h> | 8 #include <v8.h> |
9 #include "v8_index.h" | 9 #include "v8_index.h" |
10 | 10 |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 DECLARE_INDEXED_PROPERTY_SETTER(CanvasPixelArray) | 500 DECLARE_INDEXED_PROPERTY_SETTER(CanvasPixelArray) |
501 | 501 |
502 // MessagePort | 502 // MessagePort |
503 DECLARE_PROPERTY_ACCESSOR(MessagePortOnmessage) | 503 DECLARE_PROPERTY_ACCESSOR(MessagePortOnmessage) |
504 DECLARE_PROPERTY_ACCESSOR(MessagePortOnclose) | 504 DECLARE_PROPERTY_ACCESSOR(MessagePortOnclose) |
505 DECLARE_CALLBACK(MessagePortStartConversation) | 505 DECLARE_CALLBACK(MessagePortStartConversation) |
506 DECLARE_CALLBACK(MessagePortAddEventListener) | 506 DECLARE_CALLBACK(MessagePortAddEventListener) |
507 DECLARE_CALLBACK(MessagePortRemoveEventListener) | 507 DECLARE_CALLBACK(MessagePortRemoveEventListener) |
508 | 508 |
509 // Database | 509 // Database |
| 510 #if ENABLE(DATABASE) |
510 DECLARE_CALLBACK(DatabaseChangeVersion) | 511 DECLARE_CALLBACK(DatabaseChangeVersion) |
511 DECLARE_CALLBACK(DatabaseTransaction) | 512 DECLARE_CALLBACK(DatabaseTransaction) |
512 DECLARE_CALLBACK(SQLTransactionExecuteSql) | 513 DECLARE_CALLBACK(SQLTransactionExecuteSql) |
513 DECLARE_CALLBACK(SQLResultSetRowListItem) | 514 DECLARE_CALLBACK(SQLResultSetRowListItem) |
| 515 #endif |
514 | 516 |
515 // ClientRectList | 517 // ClientRectList |
516 DECLARE_INDEXED_PROPERTY_GETTER(ClientRectList) | 518 DECLARE_INDEXED_PROPERTY_GETTER(ClientRectList) |
517 | 519 |
| 520 // localStorage and sessionStorage |
| 521 #if ENABLE(DOM_STORAGE) |
| 522 DECLARE_INDEXED_PROPERTY_GETTER(Storage) |
| 523 DECLARE_INDEXED_PROPERTY_SETTER(Storage) |
| 524 DECLARE_INDEXED_PROPERTY_DELETER(Storage) |
| 525 DECLARE_NAMED_PROPERTY_GETTER(Storage) |
| 526 DECLARE_NAMED_PROPERTY_SETTER(Storage) |
| 527 DECLARE_NAMED_PROPERTY_DELETER(Storage) |
| 528 static v8::Handle<v8::Array> v8StorageNamedPropertyEnumerator(const v8::Accessor
Info& info); |
| 529 #endif |
| 530 |
518 // SVG custom properties and callbacks | 531 // SVG custom properties and callbacks |
519 #if ENABLE(SVG) | 532 #if ENABLE(SVG) |
520 DECLARE_PROPERTY_ACCESSOR_GETTER(SVGLengthValue) | 533 DECLARE_PROPERTY_ACCESSOR_GETTER(SVGLengthValue) |
521 DECLARE_CALLBACK(SVGLengthConvertToSpecifiedUnits) | 534 DECLARE_CALLBACK(SVGLengthConvertToSpecifiedUnits) |
522 DECLARE_CALLBACK(SVGMatrixInverse) | 535 DECLARE_CALLBACK(SVGMatrixInverse) |
523 DECLARE_CALLBACK(SVGMatrixRotateFromVector) | 536 DECLARE_CALLBACK(SVGMatrixRotateFromVector) |
524 DECLARE_CALLBACK(SVGElementInstanceAddEventListener) | 537 DECLARE_CALLBACK(SVGElementInstanceAddEventListener) |
525 DECLARE_CALLBACK(SVGElementInstanceRemoveEventListener) | 538 DECLARE_CALLBACK(SVGElementInstanceRemoveEventListener) |
526 #endif | 539 #endif |
527 | 540 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 private: | 590 private: |
578 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments& args, | 591 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments& args, |
579 bool single_shot); | 592 bool single_shot); |
580 static void ClearTimeoutImpl(const v8::Arguments& args); | 593 static void ClearTimeoutImpl(const v8::Arguments& args); |
581 static void WindowSetLocation(DOMWindow*, const String&); | 594 static void WindowSetLocation(DOMWindow*, const String&); |
582 }; | 595 }; |
583 | 596 |
584 } // namespace WebCore | 597 } // namespace WebCore |
585 | 598 |
586 #endif // V8_CUSTOM_H__ | 599 #endif // V8_CUSTOM_H__ |
OLD | NEW |