[Webkit-unassigned] [Bug 54516] [chromium] Add code to WebView to allow Chromium access to NetworkStateNotifier

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 15 21:30:16 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54516





--- Comment #3 from Darin Fisher (:fishd, Google) <fishd at chromium.org>  2011-02-15 21:30:16 PST ---
(From update of attachment 82562)
View in context: https://bugs.webkit.org/attachment.cgi?id=82562&action=review

> Source/WebKit/chromium/public/WebView.h:370
> +    WEBKIT_API static void networkStateChange(bool onLine);

nit: I'm not sure that this makes best sense on WebView.  Other things in WebKit could
care about the network state.  A new, separate header file would be OK, even though it
would only have a single method in it.

Also, it is increasingly popular in WebKit code to avoid functions that just take a bool
parameter (unless the function is a setter for a boolean property).  Instead, people
prefer using enums or separate functions so that code at call-sites is more readable.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list