From 829c2841a0e30b9f08453566ffc52d2c386a9045 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Wed, 1 Apr 2009 01:48:52 +0000 Subject: Port plugin messages. Review URL: http://codereview.chromium.org/49050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12928 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/plugin/webplugin_proxy.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'chrome/plugin/webplugin_proxy.h') diff --git a/chrome/plugin/webplugin_proxy.h b/chrome/plugin/webplugin_proxy.h index cba1ac5..8c4629d 100644 --- a/chrome/plugin/webplugin_proxy.h +++ b/chrome/plugin/webplugin_proxy.h @@ -30,12 +30,15 @@ class WebPluginProxy : public WebPlugin { // marshalled WebPlugin calls. WebPluginProxy(PluginChannel* channel, int route_id, - WebPluginDelegate* delegate, - HANDLE modal_dialog_event); + WebPluginDelegate* delegate); ~WebPluginProxy(); // WebPlugin overrides - bool SetWindow(HWND window, HANDLE pump_messages_event); + bool SetWindow(gfx::NativeView window); +#if defined(OS_WIN) + void SetWindowlessPumpEvent(HANDLE pump_messages_event); + void SetModalDialogEvent(HANDLE modal_dialog_event); +#endif void CancelResource(int id); void Invalidate(); void InvalidateRect(const gfx::Rect& rect); @@ -79,7 +82,7 @@ class WebPluginProxy : public WebPlugin { const char* target, unsigned int len, const char* buf, bool is_file_data, bool notify, const char* url, - void* notify_data, bool popups_allowed); + intptr_t notify_data, bool popups_allowed); void UpdateGeometry(const gfx::Rect& window_rect, const gfx::Rect& clip_rect, @@ -90,9 +93,9 @@ class WebPluginProxy : public WebPlugin { void InitiateHTTPRangeRequest(const char* url, const char* range_info, - void* existing_stream, + intptr_t existing_stream, bool notify_needed, - HANDLE notify_data); + intptr_t notify_data); bool IsOffTheRecord(); -- cgit v1.1