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 22 matching lines...) Expand all Loading... |
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/events/Event.h" | 37 #include "core/events/Event.h" |
38 #include "core/events/EventSender.h" | 38 #include "core/events/EventSender.h" |
39 #include "core/dom/StyleEngine.h" | 39 #include "core/dom/StyleEngine.h" |
40 #include "core/fetch/CSSStyleSheetResource.h" | 40 #include "core/fetch/CSSStyleSheetResource.h" |
41 #include "core/fetch/FetchRequest.h" | 41 #include "core/fetch/FetchRequest.h" |
42 #include "core/fetch/ResourceFetcher.h" | 42 #include "core/fetch/ResourceFetcher.h" |
43 #include "core/frame/ContentSecurityPolicy.h" | |
44 #include "core/frame/FrameView.h" | 43 #include "core/frame/FrameView.h" |
45 #include "core/frame/LocalFrame.h" | 44 #include "core/frame/LocalFrame.h" |
| 45 #include "core/frame/csp/ContentSecurityPolicy.h" |
46 #include "core/html/imports/LinkImport.h" | 46 #include "core/html/imports/LinkImport.h" |
47 #include "core/loader/FrameLoader.h" | 47 #include "core/loader/FrameLoader.h" |
48 #include "core/loader/FrameLoaderClient.h" | 48 #include "core/loader/FrameLoaderClient.h" |
49 #include "wtf/StdLibExtras.h" | 49 #include "wtf/StdLibExtras.h" |
50 | 50 |
51 namespace WebCore { | 51 namespace WebCore { |
52 | 52 |
53 using namespace HTMLNames; | 53 using namespace HTMLNames; |
54 | 54 |
55 static LinkEventSender& linkLoadEventSender() | 55 static LinkEventSender& linkLoadEventSender() |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 void LinkStyle::ownerRemoved() | 626 void LinkStyle::ownerRemoved() |
627 { | 627 { |
628 if (m_sheet) | 628 if (m_sheet) |
629 clearSheet(); | 629 clearSheet(); |
630 | 630 |
631 if (styleSheetIsLoading()) | 631 if (styleSheetIsLoading()) |
632 removePendingSheet(RemovePendingSheetNotifyLater); | 632 removePendingSheet(RemovePendingSheetNotifyLater); |
633 } | 633 } |
634 | 634 |
635 } // namespace WebCore | 635 } // namespace WebCore |
OLD | NEW |