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 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010 Apple Inc. All rights reserv
ed. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "core/events/EventSender.h" | 29 #include "core/events/EventSender.h" |
30 #include "core/fetch/CrossOriginAccessControl.h" | 30 #include "core/fetch/CrossOriginAccessControl.h" |
31 #include "core/fetch/FetchRequest.h" | 31 #include "core/fetch/FetchRequest.h" |
32 #include "core/fetch/ImageResource.h" | 32 #include "core/fetch/ImageResource.h" |
33 #include "core/fetch/ResourceFetcher.h" | 33 #include "core/fetch/ResourceFetcher.h" |
34 #include "core/html/HTMLObjectElement.h" | 34 #include "core/html/HTMLObjectElement.h" |
35 #include "core/html/parser/HTMLParserIdioms.h" | 35 #include "core/html/parser/HTMLParserIdioms.h" |
36 #include "core/rendering/RenderImage.h" | 36 #include "core/rendering/RenderImage.h" |
37 #include "core/rendering/RenderVideo.h" | 37 #include "core/rendering/RenderVideo.h" |
38 #include "core/rendering/svg/RenderSVGImage.h" | 38 #include "core/rendering/svg/RenderSVGImage.h" |
39 #include "weborigin/SecurityOrigin.h" | 39 #include "platform/weborigin/SecurityOrigin.h" |
40 | 40 |
41 namespace WebCore { | 41 namespace WebCore { |
42 | 42 |
43 static ImageEventSender& beforeLoadEventSender() | 43 static ImageEventSender& beforeLoadEventSender() |
44 { | 44 { |
45 DEFINE_STATIC_LOCAL(ImageEventSender, sender, (EventTypeNames::beforeload)); | 45 DEFINE_STATIC_LOCAL(ImageEventSender, sender, (EventTypeNames::beforeload)); |
46 return sender; | 46 return sender; |
47 } | 47 } |
48 | 48 |
49 static ImageEventSender& loadEventSender() | 49 static ImageEventSender& loadEventSender() |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 handle->notifyImageSourceChanged(); | 476 handle->notifyImageSourceChanged(); |
477 } | 477 } |
478 } | 478 } |
479 | 479 |
480 inline void ImageLoader::clearFailedLoadURL() | 480 inline void ImageLoader::clearFailedLoadURL() |
481 { | 481 { |
482 m_failedLoadURL = AtomicString(); | 482 m_failedLoadURL = AtomicString(); |
483 } | 483 } |
484 | 484 |
485 } | 485 } |
OLD | NEW |