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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webplugin.h ('k') | webkit/glue/webplugin_impl.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_GLUE_WEBPLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
6 #define WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ 6 #define WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "app/gfx/native_widget_types.h" 10 #include "app/gfx/native_widget_types.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 // Only supported when the plugin is the default plugin. 117 // Only supported when the plugin is the default plugin.
118 virtual void InstallMissingPlugin() = 0; 118 virtual void InstallMissingPlugin() = 0;
119 119
120 // Creates a WebPluginResourceClient instance and returns the same. 120 // Creates a WebPluginResourceClient instance and returns the same.
121 virtual WebPluginResourceClient* CreateResourceClient(int resource_id, 121 virtual WebPluginResourceClient* CreateResourceClient(int resource_id,
122 const GURL& url, 122 const GURL& url,
123 bool notify_needed, 123 bool notify_needed,
124 intptr_t notify_data, 124 intptr_t notify_data,
125 intptr_t stream) = 0; 125 intptr_t stream) = 0;
126
127 // The following two methods are for use in implementing Pepper renderers.
128 // They should not be called outside of that context.
129 virtual NPError InitializeRenderContext(NPRenderType type,
130 NPRenderContext* context) {
131 return NPERR_GENERIC_ERROR;
132 }
133
134 virtual NPError FlushRenderContext(NPRenderContext* context) {
135 return NPERR_GENERIC_ERROR;
136 }
126 }; 137 };
127 138
128 } // namespace webkit_glue 139 } // namespace webkit_glue
129 140
130 #endif // WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_ 141 #endif // WEBKIT_GLUE_WEBPLUGIN_DELEGATE_H_
OLDNEW
« 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