Made Chrome::addMessageToConsole more flexible
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 May 2007 09:42:26 +0000 (09:42 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 May 2007 09:42:26 +0000 (09:42 +0000)
commit1132accf02481b52cd7689f89727f205b982860e
treeec3301c3e0551ec3d877cbf14e3c9ff8df034c64
parent457e8beec9face08a18fe18ee76fd170b930f5a0
Made Chrome::addMessageToConsole more flexible

addMessageToConsole now takes two additional parameters to specify the
message source (HTML, JS, CSS, XML) and level (error, warning, log). To
maintain our old behavior, all current messages were given
JSMessageSource and ErrorMessageLevel parameters. Messages matching
these characteristics are passed up to the ChromeClient.

Reviewed by Hyatt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@21706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bindings/js/JSCustomXPathNSResolver.cpp
WebCore/bindings/js/kjs_events.cpp
WebCore/bindings/js/kjs_proxy.cpp
WebCore/bindings/js/kjs_window.cpp
WebCore/html/HTMLParser.cpp
WebCore/ksvg2/misc/SVGDocumentExtensions.cpp
WebCore/loader/FrameLoader.cpp
WebCore/page/Chrome.cpp
WebCore/page/Chrome.h
WebCore/xml/xmlhttprequest.cpp