diff options
author | Andrei Popescu <andreip@google.com> | 2009-06-08 17:39:30 +0100 |
---|---|---|
committer | Andrei Popescu <andreip@google.com> | 2009-06-08 17:40:48 +0100 |
commit | 595f429f16d56891f697a15c3ec2fd2ec9647c5f (patch) | |
tree | 0567454fd15ccfac8f82047ce0203a0878c186f6 /WebCore/loader/appcache/DOMApplicationCache.h | |
parent | 91637c8ca6b8baa16edf528ee009b228d6e6c053 (diff) | |
download | external_webkit-595f429f16d56891f697a15c3ec2fd2ec9647c5f.zip external_webkit-595f429f16d56891f697a15c3ec2fd2ec9647c5f.tar.gz external_webkit-595f429f16d56891f697a15c3ec2fd2ec9647c5f.tar.bz2 |
Make AppCache work with v8:
-- Most changes follow Chrome's changes in the same area
-- I needed to update the CodeGeneratorV8.pm to the latest version
-- I needed to deprecate v8_utility.h and replace it with V8Utilities.h/cpp
Diffstat (limited to 'WebCore/loader/appcache/DOMApplicationCache.h')
-rw-r--r-- | WebCore/loader/appcache/DOMApplicationCache.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/WebCore/loader/appcache/DOMApplicationCache.h b/WebCore/loader/appcache/DOMApplicationCache.h index b76542d..57b37bc 100644 --- a/WebCore/loader/appcache/DOMApplicationCache.h +++ b/WebCore/loader/appcache/DOMApplicationCache.h @@ -115,6 +115,12 @@ public: void callUpdateReadyListener(); void callCachedListener(); void callObsoleteListener(); + +#if USE(V8) + EventListener* getAttributeEventListener(const AtomicString& eventType); + void setAttributeEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener); + void clearAttributeEventListener(const AtomicString& eventType); +#endif private: DOMApplicationCache(Frame*); @@ -125,6 +131,10 @@ private: ApplicationCache* associatedCache() const; bool swapCache(); + +#if USE(V8) + RefPtr<EventListener>* getAttributeEventListenerStorage(const AtomicString& eventType); +#endif RefPtr<EventListener> m_onCheckingListener; RefPtr<EventListener> m_onErrorListener; |