| Index: Source/core/frame/FrameConsole.h
|
| diff --git a/Source/core/frame/FrameConsole.h b/Source/core/frame/FrameConsole.h
|
| index a2a14f058468fb21455890641abe27cc92a8b21a..4db5229bcafc0dae5f103b82ef38d2e44b6cfa0b 100644
|
| --- a/Source/core/frame/FrameConsole.h
|
| +++ b/Source/core/frame/FrameConsole.h
|
| @@ -37,6 +37,7 @@
|
|
|
| namespace WebCore {
|
|
|
| +class ConsoleMessage;
|
| class FrameHost;
|
|
|
| // FrameConsole takes per-frame console messages and routes them up through the FrameHost to the ChromeClient and Inspector.
|
| @@ -45,9 +46,7 @@ class FrameConsole FINAL {
|
| public:
|
| static PassOwnPtr<FrameConsole> create(LocalFrame& frame) { return adoptPtr(new FrameConsole(frame)); }
|
|
|
| - void addMessage(MessageSource, MessageLevel, const String& message);
|
| - void addMessage(MessageSource, MessageLevel, const String& message, const String& sourceURL, unsigned lineNumber, unsigned columnNumber = 0, PassRefPtrWillBeRawPtr<ScriptCallStack> = nullptr, ScriptState* = 0, unsigned long requestIdentifier = 0);
|
| - void addMessage(MessageSource, MessageLevel, const String& message, PassRefPtrWillBeRawPtr<ScriptCallStack>);
|
| + void addMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>);
|
| static String formatStackTraceString(const String& originalMessage, PassRefPtrWillBeRawPtr<ScriptCallStack>);
|
|
|
| static void mute();
|
|
|