Home | History | Annotate | Download | only in jni

Lines Matching defs:WebHistoryItem

170     RefPtr<WebHistoryItem> bridge = new WebHistoryItem(env, obj, newItem.get());
220 WebHistoryItem::WebHistoryItem(JNIEnv* env, jobject obj,
226 WebHistoryItem::~WebHistoryItem() {
235 void WebHistoryItem::updateHistoryItem(WebCore::HistoryItem* item) {
239 WebHistoryItem* webItem = this;
240 // Now we need to update the top-most WebHistoryItem based on the top-most
245 // if the parent only has one ref, it is from this WebHistoryItem.
329 // Allocate a blank WebHistoryItem
330 jclass clazz = env->FindClass("android/webkit/WebHistoryItem");
334 WebHistoryItem* bridge = new WebHistoryItem(env, newItem, item);
455 WebHistoryItem* bridge = new WebHistoryItem(static_cast<WebHistoryItem*>(parent->bridge()));
462 WebHistoryItem* bridge = static_cast<WebHistoryItem*>(item->bridge());
463 WebHistoryItem* parentBridge = static_cast<WebHistoryItem*>(parent->bridge());
672 child->setBridge(new WebHistoryItem(static_cast<WebHistoryItem*>(bridge)));
699 testItem->setBridge(new WebHistoryItem(0));
804 // Find WebHistoryItem, its constructor, and the update method.
805 jclass clazz = env->FindClass("android/webkit/WebHistoryItem");
806 LOG_ASSERT(clazz, "Unable to find class android/webkit/WebHistoryItem");
808 LOG_ASSERT(gWebHistoryItem.mInit, "Could not find WebHistoryItem constructor");
811 LOG_ASSERT(gWebHistoryItem.mUpdate, "Could not find method update in WebHistoryItem");
815 LOG_ASSERT(gWebHistoryItem.mTitle, "Could not find field mTitle in WebHistoryItem");
817 LOG_ASSERT(gWebHistoryItem.mUrl, "Could not find field mUrl in WebHistoryItem");
823 "(Landroid/webkit/WebHistoryItem;)V");
833 return (result < 0) ? result : jniRegisterNativeMethods(env, "android/webkit/WebHistoryItem",