| 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" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 void OnHandleInputEvent(const WebKit::WebInputEvent* event, | 64 void OnHandleInputEvent(const WebKit::WebInputEvent* event, |
| 65 bool* handled, WebCursor* cursor); | 65 bool* handled, WebCursor* cursor); |
| 66 | 66 |
| 67 void OnPaint(const gfx::Rect& damaged_rect); | 67 void OnPaint(const gfx::Rect& damaged_rect); |
| 68 void OnDidPaint(); | 68 void OnDidPaint(); |
| 69 | 69 |
| 70 void OnPrint(base::SharedMemoryHandle* shared_memory, size_t* size); | 70 void OnPrint(base::SharedMemoryHandle* shared_memory, size_t* size); |
| 71 | 71 |
| 72 void OnUpdateGeometry(const gfx::Rect& window_rect, | 72 void OnUpdateGeometry(const gfx::Rect& window_rect, |
| 73 const gfx::Rect& clip_rect, | 73 const gfx::Rect& clip_rect, |
| 74 const TransportDIB::Id& windowless_buffer, | 74 const TransportDIB::Handle& windowless_buffer, |
| 75 const TransportDIB::Id& background_buffer); | 75 const TransportDIB::Handle& background_buffer); |
| 76 void OnGetPluginScriptableObject(int* route_id, intptr_t* npobject_ptr); | 76 void OnGetPluginScriptableObject(int* route_id, intptr_t* npobject_ptr); |
| 77 void OnSendJavaScriptStream(const std::string& url, | 77 void OnSendJavaScriptStream(const std::string& url, |
| 78 const std::wstring& result, | 78 const std::wstring& result, |
| 79 bool success, bool notify_needed, | 79 bool success, bool notify_needed, |
| 80 intptr_t notify_data); | 80 intptr_t notify_data); |
| 81 | 81 |
| 82 void OnDidReceiveManualResponse( | 82 void OnDidReceiveManualResponse( |
| 83 const std::string& url, | 83 const std::string& url, |
| 84 const PluginMsg_DidReceiveResponseParams& params); | 84 const PluginMsg_DidReceiveResponseParams& params); |
| 85 void OnDidReceiveManualData(const std::vector<char>& buffer); | 85 void OnDidReceiveManualData(const std::vector<char>& buffer); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 105 WebPluginDelegate* delegate_; | 105 WebPluginDelegate* delegate_; |
| 106 WebPluginProxy* webplugin_; | 106 WebPluginProxy* webplugin_; |
| 107 | 107 |
| 108 // The url of the main frame hosting the plugin. | 108 // The url of the main frame hosting the plugin. |
| 109 GURL page_url_; | 109 GURL page_url_; |
| 110 | 110 |
| 111 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); | 111 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ | 114 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ |
| OLD | NEW |