Lines Matching refs:FAILED

120     if (FAILED(WebKitCreateInstance(CLSID_WebCookieManager, 0, IID_IWebCookieManager, reinterpret_cast<void**>(&cookieManager))))
123 if (FAILED(cookieManager->cookieStorage(&cookieStorage)) || !cookieStorage)
149 if (FAILED(frame->dataSource(&dataSource))) {
150 if (FAILED(frame->provisionalDataSource(&dataSource)))
155 if (FAILED(dataSource->request(&request)))
159 if (FAILED(request->URL(requestURLString.GetAddress())))
405 if (FAILED(frame->QueryInterface(&framePrivate)))
409 if (FAILED(framePrivate->scrollOffset(&scrollPosition)))
414 if (FAILED(frame->parentFrame(&parent)))
418 if (FAILED(frame->name(&name)))
428 if (FAILED(frame->childFrames(&enumKids)))
448 if (FAILED(frame->DOMDocument(&document)))
452 if (FAILED(document->documentElement(&documentElement)))
459 if (FAILED(frame->parentFrame(&parent)))
463 if (FAILED(frame->name(&name)))
485 if (FAILED(frame->childFrames(&enumKids)))
504 if (FAILED((*(COMPtr<IUnknown>*)item1)->QueryInterface(&itemA)))
508 if (FAILED((*(COMPtr<IUnknown>*)item2)->QueryInterface(&itemB)))
512 if (FAILED(itemA->target(&targetA)))
516 if (FAILED(itemB->target(&targetB))) {
540 if (FAILED(item->URLString(&url)))
564 if (FAILED(item->QueryInterface(&itemPrivate)))
568 if (FAILED(itemPrivate->target(&target)))
574 if (FAILED(itemPrivate->isTargetItem(&isTargetItem)))
582 if (FAILED(itemPrivate->children(&kidsCount, &arrPtr)) || !kidsCount)
588 if (FAILED(::SafeArrayGetLBound(arrPtr, 1, &lowerBound)))
592 if (FAILED(::SafeArrayGetUBound(arrPtr, 1, &upperBound)))
601 if (FAILED(::SafeArrayAccessData(arrPtr, (void**)&safeArrayData)))
629 if (FAILED(webView->backForwardList(&bfList)))
638 if (FAILED(bfList->forwardListCount(&forwardListCount)))
643 if (FAILED(bfList->itemAtIndex(i, &item)))
653 if (FAILED(bfList->currentItem(&currentItem)))
663 if (FAILED(bfList->backListCount(&backListCount)))
668 if (FAILED(bfList->itemAtIndex(i, &item)))
747 if (FAILED(frame->QueryInterface(&framePrivate)))
889 if (FAILED(frame->webView(&webView)))
1031 if (FAILED(hr))
1207 if (FAILED(hr)) {
1212 if (FAILED(webView->setHostWindow((OLE_HANDLE)(ULONG64)hostWindow)))
1218 bool failed = FAILED(webView->initWithFrame(clientRect, 0, groupName));
1224 if (FAILED(webView->QueryInterface(&viewPrivate)))
1233 failed = FAILED(viewPrivate->addAdditionalPluginDirectory(pluginPath));
1239 if (FAILED(viewPrivate->viewWindow(reinterpret_cast<OLE_HANDLE*>(&viewWindow))))
1247 if (FAILED(webView->setFrameLoadDelegate(sharedFrameLoadDelegate.get())))
1250 if (FAILED(viewPrivate->setFrameLoadDelegatePrivate(sharedFrameLoadDelegate.get())))
1253 if (FAILED(webView->setUIDelegate(sharedUIDelegate.get())))
1257 if (FAILED(webView->QueryInterface(&viewEditing)))
1260 if (FAILED(viewEditing->setEditingDelegate(sharedEditingDelegate.get())))
1266 if (FAILED(result))
1359 if (FAILED(WebKitCreateInstance(CLSID_WebPreferences, 0, IID_IWebPreferences, reinterpret_cast<void**>(&tmpPreferences))))
1362 if (FAILED(tmpPreferences->standardPreferences(&standardPreferences)))
1365 if (FAILED(standardPreferences->QueryInterface(&standardPreferencesPrivate)))
1396 if (FAILED(WebKitCreateInstance(CLSID_WebIconDatabase, 0, IID_IWebIconDatabase, (void**)&tmpIconDatabase)))
1398 if (FAILED(tmpIconDatabase->sharedIconDatabase(&iconDatabase)))
1401 if (FAILED(webView->mainFrame(&frame)))