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

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

Issue 8539023: base::Bind: Conversions in webkit/plugins/npapi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 6 #define WEBKIT_PLUGINS_NPAPI_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/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/task.h"
16 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderClient.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderClient.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h"
23 #include "ui/gfx/native_widget_types.h" 22 #include "ui/gfx/native_widget_types.h"
24 #include "webkit/plugins/npapi/webplugin.h" 23 #include "webkit/plugins/npapi/webplugin.h"
25 24
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 FilePath file_path_; 289 FilePath file_path_;
291 290
292 // The mime type of the plugin. 291 // The mime type of the plugin.
293 std::string mime_type_; 292 std::string mime_type_;
294 293
295 // Holds the list of argument names and values passed to the plugin. We keep 294 // Holds the list of argument names and values passed to the plugin. We keep
296 // these so that we can re-initialize the plugin if we need to. 295 // these so that we can re-initialize the plugin if we need to.
297 std::vector<std::string> arg_names_; 296 std::vector<std::string> arg_names_;
298 std::vector<std::string> arg_values_; 297 std::vector<std::string> arg_values_;
299 298
300 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; 299 base::WeakPtrFactory<WebPluginImpl> weak_factory_;
301 300
302 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); 301 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
303 }; 302 };
304 303
305 } // namespace npapi 304 } // namespace npapi
306 } // namespace webkit 305 } // namespace webkit
307 306
308 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 307 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/webplugin_delegate_impl_win.cc ('k') | webkit/plugins/npapi/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698