标签:webkit
if ([view historyDelegate]) { WebHistoryDelegateImplementationCache* implementations = WebViewGetHistoryDelegateImplementations(view); if (implementations->navigatedFunc) { WebNavigationData *data = [[WebNavigationData alloc] initWithURLString:loader->url() title:nilOrNSString(loader->title().string()) originalRequest:loader->originalRequestCopy().nsURLRequest(UpdateHTTPBody) response:loader->response().nsURLResponse() hasSubstituteData:loader->substituteData().isValid() clientRedirectSource:loader->clientRedirectSourceForHistory()]; CallHistoryDelegate(implementations->navigatedFunc, view, @selector(webView:didNavigateWithNavigationData:inFrame:), data, m_webFrame.get()); [data release]; } return; }
标签:webkit
原文地址:http://blog.csdn.net/horkychen/article/details/40327193