OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMMON_NPOBJECT_STUB_H_ | 8 #ifndef CONTENT_COMMON_NPOBJECT_STUB_H_ |
9 #define CONTENT_COMMON_NPOBJECT_STUB_H_ | 9 #define CONTENT_COMMON_NPOBJECT_STUB_H_ |
10 #pragma once | |
11 | 10 |
12 #include <vector> | 11 #include <vector> |
13 | 12 |
14 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
16 #include "content/common/npobject_base.h" | 15 #include "content/common/npobject_base.h" |
17 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
18 #include "ipc/ipc_listener.h" | 17 #include "ipc/ipc_listener.h" |
19 #include "ipc/ipc_sender.h" | 18 #include "ipc/ipc_sender.h" |
20 #include "ui/gfx/native_widget_types.h" | 19 #include "ui/gfx/native_widget_types.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 NPObject* npobject_; | 87 NPObject* npobject_; |
89 scoped_refptr<NPChannelBase> channel_; | 88 scoped_refptr<NPChannelBase> channel_; |
90 int route_id_; | 89 int route_id_; |
91 gfx::NativeViewId containing_window_; | 90 gfx::NativeViewId containing_window_; |
92 | 91 |
93 // The url of the main frame hosting the plugin. | 92 // The url of the main frame hosting the plugin. |
94 GURL page_url_; | 93 GURL page_url_; |
95 }; | 94 }; |
96 | 95 |
97 #endif // CONTENT_COMMON_NPOBJECT_STUB_H_ | 96 #endif // CONTENT_COMMON_NPOBJECT_STUB_H_ |
OLD | NEW |