Added a preference to disable some Inspector's panels.
WebCore:
2009-02-11 Dimitri Dupuis-latour <dupuislatour@apple.com>
Added a preference to disable some Inspector's panels (rdar://
6419624, rdar://
6419645).
This is controlled via the 'WebKitInspectorHiddenPanels' key; if nothing is specified, all panels are shown.
Reviewed by Timothy Hatcher.
* inspector/InspectorClient.h:
* inspector/InspectorController.cpp:
(WebCore::hiddenPanels):
(WebCore::InspectorController::hiddenPanels):
(WebCore::InspectorController::windowScriptObjectAvailable):
* inspector/InspectorController.h:
* inspector/front-end/inspector.js:
(WebInspector.loaded):
* loader/EmptyClients.h:
(WebCore::EmptyInspectorClient::hiddenPanels):
WebKit/gtk:
2009-02-11 Dimitri Dupuis-latour <dupuislatour@apple.com>
Stub out InspectorClient::hiddenPanels.
Reviewed by Timothy Hatcher.
* WebCoreSupport/InspectorClientGtk.cpp:
(WebKit::InspectorClient::hiddenPanels):
* WebCoreSupport/InspectorClientGtk.h:
WebKit/mac:
2009-02-11 Dimitri Dupuis-latour <dupuislatour@apple.com>
Added a preference to disable some Inspector's panels (rdar://
6419624, rdar://
6419645).
This is controlled via the 'WebKitInspectorHiddenPanels' key; if nothing is specified, all panels are shown.
Reviewed by Timothy Hatcher.
* WebCoreSupport/WebInspectorClient.h:
* WebCoreSupport/WebInspectorClient.mm:
(WebInspectorClient::hiddenPanels):
WebKit/qt:
2009-02-11 Dimitri Dupuis-latour <dupuislatour@apple.com>
Stub out InspectorClientQt::hiddenPanels.
Reviewed by Timothy Hatcher.
* WebCoreSupport/InspectorClientQt.cpp:
(WebCore::InspectorClientQt::hiddenPanels):
* WebCoreSupport/InspectorClientQt.h:
WebKit/win:
2009-02-11 Dimitri Dupuis-latour <dupuislatour@apple.com>
Stub out WebInspectorClient::hiddenPanels.
Reviewed by Timothy Hatcher.
* WebCoreSupport/WebInspectorClient.cpp:
(WebInspectorClient::hiddenPanels):
* WebCoreSupport/WebInspectorClient.h:
WebKit/wx:
2009-02-11 Dimitri Dupuis-latour <dupuislatour@apple.com>
Stub out InspectorClientWx::hiddenPanels.
Reviewed by Timothy Hatcher.
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::hiddenPanels):
* WebKitSupport/InspectorClientWx.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40872
268f45cc-cd09-0410-ab3c-
d52691b4dbfc