本文整理汇总了C++中drtDescriptionSuitableForTestResult函数的典型用法代码示例。如果您正苦于以下问题:C++ drtDescriptionSuitableForTestResult函数的具体用法?C++ drtDescriptionSuitableForTestResult怎么用?C++ drtDescriptionSuitableForTestResult使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了drtDescriptionSuitableForTestResult函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: printf
void FrameLoaderClientQt::dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long identifier, WebCore::ResourceRequest& newRequest, const WebCore::ResourceResponse& redirectResponse)
{
if (dumpResourceLoadCallbacks)
printf("%s - willSendRequest %s redirectResponse %s\n",
qPrintable(dumpAssignedUrls[identifier]),
qPrintable(drtDescriptionSuitableForTestResult(newRequest)),
qPrintable(drtDescriptionSuitableForTestResult(redirectResponse)));
// seems like the Mac code doesn't do anything here by default neither
//qDebug() << "FrameLoaderClientQt::dispatchWillSendRequest" << request.isNull() << request.url().string`();
}
示例2: printf
void FrameLoaderClientQt::dispatchDidFinishDocumentLoad()
{
if (dumpFrameLoaderCallbacks)
printf("%s - didFinishDocumentLoadForFrame\n", qPrintable(drtDescriptionSuitableForTestResult(m_frame)));
if (m_frame->tree()->parent() || !m_webFrame)
return;
m_webFrame->page()->d->updateNavigationActions();
}
示例3: printf
void FrameLoaderClientQt::dispatchDidFinishLoad()
{
if (dumpFrameLoaderCallbacks)
printf("%s - didFinishLoadForFrame\n", qPrintable(drtDescriptionSuitableForTestResult(m_frame)));
m_loadSucceeded = true;
if (!m_webFrame)
return;
m_webFrame->page()->d->updateNavigationActions();
}
示例4: printf
void FrameLoaderClientQt::dispatchDidReceiveResponse(WebCore::DocumentLoader*, unsigned long identifier, const WebCore::ResourceResponse& response)
{
m_response = response;
m_firstData = true;
if (dumpResourceLoadCallbacks)
printf("%s - didReceiveResponse %s\n",
qPrintable(dumpAssignedUrls[identifier]),
qPrintable(drtDescriptionSuitableForTestResult(response)));
//qDebug() << " got response from" << response.url().string();
}
示例5: drtDescriptionSuitableForTestResult
void FrameLoaderClientQt::assignIdentifierToInitialRequest(unsigned long identifier, WebCore::DocumentLoader*, const WebCore::ResourceRequest& request)
{
if (dumpResourceLoadCallbacks)
dumpAssignedUrls[identifier] = drtDescriptionSuitableForTestResult(request.url());
}