| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) | 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) |
| 7 * Copyright (C) 2011 Google Inc. All rights reserved. | 7 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "bindings/v8/ScriptEventListener.h" | 30 #include "bindings/v8/ScriptEventListener.h" |
| 31 #include "core/css/MediaList.h" | 31 #include "core/css/MediaList.h" |
| 32 #include "core/css/MediaQueryEvaluator.h" | 32 #include "core/css/MediaQueryEvaluator.h" |
| 33 #include "core/css/StyleSheetContents.h" | 33 #include "core/css/StyleSheetContents.h" |
| 34 #include "core/css/resolver/StyleResolver.h" | 34 #include "core/css/resolver/StyleResolver.h" |
| 35 #include "core/dom/Attribute.h" | 35 #include "core/dom/Attribute.h" |
| 36 #include "core/dom/Document.h" | 36 #include "core/dom/Document.h" |
| 37 #include "core/dom/DocumentStyleSheetCollection.h" | 37 #include "core/dom/DocumentStyleSheetCollection.h" |
| 38 #include "core/dom/Event.h" | 38 #include "core/dom/Event.h" |
| 39 #include "core/dom/EventSender.h" | 39 #include "core/dom/EventSender.h" |
| 40 #include "core/html/parser/HTMLParserIdioms.h" | |
| 41 #include "core/loader/FrameLoader.h" | 40 #include "core/loader/FrameLoader.h" |
| 42 #include "core/loader/FrameLoaderClient.h" | |
| 43 #include "core/loader/cache/CachedCSSStyleSheet.h" | 41 #include "core/loader/cache/CachedCSSStyleSheet.h" |
| 44 #include "core/loader/cache/CachedResource.h" | |
| 45 #include "core/loader/cache/CachedResourceLoader.h" | 42 #include "core/loader/cache/CachedResourceLoader.h" |
| 46 #include "core/loader/cache/CachedResourceRequest.h" | 43 #include "core/loader/cache/CachedResourceRequest.h" |
| 47 #include "core/page/Frame.h" | 44 #include "core/page/Frame.h" |
| 48 #include "core/page/FrameTree.h" | |
| 49 #include "core/page/FrameView.h" | 45 #include "core/page/FrameView.h" |
| 50 #include "core/page/Page.h" | |
| 51 #include "core/page/Settings.h" | |
| 52 #include "weborigin/SecurityOrigin.h" | |
| 53 | 46 |
| 54 namespace WebCore { | 47 namespace WebCore { |
| 55 | 48 |
| 56 using namespace HTMLNames; | 49 using namespace HTMLNames; |
| 57 | 50 |
| 58 static LinkEventSender& linkLoadEventSender() | 51 static LinkEventSender& linkLoadEventSender() |
| 59 { | 52 { |
| 60 DEFINE_STATIC_LOCAL(LinkEventSender, sharedLoadEventSender, (eventNames().lo
adEvent)); | 53 DEFINE_STATIC_LOCAL(LinkEventSender, sharedLoadEventSender, (eventNames().lo
adEvent)); |
| 61 return sharedLoadEventSender; | 54 return sharedLoadEventSender; |
| 62 } | 55 } |
| (...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 void LinkStyle::ownerRemoved() | 582 void LinkStyle::ownerRemoved() |
| 590 { | 583 { |
| 591 if (m_sheet) | 584 if (m_sheet) |
| 592 clearSheet(); | 585 clearSheet(); |
| 593 | 586 |
| 594 if (styleSheetIsLoading()) | 587 if (styleSheetIsLoading()) |
| 595 removePendingSheet(RemovePendingSheetNotifyLater); | 588 removePendingSheet(RemovePendingSheetNotifyLater); |
| 596 } | 589 } |
| 597 | 590 |
| 598 } // namespace WebCore | 591 } // namespace WebCore |
| OLD | NEW |