Home
last modified time | relevance | path

Searched refs:WKRetainPtr (Results 1 – 25 of 58) sorted by relevance

123

/external/webkit/Source/WebKit2/UIProcess/API/cpp/
DWKRetainPtr.h36 template<typename T> class WKRetainPtr {
40 WKRetainPtr() in WKRetainPtr() function
45 WKRetainPtr(PtrType ptr) in WKRetainPtr() function
52 WKRetainPtr(WKAdoptTag, PtrType ptr) in WKRetainPtr() function
57 template<typename U> WKRetainPtr(const WKRetainPtr<U>& o) in WKRetainPtr() function
64 WKRetainPtr(const WKRetainPtr& o) in WKRetainPtr() function
71 ~WKRetainPtr() in ~WKRetainPtr()
98 typedef PtrType WKRetainPtr::*UnspecifiedBoolType;
99 operator UnspecifiedBoolType() const { return m_ptr ? &WKRetainPtr::m_ptr : 0; } in UnspecifiedBoolType()
101 WKRetainPtr& operator=(const WKRetainPtr&);
[all …]
/external/webkit/Tools/TestWebKitAPI/
DPlatformUtilities.cpp36 WKRetainPtr<WKStringRef> injectedBundlePath(AdoptWK, createInjectedBundlePath()); in createContextForInjectedBundleTest()
39WKRetainPtr<WKMutableDictionaryRef> initializationDictionary(AdoptWK, WKMutableDictionaryCreate()); in createContextForInjectedBundleTest()
41 WKRetainPtr<WKStringRef> testNameKey(AdoptWK, WKStringCreateWithUTF8CString("TestName")); in createContextForInjectedBundleTest()
42WKRetainPtr<WKStringRef> testNameString(AdoptWK, WKStringCreateWithUTF8CString(testName.c_str())); in createContextForInjectedBundleTest()
45 WKRetainPtr<WKStringRef> userDataKey(AdoptWK, WKStringCreateWithUTF8CString("UserData")); in createContextForInjectedBundleTest()
61 WKRetainPtr<WKStringRef> toWK(const char* utf8String) in toWK()
63 return WKRetainPtr<WKStringRef>(AdoptWK, WKStringCreateWithUTF8CString(utf8String)); in toWK()
DPlatformUtilities.h51 WKRetainPtr<WKStringRef> MIMETypeForWKURLResponse(WKURLResponseRef);
56 WKRetainPtr<WKStringRef> toWK(const char* utf8String);
DJavaScriptTest.cpp68 static WKRetainPtr<WKStringRef> wk(const char* utf8String) in wk()
70 return WKRetainPtr<WKStringRef>(AdoptWK, WKStringCreateWithUTF8CString(utf8String)); in wk()
/external/webkit/Tools/WebKitTestRunner/
DStringFunctions.h47 inline WKRetainPtr<WKStringRef> toWK(JSStringRef string) in toWK()
52 inline WKRetainPtr<WKStringRef> toWK(JSRetainPtr<JSStringRef> string) in toWK()
62 inline JSRetainPtr<JSStringRef> toJS(const WKRetainPtr<WKStringRef>& string) in toJS()
75 inline std::string toSTD(const WKRetainPtr<WKStringRef>& string) in toSTD()
90 inline std::ostream& operator<<(std::ostream& out, const WKRetainPtr<WKStringRef>& stringRef)
103 inline std::ostream& operator<<(std::ostream& out, const WKRetainPtr<WKURLRef>& urlRef)
DTestController.h79WKRetainPtr<WKTypeRef> didReceiveSynchronousMessageFromInjectedBundle(WKStringRef messageName, WKT…
103 WKRetainPtr<WKStringRef> m_injectedBundlePath;
104 WKRetainPtr<WKStringRef> m_testPluginDirectory;
107 WKRetainPtr<WKContextRef> m_context;
108 WKRetainPtr<WKPageGroupRef> m_pageGroup;
DTestInvocation.cpp136 WKRetainPtr<WKStringRef> messageName = adoptWK(WKStringCreateWithUTF8CString("BeginTest")); in invoke()
137 WKRetainPtr<WKBooleanRef> dumpPixels = adoptWK(WKBooleanCreate(m_dumpPixels)); in invoke()
202WKRetainPtr<WKStringRef> textOutputKey(AdoptWK, WKStringCreateWithUTF8CString("TextOutput")); in didReceiveMessageFromInjectedBundle()
205WKRetainPtr<WKStringRef> pixelResultKey = adoptWK(WKStringCreateWithUTF8CString("PixelResult")); in didReceiveMessageFromInjectedBundle()
228 WKRetainPtr<WKTypeRef> TestInvocation::didReceiveSynchronousMessageFromInjectedBundle(WKStringRef /… in didReceiveSynchronousMessageFromInjectedBundle()
DTestInvocation.h45WKRetainPtr<WKTypeRef> didReceiveSynchronousMessageFromInjectedBundle(WKStringRef messageName, WKT…
51 WKRetainPtr<WKURLRef> m_url;
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/
DInjectedBundle.cpp137 WKRetainPtr<WKStringRef> ackMessageName(AdoptWK, WKStringCreateWithUTF8CString("Ack")); in didReceiveMessage()
138WKRetainPtr<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()
190WKRetainPtr<WKStringRef> textOutput(AdoptWK, WKStringCreateWithUTF8CString(m_outputStream.str().c_… in done()
193 WKRetainPtr<WKStringRef> pixelResultKey = adoptWK(WKStringCreateWithUTF8CString("PixelResult")); in done()
DLayoutTestController.cpp187 WKRetainPtr<WKStringRef> text(AdoptWK, WKBundleFrameCopyLayerTreeAsText(mainFrame)); in layerTreeAsText()
193 WKRetainPtr<WKStringRef> sourceWK = toWK(source); in addUserScript()
194 WKRetainPtr<WKBundleScriptWorldRef> scriptWorld(AdoptWK, WKBundleScriptWorldCreateWorld()); in addUserScript()
203 WKRetainPtr<WKStringRef> sourceWK = toWK(source); in addUserStyleSheet()
204 WKRetainPtr<WKBundleScriptWorldRef> scriptWorld(AdoptWK, WKBundleScriptWorldCreateWorld()); in addUserStyleSheet()
234WKRetainPtr<WKStringRef> value(AdoptWK, WKBundleFrameCopyCounterValue(mainFrame, const_cast<JSObje… in counterValueForElementById()
244WKRetainPtr<WKStringRef> text(AdoptWK, WKBundleFrameCopyMarkerText(mainFrame, const_cast<JSObjectR… in markerTextForListItem()
366WKRetainPtr<WKBundleNodeHandleRef> domElement = adoptWK(WKBundleNodeHandleCreate(context, const_ca… in shadowRoot()
370WKRetainPtr<WKBundleNodeHandleRef> shadowRootDOMElement = adoptWK(WKBundleNodeHandleCopyElementSha… in shadowRoot()
401 WKRetainPtr<WKStringRef> scriptWK = toWK(script); in evaluateInWebInspector()
[all …]
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/
DWKPreferences.cpp75WKRetainPtr<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()
81WKRetainPtr<WKStringRef> sansSerifFontFamily(AdoptWK, WKPreferencesCopySansSerifFontFamily(prefere… in TEST()
83WKRetainPtr<WKStringRef> cursiveFontFamily(AdoptWK, WKPreferencesCopyCursiveFontFamily(preference)… in TEST()
85WKRetainPtr<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()
DPageLoadDidChangeLocationWithinPageForFrame.cpp62 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
71 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("file-with-anchor", "html")); in TEST()
75 WKRetainPtr<WKURLRef> initialURL = adoptWK(WKFrameCopyURL(WKPageGetMainFrame(webView.page()))); in TEST()
80WKRetainPtr<WKURLRef> urlAfterAnchorClick = adoptWK(WKFrameCopyURL(WKPageGetMainFrame(webView.page… in TEST()
DDocumentStartUserScriptAlertCrash.cpp48WKRetainPtr<WKPageGroupRef> pageGroup(AdoptWK, WKPageGroupCreateWithIdentifier(WKStringCreateWithU… in TEST()
50WKRetainPtr<WKContextRef> context(AdoptWK, Util::createContextForInjectedBundleTest("DocumentStart… in TEST()
60 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("simple", "html")); in TEST()
DRestoreSessionStateContainingFormData.cpp51 static WKRetainPtr<WKDataRef> createSessionStateContainingFormData(WKContextRef context) in createSessionStateContainingFormData()
69 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
77 WKRetainPtr<WKDataRef> data = createSessionStateContainingFormData(context.get()); 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.cpp41WKRetainPtr<WKStringRef> doneMessageName(AdoptWK, WKStringCreateWithUTF8CString("DoneMessageName")… in didCreatePage()
42WKRetainPtr<WKStringRef> doneMessageBody(AdoptWK, WKStringCreateWithUTF8CString("DoneMessageBody")… in didCreatePage()
DEvaluateJavaScript.cpp53 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
56WKRetainPtr<WKStringRef> javaScriptString(AdoptWK, WKStringCreateWithUTF8CString("throw 'Hello'")); in TEST()
DPreventEmptyUserAgent.cpp61 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST()
65WKRetainPtr<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()
62WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("simple-accelerated-compositing", "h… in TEST()
DInjectedBundleBasic.cpp55WKRetainPtr<WKContextRef> context(AdoptWK, Util::createContextForInjectedBundleTest("InjectedBundl… in TEST()
73 WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("simple", "html")); in TEST()
/external/webkit/Source/WebKit2/UIProcess/API/qt/
Dqwkhistory.cpp75 WKRetainPtr<WKStringRef> title = WKBackForwardListItemCopyTitle(d->m_backForwardListItem.get()); in title()
83 WKRetainPtr<WKURLRef> url = WKBackForwardListItemCopyURL(d->m_backForwardListItem.get()); in url()
129WKRetainPtr<WKBackForwardListItemRef> itemRef = WKBackForwardListGetCurrentItem(toAPI(d->m_backFor… in currentItem()
136WKRetainPtr<WKBackForwardListItemRef> itemRef = WKBackForwardListGetBackItem(toAPI(d->m_backForwar… in backItem()
143WKRetainPtr<WKBackForwardListItemRef> itemRef = WKBackForwardListGetForwardItem(toAPI(d->m_backFor… in forwardItem()
150WKRetainPtr<WKBackForwardListItemRef> itemRef = WKBackForwardListGetItemAtIndex(toAPI(d->m_backFor… in itemAt()
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()

123