OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_CHILD_NPOBJECT_STUB_H_ | 8 #ifndef CONTENT_CHILD_NPOBJECT_STUB_H_ |
9 #define CONTENT_CHILD_NPOBJECT_STUB_H_ | 9 #define CONTENT_CHILD_NPOBJECT_STUB_H_ |
10 | 10 |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "content/child/npobject_base.h" | 15 #include "content/child/npobject_base.h" |
16 #include "googleurl/src/gurl.h" | |
17 #include "ipc/ipc_listener.h" | 16 #include "ipc/ipc_listener.h" |
18 #include "ipc/ipc_sender.h" | 17 #include "ipc/ipc_sender.h" |
| 18 #include "url/gurl.h" |
19 | 19 |
20 struct NPObject; | 20 struct NPObject; |
21 | 21 |
22 namespace content { | 22 namespace content { |
23 class NPChannelBase; | 23 class NPChannelBase; |
24 struct NPIdentifier_Param; | 24 struct NPIdentifier_Param; |
25 struct NPVariant_Param; | 25 struct NPVariant_Param; |
26 | 26 |
27 // This wraps an NPObject and converts IPC messages from NPObjectProxy to calls | 27 // This wraps an NPObject and converts IPC messages from NPObjectProxy to calls |
28 // to the object. The results are marshalled back. See npobject_proxy.h for | 28 // to the object. The results are marshalled back. See npobject_proxy.h for |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 int route_id_; | 90 int route_id_; |
91 int render_view_id_; | 91 int render_view_id_; |
92 | 92 |
93 // The url of the main frame hosting the plugin. | 93 // The url of the main frame hosting the plugin. |
94 GURL page_url_; | 94 GURL page_url_; |
95 }; | 95 }; |
96 | 96 |
97 } // namespace content | 97 } // namespace content |
98 | 98 |
99 #endif // CONTENT_CHILD_NPOBJECT_STUB_H_ | 99 #endif // CONTENT_CHILD_NPOBJECT_STUB_H_ |
OLD | NEW |