diff options
Diffstat (limited to 'WebKit/mac/WebInspector/WebInspector.mm')
-rw-r--r-- | WebKit/mac/WebInspector/WebInspector.mm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/WebKit/mac/WebInspector/WebInspector.mm b/WebKit/mac/WebInspector/WebInspector.mm index c04a56c..ccb09c5 100644 --- a/WebKit/mac/WebInspector/WebInspector.mm +++ b/WebKit/mac/WebInspector/WebInspector.mm @@ -27,7 +27,9 @@ */ #import "WebInspector.h" + #import "WebFrameInternal.h" +#import "WebInspectorPrivate.h" #include <WebCore/Document.h> #include <WebCore/Frame.h> @@ -163,6 +165,12 @@ using namespace WebCore; if (Page* page = core(_webView)) page->inspectorController()->detachWindow(); } + +- (void)evaluateInFrontend:(id)sender callId:(long)callId script:(NSString *)script +{ + if (Page* page = core(_webView)) + page->inspectorController()->evaluateForTestInFrontend(callId, script); +} @end @implementation WebInspector (Obsolete) |