Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(875)

Unified Diff: webkit/port/bindings/v8/v8_custom.h

Issue 125035: A first pass at the DOM Storage V8 bindings. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/port/bindings/v8/DOMObjectsInclude.h ('k') | webkit/port/bindings/v8/v8_index.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/port/bindings/v8/v8_custom.h
===================================================================
--- webkit/port/bindings/v8/v8_custom.h (revision 18002)
+++ webkit/port/bindings/v8/v8_custom.h (working copy)
@@ -507,14 +507,27 @@
DECLARE_CALLBACK(MessagePortRemoveEventListener)
// Database
+#if ENABLE(DATABASE)
DECLARE_CALLBACK(DatabaseChangeVersion)
DECLARE_CALLBACK(DatabaseTransaction)
DECLARE_CALLBACK(SQLTransactionExecuteSql)
DECLARE_CALLBACK(SQLResultSetRowListItem)
+#endif
// ClientRectList
DECLARE_INDEXED_PROPERTY_GETTER(ClientRectList)
+// localStorage and sessionStorage
+#if ENABLE(DOM_STORAGE)
+DECLARE_INDEXED_PROPERTY_GETTER(Storage)
+DECLARE_INDEXED_PROPERTY_SETTER(Storage)
+DECLARE_INDEXED_PROPERTY_DELETER(Storage)
+DECLARE_NAMED_PROPERTY_GETTER(Storage)
+DECLARE_NAMED_PROPERTY_SETTER(Storage)
+DECLARE_NAMED_PROPERTY_DELETER(Storage)
+static v8::Handle<v8::Array> v8StorageNamedPropertyEnumerator(const v8::AccessorInfo& info);
+#endif
+
// SVG custom properties and callbacks
#if ENABLE(SVG)
DECLARE_PROPERTY_ACCESSOR_GETTER(SVGLengthValue)
« no previous file with comments | « webkit/port/bindings/v8/DOMObjectsInclude.h ('k') | webkit/port/bindings/v8/v8_index.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698