Home | History | Annotate | Download | only in jni

Lines Matching refs:historyItem

40 #include "HistoryItem.h"
59 static void writeItem(WTF::Vector<char>& vector, WebCore::HistoryItem* item);
60 static void writeChildrenRecursive(WTF::Vector<char>& vector, WebCore::HistoryItem* parent);
61 static bool readItemRecursive(WebCore::HistoryItem* child, const char** pData, int length);
84 RefPtr<WebCore::HistoryItem> current = list->currentItem();
104 * or else a HistoryItem might have a deleted parent.
109 * Unfortunately, a HistoryItem can only search its immediately
119 RefPtr<WebCore::HistoryItem> parent = current;
123 WebCore::HistoryItem* item = parent->childItemWithTarget(child->tree()->name());
150 WebCore::HistoryItem* currentItem =
167 // Inflate the history tree into one HistoryItem or null if the inflation
169 RefPtr<WebCore::HistoryItem> newItem = WebCore::HistoryItem::create();
174 // incomplete HistoryItem but that is better than crashing due to a null
281 void WebHistory::Flatten(JNIEnv* env, WTF::Vector<char>& vector, WebCore::HistoryItem* item)
296 void WebHistoryItem::updateHistoryItem(WebCore::HistoryItem* item) {
302 // HistoryItem.
307 // This means that the matching WebCore::HistoryItem has been freed.
309 ALOGW("Can't updateHistoryItem as the top HistoryItem is gone");
314 item = webItem->historyItem();
316 // If a HistoryItem only exists for page cache, it is possible that
317 // the parent HistoryItem destroyed before the child HistoryItem. If
319 ALOGW("Can't updateHistoryItem as the top HistoryItem is gone");
382 static void historyItemChanged(WebCore::HistoryItem* item) {
389 void WebHistory::AddItem(const AutoJObject& list, WebCore::HistoryItem* item)
391 ALOG_ASSERT(item, "newItem must take a valid HistoryItem!");
458 static void writeItem(WTF::Vector<char>& vector, WebCore::HistoryItem* item)
521 static void writeChildrenRecursive(WTF::Vector<char>& vector, WebCore::HistoryItem* parent)
526 WebCore::HistoryItem* item = (*i).get();
698 static bool readItemRecursive(WebCore::HistoryItem* newItem,
831 WTF::RefPtr<WebCore::HistoryItem> child = WebCore::HistoryItem::create();
847 // On the simulator, using HistoryItem will invoke the IconDatabase which will
856 WTF::RefPtr<WebCore::HistoryItem> item = WebCore::HistoryItem::create();
857 WebCore::HistoryItem* testItem = item.get();