| Index: public/web/WebViewClient.h
|
| diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h
|
| index d26c424f7350ae6d9d597d003866803ab3ed6c22..b4739e92e6836e792618acae1b6a0debbb64c231 100644
|
| --- a/public/web/WebViewClient.h
|
| +++ b/public/web/WebViewClient.h
|
| @@ -127,9 +127,15 @@ public:
|
|
|
| // Misc ----------------------------------------------------------------
|
|
|
| - // A new message was added to the console.
|
| + // Whether or not we should report a detailed message from the given source.
|
| + virtual bool shouldReportDetailedMessage(const WebString& source) { return false; }
|
| +
|
| + // A new message was added to the console. If a detailed message should be
|
| + // reported, a stringified JSON stack trace is included. Otherwise, |stackTrace|
|
| + // is empty.
|
| virtual void didAddMessageToConsole(
|
| - const WebConsoleMessage&, const WebString& sourceName, unsigned sourceLine) { }
|
| + const WebConsoleMessage&, const WebString& sourceName,
|
| + unsigned sourceLine, const WebString& stackTrace) { }
|
|
|
| // Called when script in the page calls window.print(). If frame is
|
| // non-null, then it selects a particular frame, including its
|
|
|