/external/webkit/Source/WebKit2/UIProcess/API/cpp/ |
D | WKRetainPtr.h | 36 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/ |
D | PlatformUtilities.cpp | 36 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() 61 WKRetainPtr<WKStringRef> toWK(const char* utf8String) in toWK() 63 return WKRetainPtr<WKStringRef>(AdoptWK, WKStringCreateWithUTF8CString(utf8String)); in toWK()
|
D | PlatformUtilities.h | 51 WKRetainPtr<WKStringRef> MIMETypeForWKURLResponse(WKURLResponseRef); 56 WKRetainPtr<WKStringRef> toWK(const char* utf8String);
|
D | JavaScriptTest.cpp | 68 static WKRetainPtr<WKStringRef> wk(const char* utf8String) in wk() 70 return WKRetainPtr<WKStringRef>(AdoptWK, WKStringCreateWithUTF8CString(utf8String)); in wk()
|
/external/webkit/Tools/WebKitTestRunner/ |
D | StringFunctions.h | 47 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)
|
D | TestController.h | 79 …WKRetainPtr<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;
|
D | TestInvocation.cpp | 136 WKRetainPtr<WKStringRef> messageName = adoptWK(WKStringCreateWithUTF8CString("BeginTest")); in invoke() 137 WKRetainPtr<WKBooleanRef> dumpPixels = adoptWK(WKBooleanCreate(m_dumpPixels)); in invoke() 202 … WKRetainPtr<WKStringRef> textOutputKey(AdoptWK, WKStringCreateWithUTF8CString("TextOutput")); in didReceiveMessageFromInjectedBundle() 205 … WKRetainPtr<WKStringRef> pixelResultKey = adoptWK(WKStringCreateWithUTF8CString("PixelResult")); in didReceiveMessageFromInjectedBundle() 228 WKRetainPtr<WKTypeRef> TestInvocation::didReceiveSynchronousMessageFromInjectedBundle(WKStringRef /… in didReceiveSynchronousMessageFromInjectedBundle()
|
D | TestInvocation.h | 45 …WKRetainPtr<WKTypeRef> didReceiveSynchronousMessageFromInjectedBundle(WKStringRef messageName, WKT… 51 WKRetainPtr<WKURLRef> m_url;
|
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/ |
D | InjectedBundle.cpp | 137 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() 193 WKRetainPtr<WKStringRef> pixelResultKey = adoptWK(WKStringCreateWithUTF8CString("PixelResult")); in done()
|
D | LayoutTestController.cpp | 187 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() 234 …WKRetainPtr<WKStringRef> value(AdoptWK, WKBundleFrameCopyCounterValue(mainFrame, const_cast<JSObje… in counterValueForElementById() 244 …WKRetainPtr<WKStringRef> text(AdoptWK, WKBundleFrameCopyMarkerText(mainFrame, const_cast<JSObjectR… in markerTextForListItem() 366 …WKRetainPtr<WKBundleNodeHandleRef> domElement = adoptWK(WKBundleNodeHandleCreate(context, const_ca… in shadowRoot() 370 …WKRetainPtr<WKBundleNodeHandleRef> shadowRootDOMElement = adoptWK(WKBundleNodeHandleCopyElementSha… in shadowRoot() 401 WKRetainPtr<WKStringRef> scriptWK = toWK(script); in evaluateInWebInspector() [all …]
|
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/ |
D | WKPreferences.cpp | 75 …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()
|
D | FrameMIMETypeHTML.cpp | 39 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()
|
D | FrameMIMETypePNG.cpp | 39 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()
|
D | PageLoadDidChangeLocationWithinPageForFrame.cpp | 62 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() 80 …WKRetainPtr<WKURLRef> urlAfterAnchorClick = adoptWK(WKFrameCopyURL(WKPageGetMainFrame(webView.page… in TEST()
|
D | DocumentStartUserScriptAlertCrash.cpp | 48 …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()
|
D | RestoreSessionStateContainingFormData.cpp | 51 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()
|
D | Find.cpp | 53 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()
|
D | InjectedBundleBasic_Bundle.cpp | 41 …WKRetainPtr<WKStringRef> doneMessageName(AdoptWK, WKStringCreateWithUTF8CString("DoneMessageName")… in didCreatePage() 42 …WKRetainPtr<WKStringRef> doneMessageBody(AdoptWK, WKStringCreateWithUTF8CString("DoneMessageBody")… in didCreatePage()
|
D | EvaluateJavaScript.cpp | 53 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST() 56 …WKRetainPtr<WKStringRef> javaScriptString(AdoptWK, WKStringCreateWithUTF8CString("throw 'Hello'")); in TEST()
|
D | PreventEmptyUserAgent.cpp | 61 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST() 65 …WKRetainPtr<WKStringRef> javaScriptString(AdoptWK, WKStringCreateWithUTF8CString("navigator.userAg… in TEST()
|
D | FailedLoad.cpp | 51 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST() 62 WKRetainPtr<WKURLRef> url(AdoptWK, Util::URLForNonExistentResource()); in TEST()
|
D | ForceRepaint.cpp | 52 WKRetainPtr<WKContextRef> context(AdoptWK, WKContextCreate()); in TEST() 62 …WKRetainPtr<WKURLRef> url(AdoptWK, Util::createURLForResource("simple-accelerated-compositing", "h… in TEST()
|
D | InjectedBundleBasic.cpp | 55 …WKRetainPtr<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/ |
D | qwkhistory.cpp | 75 WKRetainPtr<WKStringRef> title = WKBackForwardListItemCopyTitle(d->m_backForwardListItem.get()); in title() 83 WKRetainPtr<WKURLRef> url = WKBackForwardListItemCopyURL(d->m_backForwardListItem.get()); in url() 129 …WKRetainPtr<WKBackForwardListItemRef> itemRef = WKBackForwardListGetCurrentItem(toAPI(d->m_backFor… in currentItem() 136 …WKRetainPtr<WKBackForwardListItemRef> itemRef = WKBackForwardListGetBackItem(toAPI(d->m_backForwar… in backItem() 143 …WKRetainPtr<WKBackForwardListItemRef> itemRef = WKBackForwardListGetForwardItem(toAPI(d->m_backFor… in forwardItem() 150 …WKRetainPtr<WKBackForwardListItemRef> itemRef = WKBackForwardListGetItemAtIndex(toAPI(d->m_backFor… in itemAt()
|
D | qwkpreferences.cpp | 93 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()
|