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

Side by Side Diff: chrome/plugin/npobject_proxy.h

Issue 79020: linux (and some posix): multiprocess plugins compiling. (Closed)
Patch Set: rebased Created 11 years, 8 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
« no previous file with comments | « chrome/plugin/chrome_plugin_host.cc ('k') | chrome/plugin/npobject_proxy.cc » ('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 // A proxy for NPObject that sends all calls to the object to an NPObjectStub 5 // A proxy for NPObject that sends all calls to the object to an NPObjectStub
6 // running in a different process. 6 // running in a different process.
7 7
8 #ifndef CHROME_PLUGIN_NPOBJECT_PROXY_H_ 8 #ifndef CHROME_PLUGIN_NPOBJECT_PROXY_H_
9 #define CHROME_PLUGIN_NPOBJECT_PROXY_H_ 9 #define CHROME_PLUGIN_NPOBJECT_PROXY_H_
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void OnMessageReceived(const IPC::Message& msg); 103 void OnMessageReceived(const IPC::Message& msg);
104 void OnChannelError(); 104 void OnChannelError();
105 105
106 static NPObject* NPAllocate(NPP, NPClass*); 106 static NPObject* NPAllocate(NPP, NPClass*);
107 static void NPDeallocate(NPObject* npObj); 107 static void NPDeallocate(NPObject* npObj);
108 108
109 // This function is only caled on NPObjects from the plugin. 109 // This function is only caled on NPObjects from the plugin.
110 static void NPPInvalidate(NPObject *obj); 110 static void NPPInvalidate(NPObject *obj);
111 static NPClass npclass_proxy_; 111 static NPClass npclass_proxy_;
112 112
113 scoped_refptr<PluginChannelBase> channel_;
113 int route_id_; 114 int route_id_;
114 intptr_t npobject_ptr_; 115 intptr_t npobject_ptr_;
115 scoped_refptr<PluginChannelBase> channel_;
116 base::WaitableEvent* modal_dialog_event_; 116 base::WaitableEvent* modal_dialog_event_;
117 }; 117 };
118 118
119 #endif // CHROME_PLUGIN_NPOBJECT_PROXY_H_ 119 #endif // CHROME_PLUGIN_NPOBJECT_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/plugin/chrome_plugin_host.cc ('k') | chrome/plugin/npobject_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698