Lines Matching refs:clientInfo
34 static QWKPage* toQWKPage(const void* clientInfo)
36 if (clientInfo)
37 return reinterpret_cast<QWKPage*>(const_cast<void*>(clientInfo));
41 static void loadFinished(WKFrameRef frame, const void* clientInfo, bool ok)
45 emit toQWKPage(clientInfo)->loadFinished(ok);
46 QWKPagePrivate::get(toQWKPage(clientInfo))->updateNavigationActions();
49 void qt_wk_didStartProvisionalLoadForFrame(WKPageRef page, WKFrameRef frame, WKTypeRef userData, const void* clientInfo)
53 emit toQWKPage(clientInfo)->loadStarted();
54 QWKPagePrivate::get(toQWKPage(clientInfo))->updateNavigationActions();
57 void qt_wk_didReceiveServerRedirectForProvisionalLoadForFrame(WKPageRef page, WKFrameRef frame, WKTypeRef userData, const void* clientInfo)
61 void qt_wk_didFailProvisionalLoadWithErrorForFrame(WKPageRef page, WKFrameRef frame, WKErrorRef error, WKTypeRef userData, const void* clientInfo)
63 loadFinished(frame, clientInfo, false);
66 void qt_wk_didCommitLoadForFrame(WKPageRef page, WKFrameRef frame, WKTypeRef userData, const void* clientInfo)
73 emit toQWKPage(clientInfo)->urlChanged(qUrl);
74 QWKPagePrivate::get(toQWKPage(clientInfo))->updateNavigationActions();
77 void qt_wk_didFinishDocumentLoadForFrame(WKPageRef page, WKFrameRef frame, WKTypeRef userData, const void* clientInfo)
82 void qt_wk_didFinishLoadForFrame(WKPageRef page, WKFrameRef frame, WKTypeRef userData, const void* clientInfo)
84 loadFinished(frame, clientInfo, true);
87 void qt_wk_didFailLoadWithErrorForFrame(WKPageRef page, WKFrameRef frame, WKErrorRef error, WKTypeRef userData, const void* clientInfo)
89 loadFinished(frame, clientInfo, false);
92 void qt_wk_didReceiveTitleForFrame(WKPageRef page, WKStringRef title, WKFrameRef frame, WKTypeRef userData, const void* clientInfo)
97 emit toQWKPage(clientInfo)->titleChanged(qTitle);
100 void qt_wk_didFirstLayoutForFrame(WKPageRef page, WKFrameRef frame, WKTypeRef userData, const void* clientInfo)
104 emit toQWKPage(clientInfo)->initialLayoutCompleted();
107 void qt_wk_didRemoveFrameFromHierarchy(WKPageRef page, WKFrameRef frame, WKTypeRef userData, const void* clientInfo)
112 void qt_wk_didFirstVisuallyNonEmptyLayoutForFrame(WKPageRef page, WKFrameRef frame, WKTypeRef userData, const void* clientInfo)
116 // FIXME: emit toWKView(clientInfo)->initialLayoutCompleted();
119 void qt_wk_didStartProgress(WKPageRef page, const void* clientInfo)
121 emit toQWKPage(clientInfo)->loadProgress(0);
124 void qt_wk_didChangeProgress(WKPageRef page, const void* clientInfo)
126 emit toQWKPage(clientInfo)->loadProgress(WKPageGetEstimatedProgress(page) * 100);
129 void qt_wk_didFinishProgress(WKPageRef page, const void* clientInfo)
131 emit toQWKPage(clientInfo)->loadProgress(100);
134 void qt_wk_didBecomeUnresponsive(WKPageRef page, const void* clientInfo)
138 void qt_wk_didBecomeResponsive(WKPageRef page, const void* clientInfo)
142 WKPageRef qt_wk_createNewPage(WKPageRef page, WKDictionaryRef features, WKEventModifiers modifiers, WKEventMouseButton mouseButton, const void* clientInfo)
144 QWKPage* wkPage = toQWKPage(clientInfo);
159 void qt_wk_showPage(WKPageRef page, const void* clientInfo)
163 void qt_wk_close(WKPageRef page, const void* clientInfo)
165 emit toQWKPage(clientInfo)->windowCloseRequested();
168 void qt_wk_takeFocus(WKPageRef page, WKFocusDirection direction, const void *clientInfo)
170 emit toQWKPage(clientInfo)->focusNextPrevChild(direction == kWKFocusDirectionForward);
173 void qt_wk_runJavaScriptAlert(WKPageRef page, WKStringRef alertText, WKFrameRef frame, const void* clientInfo)
177 void qt_wk_setStatusText(WKPageRef page, WKStringRef text, const void *clientInfo)
180 emit toQWKPage(clientInfo)->statusBarMessage(qText);