2006-05-09 Steve Falkenburg <sfalken@apple.com>
[WebKit-https.git] / WebKitTools / Spinneret / Spinneret / Spinneret.cpp
index 4468dc26353efd34c64a288a270b7f4b33ce3aa1..720ef37260657c5be1c5a7b3da680f5a2a022ce2 100755 (executable)
@@ -57,6 +57,10 @@ void SpinneretWebHost::updateLocationBar(const char* URL)
     SendMessageA(hURLBarWnd, (UINT)WM_SETTEXT, 0, (LPARAM)URL);
 }
 
+void SpinneretWebHost::loadEnd(BOOL successful, DWORD error, LPCTSTR errorString)
+{
+}
+
 static void resizeSubViews()
 {
     RECT rcClient;
@@ -110,6 +114,8 @@ int APIENTRY _tWinMain(HINSTANCE hInstance,
 
     gWebHost = new SpinneretWebHost();
     gWebView = WebView::createWebView(hInstance, hMainWnd, gWebHost);
+    gWebView->mainFrame()->loadHTMLString("<p style=\"background-color: #00FF00\">Testing</p><img src=\"http://webkit.opendarwin.org/images/icon-gold.png\" alt=\"Face\"><div style=\"border: solid blue\" contenteditable=\"true\">div with blue border</div><ul><li>foo<li>bar<li>baz</ul>");
+
     resizeSubViews();
     ShowWindow(gWebView->windowHandle(), nCmdShow);
     UpdateWindow(gWebView->windowHandle());