• Home
  • Raw
  • Download

Lines Matching refs:pageRef

48 WKContextRef WKPageGetContext(WKPageRef pageRef)  in WKPageGetContext()  argument
50 return toAPI(toImpl(pageRef)->process()->context()); in WKPageGetContext()
53 WKPageGroupRef WKPageGetPageGroup(WKPageRef pageRef) in WKPageGetPageGroup() argument
55 return toAPI(toImpl(pageRef)->pageGroup()); in WKPageGetPageGroup()
58 void WKPageLoadURL(WKPageRef pageRef, WKURLRef URLRef) in WKPageLoadURL() argument
60 toImpl(pageRef)->loadURL(toWTFString(URLRef)); in WKPageLoadURL()
63 void WKPageLoadURLRequest(WKPageRef pageRef, WKURLRequestRef urlRequestRef) in WKPageLoadURLRequest() argument
65 toImpl(pageRef)->loadURLRequest(toImpl(urlRequestRef)); in WKPageLoadURLRequest()
68 void WKPageLoadHTMLString(WKPageRef pageRef, WKStringRef htmlStringRef, WKURLRef baseURLRef) in WKPageLoadHTMLString() argument
70 toImpl(pageRef)->loadHTMLString(toWTFString(htmlStringRef), toWTFString(baseURLRef)); in WKPageLoadHTMLString()
73 void WKPageLoadAlternateHTMLString(WKPageRef pageRef, WKStringRef htmlStringRef, WKURLRef baseURLRe… in WKPageLoadAlternateHTMLString() argument
75 …toImpl(pageRef)->loadAlternateHTMLString(toWTFString(htmlStringRef), toWTFString(baseURLRef), toWT… in WKPageLoadAlternateHTMLString()
78 void WKPageLoadPlainTextString(WKPageRef pageRef, WKStringRef plainTextStringRef) in WKPageLoadPlainTextString() argument
80 toImpl(pageRef)->loadPlainTextString(toWTFString(plainTextStringRef)); in WKPageLoadPlainTextString()
83 void WKPageStopLoading(WKPageRef pageRef) in WKPageStopLoading() argument
85 toImpl(pageRef)->stopLoading(); in WKPageStopLoading()
88 void WKPageReload(WKPageRef pageRef) in WKPageReload() argument
90 toImpl(pageRef)->reload(false); in WKPageReload()
93 void WKPageReloadFromOrigin(WKPageRef pageRef) in WKPageReloadFromOrigin() argument
95 toImpl(pageRef)->reload(true); in WKPageReloadFromOrigin()
98 bool WKPageTryClose(WKPageRef pageRef) in WKPageTryClose() argument
100 return toImpl(pageRef)->tryClose(); in WKPageTryClose()
103 void WKPageClose(WKPageRef pageRef) in WKPageClose() argument
105 toImpl(pageRef)->close(); in WKPageClose()
108 bool WKPageIsClosed(WKPageRef pageRef) in WKPageIsClosed() argument
110 return toImpl(pageRef)->isClosed(); in WKPageIsClosed()
113 void WKPageGoForward(WKPageRef pageRef) in WKPageGoForward() argument
115 toImpl(pageRef)->goForward(); in WKPageGoForward()
118 bool WKPageCanGoForward(WKPageRef pageRef) in WKPageCanGoForward() argument
120 return toImpl(pageRef)->canGoForward(); in WKPageCanGoForward()
123 void WKPageGoBack(WKPageRef pageRef) in WKPageGoBack() argument
125 toImpl(pageRef)->goBack(); in WKPageGoBack()
128 bool WKPageCanGoBack(WKPageRef pageRef) in WKPageCanGoBack() argument
130 return toImpl(pageRef)->canGoBack(); in WKPageCanGoBack()
133 void WKPageGoToBackForwardListItem(WKPageRef pageRef, WKBackForwardListItemRef itemRef) in WKPageGoToBackForwardListItem() argument
135 toImpl(pageRef)->goToBackForwardItem(toImpl(itemRef)); in WKPageGoToBackForwardListItem()
138 WKBackForwardListRef WKPageGetBackForwardList(WKPageRef pageRef) in WKPageGetBackForwardList() argument
140 return toAPI(toImpl(pageRef)->backForwardList()); in WKPageGetBackForwardList()
143 WKStringRef WKPageCopyTitle(WKPageRef pageRef) in WKPageCopyTitle() argument
145 return toCopiedAPI(toImpl(pageRef)->pageTitle()); in WKPageCopyTitle()
148 WKFrameRef WKPageGetMainFrame(WKPageRef pageRef) in WKPageGetMainFrame() argument
150 return toAPI(toImpl(pageRef)->mainFrame()); in WKPageGetMainFrame()
153 WKFrameRef WKPageGetFocusedFrame(WKPageRef pageRef) in WKPageGetFocusedFrame() argument
155 return toAPI(toImpl(pageRef)->focusedFrame()); in WKPageGetFocusedFrame()
158 WKFrameRef WKPageGetFrameSetLargestFrame(WKPageRef pageRef) in WKPageGetFrameSetLargestFrame() argument
160 return toAPI(toImpl(pageRef)->frameSetLargestFrame()); in WKPageGetFrameSetLargestFrame()
164 WKInspectorRef WKPageGetInspector(WKPageRef pageRef) in WKPageGetInspector() argument
166 return toAPI(toImpl(pageRef)->inspector()); in WKPageGetInspector()
170 double WKPageGetEstimatedProgress(WKPageRef pageRef) in WKPageGetEstimatedProgress() argument
172 return toImpl(pageRef)->estimatedProgress(); in WKPageGetEstimatedProgress()
175 void WKPageSetMemoryCacheClientCallsEnabled(WKPageRef pageRef, bool memoryCacheClientCallsEnabled) in WKPageSetMemoryCacheClientCallsEnabled() argument
177 toImpl(pageRef)->setMemoryCacheClientCallsEnabled(memoryCacheClientCallsEnabled); in WKPageSetMemoryCacheClientCallsEnabled()
180 WKStringRef WKPageCopyUserAgent(WKPageRef pageRef) in WKPageCopyUserAgent() argument
182 return toCopiedAPI(toImpl(pageRef)->userAgent()); in WKPageCopyUserAgent()
185 WKStringRef WKPageCopyApplicationNameForUserAgent(WKPageRef pageRef) in WKPageCopyApplicationNameForUserAgent() argument
187 return toCopiedAPI(toImpl(pageRef)->applicationNameForUserAgent()); in WKPageCopyApplicationNameForUserAgent()
190 void WKPageSetApplicationNameForUserAgent(WKPageRef pageRef, WKStringRef applicationNameRef) in WKPageSetApplicationNameForUserAgent() argument
192 toImpl(pageRef)->setApplicationNameForUserAgent(toWTFString(applicationNameRef)); in WKPageSetApplicationNameForUserAgent()
195 WKStringRef WKPageCopyCustomUserAgent(WKPageRef pageRef) in WKPageCopyCustomUserAgent() argument
197 return toCopiedAPI(toImpl(pageRef)->customUserAgent()); in WKPageCopyCustomUserAgent()
200 void WKPageSetCustomUserAgent(WKPageRef pageRef, WKStringRef userAgentRef) in WKPageSetCustomUserAgent() argument
202 toImpl(pageRef)->setCustomUserAgent(toWTFString(userAgentRef)); in WKPageSetCustomUserAgent()
205 bool WKPageSupportsTextEncoding(WKPageRef pageRef) in WKPageSupportsTextEncoding() argument
207 return toImpl(pageRef)->supportsTextEncoding(); in WKPageSupportsTextEncoding()
210 WKStringRef WKPageCopyCustomTextEncodingName(WKPageRef pageRef) in WKPageCopyCustomTextEncodingName() argument
212 return toCopiedAPI(toImpl(pageRef)->customTextEncodingName()); in WKPageCopyCustomTextEncodingName()
215 void WKPageSetCustomTextEncodingName(WKPageRef pageRef, WKStringRef encodingNameRef) in WKPageSetCustomTextEncodingName() argument
217 toImpl(pageRef)->setCustomTextEncodingName(toWTFString(encodingNameRef)); in WKPageSetCustomTextEncodingName()
220 void WKPageTerminate(WKPageRef pageRef) in WKPageTerminate() argument
222 toImpl(pageRef)->terminateProcess(); in WKPageTerminate()
231 WKDataRef WKPageCopySessionState(WKPageRef pageRef, void *context, WKPageSessionStateFilterCallback… in WKPageCopySessionState() argument
233 return toAPI(toImpl(pageRef)->sessionStateData(filter, context).releaseRef()); in WKPageCopySessionState()
236 void WKPageRestoreFromSessionState(WKPageRef pageRef, WKDataRef sessionStateData) in WKPageRestoreFromSessionState() argument
238 toImpl(pageRef)->restoreFromSessionStateData(toImpl(sessionStateData)); in WKPageRestoreFromSessionState()
241 double WKPageGetTextZoomFactor(WKPageRef pageRef) in WKPageGetTextZoomFactor() argument
243 return toImpl(pageRef)->textZoomFactor(); in WKPageGetTextZoomFactor()
246 bool WKPageSupportsTextZoom(WKPageRef pageRef) in WKPageSupportsTextZoom() argument
248 return toImpl(pageRef)->supportsTextZoom(); in WKPageSupportsTextZoom()
251 void WKPageSetTextZoomFactor(WKPageRef pageRef, double zoomFactor) in WKPageSetTextZoomFactor() argument
253 toImpl(pageRef)->setTextZoomFactor(zoomFactor); in WKPageSetTextZoomFactor()
256 double WKPageGetPageZoomFactor(WKPageRef pageRef) in WKPageGetPageZoomFactor() argument
258 return toImpl(pageRef)->pageZoomFactor(); in WKPageGetPageZoomFactor()
261 void WKPageSetPageZoomFactor(WKPageRef pageRef, double zoomFactor) in WKPageSetPageZoomFactor() argument
263 toImpl(pageRef)->setPageZoomFactor(zoomFactor); in WKPageSetPageZoomFactor()
266 void WKPageSetPageAndTextZoomFactors(WKPageRef pageRef, double pageZoomFactor, double textZoomFacto… in WKPageSetPageAndTextZoomFactors() argument
268 toImpl(pageRef)->setPageAndTextZoomFactors(pageZoomFactor, textZoomFactor); in WKPageSetPageAndTextZoomFactors()
271 void WKPageSetScaleFactor(WKPageRef pageRef, double scale, WKPoint origin) in WKPageSetScaleFactor() argument
273 toImpl(pageRef)->scaleWebView(scale, toIntPoint(origin)); in WKPageSetScaleFactor()
276 double WKPageGetScaleFactor(WKPageRef pageRef) in WKPageGetScaleFactor() argument
278 return toImpl(pageRef)->viewScaleFactor(); in WKPageGetScaleFactor()
281 void WKPageSetUseFixedLayout(WKPageRef pageRef, bool fixed) in WKPageSetUseFixedLayout() argument
283 toImpl(pageRef)->setUseFixedLayout(fixed); in WKPageSetUseFixedLayout()
286 void WKPageSetFixedLayoutSize(WKPageRef pageRef, WKSize size) in WKPageSetFixedLayoutSize() argument
288 toImpl(pageRef)->setFixedLayoutSize(toIntSize(size)); in WKPageSetFixedLayoutSize()
291 bool WKPageUseFixedLayout(WKPageRef pageRef) in WKPageUseFixedLayout() argument
293 return toImpl(pageRef)->useFixedLayout(); in WKPageUseFixedLayout()
296 WKSize WKPageFixedLayoutSize(WKPageRef pageRef) in WKPageFixedLayoutSize() argument
298 return toAPI(toImpl(pageRef)->fixedLayoutSize()); in WKPageFixedLayoutSize()
301 bool WKPageHasHorizontalScrollbar(WKPageRef pageRef) in WKPageHasHorizontalScrollbar() argument
303 return toImpl(pageRef)->hasHorizontalScrollbar(); in WKPageHasHorizontalScrollbar()
306 bool WKPageHasVerticalScrollbar(WKPageRef pageRef) in WKPageHasVerticalScrollbar() argument
308 return toImpl(pageRef)->hasVerticalScrollbar(); in WKPageHasVerticalScrollbar()
311 bool WKPageIsPinnedToLeftSide(WKPageRef pageRef) in WKPageIsPinnedToLeftSide() argument
313 return toImpl(pageRef)->isPinnedToLeftSide(); in WKPageIsPinnedToLeftSide()
316 bool WKPageIsPinnedToRightSide(WKPageRef pageRef) in WKPageIsPinnedToRightSide() argument
318 return toImpl(pageRef)->isPinnedToRightSide(); in WKPageIsPinnedToRightSide()
321 bool WKPageCanDelete(WKPageRef pageRef) in WKPageCanDelete() argument
323 return toImpl(pageRef)->canDelete(); in WKPageCanDelete()
326 bool WKPageHasSelectedRange(WKPageRef pageRef) in WKPageHasSelectedRange() argument
328 return toImpl(pageRef)->hasSelectedRange(); in WKPageHasSelectedRange()
331 bool WKPageIsContentEditable(WKPageRef pageRef) in WKPageIsContentEditable() argument
333 return toImpl(pageRef)->isContentEditable(); in WKPageIsContentEditable()
336 void WKPageFindString(WKPageRef pageRef, WKStringRef string, WKFindOptions options, unsigned maxMat… in WKPageFindString() argument
338 toImpl(pageRef)->findString(toImpl(string)->string(), toFindOptions(options), maxMatchCount); in WKPageFindString()
341 void WKPageHideFindUI(WKPageRef pageRef) in WKPageHideFindUI() argument
343 toImpl(pageRef)->hideFindUI(); in WKPageHideFindUI()
346 void WKPageCountStringMatches(WKPageRef pageRef, WKStringRef string, WKFindOptions options, unsigne… in WKPageCountStringMatches() argument
348 …toImpl(pageRef)->countStringMatches(toImpl(string)->string(), toFindOptions(options), maxMatchCoun… in WKPageCountStringMatches()
351 void WKPageSetPageContextMenuClient(WKPageRef pageRef, const WKPageContextMenuClient* wkClient) in WKPageSetPageContextMenuClient() argument
355 toImpl(pageRef)->initializeContextMenuClient(wkClient); in WKPageSetPageContextMenuClient()
358 void WKPageSetPageFindClient(WKPageRef pageRef, const WKPageFindClient* wkClient) in WKPageSetPageFindClient() argument
362 toImpl(pageRef)->initializeFindClient(wkClient); in WKPageSetPageFindClient()
365 void WKPageSetPageFormClient(WKPageRef pageRef, const WKPageFormClient* wkClient) in WKPageSetPageFormClient() argument
369 toImpl(pageRef)->initializeFormClient(wkClient); in WKPageSetPageFormClient()
372 void WKPageSetPageLoaderClient(WKPageRef pageRef, const WKPageLoaderClient* wkClient) in WKPageSetPageLoaderClient() argument
376 toImpl(pageRef)->initializeLoaderClient(wkClient); in WKPageSetPageLoaderClient()
379 void WKPageSetPagePolicyClient(WKPageRef pageRef, const WKPagePolicyClient* wkClient) in WKPageSetPagePolicyClient() argument
383 toImpl(pageRef)->initializePolicyClient(wkClient); in WKPageSetPagePolicyClient()
386 void WKPageSetPageResourceLoadClient(WKPageRef pageRef, const WKPageResourceLoadClient* wkClient) in WKPageSetPageResourceLoadClient() argument
390 toImpl(pageRef)->initializeResourceLoadClient(wkClient); in WKPageSetPageResourceLoadClient()
393 void WKPageSetPageUIClient(WKPageRef pageRef, const WKPageUIClient* wkClient) in WKPageSetPageUIClient() argument
397 toImpl(pageRef)->initializeUIClient(wkClient); in WKPageSetPageUIClient()
400 void WKPageRunJavaScriptInMainFrame(WKPageRef pageRef, WKStringRef scriptRef, void* context, WKPage… in WKPageRunJavaScriptInMainFrame() argument
402 …toImpl(pageRef)->runJavaScriptInMainFrame(toImpl(scriptRef)->string(), ScriptValueCallback::create… in WKPageRunJavaScriptInMainFrame()
413 void WKPageRunJavaScriptInMainFrame_b(WKPageRef pageRef, WKStringRef scriptRef, WKPageRunJavaScript… in WKPageRunJavaScriptInMainFrame_b() argument
415 …WKPageRunJavaScriptInMainFrame(pageRef, scriptRef, Block_copy(block), callRunJavaScriptBlockAndRel… in WKPageRunJavaScriptInMainFrame_b()
419 void WKPageRenderTreeExternalRepresentation(WKPageRef pageRef, void* context, WKPageRenderTreeExter… in WKPageRenderTreeExternalRepresentation() argument
421 toImpl(pageRef)->getRenderTreeExternalRepresentation(StringCallback::create(context, callback)); in WKPageRenderTreeExternalRepresentation()
432 void WKPageRenderTreeExternalRepresentation_b(WKPageRef pageRef, WKPageRenderTreeExternalRepresenta… in WKPageRenderTreeExternalRepresentation_b() argument
434 …WKPageRenderTreeExternalRepresentation(pageRef, Block_copy(block), callRenderTreeExternalRepresent… in WKPageRenderTreeExternalRepresentation_b()
438 void WKPageGetSourceForFrame(WKPageRef pageRef, WKFrameRef frameRef, void* context, WKPageGetSource… in WKPageGetSourceForFrame() argument
440 toImpl(pageRef)->getSourceForFrame(toImpl(frameRef), StringCallback::create(context, callback)); in WKPageGetSourceForFrame()
451 void WKPageGetSourceForFrame_b(WKPageRef pageRef, WKFrameRef frameRef, WKPageGetSourceForFrameBlock… in WKPageGetSourceForFrame_b() argument
453 …WKPageGetSourceForFrame(pageRef, frameRef, Block_copy(block), callGetSourceForFrameBlockBlockAndDi… in WKPageGetSourceForFrame_b()
457 void WKPageGetContentsAsString(WKPageRef pageRef, void* context, WKPageGetContentsAsStringFunction … in WKPageGetContentsAsString() argument
459 toImpl(pageRef)->getContentsAsString(StringCallback::create(context, callback)); in WKPageGetContentsAsString()
470 void WKPageGetContentsAsString_b(WKPageRef pageRef, WKPageGetSourceForFrameBlock block) in WKPageGetContentsAsString_b() argument
472 WKPageGetContentsAsString(pageRef, Block_copy(block), callContentsAsStringBlockBlockAndDispose); in WKPageGetContentsAsString_b()
476 void WKPageForceRepaint(WKPageRef pageRef, void* context, WKPageForceRepaintFunction callback) in WKPageForceRepaint() argument
478 toImpl(pageRef)->forceRepaint(VoidCallback::create(context, callback)); in WKPageForceRepaint()
481 WK_EXPORT WKURLRef WKPageCopyPendingAPIRequestURL(WKPageRef pageRef) in WKPageCopyPendingAPIRequestURL() argument
483 if (toImpl(pageRef)->pendingAPIRequestURL().isNull()) in WKPageCopyPendingAPIRequestURL()
485 return toCopiedURLAPI(toImpl(pageRef)->pendingAPIRequestURL()); in WKPageCopyPendingAPIRequestURL()
498 void WKPageValidateCommand(WKPageRef pageRef, WKStringRef command, void* context, WKPageValidateCom… in WKPageValidateCommand() argument
500 …toImpl(pageRef)->validateCommand(toImpl(command)->string(), ValidateCommandCallback::create(contex… in WKPageValidateCommand()
503 void WKPageExecuteCommand(WKPageRef pageRef, WKStringRef command) in WKPageExecuteCommand() argument
505 toImpl(pageRef)->executeEditCommand(toImpl(command)->string()); in WKPageExecuteCommand()