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 class that receives IPC messages from an NPObjectProxy and calls the real | 5 // A class that receives IPC messages from an NPObjectProxy and calls the real |
6 // NPObject. | 6 // NPObject. |
7 | 7 |
8 #ifndef CHROME_PLUGIN_NPOBJECT_STUB_H_ | 8 #ifndef CHROME_PLUGIN_NPOBJECT_STUB_H_ |
9 #define CHROME_PLUGIN_NPOBJECT_STUB_H_ | 9 #define CHROME_PLUGIN_NPOBJECT_STUB_H_ |
10 | 10 |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/ref_counted.h" | 13 #include "base/ref_counted.h" |
14 #include "chrome/common/ipc_channel.h" | |
15 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
| 15 #include "ipc/ipc_channel.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class WaitableEvent; | 18 class WaitableEvent; |
19 } | 19 } |
20 | 20 |
21 class PluginChannelBase; | 21 class PluginChannelBase; |
22 class WebPluginDelegateProxy; | 22 class WebPluginDelegateProxy; |
23 struct NPIdentifier_Param; | 23 struct NPIdentifier_Param; |
24 struct NPObject; | 24 struct NPObject; |
25 struct NPVariant_Param; | 25 struct NPVariant_Param; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 bool valid_; | 91 bool valid_; |
92 WebPluginDelegateProxy* web_plugin_delegate_proxy_; | 92 WebPluginDelegateProxy* web_plugin_delegate_proxy_; |
93 | 93 |
94 base::WaitableEvent* modal_dialog_event_; | 94 base::WaitableEvent* modal_dialog_event_; |
95 | 95 |
96 // The url of the main frame hosting the plugin. | 96 // The url of the main frame hosting the plugin. |
97 GURL page_url_; | 97 GURL page_url_; |
98 }; | 98 }; |
99 | 99 |
100 #endif // CHROME_PLUGIN_NPOBJECT_STUB_H_ | 100 #endif // CHROME_PLUGIN_NPOBJECT_STUB_H_ |
OLD | NEW |