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

Unified Diff: webkit/glue/webplugin.h

Issue 291001: Moved Pepper delegate definition to chrome\renderer to allow it to use... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_pepper_impl.cc ('k') | webkit/glue/webplugin_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin.h
===================================================================
--- webkit/glue/webplugin.h (revision 29377)
+++ webkit/glue/webplugin.h (working copy)
@@ -26,6 +26,7 @@
namespace webkit_glue {
+class WebPluginDelegate;
class WebPluginParentView;
class WebPluginResourceClient;
@@ -125,6 +126,11 @@
// Defers the loading of the resource identified by resource_id. This is
// controlled by the defer parameter.
virtual void SetDeferResourceLoading(int resource_id, bool defer) = 0;
+
+ // Gets the WebPluginDelegate that implements the interface.
+ // This API is only for use with Pepper, and hence only with
+ // in renderer process plugins.
+ virtual WebPluginDelegate* delegate() { return NULL; }
};
// Simpler version of ResourceHandleClient that lends itself to proxying.
« no previous file with comments | « webkit/glue/plugins/webplugin_delegate_pepper_impl.cc ('k') | webkit/glue/webplugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698