本文整理汇总了C++中devToolsAgent函数的典型用法代码示例。如果您正苦于以下问题:C++ devToolsAgent函数的具体用法?C++ devToolsAgent怎么用?C++ devToolsAgent使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了devToolsAgent函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: WebHistoryItem
void FrameLoaderClientImpl::dispatchDidCommitLoad(
HistoryItem* item,
HistoryCommitType commitType) {
if (!m_webFrame->parent()) {
m_webFrame->viewImpl()->didCommitLoad(commitType == StandardCommit, false);
}
if (m_webFrame->client())
m_webFrame->client()->didCommitProvisionalLoad(
m_webFrame, WebHistoryItem(item),
static_cast<WebHistoryCommitType>(commitType));
if (WebDevToolsAgentImpl* devTools = devToolsAgent())
devTools->didCommitLoadForLocalFrame(m_webFrame->frame());
}
开发者ID:mirror,项目名称:chromium,代码行数:14,代码来源:FrameLoaderClientImpl.cpp
示例2: setTraceEventCallback
void InspectorClientImpl::setTraceEventCallback(const String& categoryFilter, TraceEventCallback callback)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->setTraceEventCallback(categoryFilter, callback);
}
开发者ID:ewilligers,项目名称:blink,代码行数:5,代码来源:InspectorClientImpl.cpp
示例3: clearBrowserCookies
void InspectorClientImpl::clearBrowserCookies()
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->clearBrowserCookies();
}
开发者ID:windyuuy,项目名称:opera,代码行数:5,代码来源:InspectorClientImpl.cpp
示例4: sendMessageToFrontend
bool InspectorClientImpl::sendMessageToFrontend(const WTF::String& message)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
return agent->sendMessageToFrontend(message);
return false;
}
开发者ID:windyuuy,项目名称:opera,代码行数:6,代码来源:InspectorClientImpl.cpp
示例5: setTraceEventCallback
void InspectorClientImpl::setTraceEventCallback(TraceEventCallback callback)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->setTraceEventCallback(callback);
}
开发者ID:windyuuy,项目名称:opera,代码行数:5,代码来源:InspectorClientImpl.cpp
示例6: dumpUncountedAllocatedObjects
void InspectorClientImpl::dumpUncountedAllocatedObjects(const HashMap<const void*, size_t>& map)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->dumpUncountedAllocatedObjects(map);
}
开发者ID:windyuuy,项目名称:opera,代码行数:5,代码来源:InspectorClientImpl.cpp
示例7: autoZoomPageToFitWidth
void InspectorClientImpl::autoZoomPageToFitWidth()
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->autoZoomPageToFitWidth();
}
开发者ID:windyuuy,项目名称:opera,代码行数:5,代码来源:InspectorClientImpl.cpp
示例8: clearDeviceMetricsOverride
void InspectorClientImpl::clearDeviceMetricsOverride()
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->clearDeviceMetricsOverride();
}
开发者ID:ewilligers,项目名称:blink,代码行数:5,代码来源:InspectorClientImpl.cpp
示例9: setDeviceMetricsOverride
void InspectorClientImpl::setDeviceMetricsOverride(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow, float scale, float offsetX, float offsetY)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->setDeviceMetricsOverride(width, height, deviceScaleFactor, emulateViewport, fitWindow, scale, offsetX, offsetY);
}
开发者ID:ewilligers,项目名称:blink,代码行数:5,代码来源:InspectorClientImpl.cpp
示例10: flush
void InspectorClientImpl::flush()
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->flush();
}
开发者ID:ewilligers,项目名称:blink,代码行数:5,代码来源:InspectorClientImpl.cpp
示例11: sendMessageToFrontend
void InspectorClientImpl::sendMessageToFrontend(PassRefPtr<WebCore::JSONObject> message)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->sendMessageToFrontend(message);
}
开发者ID:ewilligers,项目名称:blink,代码行数:5,代码来源:InspectorClientImpl.cpp
示例12: resetTraceEventCallback
void InspectorClientImpl::resetTraceEventCallback()
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->resetTraceEventCallback();
}
开发者ID:ewilligers,项目名称:blink,代码行数:5,代码来源:InspectorClientImpl.cpp
示例13: disableTracing
void InspectorClientImpl::disableTracing()
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->disableTracing();
}
开发者ID:ewilligers,项目名称:blink,代码行数:5,代码来源:InspectorClientImpl.cpp
示例14: enableTracing
void InspectorClientImpl::enableTracing(const String& categoryFilter)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->enableTracing(categoryFilter);
}
开发者ID:ewilligers,项目名称:blink,代码行数:5,代码来源:InspectorClientImpl.cpp
示例15: openInspectorFrontend
void InspectorClientImpl::openInspectorFrontend(InspectorController* controller)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->openInspectorFrontend(controller);
}
开发者ID:sysrqb,项目名称:chromium-src,代码行数:5,代码来源:InspectorClientImpl.cpp
示例16: dispatchMouseEvent
void InspectorClientImpl::dispatchMouseEvent(const PlatformMouseEvent& event)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->dispatchMouseEvent(event);
}
开发者ID:Metrological,项目名称:chromium,代码行数:5,代码来源:InspectorClientImpl.cpp
示例17: getAllocatedObjects
void InspectorClientImpl::getAllocatedObjects(HashSet<const void*>& set)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->getAllocatedObjects(set);
}
开发者ID:windyuuy,项目名称:opera,代码行数:5,代码来源:InspectorClientImpl.cpp
示例18: stopGPUEventsRecording
void InspectorClientImpl::stopGPUEventsRecording()
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->stopGPUEventsRecording();
}
开发者ID:Metrological,项目名称:chromium,代码行数:5,代码来源:InspectorClientImpl.cpp
示例19: dispatchKeyEvent
void InspectorClientImpl::dispatchKeyEvent(const PlatformKeyboardEvent& event)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->dispatchKeyEvent(event);
}
开发者ID:windyuuy,项目名称:opera,代码行数:5,代码来源:InspectorClientImpl.cpp
示例20: overrideDeviceMetrics
void InspectorClientImpl::overrideDeviceMetrics(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
agent->overrideDeviceMetrics(width, height, deviceScaleFactor, emulateViewport, fitWindow);
}
开发者ID:Metrological,项目名称:chromium,代码行数:5,代码来源:InspectorClientImpl.cpp
注:本文中的devToolsAgent函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论