| Index: public/web/WebFrameClient.h
|
| diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
|
| index 77948f1439c272fd0774194d4b92245b13138046..863842dbdaf9f384771ea1b2afd4c07e18066844 100644
|
| --- a/public/web/WebFrameClient.h
|
| +++ b/public/web/WebFrameClient.h
|
| @@ -74,6 +74,7 @@ class WebURL;
|
| class WebURLLoader;
|
| class WebURLResponse;
|
| class WebWorkerPermissionClientProxy;
|
| +struct WebConsoleMessage;
|
| struct WebContextMenuData;
|
| struct WebPluginParams;
|
| struct WebRect;
|
| @@ -147,6 +148,14 @@ public:
|
| // Called when a watched CSS selector matches or stops matching.
|
| virtual void didMatchCSS(WebLocalFrame*, const WebVector<WebString>& newlyMatchingSelectors, const WebVector<WebString>& stoppedMatchingSelectors) { }
|
|
|
| + // Console messages ----------------------------------------------------
|
| +
|
| + // 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 WebString& stackTrace) { }
|
| +
|
| // Load commands -------------------------------------------------------
|
|
|
| // The client should handle the navigation externally.
|
|
|