summaryrefslogtreecommitdiff
path: root/Source/WebCore/inspector/front-end/InspectorFrontendAPI.js
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/inspector/front-end/InspectorFrontendAPI.js')
-rw-r--r--Source/WebCore/inspector/front-end/InspectorFrontendAPI.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/WebCore/inspector/front-end/InspectorFrontendAPI.js b/Source/WebCore/inspector/front-end/InspectorFrontendAPI.js
index ec80b98bc..828c54032 100644
--- a/Source/WebCore/inspector/front-end/InspectorFrontendAPI.js
+++ b/Source/WebCore/inspector/front-end/InspectorFrontendAPI.js
@@ -85,6 +85,16 @@ InspectorFrontendAPI = {
WebInspector.inspectorView.setCurrentPanel(WebInspector.panels.console);
},
+ showMainResourceForFrame: function(frameId)
+ {
+ // FIXME: Implement this to show the source code for the main resource of a given frame.
+ },
+
+ showResources: function()
+ {
+ WebInspector.inspectorView.setCurrentPanel(WebInspector.panels.resources);
+ },
+
dispatch: function(signature)
{
if (WebInspector.panels) {