[webkit-dev] when will pages group into different PageGroup

Joe Mason jmason at rim.com
Thu Feb 24 07:15:33 PST 2011


An example of when you would use page groups is if you write an app which includes an embedded browser (for displaying help pages, perhaps) but also draws some of its own interface using HTML/CSS, you would want different settings to apply to the browser pages and to the app's interface itself.  Or if you have an integrated browser/mail reader, you'd want different settings to apply to HTML pages and HTML email.

From: webkit-dev-bounces at lists.webkit.org [mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of tomorrow chen
Sent: Thursday, February 24, 2011 1:44 AM
To: webkit-dev at lists.webkit.org
Subject: [webkit-dev] when will pages group into different PageGroup

I'm reading source about Page class.I found there's related class named PageGroup,which seems to group different pages into different group by name.
Different PageGroup has different user script and GroupSetting.

I wonder when will the page group into different PageGroup. If there's two apps based on webcore(one is browser,maybe),does this means there's two PageGroup?
In my option,GroupSetting and user script is same for all the pages in browser.

Another question,shouldTrackVisitedLinks is a class member.If there's two apps,and one want to disable visistedTrack(call setShouldTrackVisitedLinks(false),it will influence the behavior of another app?

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110224/57992fd4/attachment.html>


More information about the webkit-dev mailing list