This will become necessary once we introduce the IDL and JS bindings.
Created attachment 28297 [details] Split up InspectorController, v1 WebCore/ChangeLog | 23 ++ WebCore/GNUmakefile.am | 8 + WebCore/WebCore.pro | 4 + WebCore/WebCore.scons | 4 + WebCore/WebCore.vcproj/WebCore.vcproj | 32 ++ WebCore/WebCore.xcodeproj/project.pbxproj | 32 ++ WebCore/WebCoreSources.bkl | 4 + WebCore/inspector/ConsoleMessage.cpp | 117 +++++++ WebCore/inspector/ConsoleMessage.h | 70 +++++ WebCore/inspector/InspectorController.cpp | 341 +-------------------- WebCore/inspector/InspectorDOMStorageResource.cpp | 69 +++++ WebCore/inspector/InspectorDOMStorageResource.h | 72 +++++ WebCore/inspector/InspectorDatabaseResource.cpp | 67 ++++ WebCore/inspector/InspectorDatabaseResource.h | 71 +++++ WebCore/inspector/InspectorResource.cpp | 178 +++++++++++ WebCore/inspector/InspectorResource.h | 110 +++++++ 16 files changed, 865 insertions(+), 337 deletions(-)
I didn't do any prettying up. This is a straight split-up.
Is there a reason you're using a different license header in the new files than what exists in InspectorController.cpp? I'm pretty sure you'll need to keep the existing license header.
Oh, good point. I will update the headers before landing.
Landed as http://trac.webkit.org/changeset/41449.