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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.h

Issue 2719333002: second stage
Patch Set: Need to get around resource loading without web/ 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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 23 matching lines...) Expand all
34 34
35 #include "core/loader/FrameLoaderClient.h" 35 #include "core/loader/FrameLoaderClient.h"
36 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
37 #include "platform/weborigin/KURL.h" 37 #include "platform/weborigin/KURL.h"
38 #include "public/platform/WebInsecureRequestPolicy.h" 38 #include "public/platform/WebInsecureRequestPolicy.h"
39 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
40 #include <memory> 40 #include <memory>
41 41
42 namespace blink { 42 namespace blink {
43 43
44 class PluginClient;
44 class WebDevToolsAgentImpl; 45 class WebDevToolsAgentImpl;
45 class WebLocalFrameImpl; 46 class WebLocalFrameImpl;
46 47
47 class FrameLoaderClientImpl final : public FrameLoaderClient { 48 class FrameLoaderClientImpl final : public FrameLoaderClient {
48 public: 49 public:
49 static FrameLoaderClientImpl* create(WebLocalFrameImpl*); 50 static FrameLoaderClientImpl* create(WebLocalFrameImpl*);
50 51
51 ~FrameLoaderClientImpl() override; 52 ~FrameLoaderClientImpl() override;
52 53
53 DECLARE_VIRTUAL_TRACE(); 54 DECLARE_VIRTUAL_TRACE();
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 const WTF::AtomicString& name, 144 const WTF::AtomicString& name,
144 HTMLFrameOwnerElement*) override; 145 HTMLFrameOwnerElement*) override;
145 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 146 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
146 Widget* createPlugin(HTMLPlugInElement*, 147 Widget* createPlugin(HTMLPlugInElement*,
147 const KURL&, 148 const KURL&,
148 const Vector<WTF::String>&, 149 const Vector<WTF::String>&,
149 const Vector<WTF::String>&, 150 const Vector<WTF::String>&,
150 const WTF::String&, 151 const WTF::String&,
151 bool loadManually, 152 bool loadManually,
152 DetachedPluginPolicy) override; 153 DetachedPluginPolicy) override;
154 PluginClient* createPluginClient(HTMLPlugInElement*,
155 const KURL&,
156 const WTF::String&) override;
153 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( 157 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(
154 HTMLMediaElement&, 158 HTMLMediaElement&,
155 const WebMediaPlayerSource&, 159 const WebMediaPlayerSource&,
156 WebMediaPlayerClient*) override; 160 WebMediaPlayerClient*) override;
157 WebRemotePlaybackClient* createWebRemotePlaybackClient( 161 WebRemotePlaybackClient* createWebRemotePlaybackClient(
158 HTMLMediaElement&) override; 162 HTMLMediaElement&) override;
159 ObjectContentType getObjectContentType( 163 ObjectContentType getObjectContentType(
160 const KURL&, 164 const KURL&,
161 const WTF::String& mimeType, 165 const WTF::String& mimeType,
162 bool shouldPreferPlugInsForImages) override; 166 bool shouldPreferPlugInsForImages) override;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 242
239 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, 243 DEFINE_TYPE_CASTS(FrameLoaderClientImpl,
240 FrameLoaderClient, 244 FrameLoaderClient,
241 client, 245 client,
242 client->isFrameLoaderClientImpl(), 246 client->isFrameLoaderClientImpl(),
243 client.isFrameLoaderClientImpl()); 247 client.isFrameLoaderClientImpl());
244 248
245 } // namespace blink 249 } // namespace blink
246 250
247 #endif 251 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698