Home | History | Annotate | Download | only in jni

Lines Matching refs:historyItem

38 #include "HistoryItem.h"
57 static void write_item(WTF::Vector<char>& v, WebCore::HistoryItem* item);
58 static void write_children_recursive(WTF::Vector<char>& v, WebCore::HistoryItem* parent);
59 static bool read_item_recursive(WebCore::HistoryItem* child, const char** pData, int length);
85 RefPtr<WebCore::HistoryItem> current = list->currentItem();
105 * or else a HistoryItem might have a deleted parent.
110 * Unfortunately, a HistoryItem can only search its immediately
120 RefPtr<WebCore::HistoryItem> parent = current;
124 WebCore::HistoryItem* item = parent->childItemWithTarget(child->tree()->name());
151 WebCore::HistoryItem* currentItem =
168 // Inflate the history tree into one HistoryItem or null if the inflation
170 RefPtr<WebCore::HistoryItem> newItem = WebCore::HistoryItem::create();
175 // incomplete HistoryItem but that is better than crashing due to a null
197 jbyteArray WebHistory::Flatten(JNIEnv* env, WTF::Vector<char>& v, WebCore::HistoryItem* item)
222 WebCore::HistoryItem* item) : WebCore::AndroidWebHistoryBridge(item) {
236 void WebHistoryItem::updateHistoryItem(WebCore::HistoryItem* item) {
242 // HistoryItem.
247 // This means that the matching WebCore::HistoryItem has been freed.
249 LOGW("Can't updateHistoryItem as the top HistoryItem is gone");
254 item = webItem->historyItem();
256 // If a HistoryItem only exists for page cache, it is possible that
257 // the parent HistoryItem destroyed before the child HistoryItem. If
259 LOGW("Can't updateHistoryItem as the top HistoryItem is gone");
313 static void historyItemChanged(WebCore::HistoryItem* item) {
320 void WebHistory::AddItem(const AutoJObject& list, WebCore::HistoryItem* item)
322 LOG_ASSERT(item, "newItem must take a valid HistoryItem!");
389 static void write_item(WTF::Vector<char>& v, WebCore::HistoryItem* item)
452 static void write_children_recursive(WTF::Vector<char>& v, WebCore::HistoryItem* parent)
457 WebCore::HistoryItem* item = (*i).get();
480 static bool read_item_recursive(WebCore::HistoryItem* newItem,
689 WTF::PassRefPtr<WebCore::HistoryItem> child = WebCore::HistoryItem::create();
707 // On the simulator, using HistoryItem will invoke the IconDatabase which will
716 WTF::RefPtr<WebCore::HistoryItem> item = WebCore::HistoryItem::create();
717 WebCore::HistoryItem* testItem = item.get();