Extend history api using the ie backend to include loading history items, and getting the backward and forward history lists.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -208,6 +208,24 @@ public:
|
||||
Enable or disable the history. This will also clear the history.
|
||||
*/
|
||||
virtual void EnableHistory(bool enable = true) = 0;
|
||||
|
||||
/**
|
||||
Returns a list of items in the back history. The first item in the
|
||||
vector is the first page that was loaded by the control.
|
||||
*/
|
||||
virtual wxVector<wxSharedPtr<wxWebHistoryItem> > GetBackwardHistory() = 0;
|
||||
|
||||
/**
|
||||
Returns a list of items in the forward history. The first item in the
|
||||
vector is the next item in the history with respect to the curently
|
||||
loaded page.
|
||||
*/
|
||||
virtual wxVector<wxSharedPtr<wxWebHistoryItem> > GetForwardHistory() = 0;
|
||||
|
||||
/**
|
||||
Loads a history item.
|
||||
*/
|
||||
virtual void LoadHistoryItem(wxSharedPtr<wxWebHistoryItem> item) = 0;
|
||||
|
||||
/**
|
||||
Load a HTMl document (web page) from a URL
|
||||
|
Reference in New Issue
Block a user