Index: public/web/WebViewClient.h |
diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h |
index 5014e3405c9aa40c7c9ab0425f537c7973eb67f3..96ae35f64b7c561728cbf4bd8ed1666a74e8ca74 100644 |
--- a/public/web/WebViewClient.h |
+++ b/public/web/WebViewClient.h |
@@ -125,9 +125,12 @@ public: |
// Misc ---------------------------------------------------------------- |
+ // Whether or not we should report a detailed message for the given source. |
+ virtual bool shouldReportDetailedMessageForSource(const WebString& source) { return false; } |
+ |
// A new message was added to the console. |
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 |