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

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

Issue 20107: Cleanup some forward declared structs that are not being used. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | « chrome/common/temp_scaffolding_stubs.h ('k') | chrome/renderer/webplugin_delegate_proxy.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 // 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
11 #include "base/ref_counted.h" 11 #include "base/ref_counted.h"
12 #include "chrome/common/ipc_channel.h" 12 #include "chrome/common/ipc_channel.h"
13 #include "third_party/npapi/bindings/npruntime.h" 13 #include "third_party/npapi/bindings/npruntime.h"
14 14
15 class PluginChannelBase; 15 class PluginChannelBase;
16 struct NPObject; 16 struct NPObject;
17 struct NPVariant_Param;
18 17
19 namespace base { 18 namespace base {
20 class WaitableEvent; 19 class WaitableEvent;
21 } 20 }
22 21
23 // When running a plugin in a different process from the renderer, we need to 22 // When running a plugin in a different process from the renderer, we need to
24 // proxy calls to NPObjects across process boundaries. This happens both ways, 23 // proxy calls to NPObjects across process boundaries. This happens both ways,
25 // as a plugin can get an NPObject for the window, and a page can get an 24 // as a plugin can get an NPObject for the window, and a page can get an
26 // NPObject for the plugin. In the process that interacts with the NPobject we 25 // NPObject for the plugin. In the process that interacts with the NPobject we
27 // give it an NPObjectProxy instead. All calls to it are sent across an IPC 26 // give it an NPObjectProxy instead. All calls to it are sent across an IPC
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 static void NPPInvalidate(NPObject *obj); 110 static void NPPInvalidate(NPObject *obj);
112 static NPClass npclass_proxy_; 111 static NPClass npclass_proxy_;
113 112
114 int route_id_; 113 int route_id_;
115 void* npobject_ptr_; 114 void* npobject_ptr_;
116 scoped_refptr<PluginChannelBase> channel_; 115 scoped_refptr<PluginChannelBase> channel_;
117 base::WaitableEvent* modal_dialog_event_; 116 base::WaitableEvent* modal_dialog_event_;
118 }; 117 };
119 118
120 #endif // CHROME_PLUGIN_NPOBJECT_PROXY_H_ 119 #endif // CHROME_PLUGIN_NPOBJECT_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/common/temp_scaffolding_stubs.h ('k') | chrome/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698