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

Unified Diff: webkit/glue/webdevtoolsagent_impl.h

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/devtools/tools_agent.h ('k') | webkit/glue/webdevtoolsagent_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webdevtoolsagent_impl.h
===================================================================
--- webkit/glue/webdevtoolsagent_impl.h (revision 14719)
+++ webkit/glue/webdevtoolsagent_impl.h (working copy)
@@ -67,9 +67,11 @@
WebFrame* frame,
bool is_new_navigation);
void AddMessageToConsole(
+ int source,
+ int level,
const WebCore::String& message,
- const WebCore::String& source_id,
- unsigned int line_no);
+ unsigned int line_no,
+ const WebCore::String& source_id);
void ForceRepaint();
@@ -78,15 +80,23 @@
private:
struct ConsoleMessage {
- ConsoleMessage(const String& m, const String& sid, unsigned li)
- : message(m),
- source_id(sid),
- line_no(li) {
+ ConsoleMessage(
+ int src, int lvl, const String& m, unsigned li, const String& sid)
+ : source(src),
+ level(lvl),
+ text(m),
+ line_no(li),
+ source_id(sid) {
}
- WebCore::String message;
+ int source;
+ int level;
+ WebCore::String text;
WebCore::String source_id;
unsigned int line_no;
};
+
+ static void Serialize(const ConsoleMessage& message, DictionaryValue* value);
+
int host_id_;
WebDevToolsAgentDelegate* delegate_;
WebViewImpl* web_view_impl_;
« no previous file with comments | « webkit/glue/devtools/tools_agent.h ('k') | webkit/glue/webdevtoolsagent_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698