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

Unified Diff: webkit/glue/plugins/webplugin_impl.h

Issue 2262002: Add ppapi plugins to about:plugins (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: webkit/glue/plugins/webplugin_impl.h
===================================================================
--- webkit/glue/plugins/webplugin_impl.h (revision 48402)
+++ webkit/glue/plugins/webplugin_impl.h (working copy)
@@ -10,6 +10,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/file_path.h"
#include "base/linked_ptr.h"
#include "base/task.h"
#include "base/weak_ptr.h"
@@ -50,6 +51,8 @@
WebPluginImpl(
WebKit::WebFrame* frame,
const WebKit::WebPluginParams& params,
+ const FilePath& file_path,
+ const std::string& mime_type,
const base::WeakPtr<WebPluginPageDelegate>& page_delegate);
virtual ~WebPluginImpl();
@@ -201,7 +204,8 @@
virtual void didReceiveData(WebKit::WebURLLoader* loader, const char *buffer,
int length);
virtual void didFinishLoading(WebKit::WebURLLoader* loader);
- virtual void didFail(WebKit::WebURLLoader* loader, const WebKit::WebURLError&);
+ virtual void didFail(WebKit::WebURLLoader* loader,
+ const WebKit::WebURLError& error);
// Helper function to remove the stored information about a resource
// request given its index in m_clients.
@@ -306,6 +310,9 @@
// The current plugin geometry and clip rectangle.
WebPluginGeometry geometry_;
+ // The location of the plugin on disk.
+ FilePath file_path_;
+
// The mime type of the plugin.
std::string mime_type_;

Powered by Google App Engine
This is Rietveld 408576698