OLD | NEW |
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" | |
13 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
| 13 #include "ipc/ipc_channel.h" |
14 #include "third_party/npapi/bindings/npruntime.h" | 14 #include "third_party/npapi/bindings/npruntime.h" |
15 | 15 |
16 class PluginChannelBase; | 16 class PluginChannelBase; |
17 struct NPObject; | 17 struct NPObject; |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class WaitableEvent; | 20 class WaitableEvent; |
21 } | 21 } |
22 | 22 |
23 // When running a plugin in a different process from the renderer, we need to | 23 // When running a plugin in a different process from the renderer, we need to |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 scoped_refptr<PluginChannelBase> channel_; | 120 scoped_refptr<PluginChannelBase> channel_; |
121 int route_id_; | 121 int route_id_; |
122 intptr_t npobject_ptr_; | 122 intptr_t npobject_ptr_; |
123 base::WaitableEvent* modal_dialog_event_; | 123 base::WaitableEvent* modal_dialog_event_; |
124 | 124 |
125 // The url of the main frame hosting the plugin. | 125 // The url of the main frame hosting the plugin. |
126 GURL page_url_; | 126 GURL page_url_; |
127 }; | 127 }; |
128 | 128 |
129 #endif // CHROME_PLUGIN_NPOBJECT_PROXY_H_ | 129 #endif // CHROME_PLUGIN_NPOBJECT_PROXY_H_ |
OLD | NEW |