Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: third_party/WebKit/Source/core/loader/ImageLoader.cpp

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 14 matching lines...) Expand all
25 #include "bindings/core/v8/Microtask.h" 25 #include "bindings/core/v8/Microtask.h"
26 #include "bindings/core/v8/ScriptController.h" 26 #include "bindings/core/v8/ScriptController.h"
27 #include "bindings/core/v8/ScriptState.h" 27 #include "bindings/core/v8/ScriptState.h"
28 #include "bindings/core/v8/V8Binding.h" 28 #include "bindings/core/v8/V8Binding.h"
29 #include "bindings/core/v8/V8PerIsolateData.h" 29 #include "bindings/core/v8/V8PerIsolateData.h"
30 #include "core/dom/Document.h" 30 #include "core/dom/Document.h"
31 #include "core/dom/Element.h" 31 #include "core/dom/Element.h"
32 #include "core/dom/IncrementLoadEventDelayCount.h" 32 #include "core/dom/IncrementLoadEventDelayCount.h"
33 #include "core/events/Event.h" 33 #include "core/events/Event.h"
34 #include "core/events/EventSender.h" 34 #include "core/events/EventSender.h"
35 #include "core/fetch/FetchRequest.h"
36 #include "core/fetch/MemoryCache.h"
37 #include "core/fetch/ResourceFetcher.h"
38 #include "core/fetch/ResourceLoadingLog.h"
39 #include "core/frame/LocalFrame.h" 35 #include "core/frame/LocalFrame.h"
40 #include "core/frame/Settings.h" 36 #include "core/frame/Settings.h"
41 #include "core/frame/UseCounter.h" 37 #include "core/frame/UseCounter.h"
42 #include "core/html/CrossOriginAttribute.h" 38 #include "core/html/CrossOriginAttribute.h"
43 #include "core/html/HTMLImageElement.h" 39 #include "core/html/HTMLImageElement.h"
44 #include "core/html/parser/HTMLParserIdioms.h" 40 #include "core/html/parser/HTMLParserIdioms.h"
45 #include "core/inspector/InspectorInstrumentation.h" 41 #include "core/inspector/InspectorInstrumentation.h"
46 #include "core/layout/LayoutImage.h" 42 #include "core/layout/LayoutImage.h"
47 #include "core/layout/LayoutVideo.h" 43 #include "core/layout/LayoutVideo.h"
48 #include "core/layout/svg/LayoutSVGImage.h" 44 #include "core/layout/svg/LayoutSVGImage.h"
49 #include "core/svg/graphics/SVGImage.h" 45 #include "core/svg/graphics/SVGImage.h"
46 #include "platform/loader/fetch/FetchRequest.h"
47 #include "platform/loader/fetch/MemoryCache.h"
48 #include "platform/loader/fetch/ResourceFetcher.h"
49 #include "platform/loader/fetch/ResourceLoadingLog.h"
50 #include "platform/weborigin/SecurityOrigin.h" 50 #include "platform/weborigin/SecurityOrigin.h"
51 #include "platform/weborigin/SecurityPolicy.h" 51 #include "platform/weborigin/SecurityPolicy.h"
52 #include "public/platform/WebCachePolicy.h" 52 #include "public/platform/WebCachePolicy.h"
53 #include "public/platform/WebURLRequest.h" 53 #include "public/platform/WebURLRequest.h"
54 #include "wtf/PtrUtil.h" 54 #include "wtf/PtrUtil.h"
55 #include <memory> 55 #include <memory>
56 56
57 namespace blink { 57 namespace blink {
58 58
59 static ImageEventSender& loadEventSender() { 59 static ImageEventSender& loadEventSender() {
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 } 634 }
635 635
636 void ImageLoader::elementDidMoveToNewDocument() { 636 void ImageLoader::elementDidMoveToNewDocument() {
637 if (m_loadDelayCounter) 637 if (m_loadDelayCounter)
638 m_loadDelayCounter->documentChanged(m_element->document()); 638 m_loadDelayCounter->documentChanged(m_element->document());
639 clearFailedLoadURL(); 639 clearFailedLoadURL();
640 setImage(0); 640 setImage(0);
641 } 641 }
642 642
643 } // namespace blink 643 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/HttpEquiv.cpp ('k') | third_party/WebKit/Source/core/loader/LinkLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698