| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) |
| 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> | 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> |
| 4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. | 4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. |
| 5 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ | 5 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ |
| 6 | 6 |
| 7 This library is free software; you can redistribute it and/or | 7 This library is free software; you can redistribute it and/or |
| 8 modify it under the terms of the GNU Library General Public | 8 modify it under the terms of the GNU Library General Public |
| 9 License as published by the Free Software Foundation; either | 9 License as published by the Free Software Foundation; either |
| 10 version 2 of the License, or (at your option) any later version. | 10 version 2 of the License, or (at your option) any later version. |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 #endif | 85 #endif |
| 86 #if ENABLE(XSLT) | 86 #if ENABLE(XSLT) |
| 87 CachedResourceHandle<CachedXSLStyleSheet> requestXSLStyleSheet(CachedResourc
eRequest&); | 87 CachedResourceHandle<CachedXSLStyleSheet> requestXSLStyleSheet(CachedResourc
eRequest&); |
| 88 #endif | 88 #endif |
| 89 #if ENABLE(LINK_PREFETCH) | 89 #if ENABLE(LINK_PREFETCH) |
| 90 CachedResourceHandle<CachedResource> requestLinkResource(CachedResource::Typ
e, CachedResourceRequest&); | 90 CachedResourceHandle<CachedResource> requestLinkResource(CachedResource::Typ
e, CachedResourceRequest&); |
| 91 #endif | 91 #endif |
| 92 #if ENABLE(VIDEO_TRACK) | 92 #if ENABLE(VIDEO_TRACK) |
| 93 CachedResourceHandle<CachedTextTrack> requestTextTrack(CachedResourceRequest
&); | 93 CachedResourceHandle<CachedTextTrack> requestTextTrack(CachedResourceRequest
&); |
| 94 #endif | 94 #endif |
| 95 #if ENABLE(CSS_SHADERS) | |
| 96 CachedResourceHandle<CachedShader> requestShader(CachedResourceRequest&); | 95 CachedResourceHandle<CachedShader> requestShader(CachedResourceRequest&); |
| 97 #endif | |
| 98 | 96 |
| 99 // Logs an access denied message to the console for the specified URL. | 97 // Logs an access denied message to the console for the specified URL. |
| 100 void printAccessDeniedMessage(const KURL& url) const; | 98 void printAccessDeniedMessage(const KURL& url) const; |
| 101 | 99 |
| 102 CachedResource* cachedResource(const String& url) const; | 100 CachedResource* cachedResource(const String& url) const; |
| 103 CachedResource* cachedResource(const KURL& url) const; | 101 CachedResource* cachedResource(const KURL& url) const; |
| 104 | 102 |
| 105 typedef HashMap<String, CachedResourceHandle<CachedResource> > DocumentResou
rceMap; | 103 typedef HashMap<String, CachedResourceHandle<CachedResource> > DocumentResou
rceMap; |
| 106 const DocumentResourceMap& allCachedResources() const { return m_documentRes
ources; } | 104 const DocumentResourceMap& allCachedResources() const { return m_documentRes
ources; } |
| 107 | 105 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 m_loader->m_allowStaleResources = m_previousState; | 210 m_loader->m_allowStaleResources = m_previousState; |
| 213 } | 211 } |
| 214 private: | 212 private: |
| 215 CachedResourceLoader* m_loader; | 213 CachedResourceLoader* m_loader; |
| 216 bool m_previousState; | 214 bool m_previousState; |
| 217 }; | 215 }; |
| 218 | 216 |
| 219 } // namespace WebCore | 217 } // namespace WebCore |
| 220 | 218 |
| 221 #endif | 219 #endif |
| OLD | NEW |