Home
last modified time | relevance | path

Searched refs:AdoptWK (Results 1 – 25 of 37) sorted by relevance

12

/external/webkit/Tools/TestWebKitAPI/
DPlatformUtilities.cpp36 WKRetainPtr<WKStringRef> injectedBundlePath(AdoptWK, createInjectedBundlePath()); in createContextForInjectedBundleTest()
39 …WKRetainPtr<WKMutableDictionaryRef> initializationDictionary(AdoptWK, WKMutableDictionaryCreate()); in createContextForInjectedBundleTest()
41 WKRetainPtr<WKStringRef> testNameKey(AdoptWK, WKStringCreateWithUTF8CString("TestName")); in createContextForInjectedBundleTest()
42 … WKRetainPtr<WKStringRef> testNameString(AdoptWK, WKStringCreateWithUTF8CString(testName.c_str())); in createContextForInjectedBundleTest()
45 WKRetainPtr<WKStringRef> userDataKey(AdoptWK, WKStringCreateWithUTF8CString("UserData")); in createContextForInjectedBundleTest()
63 return WKRetainPtr<WKStringRef>(AdoptWK, WKStringCreateWithUTF8CString(utf8String)); in toWK()
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/
DWKPreferences.cpp75 …WKRetainPtr<WKStringRef> standardFontFamily(AdoptWK, WKPreferencesCopyStandardFontFamily(preferenc… in TEST()
77 WKRetainPtr<WKStringRef> fixedFontFamily(AdoptWK, WKPreferencesCopyFixedFontFamily(preference)); in TEST()
79 WKRetainPtr<WKStringRef> serifFontFamily(AdoptWK, WKPreferencesCopySerifFontFamily(preference)); in TEST()
81 …WKRetainPtr<WKStringRef> sansSerifFontFamily(AdoptWK, WKPreferencesCopySansSerifFontFamily(prefere… in TEST()
83 …WKRetainPtr<WKStringRef> cursiveFontFamily(AdoptWK, WKPreferencesCopyCursiveFontFamily(preference)… in TEST()
85 …WKRetainPtr<WKStringRef> fantasyFontFamily(AdoptWK, WKPreferencesCopyFantasyFontFamily(preference)… in TEST()
DFrameMIMETypeHTML.cpp39 WKRetainPtr<WKStringRef> wkMIME(AdoptWK, WKFrameCopyMIMEType(frame)); in didStartProvisionalLoadForFrame()
45 WKRetainPtr<WKStringRef> wkMIME(AdoptWK, WKFrameCopyMIMEType(frame)); in didCommitLoadForFrame()
51 WKRetainPtr<WKStringRef> wkMIME(AdoptWK, WKFrameCopyMIMEType(frame)); in didFinishLoadForFrame()
59 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
72 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("simple", "html")); in TEST()
DFrameMIMETypePNG.cpp39 WKRetainPtr<WKStringRef> wkMIME(AdoptWK, WKFrameCopyMIMEType(frame)); in didStartProvisionalLoadForFrame()
45 WKRetainPtr<WKStringRef> wkMIME(AdoptWK, WKFrameCopyMIMEType(frame)); in didCommitLoadForFrame()
51 WKRetainPtr<WKStringRef> wkMIME(AdoptWK, WKFrameCopyMIMEType(frame)); in didFinishLoadForFrame()
59 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
72 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("icon", "png")); in TEST()
DDocumentStartUserScriptAlertCrash.cpp48 …WKRetainPtr<WKPageGroupRef> pageGroup(AdoptWK, WKPageGroupCreateWithIdentifier(WKStringCreateWithU… in TEST()
50 …WKRetainPtr<WKContextRef> context(AdoptWK, Util::createContextForInjectedBundleTest("DocumentStart… in TEST()
60 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("simple", "html")); in TEST()
DFind.cpp53 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
70 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("find", "html")); in TEST()
75 WKRetainPtr<WKStringRef> findString(AdoptWK, WKStringCreateWithUTF8CString("Hello")); in TEST()
DInjectedBundleBasic_Bundle.cpp41 …WKRetainPtr<WKStringRef> doneMessageName(AdoptWK, WKStringCreateWithUTF8CString("DoneMessageName")… in didCreatePage()
42 …WKRetainPtr<WKStringRef> doneMessageBody(AdoptWK, WKStringCreateWithUTF8CString("DoneMessageBody")… in didCreatePage()
DEvaluateJavaScript.cpp53 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
56 …WKRetainPtr<WKStringRef> javaScriptString(AdoptWK, WKStringCreateWithUTF8CString("throw 'Hello'")); in TEST()
DPreventEmptyUserAgent.cpp61 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
65 …WKRetainPtr<WKStringRef> javaScriptString(AdoptWK, WKStringCreateWithUTF8CString("navigator.userAg… in TEST()
DFailedLoad.cpp51 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
62 WKRetainPtr<WKURLRef> url(AdoptWK, Util::URLForNonExistentResource()); in TEST()
DForceRepaint.cpp52 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
62 …WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("simple-accelerated-compositing", "h… in TEST()
DInjectedBundleBasic.cpp55 …WKRetainPtr<WKContextRef> context(AdoptWK, Util::createContextForInjectedBundleTest("InjectedBundl… in TEST()
73 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("simple", "html")); in TEST()
DPageLoadDidChangeLocationWithinPageForFrame.cpp62 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
71 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("file-with-anchor", "html")); in TEST()
DSpacebarScrolling.cpp51 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
67 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("spacebar-scrolling", "html")); in TEST()
DPageLoadBasic.cpp115 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
138 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("simple", "html")); in TEST()
DDocumentStartUserScriptAlertCrash_Bundle.cpp48 … WKRetainPtr<WKStringRef> source(AdoptWK, WKStringCreateWithUTF8CString("alert('an alert');")); in initialize()
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/
DInjectedBundle.cpp137 WKRetainPtr<WKStringRef> ackMessageName(AdoptWK, WKStringCreateWithUTF8CString("Ack")); in didReceiveMessage()
138 … WKRetainPtr<WKStringRef> ackMessageBody(AdoptWK, WKStringCreateWithUTF8CString("BeginTest")); in didReceiveMessage()
152 WKRetainPtr<WKStringRef> errorMessageName(AdoptWK, WKStringCreateWithUTF8CString("Error")); in didReceiveMessage()
153 WKRetainPtr<WKStringRef> errorMessageBody(AdoptWK, WKStringCreateWithUTF8CString("Unknown")); in didReceiveMessage()
186 WKRetainPtr<WKStringRef> doneMessageName(AdoptWK, WKStringCreateWithUTF8CString("Done")); in done()
187 WKRetainPtr<WKMutableDictionaryRef> doneMessageBody(AdoptWK, WKMutableDictionaryCreate()); in done()
189 WKRetainPtr<WKStringRef> textOutputKey(AdoptWK, WKStringCreateWithUTF8CString("TextOutput")); in done()
190 …WKRetainPtr<WKStringRef> textOutput(AdoptWK, WKStringCreateWithUTF8CString(m_outputStream.str().c_… in done()
DLayoutTestController.cpp187 WKRetainPtr<WKStringRef> text(AdoptWK, WKBundleFrameCopyLayerTreeAsText(mainFrame)); in layerTreeAsText()
194 WKRetainPtr<WKBundleScriptWorldRef> scriptWorld(AdoptWK, WKBundleScriptWorldCreateWorld()); in addUserScript()
204 WKRetainPtr<WKBundleScriptWorldRef> scriptWorld(AdoptWK, WKBundleScriptWorldCreateWorld()); in addUserStyleSheet()
234 …WKRetainPtr<WKStringRef> value(AdoptWK, WKBundleFrameCopyCounterValue(mainFrame, const_cast<JSObje… in counterValueForElementById()
244 …WKRetainPtr<WKStringRef> text(AdoptWK, WKBundleFrameCopyMarkerText(mainFrame, const_cast<JSObjectR… in markerTextForListItem()
/external/webkit/Source/WebKit2/UIProcess/API/qt/
Dqwkpreferences.cpp93 WKRetainPtr<WKStringRef> stringRef(AdoptWK, WKPreferencesCopyStandardFontFamily(d->ref)); in fontFamily()
97 WKRetainPtr<WKStringRef> stringRef(AdoptWK, WKPreferencesCopyFixedFontFamily(d->ref)); in fontFamily()
101 WKRetainPtr<WKStringRef> stringRef(AdoptWK, WKPreferencesCopySerifFontFamily(d->ref)); in fontFamily()
105 WKRetainPtr<WKStringRef> stringRef(AdoptWK, WKPreferencesCopySansSerifFontFamily(d->ref)); in fontFamily()
109 WKRetainPtr<WKStringRef> stringRef(AdoptWK, WKPreferencesCopyCursiveFontFamily(d->ref)); in fontFamily()
113 WKRetainPtr<WKStringRef> stringRef(AdoptWK, WKPreferencesCopyFantasyFontFamily(d->ref)); in fontFamily()
/external/webkit/Source/WebKit2/UIProcess/API/cpp/
DWKRetainPtr.h34 enum WKAdoptTag { AdoptWK }; enumerator
209 return WKRetainPtr<T>(AdoptWK, o); in adoptWK()
215 using WebKit::AdoptWK;
/external/webkit/Tools/WebKitTestRunner/
DTestController.cpp246 …WKRetainPtr<WKStringRef> pageGroupIdentifier(AdoptWK, WKStringCreateWithUTF8CString("WebKitTestRun… in initialize()
255 …WKRetainPtr<WKStringRef> databaseDirectoryWK(AdoptWK, WKStringCreateWithUTF8CString(databaseDirect… in initialize()
351 WKRetainPtr<WKStringRef> messageName(AdoptWK, WKStringCreateWithUTF8CString("Reset")); in resetStateToConsistentValues()
500 WKRetainPtr<WKURLRef> wkURL(AdoptWK, WKFrameCopyURL(frame)); in didFinishLoadForFrame()
DTestInvocation.cpp92 : m_url(AdoptWK, createWKURL(pathOrURL.c_str())) in TestInvocation()
202 … WKRetainPtr<WKStringRef> textOutputKey(AdoptWK, WKStringCreateWithUTF8CString("TextOutput")); in didReceiveMessageFromInjectedBundle()
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/win/
DDoNotCopyANullCFURLResponse.cpp37 WKRetainPtr<WKURLResponseRef> nullWKResponse(AdoptWK, WKURLResponseCreateWithCFURLResponse(0)); in TEST()
DWMPrint.cpp36 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
DWMCloseCallsUIClientClose.cpp43 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()

12