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

Side by Side Diff: webkit/glue/plugins/webplugin_impl.h

Issue 5998002: Revert "Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | « webkit/glue/plugins/webplugin_file_delegate.cc ('k') | webkit/glue/plugins/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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 6 #define WEBKIT_GLUE_WEBPLUGIN_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/task.h" 14 #include "base/task.h"
15 #include "base/weak_ptr.h" 15 #include "base/weak_ptr.h"
16 #include "gfx/native_widget_types.h" 16 #include "gfx/native_widget_types.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 #include "third_party/WebKit/WebKit/chromium/public/WebPlugin.h" 18 #include "third_party/WebKit/WebKit/chromium/public/WebPlugin.h"
19 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" 19 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h"
20 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" 20 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
21 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoaderClient.h" 21 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoaderClient.h"
22 #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h" 22 #include "third_party/WebKit/WebKit/chromium/public/WebURLRequest.h"
23 #include "third_party/WebKit/WebKit/chromium/public/WebVector.h" 23 #include "third_party/WebKit/WebKit/chromium/public/WebVector.h"
24 #include "webkit/plugins/npapi/webplugin.h" 24 #include "webkit/glue/plugins/webplugin.h"
25 25
26 class WebViewDelegate; 26 class WebViewDelegate;
27 27
28 namespace WebKit { 28 namespace WebKit {
29 class WebDevToolsAgent; 29 class WebDevToolsAgent;
30 class WebFrame; 30 class WebFrame;
31 class WebPluginContainer; 31 class WebPluginContainer;
32 class WebURLResponse; 32 class WebURLResponse;
33 class WebURLLoader; 33 class WebURLLoader;
34 class WebURLRequest; 34 class WebURLRequest;
35 } 35 }
36 36
37 namespace webkit_glue { 37 namespace webkit_glue {
38
38 class MultipartResponseDelegate; 39 class MultipartResponseDelegate;
39 } // namespace webkit_glue
40
41 namespace webkit {
42 namespace npapi {
43
44 class WebPluginDelegate; 40 class WebPluginDelegate;
45 class WebPluginPageDelegate; 41 class WebPluginPageDelegate;
46 42
47 // This is the WebKit side of the plugin implementation that forwards calls, 43 // This is the WebKit side of the plugin implementation that forwards calls,
48 // after changing out of WebCore types, to a delegate. The delegate may 44 // after changing out of WebCore types, to a delegate. The delegate may
49 // be in a different process. 45 // be in a different process.
50 class WebPluginImpl : public WebPlugin, 46 class WebPluginImpl : public WebPlugin,
51 public WebKit::WebPlugin, 47 public WebKit::WebPlugin,
52 public WebKit::WebURLLoaderClient { 48 public WebKit::WebURLLoaderClient {
53 public: 49 public:
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 // Holds the list of argument names and values passed to the plugin. We keep 318 // Holds the list of argument names and values passed to the plugin. We keep
323 // these so that we can re-initialize the plugin if we need to. 319 // these so that we can re-initialize the plugin if we need to.
324 std::vector<std::string> arg_names_; 320 std::vector<std::string> arg_names_;
325 std::vector<std::string> arg_values_; 321 std::vector<std::string> arg_values_;
326 322
327 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; 323 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_;
328 324
329 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); 325 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
330 }; 326 };
331 327
332 } // namespace npapi 328 } // namespace webkit_glue
333 } // namespace webkit
334 329
335 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 330 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/webplugin_file_delegate.cc ('k') | webkit/glue/plugins/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698