| 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 13 matching lines...) Expand all Loading... |
| 24 #include "sky/engine/core/dom/Document.h" | 24 #include "sky/engine/core/dom/Document.h" |
| 25 #include "sky/engine/core/dom/Element.h" | 25 #include "sky/engine/core/dom/Element.h" |
| 26 #include "sky/engine/core/dom/IncrementLoadEventDelayCount.h" | 26 #include "sky/engine/core/dom/IncrementLoadEventDelayCount.h" |
| 27 #include "sky/engine/core/dom/Microtask.h" | 27 #include "sky/engine/core/dom/Microtask.h" |
| 28 #include "sky/engine/core/events/Event.h" | 28 #include "sky/engine/core/events/Event.h" |
| 29 #include "sky/engine/core/events/EventSender.h" | 29 #include "sky/engine/core/events/EventSender.h" |
| 30 #include "sky/engine/core/fetch/FetchRequest.h" | 30 #include "sky/engine/core/fetch/FetchRequest.h" |
| 31 #include "sky/engine/core/fetch/MemoryCache.h" | 31 #include "sky/engine/core/fetch/MemoryCache.h" |
| 32 #include "sky/engine/core/fetch/ResourceFetcher.h" | 32 #include "sky/engine/core/fetch/ResourceFetcher.h" |
| 33 #include "sky/engine/core/frame/LocalFrame.h" | 33 #include "sky/engine/core/frame/LocalFrame.h" |
| 34 #include "sky/engine/core/html/HTMLImageElement.h" | |
| 35 #include "sky/engine/core/html/parser/HTMLParserIdioms.h" | 34 #include "sky/engine/core/html/parser/HTMLParserIdioms.h" |
| 36 #include "sky/engine/core/rendering/RenderImage.h" | 35 #include "sky/engine/core/rendering/RenderImage.h" |
| 37 #include "sky/engine/platform/Logging.h" | 36 #include "sky/engine/platform/Logging.h" |
| 38 #include "sky/engine/public/platform/WebURLRequest.h" | 37 #include "sky/engine/public/platform/WebURLRequest.h" |
| 39 | 38 |
| 40 namespace blink { | 39 namespace blink { |
| 41 | 40 |
| 42 static ImageEventSender& loadEventSender() | 41 static ImageEventSender& loadEventSender() |
| 43 { | 42 { |
| 44 DEFINE_STATIC_LOCAL(ImageEventSender, sender, (EventTypeNames::load)); | 43 DEFINE_STATIC_LOCAL(ImageEventSender, sender, (EventTypeNames::load)); |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 void ImageLoader::sourceImageChanged() | 488 void ImageLoader::sourceImageChanged() |
| 490 { | 489 { |
| 491 HashSet<ImageLoaderClient*>::iterator end = m_clients.end(); | 490 HashSet<ImageLoaderClient*>::iterator end = m_clients.end(); |
| 492 for (HashSet<ImageLoaderClient*>::iterator it = m_clients.begin(); it != end
; ++it) { | 491 for (HashSet<ImageLoaderClient*>::iterator it = m_clients.begin(); it != end
; ++it) { |
| 493 ImageLoaderClient* handle = *it; | 492 ImageLoaderClient* handle = *it; |
| 494 handle->notifyImageSourceChanged(); | 493 handle->notifyImageSourceChanged(); |
| 495 } | 494 } |
| 496 } | 495 } |
| 497 | 496 |
| 498 } | 497 } |
| OLD | NEW |