| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 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 10 matching lines...) Expand all Loading... |
| 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef PageGroup_h | 26 #ifndef PageGroup_h |
| 27 #define PageGroup_h | 27 #define PageGroup_h |
| 28 | 28 |
| 29 #include "core/page/UserStyleSheet.h" | 29 #include "core/page/UserStyleSheet.h" |
| 30 #include "core/platform/Supplementable.h" | 30 #include "core/platform/Supplementable.h" |
| 31 #include <wtf/HashSet.h> | 31 #include "wtf/HashSet.h" |
| 32 #include <wtf/Noncopyable.h> | 32 #include "wtf/Noncopyable.h" |
| 33 #include <wtf/PassRefPtr.h> | 33 #include "wtf/PassRefPtr.h" |
| 34 #include <wtf/RefCounted.h> | 34 #include "wtf/RefCounted.h" |
| 35 #include <wtf/text/StringHash.h> | |
| 36 | 35 |
| 37 namespace WebCore { | 36 namespace WebCore { |
| 38 | 37 |
| 39 class KURL; | 38 class KURL; |
| 40 class Page; | 39 class Page; |
| 41 class SecurityOrigin; | 40 class SecurityOrigin; |
| 42 | 41 |
| 43 class PageGroup : public Supplementable<PageGroup>, public RefCounted<PageGr
oup> { | 42 class PageGroup : public Supplementable<PageGroup>, public RefCounted<PageGr
oup> { |
| 44 WTF_MAKE_NONCOPYABLE(PageGroup); WTF_MAKE_FAST_ALLOCATED; | 43 WTF_MAKE_NONCOPYABLE(PageGroup); WTF_MAKE_FAST_ALLOCATED; |
| 45 public: | 44 public: |
| (...skipping 23 matching lines...) Expand all Loading... |
| 69 | 68 |
| 70 void invalidatedInjectedStyleSheetCacheInAllFrames(); | 69 void invalidatedInjectedStyleSheetCacheInAllFrames(); |
| 71 | 70 |
| 72 HashSet<Page*> m_pages; | 71 HashSet<Page*> m_pages; |
| 73 UserStyleSheetVector m_userStyleSheets; | 72 UserStyleSheetVector m_userStyleSheets; |
| 74 }; | 73 }; |
| 75 | 74 |
| 76 } // namespace WebCore | 75 } // namespace WebCore |
| 77 | 76 |
| 78 #endif // PageGroup_h | 77 #endif // PageGroup_h |
| OLD | NEW |