[Webkit-unassigned] [Bug 16562] [gtk] Implement WebPolicyDelegate methods
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 18 11:49:05 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=16562
mrowe at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #18394|review? |review-
Flag| |
------- Comment #9 from mrowe at apple.com 2008-01-18 11:49 PDT -------
(From update of attachment 18394)
The default logic in dispatchDecidePolicyForMIMEType doesn't quite match the
Mac equivalent implementation. You can find the Mac implementation in
WebKit/mac/DefaultDelegates/WebDefaultPolicyDelegate.m. The differences are in
how file:/// are treated.
There is quite a bit of code duplication between new-window-requested and
navigation-requested. It would be good to remove some of the redundancy here.
If webkit_web_view_real_new_window_requested is the default implementation, I
don't think it needs to have a notImplemented().
There are some coding style issues present too. In some places you have the {
on the incorrect line, and are missing spaces between "if" and the "(". There
are places where you have an "else" immediately after an "if" that always
returns.
703 // FIXME: add supported mimestypes of plugins
Should probably be "Add mime types supported by plugins."
Alp should probably look over this from an API point of view.
--
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