OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_COMMON_NPOBJECT_PROXY_H_ | 8 #ifndef CONTENT_COMMON_NPOBJECT_PROXY_H_ |
9 #define CONTENT_COMMON_NPOBJECT_PROXY_H_ | 9 #define CONTENT_COMMON_NPOBJECT_PROXY_H_ |
10 #pragma once | |
11 | 10 |
12 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
13 #include "content/common/npobject_base.h" | 12 #include "content/common/npobject_base.h" |
14 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
15 #include "ipc/ipc_listener.h" | 14 #include "ipc/ipc_listener.h" |
16 #include "ipc/ipc_sender.h" | 15 #include "ipc/ipc_sender.h" |
17 #include "third_party/npapi/bindings/npruntime.h" | 16 #include "third_party/npapi/bindings/npruntime.h" |
18 #include "ui/gfx/native_widget_types.h" | 17 #include "ui/gfx/native_widget_types.h" |
19 | 18 |
20 class NPChannelBase; | 19 class NPChannelBase; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 114 |
116 scoped_refptr<NPChannelBase> channel_; | 115 scoped_refptr<NPChannelBase> channel_; |
117 int route_id_; | 116 int route_id_; |
118 gfx::NativeViewId containing_window_; | 117 gfx::NativeViewId containing_window_; |
119 | 118 |
120 // The url of the main frame hosting the plugin. | 119 // The url of the main frame hosting the plugin. |
121 GURL page_url_; | 120 GURL page_url_; |
122 }; | 121 }; |
123 | 122 |
124 #endif // CONTENT_COMMON_NPOBJECT_PROXY_H_ | 123 #endif // CONTENT_COMMON_NPOBJECT_PROXY_H_ |
OLD | NEW |