webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
IWebHistoryItem Interface Reference

import"IWebHistoryItem.idl";

Inheritance diagram for IWebHistoryItem:
WebHistoryItem

Public Member Functions

HRESULT initWithURLString ([in] BSTR urlString, [in] BSTR title, [in] DATE lastVisited)
 
HRESULT originalURLString ([out, retval] BSTR *url)
 
HRESULT URLString ([out, retval] BSTR *url)
 
HRESULT title ([out, retval] BSTR *pageTitle)
 
HRESULT lastVisitedTimeInterval ([out, retval] DATE *lastVisited)
 
HRESULT setAlternateTitle ([in] BSTR title)
 
HRESULT alternateTitle ([out, retval] BSTR *title)
 
HRESULT icon ([out, retval] HBITMAP *hBitmap)
 

Member Function Documentation

◆ alternateTitle()

HRESULT IWebHistoryItem::alternateTitle ( [out, retval] BSTR title)

◆ icon()

HRESULT IWebHistoryItem::icon ( [out, retval] HBITMAP *  hBitmap)

icon The favorite icon of the page represented by this item. This icon returned will be determined by the WebKit.

Returns
The icon associated with this item's URL.
  • (NSImage *)icon;

◆ initWithURLString()

HRESULT IWebHistoryItem::initWithURLString ( [in] BSTR  urlString,
[in] BSTR  title,
[in] DATE  lastVisited 
)

initWithURLString:title:lastVisitedTimeInterval:

Parameters
URLStringThe URL string for the item.
titleThe title to use for the item. This is normally the <title> of a page.
timeThe time used to indicate when the item was used. Initialize a new WebHistoryItem WebHistoryItems are normally created for you by the WebKit. You may use this method to prepopulate a WebBackForwardList, or create 'artificial' items to add to a WebBackForwardList. When first initialized the URLString and originalURLString will be the same.
  • (id)initWithURLString:(NSString *)URLString title:(NSString *)title lastVisitedTimeInterval:(NSTimeInterval)time;

◆ lastVisitedTimeInterval()

HRESULT IWebHistoryItem::lastVisitedTimeInterval ( [out, retval] DATE *  lastVisited)

lastVisitedTimeInterval The last time the page represented by this item was visited. The interval is since the reference date as determined by NSDate. This value is normally set by the WebKit.

Returns
The last time this item was visited.
  • (NSTimeInterval)lastVisitedTimeInterval;

◆ originalURLString()

HRESULT IWebHistoryItem::originalURLString ( [out, retval] BSTR url)

originalURLString The string representation of the originial URL of this item. This value is normally set by the WebKit.

Returns
The string corresponding to the initial URL of this item.
  • (NSString *)originalURLString;

◆ setAlternateTitle()

HRESULT IWebHistoryItem::setAlternateTitle ( [in] BSTR  title)

setAlternateTitle:

Parameters
alternateTitleThe new display title for this item. A title that may be used by the client to display this item.
  • (void)setAlternateTitle:(NSString *)alternateTitle;

◆ title()

HRESULT IWebHistoryItem::title ( [out, retval] BSTR pageTitle)

title The title of the page represented by this item. This title cannot be changed by the client. This value is normally set by the WebKit when a page title for the item is received.

Returns
The title of this item.
  • (NSString *)title;

◆ URLString()

HRESULT IWebHistoryItem::URLString ( [out, retval] BSTR url)

URLString The string representation of the URL represented by this item. The URLString may be different than the originalURLString if the page redirected to a new location. This value is normally set by the WebKit.

Returns
The string corresponding to the final URL of this item.
  • (NSString *)URLString;

The documentation for this interface was generated from the following file: