[Webkit-unassigned] [Bug 14807] [gtk] API implementation: url and title
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 29 18:01:46 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14807
aroben at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aroben at apple.com
------- Comment #1 from aroben at apple.com 2007-07-29 18:01 PDT -------
(In reply to comment #0)
> 2. Further more we should add a webkit_gtk_page_get_title and a
> webkit_gtk_page_get_uri, since we do not currently have any means of retrieving
> either the uri or the title directly.
I think this model might be too simple. The Mac/Windows APIs expose
WebURLRequest and WebDataSource classes which can be queried for their
URL/title, respectively. This is needed because a WebView can have more than
one of each of these associated with it at a time. -[WebView
provisionalDataSource] and -[WebView dataSource] expose WebDataSource's that
represent the current and completed load, respectively. This is very useful
when creating a window title like "Loading -- Google", for example.
I think there are many benefits to mimicking the Mac/Windows API here.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list