Changeset 23566 in webkit
- Timestamp:
- Jun 18, 2007, 9:58:33 AM (17 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r23537 r23566 1 2007-06-18 Jake Helfert <jake@jakeonthenet.com> 2 3 Reviewed by Adam. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=14154 6 Spinneret doesn't build against the new Win32 port. 7 8 * Spinneret/Spinneret/Spinneret.cpp: 9 (_tWinMain): 10 -Changed IWebViewExt to IWebViewPrivate 11 -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls 12 the WIN32 function RegisterDragDrop which requires the Ole* calls. 13 * Spinneret/Spinneret/Spinneret.h: 14 (SpinneretWebHost::didReceiveIcon): Updated method signature. 15 (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature. 16 (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature. 17 1 18 2007-06-14 Sam Weinig <sam@webkit.org> 2 19 -
trunk/WebKitTools/Spinneret/Spinneret/Spinneret.cpp
r17512 r23566 167 167 168 168 // Init COM 169 CoInitialize(NULL);169 OleInitialize(NULL); 170 170 171 171 hURLBarWnd = CreateWindow(L"EDIT", 0, … … 190 190 goto exit; 191 191 192 hr = gWebView->setHostWindow( hMainWnd);192 hr = gWebView->setHostWindow((OLE_HANDLE) hMainWnd); 193 193 if (FAILED(hr)) 194 194 goto exit; … … 196 196 RECT clientRect; 197 197 GetClientRect(hMainWnd, &clientRect); 198 hr = gWebView->initWithFrame( &clientRect, 0, 0);198 hr = gWebView->initWithFrame(clientRect, 0, 0); 199 199 if (FAILED(hr)) 200 200 goto exit; … … 210 210 frame->Release(); 211 211 212 IWebView Ext* viewExt;213 hr = gWebView->QueryInterface(IID_IWebView Ext, (void**)&viewExt);214 if (FAILED(hr)) 215 goto exit; 216 hr = viewExt->viewWindow( &gViewWindow);212 IWebViewPrivate* viewExt; 213 hr = gWebView->QueryInterface(IID_IWebViewPrivate, (void**)&viewExt); 214 if (FAILED(hr)) 215 goto exit; 216 hr = viewExt->viewWindow((OLE_HANDLE*) &gViewWindow); 217 217 viewExt->Release(); 218 218 if (FAILED(hr) || !gViewWindow) … … 241 241 242 242 // Shut down COM. 243 CoUninitialize();243 OleUninitialize(); 244 244 245 245 return (int) msg.wParam; -
trunk/WebKitTools/Spinneret/Spinneret/Spinneret.h
r17065 r23566 65 65 virtual HRESULT STDMETHODCALLTYPE didReceiveIcon( 66 66 /* [in] */ IWebView *webView, 67 /* [in] */ IWebImage *image,67 /* [in] */ OLE_HANDLE hBitmap, 68 68 /* [in] */ IWebFrame *frame) { return S_OK; } 69 69 … … 80 80 /* [in] */ IWebView *webView, 81 81 /* [in] */ IWebFrame *frame) { return S_OK; } 82 82 83 83 virtual HRESULT STDMETHODCALLTYPE willPerformClientRedirectToURL( 84 84 /* [in] */ IWebView *webView, 85 85 /* [in] */ BSTR url, 86 UINTdelaySeconds,87 /* [in] */ UINTfireDate,86 /* [in] */ double delaySeconds, 87 /* [in] */ DATE fireDate, 88 88 /* [in] */ IWebFrame *frame) { return S_OK; } 89 89 … … 96 96 /* [in] */ IWebFrame *frame) { return S_OK; } 97 97 98 virtual HRESULT STDMETHODCALLTYPE windowScriptObjectAvailable(98 virtual /* [local] */ HRESULT STDMETHODCALLTYPE windowScriptObjectAvailable( 99 99 /* [in] */ IWebView *webView, 100 /* [in] */ IWebScriptObject *windowScriptObject) { return S_OK; } 100 /* [in] */ JSContextRef context, 101 /* [in] */ JSObjectRef windowScriptObject) { return S_OK; } 101 102 102 103 // SpinneretWebHost
Note:
See TracChangeset
for help on using the changeset viewer.