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

Side by Side Diff: Source/core/inspector/ConsoleMessage.h

Issue 272613002: DevTools: implemented scriptFailedToParse protocol event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
4 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. 4 * Copyright (C) 2009, 2010 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class ScriptCallStack; 47 class ScriptCallStack;
48 class ScriptValue; 48 class ScriptValue;
49 49
50 class ConsoleMessage { 50 class ConsoleMessage {
51 WTF_MAKE_NONCOPYABLE(ConsoleMessage); WTF_MAKE_FAST_ALLOCATED; 51 WTF_MAKE_NONCOPYABLE(ConsoleMessage); WTF_MAKE_FAST_ALLOCATED;
52 public: 52 public:
53 ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, Messag eLevel, const String& message); 53 ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, Messag eLevel, const String& message);
54 ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, Messag eLevel, const String& message, const String& url, unsigned line, unsigned column , ScriptState*, unsigned long requestIdentifier); 54 ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, Messag eLevel, const String& message, const String& url, unsigned line, unsigned column , ScriptState*, unsigned long requestIdentifier);
55 ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, Messag eLevel, const String& message, PassRefPtr<ScriptCallStack>, unsigned long reques tIdentifier); 55 ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, Messag eLevel, const String& message, PassRefPtr<ScriptCallStack>, unsigned long reques tIdentifier);
56 ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, Messag eLevel, const String& message, PassRefPtr<ScriptArguments>, ScriptState*, unsign ed long requestIdentifier); 56 ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, Messag eLevel, const String& message, PassRefPtr<ScriptArguments>, ScriptState*, unsign ed long requestIdentifier);
57 ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, Messag eLevel, const String& message, const String& url, unsigned line, unsigned column , PassRefPtr<ScriptCallStack>, ScriptState*, unsigned long requestIdentifier);
57 ~ConsoleMessage(); 58 ~ConsoleMessage();
58 59
59 void addToFrontend(InspectorFrontend::Console*, InjectedScriptManager*, bool generatePreview); 60 void addToFrontend(InspectorFrontend::Console*, InjectedScriptManager*, bool generatePreview);
60 void setTimestamp(double timestamp) { m_timestamp = timestamp; } 61 void setTimestamp(double timestamp) { m_timestamp = timestamp; }
61 62
62 MessageType type() const { return m_type; } 63 MessageType type() const { return m_type; }
63 64
64 void windowCleared(DOMWindow*); 65 void windowCleared(DOMWindow*);
65 66
66 unsigned argumentCount(); 67 unsigned argumentCount();
(...skipping 11 matching lines...) Expand all
78 String m_url; 79 String m_url;
79 unsigned m_line; 80 unsigned m_line;
80 unsigned m_column; 81 unsigned m_column;
81 String m_requestId; 82 String m_requestId;
82 double m_timestamp; 83 double m_timestamp;
83 }; 84 };
84 85
85 } // namespace WebCore 86 } // namespace WebCore
86 87
87 #endif // ConsoleMessage_h 88 #endif // ConsoleMessage_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698