FileDocCategorySizeDatePackage
WebHistoryItemChromium.javaAPI DocAndroid 5.1 API2649Thu Mar 12 22:22:56 GMT 2015com.android.webview.chromium

WebHistoryItemChromium

public class WebHistoryItemChromium extends android.webkit.WebHistoryItem
WebView Chromium implementation of WebHistoryItem. Simple immutable wrapper around NavigationEntry

Fields Summary
private final String
mUrl
private final String
mOriginalUrl
private final String
mTitle
private final android.graphics.Bitmap
mFavicon
Constructors Summary
WebHistoryItemChromium(org.chromium.content_public.browser.NavigationEntry entry)

        mUrl = entry.getUrl();
        mOriginalUrl = entry.getOriginalUrl();
        mTitle = entry.getTitle();
        mFavicon = entry.getFavicon();
    
private WebHistoryItemChromium(String url, String originalUrl, String title, android.graphics.Bitmap favicon)

        mUrl = url;
        mOriginalUrl = originalUrl;
        mTitle = title;
        mFavicon = favicon;
    
Methods Summary
public synchronized com.android.webview.chromium.WebHistoryItemChromiumclone()
See {@link android.webkit.WebHistoryItem#clone}.

        return new WebHistoryItemChromium(mUrl, mOriginalUrl, mTitle, mFavicon);
    
public android.graphics.BitmapgetFavicon()
See {@link android.webkit.WebHistoryItem#getFavicon}.

        return mFavicon;
    
public intgetId()
See {@link android.webkit.WebHistoryItem#getId}.

        // This method is deprecated in superclass. Returning constant -1 now.
        return -1;
    
public java.lang.StringgetOriginalUrl()
See {@link android.webkit.WebHistoryItem#getOriginalUrl}.

        return mOriginalUrl;
    
public java.lang.StringgetTitle()
See {@link android.webkit.WebHistoryItem#getTitle}.

        return mTitle;
    
public java.lang.StringgetUrl()
See {@link android.webkit.WebHistoryItem#getUrl}.

        return mUrl;