| 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 #ifndef CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 5 #ifndef CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
| 6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "base/gfx/rect.h" | 10 #include "base/gfx/rect.h" |
| 11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
| 12 #include "base/shared_memory.h" | 12 #include "base/shared_memory.h" |
| 13 #include "base/task.h" | 13 #include "base/task.h" |
| 14 #include "chrome/common/ipc_channel.h" | 14 #include "chrome/common/ipc_channel.h" |
| 15 #include "chrome/common/transport_dib.h" | 15 #include "chrome/common/transport_dib.h" |
| 16 #include "googleurl/src/gurl.h" |
| 16 #include "third_party/npapi/bindings/npapi.h" | 17 #include "third_party/npapi/bindings/npapi.h" |
| 17 | 18 |
| 18 class GURL; | |
| 19 class PluginChannel; | 19 class PluginChannel; |
| 20 class WebPluginProxy; | 20 class WebPluginProxy; |
| 21 class WebPluginDelegate; | 21 class WebPluginDelegate; |
| 22 struct PluginMsg_Init_Params; | 22 struct PluginMsg_Init_Params; |
| 23 struct PluginMsg_DidReceiveResponseParams; | 23 struct PluginMsg_DidReceiveResponseParams; |
| 24 struct PluginMsg_URLRequestReply_Params; | 24 struct PluginMsg_URLRequestReply_Params; |
| 25 class WebCursor; | 25 class WebCursor; |
| 26 | 26 |
| 27 namespace WebKit { | 27 namespace WebKit { |
| 28 class WebInputEvent; | 28 class WebInputEvent; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 base::SharedMemoryHandle* remote_handle); | 98 base::SharedMemoryHandle* remote_handle); |
| 99 | 99 |
| 100 std::string mime_type_; | 100 std::string mime_type_; |
| 101 int instance_id_; | 101 int instance_id_; |
| 102 | 102 |
| 103 scoped_refptr<PluginChannel> channel_; | 103 scoped_refptr<PluginChannel> channel_; |
| 104 | 104 |
| 105 WebPluginDelegate* delegate_; | 105 WebPluginDelegate* delegate_; |
| 106 WebPluginProxy* webplugin_; | 106 WebPluginProxy* webplugin_; |
| 107 | 107 |
| 108 // The url of the main frame hosting the plugin. |
| 109 GURL page_url_; |
| 110 |
| 108 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); | 111 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); |
| 109 }; | 112 }; |
| 110 | 113 |
| 111 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 114 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
| OLD | NEW |