| 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 | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010 Apple Inc. All rights |
| 5 * reserved. | 5 * reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "core/layout/LayoutVideo.h" | 43 #include "core/layout/LayoutVideo.h" |
| 44 #include "core/layout/svg/LayoutSVGImage.h" | 44 #include "core/layout/svg/LayoutSVGImage.h" |
| 45 #include "core/probe/CoreProbes.h" | 45 #include "core/probe/CoreProbes.h" |
| 46 #include "core/svg/graphics/SVGImage.h" | 46 #include "core/svg/graphics/SVGImage.h" |
| 47 #include "platform/loader/fetch/FetchRequest.h" | 47 #include "platform/loader/fetch/FetchRequest.h" |
| 48 #include "platform/loader/fetch/MemoryCache.h" | 48 #include "platform/loader/fetch/MemoryCache.h" |
| 49 #include "platform/loader/fetch/ResourceFetcher.h" | 49 #include "platform/loader/fetch/ResourceFetcher.h" |
| 50 #include "platform/loader/fetch/ResourceLoadingLog.h" | 50 #include "platform/loader/fetch/ResourceLoadingLog.h" |
| 51 #include "platform/weborigin/SecurityOrigin.h" | 51 #include "platform/weborigin/SecurityOrigin.h" |
| 52 #include "platform/weborigin/SecurityPolicy.h" | 52 #include "platform/weborigin/SecurityPolicy.h" |
| 53 #include "platform/wtf/PtrUtil.h" |
| 53 #include "public/platform/WebCachePolicy.h" | 54 #include "public/platform/WebCachePolicy.h" |
| 54 #include "public/platform/WebURLRequest.h" | 55 #include "public/platform/WebURLRequest.h" |
| 55 #include "wtf/PtrUtil.h" | |
| 56 | 56 |
| 57 namespace blink { | 57 namespace blink { |
| 58 | 58 |
| 59 static ImageEventSender& LoadEventSender() { | 59 static ImageEventSender& LoadEventSender() { |
| 60 DEFINE_STATIC_LOCAL(ImageEventSender, sender, | 60 DEFINE_STATIC_LOCAL(ImageEventSender, sender, |
| 61 (ImageEventSender::Create(EventTypeNames::load))); | 61 (ImageEventSender::Create(EventTypeNames::load))); |
| 62 return sender; | 62 return sender; |
| 63 } | 63 } |
| 64 | 64 |
| 65 static ImageEventSender& ErrorEventSender() { | 65 static ImageEventSender& ErrorEventSender() { |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 } | 637 } |
| 638 | 638 |
| 639 void ImageLoader::ElementDidMoveToNewDocument() { | 639 void ImageLoader::ElementDidMoveToNewDocument() { |
| 640 if (load_delay_counter_) | 640 if (load_delay_counter_) |
| 641 load_delay_counter_->DocumentChanged(element_->GetDocument()); | 641 load_delay_counter_->DocumentChanged(element_->GetDocument()); |
| 642 ClearFailedLoadURL(); | 642 ClearFailedLoadURL(); |
| 643 SetImage(0); | 643 SetImage(0); |
| 644 } | 644 } |
| 645 | 645 |
| 646 } // namespace blink | 646 } // namespace blink |
| OLD | NEW |