summaryrefslogtreecommitdiffstats
path: root/WebKit/win/WebView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/win/WebView.cpp')
-rw-r--r--WebKit/win/WebView.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/WebKit/win/WebView.cpp b/WebKit/win/WebView.cpp
index 1b658bf..f0d504e 100644
--- a/WebKit/win/WebView.cpp
+++ b/WebKit/win/WebView.cpp
@@ -75,6 +75,7 @@
#include <WebCore/ContextMenuController.h>
#include <WebCore/Cursor.h>
#include <WebCore/Document.h>
+#include <WebCore/DocumentMarkerController.h>
#include <WebCore/DragController.h>
#include <WebCore/DragData.h>
#include <WebCore/Editor.h>
@@ -6230,7 +6231,7 @@ void WebView::downloadURL(const KURL& url)
}
#if USE(ACCELERATED_COMPOSITING)
-void WebView::setRootChildLayer(WebCore::WKCACFLayer* layer)
+void WebView::setRootChildLayer(WebCore::PlatformCALayer* layer)
{
setAcceleratedCompositing(layer ? true : false);
if (m_layerRenderer)
@@ -6468,6 +6469,20 @@ bool WebView::shouldRender() const
return !frameView->layoutPending();
}
+
+void WebView::animationsStarted(CFTimeInterval t)
+{
+ // Tell the animation controller that its animations have started
+ m_page->mainFrame()->animation()->notifyAnimationStarted(0, t);
+}
+
+void WebView::syncCompositingState()
+{
+ Frame* coreFrame = core(m_mainFrame);
+ if (coreFrame && coreFrame->view())
+ coreFrame->view()->syncCompositingStateRecursive();
+}
+
#endif
class EnumTextMatches : public IEnumTextMatches