Index: public/web/WebViewClient.h |
diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h |
index 3aeab92416ab29172981acaf960648ed72eb7a21..c7eccc46030f98606f7204b31f1a5fa77b004f83 100644 |
--- a/public/web/WebViewClient.h |
+++ b/public/web/WebViewClient.h |
@@ -45,6 +45,7 @@ |
#include "WebTextAffinity.h" |
#include "WebTextDirection.h" |
#include "WebWidgetClient.h" |
+#include <v8.h> |
namespace WebKit { |
@@ -125,9 +126,13 @@ public: |
// Misc ---------------------------------------------------------------- |
+ // Whether or not we should report a detailed message for the given source. |
+ virtual bool shouldReportDetailedMessageForContext(v8::Handle<v8::Context>) { return false; } |
+ virtual bool shouldReportDetailedMessageForURL(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& details) { } |
// Called when script in the page calls window.print(). If frame is |
// non-null, then it selects a particular frame, including its |