Home
last modified time | relevance | path

Searched refs:currentItem (Results 1 – 25 of 68) sorted by relevance

123

/external/webkit/Source/WebKit/gtk/tests/
Dtestwebbackforwardlist.c30 WebKitWebHistoryItem* currentItem; in test_webkit_web_history_item_lifetime() local
71 currentItem = webkit_web_back_forward_list_get_current_item(backForwardList); in test_webkit_web_history_item_lifetime()
72 g_object_ref(currentItem); in test_webkit_web_history_item_lifetime()
73 g_assert_cmpint(G_OBJECT(currentItem)->ref_count, ==, 2); in test_webkit_web_history_item_lifetime()
74 g_object_unref(currentItem); in test_webkit_web_history_item_lifetime()
75 g_assert_cmpint(G_OBJECT(currentItem)->ref_count, ==, 1); in test_webkit_web_history_item_lifetime()
116 WebKitWebHistoryItem* currentItem; in test_webkit_web_back_forward_list_order() local
160 currentItem = WEBKIT_WEB_HISTORY_ITEM(backList->data); in test_webkit_web_back_forward_list_order()
161 g_assert_cmpstr(webkit_web_history_item_get_uri(currentItem), ==, "http://example.com/3/"); in test_webkit_web_back_forward_list_order()
162 g_assert_cmpstr(webkit_web_history_item_get_title(currentItem), ==, "Site 3"); in test_webkit_web_back_forward_list_order()
[all …]
/external/webkit/Source/WebCore/history/
DBackForwardListImpl.cpp93 m_page->mainFrame()->loader()->client()->dispatchDidAddBackForwardItem(currentItem()); in addItem()
139 HistoryItem* BackForwardListImpl::currentItem() in currentItem() function in WebCore::BackForwardListImpl
291 RefPtr<HistoryItem> currentItem = this->currentItem(); in clearWMLPageHistory() local
302 addItem(currentItem); in clearWMLPageHistory()
DBackForwardList.h69 HistoryItem* currentItem() { return itemAtIndex(0); } in currentItem() function
DBackForwardController.h67 HistoryItem* currentItem() { return itemAtIndex(0); } in currentItem() function
DBackForwardListImpl.h57 HistoryItem* currentItem();
DPageCache.cpp138 if (!frame->loader()->history()->currentItem()) { in logCanCacheFrameDecision()
272 && frame->loader()->history()->currentItem() in canCachePageContainingThisFrame()
/external/webkit/Source/WebKit2/UIProcess/
DWebBackForwardList.cpp119 WebBackForwardListItem* WebBackForwardList::currentItem() in currentItem() function in WebKit::WebBackForwardList
220 RefPtr<WebBackForwardListItem> currentItem = this->currentItem(); in clear() local
224 if (m_entries[i] != currentItem) in clear()
237 m_entries[0] = currentItem.release(); in clear()
DWebBackForwardList.h66 WebBackForwardListItem* currentItem();
/external/webkit/Source/WebKit/qt/tests/qwebhistory/
Dtst_qwebhistory.cpp106 QCOMPARE(hist->currentItem().title(), QString("page5")); in title()
172 QWebHistoryItem current = hist->currentItem(); in goToItem()
177 QVERIFY(hist->currentItem().title() != current.title()); in goToItem()
180 QCOMPARE(hist->currentItem().title(), current.title()); in goToItem()
268 QWebHistoryItem a = hist->currentItem(); in serialize_3()
285 QWebHistoryItem b = hist->currentItem(); in serialize_3()
/external/webkit/Source/WebCore/wml/
DWMLPageState.cpp129 HistoryItem* currentItem = page->backForward()->currentItem(); in tryAccessHistoryURLs() local
130 if (!currentItem) in tryAccessHistoryURLs()
134 currentURL = urlForHistoryItem(frame, currentItem); in tryAccessHistoryURLs()
/external/webkit/Source/WebKit/qt/Api/
Dqwebhistory.cpp274 RefPtr<WebCore::HistoryItem> current = lst->currentItem(); in clear()
413 QWebHistoryItem QWebHistory::currentItem() const in currentItem() function in QWebHistory
415 WebCore::HistoryItem *i = d->lst->currentItem(); in currentItem()
537 WebCore::HistoryItem* nullItem = d->lst->currentItem(); in operator >>()
Dqwebhistory.h88 QWebHistoryItem currentItem() const;
/external/webkit/Source/WebCore/loader/
DHistoryController.cpp173 …ader()->history()->saveScrollPositionAndViewStateToItem(frame->loader()->history()->currentItem()); in saveDocumentAndScrollState()
208 CachedPage* cachedPage = pageCache()->get(currentItem()); in invalidateCurrentItemCachedPage()
221 pageCache()->remove(currentItem()); in invalidateCurrentItemCachedPage()
255 RefPtr<HistoryItem> currentItem = page->backForward()->currentItem(); in goToItem() local
263 recursiveSetProvisionalItem(targetItem, currentItem.get(), type); in goToItem()
265 recursiveGoToItem(targetItem, currentItem.get(), type); in goToItem()
DFrameLoader.cpp961 HistoryItem* parentItem = history()->currentItem(); in loadURLIntoChildFrame()
1929 HistoryItem* item = history()->currentItem(); in commitProvisionalLoad()
2005 pageCache()->remove(history()->currentItem()); in commitProvisionalLoad()
2065 if (history()->currentItem() && !cachedPage) in transitionToCommitted()
2066 m_pendingStateObject = history()->currentItem()->stateObject(); in transitionToCommitted()
2436 item = page->mainFrame()->loader()->history()->currentItem(); in checkLoadCompleteForThisFrame()
2675 history()->saveScrollPositionAndViewStateToItem(history()->currentItem()); in detachFromParent()
3042 if (HistoryItem* resetItem = mainFrame->loader()->history()->currentItem()) { in continueLoadAfterNavigationPolicy()
3208 if (!history()->currentItem()) in shouldTreatURLAsSameAsCurrent()
3210 return url == history()->currentItem()->url() || url == history()->currentItem()->originalURL(); in shouldTreatURLAsSameAsCurrent()
[all …]
DHistoryController.h73 HistoryItem* currentItem() const { return m_currentItem.get(); } in currentItem() function
/external/webkit/Source/WebKit/mac/History/
DWebBackForwardList.h96 - (WebHistoryItem *)currentItem;
DWebBackForwardList.mm192 - (WebHistoryItem *)currentItem
194 return [[kit(core(self)->currentItem()) retain] autorelease];
275 if (entries[i] == backForwardList->currentItem()) {
/external/webkit/Source/WebKit2/UIProcess/API/C/
DWKBackForwardList.cpp41 return toAPI(toImpl(listRef)->currentItem()); in WKBackForwardListGetCurrentItem()
/external/webkit/Source/WebKit/win/
DWebBackForwardList.cpp171 HRESULT STDMETHODCALLTYPE WebBackForwardList::currentItem( in currentItem() function in WebBackForwardList
177 HistoryItem* historyItem = m_backForwardList->currentItem(); in currentItem()
DWebBackForwardList.h68 virtual HRESULT STDMETHODCALLTYPE currentItem(
/external/webkit/Source/WebKit2/UIProcess/API/qt/
Dqwkhistory.h66 QWKHistoryItem currentItem() const;
/external/webkit/Source/WebKit/win/Interfaces/
DIWebBackForwardList.idl94 @method currentItem
97 - (WebHistoryItem *)currentItem;
99 HRESULT currentItem([out, retval] IWebHistoryItem** item);
/external/webkit/Source/WebKit/chromium/src/
DWebFrameImpl.cpp932 RefPtr<HistoryItem> currentItem = m_frame->loader()->history()->currentItem(); in loadHistoryItem() local
933 if (!currentItem) { in loadHistoryItem()
934 currentItem = HistoryItem::create(); in loadHistoryItem()
935 currentItem->setLastVisitWasFailure(true); in loadHistoryItem()
936 m_frame->loader()->history()->setCurrentItem(currentItem.get()); in loadHistoryItem()
937 m_frame->page()->backForward()->setCurrentItem(currentItem.get()); in loadHistoryItem()
940 m_inSameDocumentHistoryLoad = currentItem->shouldDoSameDocumentNavigationTo(historyItem.get()); in loadHistoryItem()
1043 return WebHistoryItem(m_frame->page()->backForward()->currentItem()); in currentHistoryItem()
/external/webkit/Source/WebKit/android/jni/
DWebHistory.cpp85 RefPtr<WebCore::HistoryItem> current = list->currentItem(); in WebHistoryClose()
140 parent = child->tree()->parent()->loader()->history()->currentItem(); in WebHistoryClose()
151 WebCore::HistoryItem* currentItem = in WebHistoryRestoreIndex() local
156 page->goToItem(currentItem, FrameLoadTypeIndexedBackForward); in WebHistoryRestoreIndex()
/external/webkit/Tools/DumpRenderTree/win/
DDumpRenderTree.cpp652 COMPtr<IWebHistoryItem> currentItem; in dumpBackForwardList() local
653 if (FAILED(bfList->currentItem(&currentItem))) in dumpBackForwardList()
656 assert(currentItem != prevTestBFItem); in dumpBackForwardList()
658 currentItem->QueryInterface(&currentItemUnknown); in dumpBackForwardList()
1020 bfList->currentItem(&prevTestBFItem); in runTest()

123