Hi,
I'm trying to created a browser like app with tabs that render html using webkit. One of the design considerations is to minimize memory usage since the user will be browsing html pages with potentially more than 50 tabs open at a time. Given this i'm thinking of the possibility of using just one WebView control for rendering and just switching the url whenever the user changes to a different tab page.
So I will like to know whether chrome internally uses only 1 instance of the webkit widget to render its tabs, changing the url as the user change tabs, or is the only way to have each of the tab use it's own instance of the webkit widget?
If it's possible to use one instance of the webkit to service one tab, how do I save view state of the user and restore it everytime he comes back to a particular tab? For example I scrolled to halfway of the first page and then decide to switch to tab page 2. Then when i decide to come back to page 1, how do i restore the previous state of being half way thru the html page in page 1?
Can someone kindly point me to the relevant code so i can try and figure how the tabs actually work?
Thanks!