2010-05-31 Yury Semikhatsky <yurys@chromium.org>
[WebKit-https.git] / WebKit / chromium / src / InspectorFrontendClientImpl.cpp
index 9ff3938a6c264d0795d25374c813b731dc1f160f..6f7ed9588fe1ec58695b4f9f1a748ff372b7021f 100644 (file)
@@ -90,6 +90,8 @@ String InspectorFrontendClientImpl::localizedStringsURL()
 
 String InspectorFrontendClientImpl::hiddenPanels()
 {
+    if (m_client->shouldHideScriptsPanel())
+        return "scripts";
     return "";
 }