It can be implemented in the WebKit layer.
Created attachment 116601 [details] Patch
Please wait for approval from fishd@chromium.org before submitting because this patch contains changes to the Chromium public API.
Committed r101166: <http://trac.webkit.org/changeset/101166>