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

Unified Diff: webkit/glue/webplugin_delegate.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/webplugin.h ('k') | webkit/glue/webplugin_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin_delegate.h
===================================================================
--- webkit/glue/webplugin_delegate.h (revision 29377)
+++ webkit/glue/webplugin_delegate.h (working copy)
@@ -123,6 +123,17 @@
bool notify_needed,
intptr_t notify_data,
intptr_t stream) = 0;
+
+ // The following two methods are for use in implementing Pepper renderers.
+ // They should not be called outside of that context.
+ virtual NPError InitializeRenderContext(NPRenderType type,
+ NPRenderContext* context) {
+ return NPERR_GENERIC_ERROR;
+ }
+
+ virtual NPError FlushRenderContext(NPRenderContext* context) {
+ return NPERR_GENERIC_ERROR;
+ }
};
} // namespace webkit_glue
« no previous file with comments | « webkit/glue/webplugin.h ('k') | webkit/glue/webplugin_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698