| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008, 2009 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 #include "core/page/DOMWindowProperty.h" | 33 #include "core/page/DOMWindowProperty.h" |
| 34 #include "wtf/Forward.h" | 34 #include "wtf/Forward.h" |
| 35 #include "wtf/PassRefPtr.h" | 35 #include "wtf/PassRefPtr.h" |
| 36 #include "wtf/RefCounted.h" | 36 #include "wtf/RefCounted.h" |
| 37 | 37 |
| 38 namespace WebCore { | 38 namespace WebCore { |
| 39 | 39 |
| 40 class Frame; | 40 class Frame; |
| 41 class KURL; | 41 class KURL; |
| 42 | 42 |
| 43 class DOMApplicationCache : public ScriptWrappable, public RefCounted<DOMApplica
tionCache>, public EventTarget, public DOMWindowProperty { | 43 class DOMApplicationCache : public EventTarget, public ScriptWrappable, public R
efCounted<DOMApplicationCache>, public DOMWindowProperty { |
| 44 public: | 44 public: |
| 45 static PassRefPtr<DOMApplicationCache> create(Frame* frame) { return adoptRe
f(new DOMApplicationCache(frame)); } | 45 static PassRefPtr<DOMApplicationCache> create(Frame* frame) { return adoptRe
f(new DOMApplicationCache(frame)); } |
| 46 ~DOMApplicationCache() { ASSERT(!m_frame); } | 46 ~DOMApplicationCache() { ASSERT(!m_frame); } |
| 47 | 47 |
| 48 virtual void willDestroyGlobalObjectInFrame() OVERRIDE; | 48 virtual void willDestroyGlobalObjectInFrame() OVERRIDE; |
| 49 | 49 |
| 50 unsigned short status() const; | 50 unsigned short status() const; |
| 51 void update(ExceptionCode&); | 51 void update(ExceptionCode&); |
| 52 void swapCache(ExceptionCode&); | 52 void swapCache(ExceptionCode&); |
| 53 void abort(); | 53 void abort(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 82 virtual EventTargetData* ensureEventTargetData(); | 82 virtual EventTargetData* ensureEventTargetData(); |
| 83 | 83 |
| 84 ApplicationCacheHost* applicationCacheHost() const; | 84 ApplicationCacheHost* applicationCacheHost() const; |
| 85 | 85 |
| 86 EventTargetData m_eventTargetData; | 86 EventTargetData m_eventTargetData; |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace WebCore | 89 } // namespace WebCore |
| 90 | 90 |
| 91 #endif // DOMApplicationCache_h | 91 #endif // DOMApplicationCache_h |
| OLD | NEW |