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

Side by Side Diff: content/renderer/npapi/webplugin_impl.h

Issue 384273003: Move multipart_response_delegate.* from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android_webview fix Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « content/content_child.gypi ('k') | content/renderer/npapi/webplugin_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ 5 #ifndef CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_
6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ 6 #define CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 20 matching lines...) Expand all
31 31
32 namespace blink { 32 namespace blink {
33 class WebFrame; 33 class WebFrame;
34 class WebLayer; 34 class WebLayer;
35 class WebPluginContainer; 35 class WebPluginContainer;
36 class WebURLResponse; 36 class WebURLResponse;
37 class WebURLLoader; 37 class WebURLLoader;
38 class WebURLRequest; 38 class WebURLRequest;
39 } 39 }
40 40
41 namespace webkit_glue { 41 namespace content {
42 class MultipartResponseDelegate; 42 class MultipartResponseDelegate;
43 } // namespace webkit_glue
44
45 namespace content {
46 class RenderFrameImpl; 43 class RenderFrameImpl;
47 class RenderViewImpl; 44 class RenderViewImpl;
48 class WebPluginDelegateProxy; 45 class WebPluginDelegateProxy;
49 46
50 // This is the WebKit side of the plugin implementation that forwards calls, 47 // This is the WebKit side of the plugin implementation that forwards calls,
51 // after changing out of WebCore types, to a delegate. The delegate may 48 // after changing out of WebCore types, to a delegate. The delegate may
52 // be in a different process. 49 // be in a different process.
53 class WebPluginImpl : public WebPlugin, 50 class WebPluginImpl : public WebPlugin,
54 public blink::WebPlugin { 51 public blink::WebPlugin {
55 public: 52 public:
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 blink::WebFrame* webframe_; 285 blink::WebFrame* webframe_;
289 286
290 WebPluginDelegateProxy* delegate_; 287 WebPluginDelegateProxy* delegate_;
291 288
292 // This is just a weak reference. 289 // This is just a weak reference.
293 blink::WebPluginContainer* container_; 290 blink::WebPluginContainer* container_;
294 291
295 // Unique identifier for this plugin, used to track script objects. 292 // Unique identifier for this plugin, used to track script objects.
296 struct _NPP* npp_; 293 struct _NPP* npp_;
297 294
298 typedef std::map<WebPluginResourceClient*, 295 typedef std::map<WebPluginResourceClient*, MultipartResponseDelegate*>
299 webkit_glue::MultipartResponseDelegate*>
300 MultiPartResponseHandlerMap; 296 MultiPartResponseHandlerMap;
301 // Tracks HTTP multipart response handlers instantiated for 297 // Tracks HTTP multipart response handlers instantiated for
302 // a WebPluginResourceClient instance. 298 // a WebPluginResourceClient instance.
303 MultiPartResponseHandlerMap multi_part_response_map_; 299 MultiPartResponseHandlerMap multi_part_response_map_;
304 300
305 // The plugin source URL. 301 // The plugin source URL.
306 GURL plugin_url_; 302 GURL plugin_url_;
307 303
308 // Indicates if the download would be initiated by the plugin or us. 304 // Indicates if the download would be initiated by the plugin or us.
309 bool load_manually_; 305 bool load_manually_;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 }; 359 };
364 360
365 LoaderClient loader_client_; 361 LoaderClient loader_client_;
366 362
367 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); 363 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
368 }; 364 };
369 365
370 } // namespace content 366 } // namespace content
371 367
372 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_ 368 #endif // CONTENT_RENDERER_NPAPI_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « content/content_child.gypi ('k') | content/renderer/npapi/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698