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

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

Issue 2720633002: Move to core/frame/LocalFrameClient.h instead of core/loader/FrameLoaderClient.h (Closed)
Patch Set: 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) 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 11 matching lines...) Expand all
22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25 #include "core/html/PluginDocument.h" 25 #include "core/html/PluginDocument.h"
26 26
27 #include "bindings/core/v8/ExceptionState.h" 27 #include "bindings/core/v8/ExceptionState.h"
28 #include "core/HTMLNames.h" 28 #include "core/HTMLNames.h"
29 #include "core/dom/RawDataDocumentParser.h" 29 #include "core/dom/RawDataDocumentParser.h"
30 #include "core/frame/FrameView.h" 30 #include "core/frame/FrameView.h"
31 #include "core/frame/LocalFrame.h" 31 #include "core/frame/LocalFrame.h"
32 #include "core/frame/LocalFrameClient.h"
32 #include "core/frame/UseCounter.h" 33 #include "core/frame/UseCounter.h"
33 #include "core/html/HTMLBodyElement.h" 34 #include "core/html/HTMLBodyElement.h"
34 #include "core/html/HTMLEmbedElement.h" 35 #include "core/html/HTMLEmbedElement.h"
35 #include "core/html/HTMLHtmlElement.h" 36 #include "core/html/HTMLHtmlElement.h"
36 #include "core/layout/LayoutEmbeddedObject.h" 37 #include "core/layout/LayoutEmbeddedObject.h"
37 #include "core/loader/DocumentLoader.h" 38 #include "core/loader/DocumentLoader.h"
38 #include "core/loader/FrameLoader.h" 39 #include "core/loader/FrameLoader.h"
39 #include "core/loader/FrameLoaderClient.h"
40 #include "core/plugins/PluginView.h" 40 #include "core/plugins/PluginView.h"
41 41
42 namespace blink { 42 namespace blink {
43 43
44 using namespace HTMLNames; 44 using namespace HTMLNames;
45 45
46 // FIXME: Share more code with MediaDocumentParser. 46 // FIXME: Share more code with MediaDocumentParser.
47 class PluginDocumentParser : public RawDataDocumentParser { 47 class PluginDocumentParser : public RawDataDocumentParser {
48 public: 48 public:
49 static PluginDocumentParser* create(PluginDocument* document) { 49 static PluginDocumentParser* create(PluginDocument* document) {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 m_pluginNode = nullptr; 199 m_pluginNode = nullptr;
200 HTMLDocument::shutdown(); 200 HTMLDocument::shutdown();
201 } 201 }
202 202
203 DEFINE_TRACE(PluginDocument) { 203 DEFINE_TRACE(PluginDocument) {
204 visitor->trace(m_pluginNode); 204 visitor->trace(m_pluginNode);
205 HTMLDocument::trace(visitor); 205 HTMLDocument::trace(visitor);
206 } 206 }
207 207
208 } // namespace blink 208 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698