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

Unified Diff: webkit/plugins/ppapi/message_channel.h

Issue 19744007: Create a public API around webkit::ppapi::PluginInstance and use it in chrome. After this, webkit/p… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments and undo checkdeps change Created 7 years, 5 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/plugins/ppapi/host_var_tracker_unittest.cc ('k') | webkit/plugins/ppapi/message_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/message_channel.h
===================================================================
--- webkit/plugins/ppapi/message_channel.h (revision 213462)
+++ webkit/plugins/ppapi/message_channel.h (working copy)
@@ -17,7 +17,7 @@
namespace webkit {
namespace ppapi {
-class PluginInstance;
+class PluginInstanceImpl;
// MessageChannel implements bidirectional postMessage functionality, allowing
// calls from JavaScript to plugins and vice-versa. See
@@ -45,7 +45,7 @@
base::WeakPtr<MessageChannel> message_channel;
};
- explicit MessageChannel(PluginInstance* instance);
+ explicit MessageChannel(PluginInstanceImpl* instance);
~MessageChannel();
// Post a message to the onmessage handler for this channel's instance
@@ -66,7 +66,7 @@
NPObject* np_object() { return np_object_; }
- PluginInstance* instance() {
+ PluginInstanceImpl* instance() {
return instance_;
}
@@ -77,7 +77,7 @@
void StopQueueingJavaScriptMessages();
private:
- PluginInstance* instance_;
+ PluginInstanceImpl* instance_;
// We pass all non-postMessage calls through to the passthrough_object_.
// This way, a plugin can use PPB_Class or PPP_Class_Deprecated and also
« no previous file with comments | « webkit/plugins/ppapi/host_var_tracker_unittest.cc ('k') | webkit/plugins/ppapi/message_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698