Hi,

There is no way to change the *default* capacity for all back forward lists.

BackForwardList in WebCore has a method "void setCapacity(int);" which accomplishes this, but of course your platform's WebKit API layer should also provide a call through to that. On Mac, for example, WebBackForwardList provides "-(void)setCapacity:(int)size"

Setting the capacity for a given list to INT_MAX would effectively make it unlimited, but I'm sure you'd run out of memory long before it approached that limit ;)

~Brady

On Jan 18, 2009, at 11:31 PM, mwas wrote:

Hi,

I would like to know, is there a way to set Unlimited Capacity to History BackForwardList. The current WebKit Code contains 100 as the default capacity as shown below

static const unsigned DefaultCapacity = 100;
BackForwardList::BackForwardList(Page* page)
  : m_page(page)
  , m_current(NoCurrentItemIndex)
  , m_capacity(DefaultCapacity)
  , m_closed(true)
  , m_enabled(true)
{
}


Any Ideas would be much appreciated!

Thanks

mwas





_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to