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

Side by Side Diff: bindings/v8/custom/V8CustomBinding.h

Issue 155477: Dom Storage (webkit side) (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: Created 11 years, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 DECLARE_CALLBACK(MessagePortRemoveEventListener); 444 DECLARE_CALLBACK(MessagePortRemoveEventListener);
445 445
446 DECLARE_CALLBACK(DatabaseChangeVersion); 446 DECLARE_CALLBACK(DatabaseChangeVersion);
447 DECLARE_CALLBACK(DatabaseTransaction); 447 DECLARE_CALLBACK(DatabaseTransaction);
448 DECLARE_CALLBACK(SQLTransactionExecuteSql); 448 DECLARE_CALLBACK(SQLTransactionExecuteSql);
449 DECLARE_CALLBACK(SQLResultSetRowListItem); 449 DECLARE_CALLBACK(SQLResultSetRowListItem);
450 450
451 DECLARE_INDEXED_PROPERTY_GETTER(ClientRectList); 451 DECLARE_INDEXED_PROPERTY_GETTER(ClientRectList);
452 452
453 #if ENABLE(DOM_STORAGE) 453 #if ENABLE(DOM_STORAGE)
454 DECLARE_PROPERTY_ACCESSOR_GETTER(DOMWindowSessionStorage);
455 DECLARE_PROPERTY_ACCESSOR_GETTER(DOMWindowLocalStorage);
454 DECLARE_INDEXED_PROPERTY_GETTER(Storage); 456 DECLARE_INDEXED_PROPERTY_GETTER(Storage);
455 DECLARE_INDEXED_PROPERTY_SETTER(Storage); 457 DECLARE_INDEXED_PROPERTY_SETTER(Storage);
456 DECLARE_INDEXED_PROPERTY_DELETER(Storage); 458 DECLARE_INDEXED_PROPERTY_DELETER(Storage);
457 DECLARE_NAMED_PROPERTY_GETTER(Storage); 459 DECLARE_NAMED_PROPERTY_GETTER(Storage);
458 DECLARE_NAMED_PROPERTY_SETTER(Storage); 460 DECLARE_NAMED_PROPERTY_SETTER(Storage);
459 DECLARE_NAMED_PROPERTY_DELETER(Storage); 461 DECLARE_NAMED_PROPERTY_DELETER(Storage);
460 static v8::Handle<v8::Array> v8StorageNamedPropertyEnumerator(const v8:: AccessorInfo& info); 462 static v8::Handle<v8::Array> v8StorageNamedPropertyEnumerator(const v8:: AccessorInfo& info);
463 static void setEnableLocalStorage(bool setting);
464 static void setEnableSessionStorage(bool setting);
461 #endif 465 #endif
462 466
463 #if ENABLE(SVG) 467 #if ENABLE(SVG)
464 DECLARE_PROPERTY_ACCESSOR_GETTER(SVGLengthValue); 468 DECLARE_PROPERTY_ACCESSOR_GETTER(SVGLengthValue);
465 DECLARE_CALLBACK(SVGLengthConvertToSpecifiedUnits); 469 DECLARE_CALLBACK(SVGLengthConvertToSpecifiedUnits);
466 DECLARE_CALLBACK(SVGMatrixInverse); 470 DECLARE_CALLBACK(SVGMatrixInverse);
467 DECLARE_CALLBACK(SVGMatrixRotateFromVector); 471 DECLARE_CALLBACK(SVGMatrixRotateFromVector);
468 DECLARE_CALLBACK(SVGElementInstanceAddEventListener); 472 DECLARE_CALLBACK(SVGElementInstanceAddEventListener);
469 DECLARE_CALLBACK(SVGElementInstanceRemoveEventListener); 473 DECLARE_CALLBACK(SVGElementInstanceRemoveEventListener);
470 #endif 474 #endif
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 522
519 private: 523 private:
520 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments&, bool singleShot); 524 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments&, bool singleShot);
521 static void ClearTimeoutImpl(const v8::Arguments&); 525 static void ClearTimeoutImpl(const v8::Arguments&);
522 static void WindowSetLocation(DOMWindow*, const String&); 526 static void WindowSetLocation(DOMWindow*, const String&);
523 }; 527 };
524 528
525 } // namespace WebCore 529 } // namespace WebCore
526 530
527 #endif // V8CustomBinding_h 531 #endif // V8CustomBinding_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698