本文整理汇总了C++中EwkView::scheduleUpdateDisplay方法的典型用法代码示例。如果您正苦于以下问题:C++ EwkView::scheduleUpdateDisplay方法的具体用法?C++ EwkView::scheduleUpdateDisplay怎么用?C++ EwkView::scheduleUpdateDisplay使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类EwkView
的用法示例。
在下文中一共展示了EwkView::scheduleUpdateDisplay方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: didRenderFrame
void ViewClientEfl::didRenderFrame(WKViewRef, WKSize contentsSize, WKRect coveredRect, const void* clientInfo)
{
EwkView* ewkView = toEwkView(clientInfo);
if (WKPageUseFixedLayout(ewkView->wkPage()))
ewkView->pageViewportController().didRenderFrame(toIntSize(contentsSize), toIntRect(coveredRect));
else
ewkView->scheduleUpdateDisplay();
}
示例2: didChangeContentsPosition
void ViewClientEfl::didChangeContentsPosition(WKViewRef, WKPoint position, const void* clientInfo)
{
EwkView* ewkView = toEwkView(clientInfo);
if (WKPageUseFixedLayout(ewkView->wkPage())) {
ewkView->pageViewportController().pageDidRequestScroll(toIntPoint(position));
return;
}
ewkView->scheduleUpdateDisplay();
}
示例3: didChangeContentsSize
void ViewClientEfl::didChangeContentsSize(WKViewRef, WKSize size, const void* clientInfo)
{
EwkView* ewkView = toEwkView(clientInfo);
if (WKPageUseFixedLayout(ewkView->wkPage()))
ewkView->pageViewportController().didChangeContentsSize(toIntSize(size));
else
ewkView->scheduleUpdateDisplay();
ewkView->smartCallback<ContentsSizeChanged>().call(size);
}
示例4: didChangeViewportAttributes
void ViewClientEfl::didChangeViewportAttributes(WKViewRef, WKViewportAttributesRef attributes, const void* clientInfo)
{
EwkView* ewkView = toEwkView(clientInfo);
if (WKPageUseFixedLayout(ewkView->wkPage())) {
// FIXME: pageViewportController should accept WKViewportAttributesRef.
ewkView->pageViewportController().didChangeViewportAttributes(toImpl(attributes)->originalAttributes());
return;
}
ewkView->scheduleUpdateDisplay();
}
示例5: didCompletePageTransition
void ViewClientEfl::didCompletePageTransition(WKViewRef, const void* clientInfo)
{
EwkView* ewkView = toEwkView(clientInfo);
if (WKPageUseFixedLayout(ewkView->wkPage())) {
ewkView->pageViewportController().pageTransitionViewportReady();
return;
}
ewkView->scheduleUpdateDisplay();
}