@@void FrameLoaderClient::dispatchDidCancelAuthenticationChallenge(DocumentLoader*
200200 notImplemented();
201201}
202202
203 void FrameLoaderClient::dispatchWillSendRequest(DocumentLoader*, unsigned long, ResourceRequest&, const ResourceResponse&)
203void FrameLoaderClient::dispatchWillSendRequest(DocumentLoader*, unsigned long identifier, ResourceRequest& request, const ResourceResponse& response)
205 g_print("FrameLoaderClient::dispatchWillSendRequest(identifier=%lu, request=%s, response=%s)\n",
206 identifier, request.url().string().utf8().data(), response.url().string().utf8().data());
205207 notImplemented();
206208}
207209
208 void FrameLoaderClient::assignIdentifierToInitialRequest(unsigned long identifier, DocumentLoader*, const ResourceRequest&)
210void FrameLoaderClient::assignIdentifierToInitialRequest(unsigned long identifier, DocumentLoader*, const ResourceRequest& request)
212 g_print("FrameLoaderClient::assignIdentifierToInitialRequest(identifier=%lu, request=%s)\n",
213 identifier, request.url().string().utf8().data());
210214 notImplemented();
211215}
212216
213217void FrameLoaderClient::postProgressStartedNotification()
214218{
215219 WebKitWebView* webView = getViewFromFrame(m_frame);
220 g_print("FrameLoaderClient::postProgressStartedNotification -> load-started\n");
216221 g_signal_emit_by_name(webView, "load-started", m_frame);
217222}
218223
@@void FrameLoaderClient::postProgressEstimateChangedNotification()
221226 WebKitWebView* webView = getViewFromFrame(m_frame);
222227 Page* corePage = core(webView);
223228
229 g_print("FrameLoaderClient::postProgressEstimateChangedNotification -> load-progress-changed(%d)\n",
230 (int)(lround(corePage->progress()->estimatedProgress()*100)));
224231 g_signal_emit_by_name(webView, "load-progress-changed", lround(corePage->progress()->estimatedProgress()*100));
225232}
226233
@@void FrameLoaderClient::postProgressFinishedNotification()
228235{
229236 WebKitWebView* webView = getViewFromFrame(m_frame);
230237
238 g_print("FrameLoaderClient::postProgressFinishedNotification -> load-finished\n");
231239 g_signal_emit_by_name(webView, "load-finished", m_frame);
232240}
233241
@@bool FrameLoaderClient::hasFrameView() const
410418
411419void FrameLoaderClient::dispatchDidFinishLoad()
412420{
421 g_print("FrameLoaderClient::dispatchDidFinishLoad -> load-done(true)\n");
413422 g_signal_emit_by_name(m_frame, "load-done", true);
414423}
415424
416425void FrameLoaderClient::frameLoadCompleted()
417426{
427 g_print("FrameLoaderClient::frameLoadCompleted\n");
418428 notImplemented();
419429}
420430
@@void FrameLoaderClient::dispatchDidHandleOnloadEvents()
490500
491501void FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad()
492502{
503 g_print("FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad\n");
493504 notImplemented();
494505}
495506
496507void FrameLoaderClient::dispatchDidCancelClientRedirect()
497508{
509 g_print("FrameLoaderClient::dispatchDidCancelClientRedirect\n");
498510 notImplemented();
499511}
500512
501 void FrameLoaderClient::dispatchWillPerformClientRedirect(const KURL&, double, double)
513void FrameLoaderClient::dispatchWillPerformClientRedirect(const KURL& url, double delay, double fireDate)
515 g_print("FrameLoaderClient::dispatchWillPerformClientRedirect(url=%s, delay=%f, fireDate=%f)\n",
516 url.string().utf8().data(), delay, fireDate);
503517 notImplemented();
504518}
505519
@@void FrameLoaderClient::dispatchDidReceiveIcon()
522536
523537void FrameLoaderClient::dispatchDidStartProvisionalLoad()
524538{
539 g_print("FrameLoaderClient::dispatchDidStartProvisionalLoad\n");
525540}
526541
527542void FrameLoaderClient::dispatchDidReceiveTitle(const String& title)
@@void FrameLoaderClient::dispatchDidCommitLoad()
542557 g_free(frameData->uri);
543558 frameData->uri = g_strdup(core(m_frame)->loader()->url().prettyURL().utf8().data());
544559
560 g_print("FrameLoaderClient::dispatchDidCommitLoad -> load-committed\n");
545561 g_signal_emit_by_name(m_frame, "load-committed");
546562
547563 WebKitWebView* webView = getViewFromFrame(m_frame);
@@void FrameLoaderClient::dispatchDidCommitLoad()
551567
552568void FrameLoaderClient::dispatchDidFinishDocumentLoad()
553569{
570 g_print("FrameLoaderClient::dispatchDidFinishDocumentLoad\n");
554571 notImplemented();
555572}
556573
557574void FrameLoaderClient::dispatchDidFirstLayout()
558575{
576 g_print("FrameLoaderClient::dispatchDidFirstLayout\n");
559577 notImplemented();
560578}
561579
@@void FrameLoaderClient::cancelPolicyCheck()
571589
572590void FrameLoaderClient::dispatchDidLoadMainResource(DocumentLoader*)
573591{
592 g_print("FrameLoaderClient::dispatchDidLoadMainResource\n");
574593 notImplemented();
575594}
576595
577596void FrameLoaderClient::revertToProvisionalState(DocumentLoader*)
578597{
598 g_print("FrameLoaderClient::revertToProvisionalState\n");
579599 notImplemented();
580600}
581601
582602void FrameLoaderClient::willChangeTitle(DocumentLoader*)
583603{
604 g_print("FrameLoaderClient::willChangeTitle\n");
584605 notImplemented();
585606}
586607
587608void FrameLoaderClient::didChangeTitle(DocumentLoader *l)
588609{
610 g_print("FrameLoaderClient::didChangeTitle\n");
589611 setTitle(l->title(), l->url());
590612}
591613
@@String FrameLoaderClient::generatedMIMETypeForURLScheme(const String&) const
615637
616638void FrameLoaderClient::finishedLoading(DocumentLoader* documentLoader)
617639{
640 g_print("FrameLoaderClient::finishedLoading\n");
618641 if (!m_pluginView)
619642 committedLoad(documentLoader, 0, 0);
620643 else {
@@void FrameLoaderClient::finishedLoading(DocumentLoader* documentLoader)
627650
628651void FrameLoaderClient::provisionalLoadStarted()
629652{
653 g_print("FrameLoaderClient::provisionalLoadStarted\n");
630654 notImplemented();
631655}
632656
633657void FrameLoaderClient::didFinishLoad() {
658 g_print("FrameLoaderClient::didFinishLoad\n");
634659 notImplemented();
635660}
636661
@@void FrameLoaderClient::dispatchDidReceiveContentLength(DocumentLoader*, unsigne
650675
651676void FrameLoaderClient::dispatchDidFinishLoading(DocumentLoader*, unsigned long identifier)
652677{
678 g_print("FrameLoaderClient::dispatchDidFinishLoading(identifier=%lu)\n", identifier);
653679 notImplemented();
654680}
655681
656682void FrameLoaderClient::dispatchDidFailLoading(DocumentLoader*, unsigned long identifier, const ResourceError&)
657683{
684 g_print("FrameLoaderClient::dispatchDidFailLoading(identifier=%lu)\n", identifier);
658685 notImplemented();
659686}
660687
@@bool FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache(DocumentLoader*,
666693
667694void FrameLoaderClient::dispatchDidFailProvisionalLoad(const ResourceError&)
668695{
696 g_print("FrameLoaderClient::dispatchDidFailProvisionalLoad -> load-done(false)\n");
669697 g_signal_emit_by_name(m_frame, "load-done", false);
670698}
671699
672700void FrameLoaderClient::dispatchDidFailLoad(const ResourceError&)
673701{
702 g_print("FrameLoaderClient::dispatchDidFailLoad -> load-done(false)\n");
674703 g_signal_emit_by_name(m_frame, "load-done", false);
675704}
676705
@@void FrameLoaderClient::savePlatformDataToCachedPage(CachedPage*)
762791
763792void FrameLoaderClient::transitionToCommittedFromCachedPage(CachedPage*)
764793{
794 g_print("FrameLoaderClient::transitionToCommittedFromCachedPage\n");
765795}
766796
767797void FrameLoaderClient::transitionToCommittedForNewPage()
768798{
799 g_print("FrameLoaderClient::transitionToCommittedForNewPage\n");
769800 Frame* frame = core(m_frame);
770801 ASSERT(frame);
771802