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 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 #ifndef ApplicationCache_h | 26 #ifndef ApplicationCache_h |
27 #define ApplicationCache_h | 27 #define ApplicationCache_h |
28 | 28 |
29 #include "core/events/EventTarget.h" | 29 #include "core/events/EventTarget.h" |
30 #include "core/loader/appcache/ApplicationCacheHost.h" | 30 #include "core/loader/appcache/ApplicationCacheHost.h" |
31 #include "core/frame/DOMWindowProperty.h" | 31 #include "core/frame/DOMWindowProperty.h" |
32 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
33 #include "wtf/Forward.h" | 33 #include "wtf/Forward.h" |
34 #include "wtf/PassRefPtr.h" | |
35 #include "wtf/RefCounted.h" | |
36 | 34 |
37 namespace blink { | 35 namespace blink { |
38 | 36 |
39 class ExceptionState; | 37 class ExceptionState; |
40 class LocalFrame; | 38 class LocalFrame; |
41 | 39 |
42 class ApplicationCache final : public EventTargetWithInlineData, public DOMWindo
wProperty { | 40 class ApplicationCache final : public EventTargetWithInlineData, public DOMWindo
wProperty { |
43 DEFINE_WRAPPERTYPEINFO(); | 41 DEFINE_WRAPPERTYPEINFO(); |
44 USING_GARBAGE_COLLECTED_MIXIN(ApplicationCache); | 42 USING_GARBAGE_COLLECTED_MIXIN(ApplicationCache); |
45 public: | 43 public: |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 explicit ApplicationCache(LocalFrame*); | 78 explicit ApplicationCache(LocalFrame*); |
81 | 79 |
82 void recordAPIUseType() const; | 80 void recordAPIUseType() const; |
83 | 81 |
84 ApplicationCacheHost* applicationCacheHost() const; | 82 ApplicationCacheHost* applicationCacheHost() const; |
85 }; | 83 }; |
86 | 84 |
87 } // namespace blink | 85 } // namespace blink |
88 | 86 |
89 #endif // ApplicationCache_h | 87 #endif // ApplicationCache_h |
OLD | NEW |