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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp

Issue 2746113002: platform/loader: move network/Resource* to loader/fetch (Closed)
Patch Set: git rebase master Created 3 years, 9 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 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de)
5 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. 5 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc.
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 30 matching lines...) Expand all
41 #include "core/inspector/ConsoleMessage.h" 41 #include "core/inspector/ConsoleMessage.h"
42 #include "core/layout/LayoutImage.h" 42 #include "core/layout/LayoutImage.h"
43 #include "core/layout/LayoutPart.h" 43 #include "core/layout/LayoutPart.h"
44 #include "core/layout/api/LayoutEmbeddedItem.h" 44 #include "core/layout/api/LayoutEmbeddedItem.h"
45 #include "core/loader/MixedContentChecker.h" 45 #include "core/loader/MixedContentChecker.h"
46 #include "core/page/Page.h" 46 #include "core/page/Page.h"
47 #include "core/page/scrolling/ScrollingCoordinator.h" 47 #include "core/page/scrolling/ScrollingCoordinator.h"
48 #include "core/plugins/PluginView.h" 48 #include "core/plugins/PluginView.h"
49 #include "platform/FrameViewBase.h" 49 #include "platform/FrameViewBase.h"
50 #include "platform/Histogram.h" 50 #include "platform/Histogram.h"
51 #include "platform/network/ResourceRequest.h" 51 #include "platform/loader/fetch/ResourceRequest.h"
52 #include "platform/network/mime/MIMETypeFromURL.h" 52 #include "platform/network/mime/MIMETypeFromURL.h"
53 #include "platform/network/mime/MIMETypeRegistry.h" 53 #include "platform/network/mime/MIMETypeRegistry.h"
54 #include "platform/plugins/PluginData.h" 54 #include "platform/plugins/PluginData.h"
55 #include "public/platform/WebURLRequest.h" 55 #include "public/platform/WebURLRequest.h"
56 56
57 namespace blink { 57 namespace blink {
58 58
59 using namespace HTMLNames; 59 using namespace HTMLNames;
60 60
61 namespace { 61 namespace {
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 650
651 void HTMLPlugInElement::lazyReattachIfNeeded() { 651 void HTMLPlugInElement::lazyReattachIfNeeded() {
652 if (!useFallbackContent() && needsPluginUpdate() && layoutObject() && 652 if (!useFallbackContent() && needsPluginUpdate() && layoutObject() &&
653 !isImageType()) { 653 !isImageType()) {
654 lazyReattachIfAttached(); 654 lazyReattachIfAttached();
655 setPersistedPluginWidget(nullptr); 655 setPersistedPluginWidget(nullptr);
656 } 656 }
657 } 657 }
658 658
659 } // namespace blink 659 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698