OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 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 28 matching lines...) Expand all Loading... |
39 ~WebKitCSSSVGDocumentValue(); | 39 ~WebKitCSSSVGDocumentValue(); |
40 | 40 |
41 CachedSVGDocument* cachedSVGDocument() const { return m_document.get(); } | 41 CachedSVGDocument* cachedSVGDocument() const { return m_document.get(); } |
42 CachedSVGDocument* load(CachedResourceLoader*); | 42 CachedSVGDocument* load(CachedResourceLoader*); |
43 | 43 |
44 String customCssText() const; | 44 String customCssText() const; |
45 const String& url() const { return m_url; } | 45 const String& url() const { return m_url; } |
46 bool loadRequested() const { return m_loadRequested; } | 46 bool loadRequested() const { return m_loadRequested; } |
47 bool equals(const WebKitCSSSVGDocumentValue&) const; | 47 bool equals(const WebKitCSSSVGDocumentValue&) const; |
48 | 48 |
49 void reportDescendantMemoryUsage(MemoryObjectInfo*) const; | |
50 | |
51 private: | 49 private: |
52 WebKitCSSSVGDocumentValue(const String& url); | 50 WebKitCSSSVGDocumentValue(const String& url); |
53 | 51 |
54 String m_url; | 52 String m_url; |
55 CachedResourceHandle<CachedSVGDocument> m_document; | 53 CachedResourceHandle<CachedSVGDocument> m_document; |
56 bool m_loadRequested; | 54 bool m_loadRequested; |
57 }; | 55 }; |
58 | 56 |
59 } // namespace WebCore | 57 } // namespace WebCore |
60 | 58 |
61 #endif // WebKitCSSSVGDocumentValue_h | 59 #endif // WebKitCSSSVGDocumentValue_h |
OLD | NEW |