Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Unified Diff: webkit/glue/chrome_client_impl.cc

Issue 99121: Merge WebKit console and load deferrer changes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/chrome_client_impl.h ('k') | webkit/glue/devtools/debugger_agent_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/chrome_client_impl.cc
===================================================================
--- webkit/glue/chrome_client_impl.cc (revision 14719)
+++ webkit/glue/chrome_client_impl.cc (working copy)
@@ -7,6 +7,7 @@
#include "base/compiler_specific.h"
MSVC_PUSH_WARNING_LEVEL(0);
+#include "Console.h"
#include "Cursor.h"
#include "FloatRect.h"
#include "FileChooser.h"
@@ -272,7 +273,9 @@
resizable_ = value;
}
-void ChromeClientImpl::addMessageToConsole(const WebCore::String& message,
+void ChromeClientImpl::addMessageToConsole(WebCore::MessageSource source,
+ WebCore::MessageLevel level,
+ const WebCore::String& message,
unsigned int line_no,
const WebCore::String& source_id) {
WebViewDelegate* delegate = webview_->delegate();
@@ -284,7 +287,7 @@
}
WebDevToolsAgentImpl* devtools_agent = webview_->GetWebDevToolsAgentImpl();
if (devtools_agent) {
- devtools_agent->AddMessageToConsole(message, source_id, line_no);
+ devtools_agent->AddMessageToConsole(source, level, message, line_no, source_id);
}
}
« no previous file with comments | « webkit/glue/chrome_client_impl.h ('k') | webkit/glue/devtools/debugger_agent_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698