[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
beidson at apple.com
beidson at apple.com
Wed Dec 22 13:50:19 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 32123b546f186cadcd9315fa7035ff33ff8837ee
Author: beidson at apple.com <beidson at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Sep 28 02:15:50 2010 +0000
https://bugs.webkit.org/show_bug.cgi?id=46688 - Add an API to get the WKBackForwardItem at an arbitrary index.
Reviewed by Sam Weinig.
* UIProcess/API/C/WKBackForwardList.cpp:
(WKBackForwardListGetItemAtIndex):
* UIProcess/API/C/WKBackForwardList.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit2/ChangeLog b/WebKit2/ChangeLog
index 6ab9a86..9b6b286 100644
--- a/WebKit2/ChangeLog
+++ b/WebKit2/ChangeLog
@@ -1,3 +1,13 @@
+2010-09-27 Brady Eidson <beidson at apple.com>
+
+ Reviewed by Sam Weinig.
+
+ https://bugs.webkit.org/show_bug.cgi?id=46688 - Add an API to get the WKBackForwardItem at an arbitrary index.
+
+ * UIProcess/API/C/WKBackForwardList.cpp:
+ (WKBackForwardListGetItemAtIndex):
+ * UIProcess/API/C/WKBackForwardList.h:
+
2010-09-27 Anders Carlsson <andersca at apple.com>
Turns out people other than me might want to build this thing.
diff --git a/WebKit2/UIProcess/API/C/WKBackForwardList.cpp b/WebKit2/UIProcess/API/C/WKBackForwardList.cpp
index c0736bd..3dcd830 100644
--- a/WebKit2/UIProcess/API/C/WKBackForwardList.cpp
+++ b/WebKit2/UIProcess/API/C/WKBackForwardList.cpp
@@ -50,6 +50,11 @@ WKBackForwardListItemRef WKBackForwardListGetForwardItem(WKBackForwardListRef li
return toRef(toWK(listRef)->forwardItem());
}
+WKBackForwardListItemRef WKBackForwardListGetItemAtIndex(WKBackForwardListRef listRef, int index)
+{
+ return toRef(toWK(listRef)->itemAtIndex(index));
+}
+
unsigned WKBackForwardListGetBackListCount(WKBackForwardListRef listRef)
{
return toWK(listRef)->backListCount();
diff --git a/WebKit2/UIProcess/API/C/WKBackForwardList.h b/WebKit2/UIProcess/API/C/WKBackForwardList.h
index d408d49..214a6bc 100644
--- a/WebKit2/UIProcess/API/C/WKBackForwardList.h
+++ b/WebKit2/UIProcess/API/C/WKBackForwardList.h
@@ -37,6 +37,7 @@ WK_EXPORT WKTypeID WKBackForwardListGetTypeID();
WK_EXPORT WKBackForwardListItemRef WKBackForwardListGetCurrentItem(WKBackForwardListRef list);
WK_EXPORT WKBackForwardListItemRef WKBackForwardListGetBackItem(WKBackForwardListRef list);
WK_EXPORT WKBackForwardListItemRef WKBackForwardListGetForwardItem(WKBackForwardListRef list);
+WK_EXPORT WKBackForwardListItemRef WKBackForwardListGetItemAtIndex(WKBackForwardListRef list, int index);
WK_EXPORT unsigned WKBackForwardListGetBackListCount(WKBackForwardListRef list);
WK_EXPORT unsigned WKBackForwardListGetForwardListCount(WKBackForwardListRef list);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list