Quoth Carlos Garcia Campos:
> Just because it makes the API simpler, using a single signal in
> WebKitWebView to handle policy decisions. The geolocation API is quite
> straightforward, you get a request and you can allow or deny it, so we
> can just use the current policy-decision signal.

I haven't really been following the WebKit2 API discussions, so maybe I have 
the wrong end of the stick here... but in my opinion, using a single signal for 
multiple kinds of policy decisions and then having to disambiguate between them 
inside the signal handler is a weaker API than having separate signals for each 
separate type of decision.  Especially once inheritance comes into play and 
some intermediate class wants to handle one type of decision but not another.


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

Reply via email to