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/gfx/native_widget_types.h" | 13 #include "app/gfx/native_widget_types.h" |
14 #include "base/ref_counted.h" | 14 #include "base/ref_counted.h" |
15 #include "base/weak_ptr.h" | 15 #include "base/weak_ptr.h" |
16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
17 #include "ipc/ipc_channel.h" | 17 #include "ipc/ipc_channel.h" |
18 | 18 |
19 class PluginChannelBase; | 19 class PluginChannelBase; |
20 struct NPIdentifier_Param; | 20 struct NPIdentifier_Param; |
21 struct NPObject; | 21 struct NPObject; |
22 struct NPVariant_Param; | 22 struct NPVariant_Param; |
23 | 23 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 NPObject* npobject_; | 79 NPObject* npobject_; |
80 scoped_refptr<PluginChannelBase> channel_; | 80 scoped_refptr<PluginChannelBase> channel_; |
81 int route_id_; | 81 int route_id_; |
82 gfx::NativeViewId containing_window_; | 82 gfx::NativeViewId containing_window_; |
83 | 83 |
84 // The url of the main frame hosting the plugin. | 84 // The url of the main frame hosting the plugin. |
85 GURL page_url_; | 85 GURL page_url_; |
86 }; | 86 }; |
87 | 87 |
88 #endif // CHROME_PLUGIN_NPOBJECT_STUB_H_ | 88 #endif // CHROME_PLUGIN_NPOBJECT_STUB_H_ |
OLD | NEW |