Remove ENABLE(INSPECTOR) ifdef guards
authorossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Jan 2015 08:45:11 +0000 (08:45 +0000)
committerossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Jan 2015 08:45:11 +0000 (08:45 +0000)
https://bugs.webkit.org/show_bug.cgi?id=140668

Reviewed by Darin Adler.

.:

* Source/PlatformEfl.cmake:
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:
* bindings/ScriptValue.cpp:
(Deprecated::ScriptValue::toInspectorValue):
* bindings/ScriptValue.h:
* inspector/ConsoleMessage.cpp:
* inspector/ConsoleMessage.h:
* inspector/ContentSearchUtilities.cpp:
* inspector/ContentSearchUtilities.h:
* inspector/IdentifiersFactory.cpp:
* inspector/IdentifiersFactory.h:
* inspector/InjectedScript.cpp:
* inspector/InjectedScript.h:
* inspector/InjectedScriptBase.cpp:
* inspector/InjectedScriptBase.h:
* inspector/InjectedScriptHost.cpp:
* inspector/InjectedScriptHost.h:
* inspector/InjectedScriptManager.cpp:
* inspector/InjectedScriptManager.h:
* inspector/InjectedScriptModule.cpp:
* inspector/InjectedScriptModule.h:
* inspector/InspectorAgentRegistry.cpp:
* inspector/InspectorBackendDispatcher.cpp:
* inspector/InspectorBackendDispatcher.h:
* inspector/InspectorProtocolTypes.h:
* inspector/JSGlobalObjectConsoleClient.cpp:
* inspector/JSGlobalObjectInspectorController.cpp:
* inspector/JSGlobalObjectInspectorController.h:
* inspector/JSGlobalObjectScriptDebugServer.cpp:
* inspector/JSGlobalObjectScriptDebugServer.h:
* inspector/JSInjectedScriptHost.cpp:
* inspector/JSInjectedScriptHost.h:
* inspector/JSInjectedScriptHostPrototype.cpp:
* inspector/JSInjectedScriptHostPrototype.h:
* inspector/JSJavaScriptCallFrame.cpp:
* inspector/JSJavaScriptCallFrame.h:
* inspector/JSJavaScriptCallFramePrototype.cpp:
* inspector/JSJavaScriptCallFramePrototype.h:
* inspector/JavaScriptCallFrame.cpp:
* inspector/JavaScriptCallFrame.h:
* inspector/ScriptCallFrame.cpp:
(Inspector::ScriptCallFrame::buildInspectorObject):
* inspector/ScriptCallFrame.h:
* inspector/ScriptCallStack.cpp:
(Inspector::ScriptCallStack::buildInspectorArray):
* inspector/ScriptCallStack.h:
* inspector/ScriptDebugServer.cpp:
* inspector/agents/InspectorAgent.cpp:
* inspector/agents/InspectorAgent.h:
* inspector/agents/InspectorConsoleAgent.cpp:
* inspector/agents/InspectorConsoleAgent.h:
* inspector/agents/InspectorDebuggerAgent.cpp:
* inspector/agents/InspectorDebuggerAgent.h:
* inspector/agents/InspectorRuntimeAgent.cpp:
* inspector/agents/InspectorRuntimeAgent.h:
* inspector/agents/JSGlobalObjectConsoleAgent.cpp:
* inspector/agents/JSGlobalObjectConsoleAgent.h:
* inspector/agents/JSGlobalObjectDebuggerAgent.cpp:
* inspector/agents/JSGlobalObjectDebuggerAgent.h:
* inspector/agents/JSGlobalObjectRuntimeAgent.cpp:
* inspector/agents/JSGlobalObjectRuntimeAgent.h:
* inspector/scripts/codegen/cpp_generator_templates.py:
(CppGeneratorTemplates):
* inspector/scripts/tests/expected/commands-with-async-attribute.json-result:
* inspector/scripts/tests/expected/commands-with-optional-call-return-parameters.json-result:
* inspector/scripts/tests/expected/domains-with-varying-command-sizes.json-result:
* inspector/scripts/tests/expected/enum-values.json-result:
* inspector/scripts/tests/expected/events-with-optional-parameters.json-result:
* inspector/scripts/tests/expected/generate-domains-with-feature-guards.json-result:
* inspector/scripts/tests/expected/same-type-id-different-domain.json-result:
* inspector/scripts/tests/expected/shadowed-optional-type-setters.json-result:
* inspector/scripts/tests/expected/type-declaration-aliased-primitive-type.json-result:
* inspector/scripts/tests/expected/type-declaration-array-type.json-result:
* inspector/scripts/tests/expected/type-declaration-enum-type.json-result:
* inspector/scripts/tests/expected/type-declaration-object-type.json-result:
* inspector/scripts/tests/expected/type-requiring-runtime-casts.json-result:
* runtime/TypeSet.cpp:
(JSC::TypeSet::inspectorTypeSet):
(JSC::StructureShape::inspectorRepresentation):

Source/WebCore:

* Configurations/FeatureDefines.xcconfig:
* WebCore.exp.in:
* bindings/js/JSCommandLineAPIHostCustom.cpp:
* bindings/js/JSDOMWindowBase.cpp:
(WebCore::JSDOMWindowBase::supportsProfiling):
(WebCore::JSDOMWindowBase::supportsRichSourceInfo):
* bindings/js/JSInspectorFrontendHostCustom.cpp:
* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::collectIsolatedContexts):
* bindings/js/ScriptController.h:
* bindings/js/ScriptGlobalObject.cpp:
(WebCore::ScriptGlobalObject::set):
* bindings/js/ScriptGlobalObject.h:
* bindings/js/WorkerScriptDebugServer.cpp:
* bindings/js/WorkerScriptDebugServer.h:
* dom/Node.cpp:
(WebCore::Node::inspect):
* inspector/CommandLineAPIHost.cpp:
* inspector/CommandLineAPIHost.idl:
* inspector/CommandLineAPIModule.cpp:
* inspector/CommandLineAPIModule.h:
* inspector/DOMEditor.cpp:
* inspector/DOMEditor.h:
* inspector/DOMPatchSupport.cpp:
* inspector/DOMPatchSupport.h:
* inspector/InspectorApplicationCacheAgent.cpp:
* inspector/InspectorApplicationCacheAgent.h:
* inspector/InspectorCSSAgent.cpp:
* inspector/InspectorCSSAgent.h:
* inspector/InspectorClient.cpp:
* inspector/InspectorConsoleInstrumentation.h:
(WebCore::InspectorInstrumentation::addMessageToConsole):
(WebCore::InspectorInstrumentation::consoleCount):
(WebCore::InspectorInstrumentation::startConsoleTiming):
(WebCore::InspectorInstrumentation::stopConsoleTiming):
(WebCore::InspectorInstrumentation::consoleTimeStamp):
(WebCore::InspectorInstrumentation::startProfiling):
(WebCore::InspectorInstrumentation::stopProfiling):
* inspector/InspectorController.cpp:
* inspector/InspectorController.h:
* inspector/InspectorDOMAgent.cpp:
* inspector/InspectorDOMAgent.h:
* inspector/InspectorDOMDebuggerAgent.cpp:
* inspector/InspectorDOMDebuggerAgent.h:
* inspector/InspectorDOMStorageAgent.cpp:
* inspector/InspectorDatabaseAgent.cpp:
* inspector/InspectorDatabaseAgent.h:
* inspector/InspectorDatabaseInstrumentation.h:
(WebCore::InspectorInstrumentation::didOpenDatabase):
* inspector/InspectorDatabaseResource.cpp:
* inspector/InspectorDatabaseResource.h:
* inspector/InspectorFrontendClientLocal.cpp:
* inspector/InspectorFrontendHost.cpp:
* inspector/InspectorFrontendHost.idl:
* inspector/InspectorHistory.cpp:
* inspector/InspectorHistory.h:
* inspector/InspectorIndexedDBAgent.cpp:
* inspector/InspectorIndexedDBAgent.h:
* inspector/InspectorInstrumentation.cpp:
* inspector/InspectorInstrumentation.h:
(WebCore::InspectorInstrumentation::didClearWindowObjectInWorld):
(WebCore::InspectorInstrumentation::isDebuggerPaused):
(WebCore::InspectorInstrumentation::willInsertDOMNode):
(WebCore::InspectorInstrumentation::didInsertDOMNode):
(WebCore::InspectorInstrumentation::willRemoveDOMNode):
(WebCore::InspectorInstrumentation::didRemoveDOMNode):
(WebCore::InspectorInstrumentation::willModifyDOMAttr):
(WebCore::InspectorInstrumentation::didModifyDOMAttr):
(WebCore::InspectorInstrumentation::didRemoveDOMAttr):
(WebCore::InspectorInstrumentation::didInvalidateStyleAttr):
(WebCore::InspectorInstrumentation::frameWindowDiscarded):
(WebCore::InspectorInstrumentation::mediaQueryResultChanged):
(WebCore::InspectorInstrumentation::didPushShadowRoot):
(WebCore::InspectorInstrumentation::willPopShadowRoot):
(WebCore::InspectorInstrumentation::didCreateNamedFlow):
(WebCore::InspectorInstrumentation::willRemoveNamedFlow):
(WebCore::InspectorInstrumentation::didChangeRegionOverset):
(WebCore::InspectorInstrumentation::didRegisterNamedFlowContentElement):
(WebCore::InspectorInstrumentation::didUnregisterNamedFlowContentElement):
(WebCore::InspectorInstrumentation::mouseDidMoveOverElement):
(WebCore::InspectorInstrumentation::handleTouchEvent):
(WebCore::InspectorInstrumentation::handleMousePress):
(WebCore::InspectorInstrumentation::forcePseudoState):
(WebCore::InspectorInstrumentation::characterDataModified):
(WebCore::InspectorInstrumentation::willSendXMLHttpRequest):
(WebCore::InspectorInstrumentation::didInstallTimer):
(WebCore::InspectorInstrumentation::didRemoveTimer):
(WebCore::InspectorInstrumentation::willCallFunction):
(WebCore::InspectorInstrumentation::didCallFunction):
(WebCore::InspectorInstrumentation::willDispatchXHRReadyStateChangeEvent):
(WebCore::InspectorInstrumentation::didDispatchXHRReadyStateChangeEvent):
(WebCore::InspectorInstrumentation::willDispatchEvent):
(WebCore::InspectorInstrumentation::didDispatchEvent):
(WebCore::InspectorInstrumentation::willHandleEvent):
(WebCore::InspectorInstrumentation::didHandleEvent):
(WebCore::InspectorInstrumentation::willDispatchEventOnWindow):
(WebCore::InspectorInstrumentation::didDispatchEventOnWindow):
(WebCore::InspectorInstrumentation::willEvaluateScript):
(WebCore::InspectorInstrumentation::didEvaluateScript):
(WebCore::InspectorInstrumentation::scriptsEnabled):
(WebCore::InspectorInstrumentation::willFireTimer):
(WebCore::InspectorInstrumentation::didFireTimer):
(WebCore::InspectorInstrumentation::didInvalidateLayout):
(WebCore::InspectorInstrumentation::willLayout):
(WebCore::InspectorInstrumentation::didLayout):
(WebCore::InspectorInstrumentation::didScroll):
(WebCore::InspectorInstrumentation::willDispatchXHRLoadEvent):
(WebCore::InspectorInstrumentation::didDispatchXHRLoadEvent):
(WebCore::InspectorInstrumentation::willPaint):
(WebCore::InspectorInstrumentation::didPaint):
(WebCore::InspectorInstrumentation::willScrollLayer):
(WebCore::InspectorInstrumentation::didScrollLayer):
(WebCore::InspectorInstrumentation::willRecalculateStyle):
(WebCore::InspectorInstrumentation::didRecalculateStyle):
(WebCore::InspectorInstrumentation::didScheduleStyleRecalculation):
(WebCore::InspectorInstrumentation::applyEmulatedMedia):
(WebCore::InspectorInstrumentation::willSendRequest):
(WebCore::InspectorInstrumentation::continueAfterPingLoader):
(WebCore::InspectorInstrumentation::markResourceAsCached):
(WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCache):
(WebCore::InspectorInstrumentation::willReceiveResourceResponse):
(WebCore::InspectorInstrumentation::didReceiveResourceResponse):
(WebCore::InspectorInstrumentation::continueAfterXFrameOptionsDenied):
(WebCore::InspectorInstrumentation::continueWithPolicyDownload):
(WebCore::InspectorInstrumentation::continueWithPolicyIgnore):
(WebCore::InspectorInstrumentation::didReceiveData):
(WebCore::InspectorInstrumentation::didFinishLoading):
(WebCore::InspectorInstrumentation::didFailLoading):
(WebCore::InspectorInstrumentation::documentThreadableLoaderStartedLoadingForClient):
(WebCore::InspectorInstrumentation::willLoadXHR):
(WebCore::InspectorInstrumentation::didFailXHRLoading):
(WebCore::InspectorInstrumentation::didFinishXHRLoading):
(WebCore::InspectorInstrumentation::didReceiveXHRResponse):
(WebCore::InspectorInstrumentation::willLoadXHRSynchronously):
(WebCore::InspectorInstrumentation::didLoadXHRSynchronously):
(WebCore::InspectorInstrumentation::scriptImported):
(WebCore::InspectorInstrumentation::scriptExecutionBlockedByCSP):
(WebCore::InspectorInstrumentation::didReceiveScriptResponse):
(WebCore::InspectorInstrumentation::domContentLoadedEventFired):
(WebCore::InspectorInstrumentation::loadEventFired):
(WebCore::InspectorInstrumentation::frameDetachedFromParent):
(WebCore::InspectorInstrumentation::didCommitLoad):
(WebCore::InspectorInstrumentation::frameDocumentUpdated):
(WebCore::InspectorInstrumentation::loaderDetachedFromFrame):
(WebCore::InspectorInstrumentation::frameStartedLoading):
(WebCore::InspectorInstrumentation::frameStoppedLoading):
(WebCore::InspectorInstrumentation::frameScheduledNavigation):
(WebCore::InspectorInstrumentation::frameClearedScheduledNavigation):
(WebCore::InspectorInstrumentation::willRunJavaScriptDialog):
(WebCore::InspectorInstrumentation::didRunJavaScriptDialog):
(WebCore::InspectorInstrumentation::willDestroyCachedResource):
(WebCore::InspectorInstrumentation::willWriteHTML):
(WebCore::InspectorInstrumentation::didWriteHTML):
(WebCore::InspectorInstrumentation::didDispatchDOMStorageEvent):
(WebCore::InspectorInstrumentation::shouldPauseDedicatedWorkerOnStart):
(WebCore::InspectorInstrumentation::didStartWorkerGlobalScope):
(WebCore::InspectorInstrumentation::workerGlobalScopeTerminated):
(WebCore::InspectorInstrumentation::didCreateWebSocket):
(WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequest):
(WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponse):
(WebCore::InspectorInstrumentation::didCloseWebSocket):
(WebCore::InspectorInstrumentation::didReceiveWebSocketFrame):
(WebCore::InspectorInstrumentation::didReceiveWebSocketFrameError):
(WebCore::InspectorInstrumentation::didSendWebSocketFrame):
(WebCore::InspectorInstrumentation::sessionCreated):
(WebCore::InspectorInstrumentation::sessionLoaded):
(WebCore::InspectorInstrumentation::sessionModified):
(WebCore::InspectorInstrumentation::segmentCreated):
(WebCore::InspectorInstrumentation::segmentCompleted):
(WebCore::InspectorInstrumentation::segmentLoaded):
(WebCore::InspectorInstrumentation::segmentUnloaded):
(WebCore::InspectorInstrumentation::captureStarted):
(WebCore::InspectorInstrumentation::captureStopped):
(WebCore::InspectorInstrumentation::playbackStarted):
(WebCore::InspectorInstrumentation::playbackPaused):
(WebCore::InspectorInstrumentation::playbackFinished):
(WebCore::InspectorInstrumentation::playbackHitPosition):
(WebCore::InspectorInstrumentation::networkStateChanged):
(WebCore::InspectorInstrumentation::updateApplicationCacheStatus):
(WebCore::InspectorInstrumentation::didRequestAnimationFrame):
(WebCore::InspectorInstrumentation::didCancelAnimationFrame):
(WebCore::InspectorInstrumentation::willFireAnimationFrame):
(WebCore::InspectorInstrumentation::didFireAnimationFrame):
(WebCore::InspectorInstrumentation::layerTreeDidChange):
(WebCore::InspectorInstrumentation::renderLayerDestroyed):
(WebCore::InspectorInstrumentation::pseudoElementDestroyed):
(WebCore::InspectorInstrumentation::instrumentingAgentsForDocument):
(WebCore::InspectorInstrumentation::hasFrontends): Deleted.
(WebCore::InspectorInstrumentation::consoleAgentEnabled): Deleted.
(WebCore::InspectorInstrumentation::runtimeAgentEnabled): Deleted.
(WebCore::InspectorInstrumentation::timelineAgentEnabled): Deleted.
(WebCore::InspectorInstrumentation::replayAgentEnabled): Deleted.
* inspector/InspectorLayerTreeAgent.cpp:
* inspector/InspectorLayerTreeAgent.h:
* inspector/InspectorOverlay.cpp:
* inspector/InspectorPageAgent.cpp:
* inspector/InspectorPageAgent.h:
* inspector/InspectorReplayAgent.cpp:
* inspector/InspectorReplayAgent.h:
* inspector/InspectorResourceAgent.cpp:
* inspector/InspectorResourceAgent.h:
* inspector/InspectorStyleSheet.cpp:
* inspector/InspectorStyleSheet.h:
* inspector/InspectorStyleTextEditor.cpp:
* inspector/InspectorStyleTextEditor.h:
* inspector/InspectorTimelineAgent.cpp:
* inspector/InspectorTimelineAgent.h:
* inspector/InspectorWorkerAgent.cpp:
* inspector/InspectorWorkerResource.h:
* inspector/InstrumentingAgents.cpp:
* inspector/NetworkResourcesData.cpp:
* inspector/NetworkResourcesData.h:
* inspector/PageConsoleAgent.cpp:
* inspector/PageConsoleAgent.h:
* inspector/PageDebuggerAgent.cpp:
* inspector/PageDebuggerAgent.h:
* inspector/PageRuntimeAgent.cpp:
* inspector/PageRuntimeAgent.h:
* inspector/PageScriptDebugServer.cpp:
* inspector/PageScriptDebugServer.h:
* inspector/TimelineRecordFactory.cpp:
* inspector/WebConsoleAgent.cpp:
* inspector/WebConsoleAgent.h:
* inspector/WebDebuggerAgent.cpp:
* inspector/WebDebuggerAgent.h:
* inspector/WebInjectedScriptHost.cpp:
* inspector/WebInjectedScriptHost.h:
* inspector/WebInjectedScriptManager.cpp:
* inspector/WebInjectedScriptManager.h:
* inspector/WorkerConsoleAgent.cpp:
* inspector/WorkerConsoleAgent.h:
* inspector/WorkerDebuggerAgent.cpp:
* inspector/WorkerDebuggerAgent.h:
* inspector/WorkerInspectorController.cpp:
* inspector/WorkerInspectorController.h:
* inspector/WorkerRuntimeAgent.cpp:
* inspector/WorkerRuntimeAgent.h:
* loader/DocumentThreadableLoader.cpp:
(WebCore::DocumentThreadableLoader::didReceiveResponse):
(WebCore::DocumentThreadableLoader::loadRequest):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
(WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld):
* loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::createResourceHandle):
(WebCore::ApplicationCacheGroup::didReceiveResponse):
* loader/appcache/ApplicationCacheHost.cpp:
(WebCore::ApplicationCacheHost::applicationCacheInfo):
* loader/appcache/ApplicationCacheHost.h:
* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::shouldContinueAfterNotifyingLoadedFromMemoryCache):
* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::showContextMenu):
(WebCore::ContextMenuController::contextMenuItemSelected):
(WebCore::ContextMenuController::populate):
(WebCore::ContextMenuController::addInspectElementItem):
(WebCore::ContextMenuController::checkOrEnableIfNeeded):
* page/FrameView.cpp:
(WebCore::FrameView::sendResizeEventIfNeeded):
* page/Page.cpp:
(WebCore::Page::Page):
(WebCore::Page::~Page):
* page/Page.h:
* platform/ContextMenuItem.h:
* platform/efl/EflInspectorUtilities.cpp:
* platform/efl/EflInspectorUtilities.h:
* platform/network/ResourceRequestBase.h:
(WebCore::ResourceRequestBase::ResourceRequestBase):
* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::ResourceRequest::updateFromDelegatePreservingOldProperties):
* platform/network/cocoa/ResourceRequestCocoa.mm:
(WebCore::ResourceRequest::updateFromDelegatePreservingOldProperties):
* testing/Internals.cpp:
(WebCore::InspectorFrontendChannelDummy::sendMessageToFrontend):
(WebCore::Internals::resetToConsistentState):
(WebCore::Internals::inspectorHighlightRects):
(WebCore::Internals::inspectorHighlightObject):
(WebCore::Internals::setInspectorIsUnderTest):
* testing/Internals.h:
* testing/Internals.idl:
* workers/WorkerGlobalScope.cpp:
(WebCore::WorkerGlobalScope::WorkerGlobalScope):
* workers/WorkerGlobalScope.h:
* workers/WorkerGlobalScopeProxy.h:
* workers/WorkerMessagingProxy.cpp:
(WebCore::WorkerMessagingProxy::WorkerMessagingProxy):
(WebCore::WorkerMessagingProxy::sendMessageToInspector):
(WebCore::WorkerMessagingProxy::postMessageToPageInspector):
* workers/WorkerMessagingProxy.h:
* workers/WorkerReportingProxy.h:
* workers/WorkerThread.cpp:
(WebCore::WorkerThread::workerThread):

Source/WebKit:

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:
* WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::dispatchWillSendRequest):

Source/WebKit/win:

* WebCoreSupport/WebInspectorClient.cpp:
(registerWindowClass):
* WebInspector.cpp:
(WebInspector::setTimelineProfilingEnabled):
* WebNodeHighlight.cpp:
(WebNodeHighlight::WebNodeHighlight):
(WebNodeHighlight::update):
* WebNodeHighlight.h:
* WebView.cpp:
(WebView::WebView):
(WebView::close):
(WebView::initWithFrame):
(WebView::inspector):
* WebView.h:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:
* Shared/API/c/WKSharedAPICast.h:
(WebKit::toAPI):
(WebKit::toImpl):
* Shared/WebCoreArgumentCoders.cpp:
(IPC::ArgumentCoder<ResourceRequest>::encode):
(IPC::ArgumentCoder<ResourceRequest>::decode):
* UIProcess/API/C/WKInspector.cpp:
(WKInspectorGetTypeID):
(WKInspectorGetPage):
(WKInspectorIsConnected):
(WKInspectorIsVisible):
(WKInspectorIsFront):
(WKInspectorConnect):
(WKInspectorShow):
(WKInspectorHide):
(WKInspectorClose):
(WKInspectorShowConsole):
(WKInspectorShowResources):
(WKInspectorShowMainResourceForFrame):
(WKInspectorIsAttached):
(WKInspectorAttach):
(WKInspectorDetach):
(WKInspectorIsProfilingPage):
(WKInspectorTogglePageProfiling):
* UIProcess/API/C/WKPage.cpp:
(WKPageGetInspector):
* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_inspector_show):
(ewk_view_inspector_close):
* UIProcess/API/efl/tests/test_ewk2_view.cpp:
(TEST_F):
* UIProcess/PageClient.h:
* UIProcess/WebInspectorProxy.cpp:
* UIProcess/WebInspectorProxy.h:
* UIProcess/WebInspectorProxy.messages.in:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::reattachToWebProcess):
(WebKit::WebPageProxy::maybeInitializeSandboxExtensionHandle):
(WebKit::WebPageProxy::resetState):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::getLaunchOptions):
* UIProcess/efl/WebInspectorProxyEfl.cpp:
* UIProcess/gtk/WebInspectorProxyGtk.cpp:
* UIProcess/ios/PageClientImplIOS.h:
* UIProcess/ios/PageClientImplIOS.mm:
(WebKit::PageClientImpl::disableInspectorNodeSearch):
* UIProcess/ios/WebInspectorProxyIOS.mm:
* UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::disableInspectorNodeSearch):
* UIProcess/mac/WebInspectorProxyMac.mm:
* WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp:
(WKBundleInspectorGetTypeID):
(WKBundleInspectorShow):
(WKBundleInspectorClose):
(WKBundleInspectorEvaluateScriptForTest):
(WKBundleInspectorSetPageProfilingEnabled):
* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
(WKBundlePageGetInspector):
* WebProcess/WebCoreSupport/WebInspectorClient.cpp:
* WebProcess/WebCoreSupport/WebInspectorClient.h:
* WebProcess/WebCoreSupport/WebInspectorFrontendClient.h:
* WebProcess/WebPage/WebInspector.cpp:
* WebProcess/WebPage/WebInspector.h:
* WebProcess/WebPage/WebInspector.messages.in:
* WebProcess/WebPage/WebInspectorUI.cpp:
* WebProcess/WebPage/WebInspectorUI.h:
* WebProcess/WebPage/WebInspectorUI.messages.in:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
(WebKit::WebPage::~WebPage):
(WebKit::WebPage::close):
(WebKit::WebPage::inspectorUI):
(WebKit::WebPage::didReceiveMessage):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/efl/WebInspectorEfl.cpp:
* WebProcess/WebPage/efl/WebInspectorUIEfl.cpp:
* WebProcess/WebPage/gtk/WebInspectorGtk.cpp:
* WebProcess/WebPage/gtk/WebInspectorUIGtk.cpp:
* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::disableInspectorNodeSearch):
* WebProcess/WebPage/mac/WebInspectorMac.mm:
* WebProcess/WebPage/mac/WebInspectorUIMac.mm:
* config.h:

Source/WTF:

* wtf/FeatureDefines.h:

Tools:

* DumpRenderTree/mac/TestRunnerMac.mm:
(TestRunner::showWebInspector):
(TestRunner::closeWebInspector):
(TestRunner::evaluateInWebInspector):
* Scripts/webkitperl/FeatureList.pm:
* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::showWebInspector):
(WTR::TestRunner::closeWebInspector):
(WTR::TestRunner::evaluateInWebInspector):
* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::invoke):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178820 268f45cc-cd09-0410-ab3c-d52691b4dbfc

262 files changed:
ChangeLog
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig
Source/JavaScriptCore/bindings/ScriptValue.cpp
Source/JavaScriptCore/bindings/ScriptValue.h
Source/JavaScriptCore/inspector/ConsoleMessage.cpp
Source/JavaScriptCore/inspector/ConsoleMessage.h
Source/JavaScriptCore/inspector/ContentSearchUtilities.cpp
Source/JavaScriptCore/inspector/ContentSearchUtilities.h
Source/JavaScriptCore/inspector/IdentifiersFactory.cpp
Source/JavaScriptCore/inspector/IdentifiersFactory.h
Source/JavaScriptCore/inspector/InjectedScript.cpp
Source/JavaScriptCore/inspector/InjectedScript.h
Source/JavaScriptCore/inspector/InjectedScriptBase.cpp
Source/JavaScriptCore/inspector/InjectedScriptBase.h
Source/JavaScriptCore/inspector/InjectedScriptHost.cpp
Source/JavaScriptCore/inspector/InjectedScriptHost.h
Source/JavaScriptCore/inspector/InjectedScriptManager.cpp
Source/JavaScriptCore/inspector/InjectedScriptManager.h
Source/JavaScriptCore/inspector/InjectedScriptModule.cpp
Source/JavaScriptCore/inspector/InjectedScriptModule.h
Source/JavaScriptCore/inspector/InspectorAgentRegistry.cpp
Source/JavaScriptCore/inspector/InspectorBackendDispatcher.cpp
Source/JavaScriptCore/inspector/InspectorBackendDispatcher.h
Source/JavaScriptCore/inspector/InspectorProtocolTypes.h
Source/JavaScriptCore/inspector/JSGlobalObjectConsoleClient.cpp
Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp
Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.h
Source/JavaScriptCore/inspector/JSGlobalObjectScriptDebugServer.cpp
Source/JavaScriptCore/inspector/JSGlobalObjectScriptDebugServer.h
Source/JavaScriptCore/inspector/JSInjectedScriptHost.cpp
Source/JavaScriptCore/inspector/JSInjectedScriptHost.h
Source/JavaScriptCore/inspector/JSInjectedScriptHostPrototype.cpp
Source/JavaScriptCore/inspector/JSInjectedScriptHostPrototype.h
Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.cpp
Source/JavaScriptCore/inspector/JSJavaScriptCallFrame.h
Source/JavaScriptCore/inspector/JSJavaScriptCallFramePrototype.cpp
Source/JavaScriptCore/inspector/JSJavaScriptCallFramePrototype.h
Source/JavaScriptCore/inspector/JavaScriptCallFrame.cpp
Source/JavaScriptCore/inspector/JavaScriptCallFrame.h
Source/JavaScriptCore/inspector/ScriptCallFrame.cpp
Source/JavaScriptCore/inspector/ScriptCallFrame.h
Source/JavaScriptCore/inspector/ScriptCallStack.cpp
Source/JavaScriptCore/inspector/ScriptCallStack.h
Source/JavaScriptCore/inspector/ScriptDebugServer.cpp
Source/JavaScriptCore/inspector/agents/InspectorAgent.cpp
Source/JavaScriptCore/inspector/agents/InspectorAgent.h
Source/JavaScriptCore/inspector/agents/InspectorConsoleAgent.cpp
Source/JavaScriptCore/inspector/agents/InspectorConsoleAgent.h
Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.cpp
Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.h
Source/JavaScriptCore/inspector/agents/InspectorRuntimeAgent.cpp
Source/JavaScriptCore/inspector/agents/InspectorRuntimeAgent.h
Source/JavaScriptCore/inspector/agents/JSGlobalObjectConsoleAgent.cpp
Source/JavaScriptCore/inspector/agents/JSGlobalObjectConsoleAgent.h
Source/JavaScriptCore/inspector/agents/JSGlobalObjectDebuggerAgent.cpp
Source/JavaScriptCore/inspector/agents/JSGlobalObjectDebuggerAgent.h
Source/JavaScriptCore/inspector/agents/JSGlobalObjectRuntimeAgent.cpp
Source/JavaScriptCore/inspector/agents/JSGlobalObjectRuntimeAgent.h
Source/JavaScriptCore/inspector/scripts/codegen/cpp_generator_templates.py
Source/JavaScriptCore/inspector/scripts/tests/expected/commands-with-async-attribute.json-result
Source/JavaScriptCore/inspector/scripts/tests/expected/commands-with-optional-call-return-parameters.json-result
Source/JavaScriptCore/inspector/scripts/tests/expected/domains-with-varying-command-sizes.json-result
Source/JavaScriptCore/inspector/scripts/tests/expected/enum-values.json-result
Source/JavaScriptCore/inspector/scripts/tests/expected/events-with-optional-parameters.json-result
Source/JavaScriptCore/inspector/scripts/tests/expected/generate-domains-with-feature-guards.json-result
Source/JavaScriptCore/inspector/scripts/tests/expected/same-type-id-different-domain.json-result
Source/JavaScriptCore/inspector/scripts/tests/expected/shadowed-optional-type-setters.json-result
Source/JavaScriptCore/inspector/scripts/tests/expected/type-declaration-aliased-primitive-type.json-result
Source/JavaScriptCore/inspector/scripts/tests/expected/type-declaration-array-type.json-result
Source/JavaScriptCore/inspector/scripts/tests/expected/type-declaration-enum-type.json-result
Source/JavaScriptCore/inspector/scripts/tests/expected/type-declaration-object-type.json-result
Source/JavaScriptCore/inspector/scripts/tests/expected/type-requiring-runtime-casts.json-result
Source/JavaScriptCore/runtime/TypeSet.cpp
Source/PlatformEfl.cmake
Source/WTF/ChangeLog
Source/WTF/wtf/FeatureDefines.h
Source/WebCore/ChangeLog
Source/WebCore/Configurations/FeatureDefines.xcconfig
Source/WebCore/WebCore.exp.in
Source/WebCore/bindings/js/JSCommandLineAPIHostCustom.cpp
Source/WebCore/bindings/js/JSDOMWindowBase.cpp
Source/WebCore/bindings/js/JSInspectorFrontendHostCustom.cpp
Source/WebCore/bindings/js/ScriptController.cpp
Source/WebCore/bindings/js/ScriptController.h
Source/WebCore/bindings/js/ScriptGlobalObject.cpp
Source/WebCore/bindings/js/ScriptGlobalObject.h
Source/WebCore/bindings/js/WorkerScriptDebugServer.cpp
Source/WebCore/bindings/js/WorkerScriptDebugServer.h
Source/WebCore/dom/Node.cpp
Source/WebCore/inspector/CommandLineAPIHost.cpp
Source/WebCore/inspector/CommandLineAPIHost.idl
Source/WebCore/inspector/CommandLineAPIModule.cpp
Source/WebCore/inspector/CommandLineAPIModule.h
Source/WebCore/inspector/DOMEditor.cpp
Source/WebCore/inspector/DOMEditor.h
Source/WebCore/inspector/DOMPatchSupport.cpp
Source/WebCore/inspector/DOMPatchSupport.h
Source/WebCore/inspector/InspectorApplicationCacheAgent.cpp
Source/WebCore/inspector/InspectorApplicationCacheAgent.h
Source/WebCore/inspector/InspectorCSSAgent.cpp
Source/WebCore/inspector/InspectorCSSAgent.h
Source/WebCore/inspector/InspectorClient.cpp
Source/WebCore/inspector/InspectorConsoleInstrumentation.h
Source/WebCore/inspector/InspectorController.cpp
Source/WebCore/inspector/InspectorController.h
Source/WebCore/inspector/InspectorDOMAgent.cpp
Source/WebCore/inspector/InspectorDOMAgent.h
Source/WebCore/inspector/InspectorDOMDebuggerAgent.cpp
Source/WebCore/inspector/InspectorDOMDebuggerAgent.h
Source/WebCore/inspector/InspectorDOMStorageAgent.cpp
Source/WebCore/inspector/InspectorDatabaseAgent.cpp
Source/WebCore/inspector/InspectorDatabaseAgent.h
Source/WebCore/inspector/InspectorDatabaseInstrumentation.h
Source/WebCore/inspector/InspectorDatabaseResource.cpp
Source/WebCore/inspector/InspectorDatabaseResource.h
Source/WebCore/inspector/InspectorFrontendClientLocal.cpp
Source/WebCore/inspector/InspectorFrontendHost.cpp
Source/WebCore/inspector/InspectorFrontendHost.idl
Source/WebCore/inspector/InspectorHistory.cpp
Source/WebCore/inspector/InspectorHistory.h
Source/WebCore/inspector/InspectorIndexedDBAgent.cpp
Source/WebCore/inspector/InspectorIndexedDBAgent.h
Source/WebCore/inspector/InspectorInstrumentation.cpp
Source/WebCore/inspector/InspectorInstrumentation.h
Source/WebCore/inspector/InspectorLayerTreeAgent.cpp
Source/WebCore/inspector/InspectorLayerTreeAgent.h
Source/WebCore/inspector/InspectorOverlay.cpp
Source/WebCore/inspector/InspectorPageAgent.cpp
Source/WebCore/inspector/InspectorPageAgent.h
Source/WebCore/inspector/InspectorReplayAgent.cpp
Source/WebCore/inspector/InspectorReplayAgent.h
Source/WebCore/inspector/InspectorResourceAgent.cpp
Source/WebCore/inspector/InspectorResourceAgent.h
Source/WebCore/inspector/InspectorStyleSheet.cpp
Source/WebCore/inspector/InspectorStyleSheet.h
Source/WebCore/inspector/InspectorStyleTextEditor.cpp
Source/WebCore/inspector/InspectorStyleTextEditor.h
Source/WebCore/inspector/InspectorTimelineAgent.cpp
Source/WebCore/inspector/InspectorTimelineAgent.h
Source/WebCore/inspector/InspectorWorkerAgent.cpp
Source/WebCore/inspector/InspectorWorkerResource.h
Source/WebCore/inspector/InstrumentingAgents.cpp
Source/WebCore/inspector/NetworkResourcesData.cpp
Source/WebCore/inspector/NetworkResourcesData.h
Source/WebCore/inspector/PageConsoleAgent.cpp
Source/WebCore/inspector/PageConsoleAgent.h
Source/WebCore/inspector/PageDebuggerAgent.cpp
Source/WebCore/inspector/PageDebuggerAgent.h
Source/WebCore/inspector/PageRuntimeAgent.cpp
Source/WebCore/inspector/PageRuntimeAgent.h
Source/WebCore/inspector/PageScriptDebugServer.cpp
Source/WebCore/inspector/PageScriptDebugServer.h
Source/WebCore/inspector/TimelineRecordFactory.cpp
Source/WebCore/inspector/WebConsoleAgent.cpp
Source/WebCore/inspector/WebConsoleAgent.h
Source/WebCore/inspector/WebDebuggerAgent.cpp
Source/WebCore/inspector/WebDebuggerAgent.h
Source/WebCore/inspector/WebInjectedScriptHost.cpp
Source/WebCore/inspector/WebInjectedScriptHost.h
Source/WebCore/inspector/WebInjectedScriptManager.cpp
Source/WebCore/inspector/WebInjectedScriptManager.h
Source/WebCore/inspector/WorkerConsoleAgent.cpp
Source/WebCore/inspector/WorkerConsoleAgent.h
Source/WebCore/inspector/WorkerDebuggerAgent.cpp
Source/WebCore/inspector/WorkerDebuggerAgent.h
Source/WebCore/inspector/WorkerInspectorController.cpp
Source/WebCore/inspector/WorkerInspectorController.h
Source/WebCore/inspector/WorkerRuntimeAgent.cpp
Source/WebCore/inspector/WorkerRuntimeAgent.h
Source/WebCore/loader/DocumentThreadableLoader.cpp
Source/WebCore/loader/FrameLoader.cpp
Source/WebCore/loader/appcache/ApplicationCacheGroup.cpp
Source/WebCore/loader/appcache/ApplicationCacheHost.cpp
Source/WebCore/loader/appcache/ApplicationCacheHost.h
Source/WebCore/loader/cache/CachedResourceLoader.cpp
Source/WebCore/page/ContextMenuController.cpp
Source/WebCore/page/FrameView.cpp
Source/WebCore/page/Page.cpp
Source/WebCore/page/Page.h
Source/WebCore/platform/ContextMenuItem.h
Source/WebCore/platform/efl/EflInspectorUtilities.cpp
Source/WebCore/platform/efl/EflInspectorUtilities.h
Source/WebCore/platform/network/ResourceRequestBase.h
Source/WebCore/platform/network/cf/ResourceRequestCFNet.cpp
Source/WebCore/platform/network/cocoa/ResourceRequestCocoa.mm
Source/WebCore/testing/Internals.cpp
Source/WebCore/testing/Internals.h
Source/WebCore/testing/Internals.idl
Source/WebCore/workers/WorkerGlobalScope.cpp
Source/WebCore/workers/WorkerGlobalScope.h
Source/WebCore/workers/WorkerGlobalScopeProxy.h
Source/WebCore/workers/WorkerMessagingProxy.cpp
Source/WebCore/workers/WorkerMessagingProxy.h
Source/WebCore/workers/WorkerReportingProxy.h
Source/WebCore/workers/WorkerThread.cpp
Source/WebKit/ChangeLog
Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/Configurations/FeatureDefines.xcconfig
Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm
Source/WebKit/win/ChangeLog
Source/WebKit/win/WebCoreSupport/WebInspectorClient.cpp
Source/WebKit/win/WebInspector.cpp
Source/WebKit/win/WebNodeHighlight.cpp
Source/WebKit/win/WebNodeHighlight.h
Source/WebKit/win/WebView.cpp
Source/WebKit/win/WebView.h
Source/WebKit2/ChangeLog
Source/WebKit2/Configurations/FeatureDefines.xcconfig
Source/WebKit2/Shared/API/c/WKSharedAPICast.h
Source/WebKit2/Shared/WebCoreArgumentCoders.cpp
Source/WebKit2/UIProcess/API/C/WKInspector.cpp
Source/WebKit2/UIProcess/API/C/WKPage.cpp
Source/WebKit2/UIProcess/API/efl/ewk_view.cpp
Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_view.cpp
Source/WebKit2/UIProcess/PageClient.h
Source/WebKit2/UIProcess/WebInspectorProxy.cpp
Source/WebKit2/UIProcess/WebInspectorProxy.h
Source/WebKit2/UIProcess/WebInspectorProxy.messages.in
Source/WebKit2/UIProcess/WebPageProxy.cpp
Source/WebKit2/UIProcess/WebPageProxy.h
Source/WebKit2/UIProcess/WebPageProxy.messages.in
Source/WebKit2/UIProcess/WebProcessProxy.cpp
Source/WebKit2/UIProcess/efl/WebInspectorProxyEfl.cpp
Source/WebKit2/UIProcess/gtk/WebInspectorProxyGtk.cpp
Source/WebKit2/UIProcess/ios/PageClientImplIOS.h
Source/WebKit2/UIProcess/ios/PageClientImplIOS.mm
Source/WebKit2/UIProcess/ios/WebInspectorProxyIOS.mm
Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm
Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp
Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.h
Source/WebKit2/WebProcess/WebCoreSupport/WebInspectorFrontendClient.h
Source/WebKit2/WebProcess/WebPage/WebInspector.cpp
Source/WebKit2/WebProcess/WebPage/WebInspector.h
Source/WebKit2/WebProcess/WebPage/WebInspector.messages.in
Source/WebKit2/WebProcess/WebPage/WebInspectorUI.cpp
Source/WebKit2/WebProcess/WebPage/WebInspectorUI.h
Source/WebKit2/WebProcess/WebPage/WebInspectorUI.messages.in
Source/WebKit2/WebProcess/WebPage/WebPage.cpp
Source/WebKit2/WebProcess/WebPage/WebPage.h
Source/WebKit2/WebProcess/WebPage/efl/WebInspectorEfl.cpp
Source/WebKit2/WebProcess/WebPage/efl/WebInspectorUIEfl.cpp
Source/WebKit2/WebProcess/WebPage/gtk/WebInspectorGtk.cpp
Source/WebKit2/WebProcess/WebPage/gtk/WebInspectorUIGtk.cpp
Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm
Source/WebKit2/WebProcess/WebPage/mac/WebInspectorMac.mm
Source/WebKit2/WebProcess/WebPage/mac/WebInspectorUIMac.mm
Source/WebKit2/config.h
Source/cmake/OptionsEfl.cmake
Source/cmake/OptionsGTK.cmake
Source/cmake/OptionsMac.cmake
Source/cmake/WebKitFeatures.cmake
Source/cmakeconfig.h.cmake
Tools/ChangeLog
Tools/DumpRenderTree/mac/TestRunnerMac.mm
Tools/Scripts/webkitperl/FeatureList.pm
Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
Tools/WebKitTestRunner/TestInvocation.cpp

index cb71321..bf84e72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2015-01-21  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Remove ENABLE(INSPECTOR) ifdef guards
+        https://bugs.webkit.org/show_bug.cgi?id=140668
+
+        Reviewed by Darin Adler.
+
+        * Source/PlatformEfl.cmake:
+        * Source/cmake/OptionsEfl.cmake:
+        * Source/cmake/OptionsGTK.cmake:
+        * Source/cmake/OptionsMac.cmake:
+        * Source/cmake/WebKitFeatures.cmake:
+        * Source/cmakeconfig.h.cmake:
+
 2015-01-20  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.7.4 release.
index 2608d55..c238983 100644 (file)
@@ -1,3 +1,89 @@
+2015-01-21  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Remove ENABLE(INSPECTOR) ifdef guards
+        https://bugs.webkit.org/show_bug.cgi?id=140668
+
+        Reviewed by Darin Adler.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * bindings/ScriptValue.cpp:
+        (Deprecated::ScriptValue::toInspectorValue):
+        * bindings/ScriptValue.h:
+        * inspector/ConsoleMessage.cpp:
+        * inspector/ConsoleMessage.h:
+        * inspector/ContentSearchUtilities.cpp:
+        * inspector/ContentSearchUtilities.h:
+        * inspector/IdentifiersFactory.cpp:
+        * inspector/IdentifiersFactory.h:
+        * inspector/InjectedScript.cpp:
+        * inspector/InjectedScript.h:
+        * inspector/InjectedScriptBase.cpp:
+        * inspector/InjectedScriptBase.h:
+        * inspector/InjectedScriptHost.cpp:
+        * inspector/InjectedScriptHost.h:
+        * inspector/InjectedScriptManager.cpp:
+        * inspector/InjectedScriptManager.h:
+        * inspector/InjectedScriptModule.cpp:
+        * inspector/InjectedScriptModule.h:
+        * inspector/InspectorAgentRegistry.cpp:
+        * inspector/InspectorBackendDispatcher.cpp:
+        * inspector/InspectorBackendDispatcher.h:
+        * inspector/InspectorProtocolTypes.h:
+        * inspector/JSGlobalObjectConsoleClient.cpp:
+        * inspector/JSGlobalObjectInspectorController.cpp:
+        * inspector/JSGlobalObjectInspectorController.h:
+        * inspector/JSGlobalObjectScriptDebugServer.cpp:
+        * inspector/JSGlobalObjectScriptDebugServer.h:
+        * inspector/JSInjectedScriptHost.cpp:
+        * inspector/JSInjectedScriptHost.h:
+        * inspector/JSInjectedScriptHostPrototype.cpp:
+        * inspector/JSInjectedScriptHostPrototype.h:
+        * inspector/JSJavaScriptCallFrame.cpp:
+        * inspector/JSJavaScriptCallFrame.h:
+        * inspector/JSJavaScriptCallFramePrototype.cpp:
+        * inspector/JSJavaScriptCallFramePrototype.h:
+        * inspector/JavaScriptCallFrame.cpp:
+        * inspector/JavaScriptCallFrame.h:
+        * inspector/ScriptCallFrame.cpp:
+        (Inspector::ScriptCallFrame::buildInspectorObject):
+        * inspector/ScriptCallFrame.h:
+        * inspector/ScriptCallStack.cpp:
+        (Inspector::ScriptCallStack::buildInspectorArray):
+        * inspector/ScriptCallStack.h:
+        * inspector/ScriptDebugServer.cpp:
+        * inspector/agents/InspectorAgent.cpp:
+        * inspector/agents/InspectorAgent.h:
+        * inspector/agents/InspectorConsoleAgent.cpp:
+        * inspector/agents/InspectorConsoleAgent.h:
+        * inspector/agents/InspectorDebuggerAgent.cpp:
+        * inspector/agents/InspectorDebuggerAgent.h:
+        * inspector/agents/InspectorRuntimeAgent.cpp:
+        * inspector/agents/InspectorRuntimeAgent.h:
+        * inspector/agents/JSGlobalObjectConsoleAgent.cpp:
+        * inspector/agents/JSGlobalObjectConsoleAgent.h:
+        * inspector/agents/JSGlobalObjectDebuggerAgent.cpp:
+        * inspector/agents/JSGlobalObjectDebuggerAgent.h:
+        * inspector/agents/JSGlobalObjectRuntimeAgent.cpp:
+        * inspector/agents/JSGlobalObjectRuntimeAgent.h:
+        * inspector/scripts/codegen/cpp_generator_templates.py:
+        (CppGeneratorTemplates):
+        * inspector/scripts/tests/expected/commands-with-async-attribute.json-result:
+        * inspector/scripts/tests/expected/commands-with-optional-call-return-parameters.json-result:
+        * inspector/scripts/tests/expected/domains-with-varying-command-sizes.json-result:
+        * inspector/scripts/tests/expected/enum-values.json-result:
+        * inspector/scripts/tests/expected/events-with-optional-parameters.json-result:
+        * inspector/scripts/tests/expected/generate-domains-with-feature-guards.json-result:
+        * inspector/scripts/tests/expected/same-type-id-different-domain.json-result:
+        * inspector/scripts/tests/expected/shadowed-optional-type-setters.json-result:
+        * inspector/scripts/tests/expected/type-declaration-aliased-primitive-type.json-result:
+        * inspector/scripts/tests/expected/type-declaration-array-type.json-result:
+        * inspector/scripts/tests/expected/type-declaration-enum-type.json-result:
+        * inspector/scripts/tests/expected/type-declaration-object-type.json-result:
+        * inspector/scripts/tests/expected/type-requiring-runtime-casts.json-result:
+        * runtime/TypeSet.cpp:
+        (JSC::TypeSet::inspectorTypeSet):
+        (JSC::StructureShape::inspectorRepresentation):
+
 2015-01-20  Joseph Pecoraro  <pecoraro@apple.com>
 
         Web Inspector: Clean up InjectedScriptSource.js
index 1ace48c..6c4bf5d 100644 (file)
@@ -104,7 +104,6 @@ ENABLE_INPUT_TYPE_DATETIMELOCAL[sdk=iphone*] = ENABLE_INPUT_TYPE_DATETIMELOCAL;
 ENABLE_INPUT_TYPE_MONTH[sdk=iphone*] = ENABLE_INPUT_TYPE_MONTH;
 ENABLE_INPUT_TYPE_TIME[sdk=iphone*] = ENABLE_INPUT_TYPE_TIME;
 ENABLE_INPUT_TYPE_WEEK[sdk=iphone*] = ENABLE_INPUT_TYPE_WEEK;
-ENABLE_INSPECTOR = ENABLE_INSPECTOR;
 
 ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS[sdk=iphone*] = ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS;
 ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS[sdk=macosx*] = $(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR))
@@ -226,4 +225,4 @@ ENABLE_LLINT_C_LOOP = ;
 
 ENABLE_SATURATED_LAYOUT_ARITHMETIC = ENABLE_SATURATED_LAYOUT_ARITHMETIC;
 
-FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_GRID_LAYOUT) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_ICONDATABASE) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RUBBER_BANDING) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_OTF_CONVERTER) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_DATACUE_VALUE) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_PICTURE_SIZES) $(ENABLE_WEB_TIMING) $(ENABLE_WEBVTT_REGIONS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(ENABLE_SATURATED_LAYOUT_ARITHMETIC) $(ENABLE_VIDEO_PRESENTATION_MODE);
+FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_GRID_LAYOUT) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_ICONDATABASE) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RUBBER_BANDING) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_OTF_CONVERTER) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_DATACUE_VALUE) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_PICTURE_SIZES) $(ENABLE_WEB_TIMING) $(ENABLE_WEBVTT_REGIONS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(ENABLE_SATURATED_LAYOUT_ARITHMETIC) $(ENABLE_VIDEO_PRESENTATION_MODE);
index 9e2251d..76a7b11 100644 (file)
@@ -97,7 +97,6 @@ bool ScriptValue::isFunction() const
     return getCallData(m_value.get(), callData) != CallTypeNone;
 }
 
-#if ENABLE(INSPECTOR)
 static RefPtr<InspectorValue> jsToInspectorValue(ExecState* scriptState, JSValue value, int maxDepth)
 {
     if (!value) {
@@ -159,6 +158,5 @@ RefPtr<InspectorValue> ScriptValue::toInspectorValue(ExecState* scriptState) con
     JSLockHolder holder(scriptState);
     return jsToInspectorValue(scriptState, m_value.get(), InspectorValue::maxDepth);
 }
-#endif // ENABLE(INSPECTOR)
 
 } // namespace Deprecated
index fef7702..c4d0086 100644 (file)
@@ -65,9 +65,7 @@ public:
 
     bool operator==(const ScriptValue& other) const { return m_value == other.m_value; }
 
-#if ENABLE(INSPECTOR)
     RefPtr<Inspector::InspectorValue> toInspectorValue(JSC::ExecState*) const;
-#endif
 
 private:
     JSC::Strong<JSC::Unknown> m_value;
index 202e164..3b985e2 100644 (file)
@@ -31,8 +31,6 @@
 #include "config.h"
 #include "ConsoleMessage.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "IdentifiersFactory.h"
 #include "InjectedScript.h"
 #include "InjectedScriptManager.h"
@@ -291,5 +289,3 @@ unsigned ConsoleMessage::argumentCount() const
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index 7adb679..ef1c79d 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef ConsoleMessage_h
 #define ConsoleMessage_h
 
-#if ENABLE(INSPECTOR)
-
 #include "ConsoleTypes.h"
 #include "InspectorFrontendDispatchers.h"
 #include <wtf/Forward.h>
@@ -95,5 +93,3 @@ private:
 } // namespace Inspector
 
 #endif // ConsoleMessage_h
-
-#endif // ENABLE(INSPECTOR)
index f5df0bf..2b427dd 100644 (file)
@@ -29,8 +29,6 @@
 #include "config.h"
 #include "ContentSearchUtilities.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorValues.h"
 #include "RegularExpression.h"
 #include "Yarr.h"
@@ -217,5 +215,3 @@ String findStylesheetSourceMapURL(const String& content)
 
 } // namespace ContentSearchUtilities
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index b3b6161..542065f 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef ContentSearchUtilities_h
 #define ContentSearchUtilities_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <wtf/Vector.h>
 #include <wtf/text/TextPosition.h>
@@ -58,6 +56,4 @@ JS_EXPORT_PRIVATE String findStylesheetSourceMapURL(const String& content);
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(ContentSearchUtilities_h)
index 321b5ee..7e145be 100644 (file)
@@ -27,8 +27,6 @@
 #include "config.h"
 #include "IdentifiersFactory.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/StringBuilder.h>
 
 namespace Inspector {
@@ -62,4 +60,3 @@ String IdentifiersFactory::addProcessIdPrefixTo(const String& id)
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
index 0d5611d..d81c79a 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef IdentifiersFactory_h
 #define IdentifiersFactory_h
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/WTFString.h>
 
 namespace Inspector {
@@ -47,5 +45,3 @@ private:
 } // namespace Inspector
 
 #endif // !defined(IdentifiersFactory_h)
-
-#endif // ENABLE(INSPECTOR)
index 70242b0..cf3f9e2 100644 (file)
@@ -32,8 +32,6 @@
 #include "config.h"
 #include "InjectedScript.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorValues.h"
 #include "JSCInlines.h"
 #include "ScriptFunctionCall.h"
@@ -263,4 +261,3 @@ void InjectedScript::releaseObjectGroup(const String& objectGroup)
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
index c31a681..3050424 100644 (file)
@@ -32,8 +32,6 @@
 #ifndef InjectedScript_h
 #define InjectedScript_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InjectedScriptBase.h"
 #include <wtf/Forward.h>
 #include <wtf/Noncopyable.h>
@@ -79,6 +77,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // InjectedScript_h
index 7de0519..83b7d8c 100644 (file)
@@ -32,8 +32,6 @@
 #include "config.h"
 #include "InjectedScriptBase.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "DebuggerEvalEnabler.h"
 #include "InspectorValues.h"
 #include "JSCInlines.h"
@@ -153,4 +151,3 @@ void InjectedScriptBase::makeEvalCall(ErrorString& errorString, Deprecated::Scri
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
index 3112034..cb46303 100644 (file)
@@ -32,8 +32,6 @@
 #ifndef InjectedScriptBase_h
 #define InjectedScriptBase_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorEnvironment.h"
 #include "InspectorProtocolObjects.h"
 #include "bindings/ScriptObject.h"
@@ -78,6 +76,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // InjectedScriptBase_h
index db917f8..6351472 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "InjectedScriptHost.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "JSInjectedScriptHost.h"
 
 using namespace JSC;
@@ -79,5 +77,3 @@ void InjectedScriptHost::clearAllWrappers()
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index db93f86..3b0c17e 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef InjectedScriptHost_h
 #define InjectedScriptHost_h
 
-#if ENABLE(INSPECTOR)
-
 #include "JSCJSValueInlines.h"
 #include "Strong.h"
 #include "StrongInlines.h"
@@ -54,6 +52,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InjectedScriptHost_h)
index d148568..7d24597 100644 (file)
@@ -31,8 +31,6 @@
 #include "config.h"
 #include "InjectedScriptManager.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "Completion.h"
 #include "InjectedScriptHost.h"
 #include "InjectedScriptSource.h"
@@ -191,4 +189,3 @@ void InjectedScriptManager::didCreateInjectedScript(InjectedScript)
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
index f6d0530..cb6c9b3 100644 (file)
@@ -30,8 +30,6 @@
 #ifndef InjectedScriptManager_h
 #define InjectedScriptManager_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InjectedScript.h"
 #include "InjectedScriptHost.h"
 #include "InspectorEnvironment.h"
@@ -85,6 +83,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InjectedScriptManager_h)
index a3cfb32..5ba27e0 100644 (file)
@@ -32,8 +32,6 @@
 #include "config.h"
 #include "InjectedScriptModule.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "InjectedScript.h"
 #include "InjectedScriptManager.h"
 #include "ScriptFunctionCall.h"
@@ -88,5 +86,3 @@ void InjectedScriptModule::ensureInjected(InjectedScriptManager* injectedScriptM
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index a170e79..e8881b9 100644 (file)
@@ -35,8 +35,6 @@
 #include "InjectedScriptBase.h"
 #include <wtf/text/WTFString.h>
 
-#if ENABLE(INSPECTOR)
-
 namespace JSC {
 class JSValue;
 }
@@ -64,6 +62,4 @@ protected:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // InjectedScriptModule_h
index e438cf1..40108eb 100644 (file)
@@ -27,8 +27,6 @@
 #include "config.h"
 #include "InspectorAgentRegistry.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorAgentBase.h"
 
 namespace Inspector {
@@ -71,4 +69,3 @@ void InspectorAgentRegistry::discardAgents()
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
index 895a096..31564d8 100644 (file)
@@ -27,8 +27,6 @@
 #include "config.h"
 #include "InspectorBackendDispatcher.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorFrontendChannel.h"
 #include "InspectorValues.h"
 #include <wtf/text/CString.h>
@@ -265,5 +263,3 @@ RefPtr<InspectorValue> InspectorBackendDispatcher::getValue(InspectorObject* obj
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index 85c5359..0f0a245 100644 (file)
@@ -27,8 +27,6 @@
 #ifndef InspectorBackendDispatcher_h
 #define InspectorBackendDispatcher_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolTypes.h"
 #include <wtf/RefCounted.h>
 #include <wtf/text/WTFString.h>
@@ -105,5 +103,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
 #endif // !defined(InspectorBackendDispatcher_h)
index 296f3a8..6f06296 100644 (file)
@@ -27,8 +27,6 @@
 #ifndef InspectorProtocolTypes_h
 #define InspectorProtocolTypes_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorValues.h"
 #include <wtf/Assertions.h>
 
@@ -177,6 +175,4 @@ using Protocol::BindingTraits;
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolTypes_h)
index 8598aad..def9d12 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "JSGlobalObjectConsoleClient.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "ConsoleMessage.h"
 #include "InspectorConsoleAgent.h"
 #include "ScriptArguments.h"
@@ -126,5 +124,3 @@ void JSGlobalObjectConsoleClient::warnUnimplemented(const String& method)
 }
 
 } // namespace Inspector
-
-#endif
index dda54b1..6553d56 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "JSGlobalObjectInspectorController.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "Completion.h"
 #include "ConsoleMessage.h"
 #include "ErrorHandlingScope.h"
@@ -245,4 +243,3 @@ void JSGlobalObjectInspectorController::appendExtraAgent(std::unique_ptr<Inspect
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
index 2a02184..760f70f 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef JSGlobalObjectInspectorController_h
 #define JSGlobalObjectInspectorController_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorAgentRegistry.h"
 #include "InspectorEnvironment.h"
 #include <wtf/Forward.h>
@@ -126,6 +124,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(JSGlobalObjectInspectorController_h)
index ff061ed..0e968f7 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "JSGlobalObjectScriptDebugServer.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "EventLoop.h"
 #include "JSCInlines.h"
 #include "JSLock.h"
@@ -89,4 +87,3 @@ void JSGlobalObjectScriptDebugServer::runEventLoopWhilePaused()
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
index 9689cab..489bf03 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef JSGlobalObjectScriptDebugServer_h
 #define JSGlobalObjectScriptDebugServer_h
 
-#if ENABLE(INSPECTOR)
-
 #include "ScriptDebugServer.h"
 #include <wtf/Forward.h>
 
@@ -64,6 +62,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // JSGlobalObjectScriptDebugServer_h
index a484ce0..d907775 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "JSInjectedScriptHost.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "DateInstance.h"
 #include "Error.h"
 #include "InjectedScriptHost.h"
@@ -205,5 +203,3 @@ JSInjectedScriptHost* toJSInjectedScriptHost(JSValue value)
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index dc23568..d3b2bea 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef JSInjectedScriptHost_h
 #define JSInjectedScriptHost_h
 
-#if ENABLE(INSPECTOR)
-
 #include "JSDestructibleObject.h"
 
 namespace Inspector {
@@ -85,6 +83,4 @@ JSInjectedScriptHost* toJSInjectedScriptHost(JSC::JSValue);
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(JSInjectedScriptHost_h)
index 1ad1226..cae9214 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "JSInjectedScriptHostPrototype.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "Error.h"
 #include "GetterSetter.h"
 #include "Identifier.h"
@@ -137,4 +135,3 @@ EncodedJSValue JSC_HOST_CALL jsInjectedScriptHostPrototypeFunctionGetInternalPro
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
index 9d0b7b6..3eeb690 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef JSInjectedScriptHostPrototype_h
 #define JSInjectedScriptHostPrototype_h
 
-#if ENABLE(INSPECTOR)
-
 #include "JSObject.h"
 
 namespace Inspector {
@@ -63,6 +61,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(JSInjectedScriptHostPrototype_h)
index 3f12554..281b93a 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "JSJavaScriptCallFrame.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "DebuggerScope.h"
 #include "Error.h"
 #include "JSCJSValue.h"
@@ -215,4 +213,3 @@ JSJavaScriptCallFrame* toJSJavaScriptCallFrame(JSValue value)
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
index 05a3307..7f0761b 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef JSJavaScriptCallFrame_h
 #define JSJavaScriptCallFrame_h
 
-#if ENABLE(INSPECTOR)
-
 #include "JSDestructibleObject.h"
 #include "JavaScriptCallFrame.h"
 
@@ -96,6 +94,4 @@ JSJavaScriptCallFrame* toJSJavaScriptCallFrame(JSC::JSValue);
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(JSJavaScriptCallFrame_h)
index 8a16045..58bb68b 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "JSJavaScriptCallFramePrototype.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "Error.h"
 #include "GetterSetter.h"
 #include "Identifier.h"
@@ -239,5 +237,3 @@ EncodedJSValue JSC_HOST_CALL jsJavaScriptCallFrameConstantFUNCTION_NAME_SCOPE(Ex
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index b868c53..9aa7ee1 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef JSJavaScriptCallFramePrototype_h
 #define JSJavaScriptCallFramePrototype_h
 
-#if ENABLE(INSPECTOR)
-
 #include "JSObject.h"
 
 namespace Inspector {
@@ -63,6 +61,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(JSJavaScriptCallFramePrototype_h)
index f735a8a..d5f73d5 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "JavaScriptCallFrame.h"
 
-#if ENABLE(INSPECTOR)
-
 using namespace JSC;
 
 namespace Inspector {
@@ -52,4 +50,3 @@ JavaScriptCallFrame* JavaScriptCallFrame::caller()
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
index 6bd643b..4fc4e6b 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef JavaScriptCallFrame_h
 #define JavaScriptCallFrame_h
 
-#if ENABLE(INSPECTOR)
-
 #include "JSCJSValueInlines.h"
 #include "debugger/DebuggerCallFrame.h"
 #include "interpreter/CallFrame.h"
@@ -68,6 +66,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // JavaScriptCallFrame_h
index 917b056..96a06ff 100644 (file)
@@ -56,7 +56,6 @@ bool ScriptCallFrame::isEqual(const ScriptCallFrame& o) const
         && m_column == o.m_column;
 }
 
-#if ENABLE(INSPECTOR)
 Ref<Inspector::Protocol::Console::CallFrame> ScriptCallFrame::buildInspectorObject() const
 {
     return Inspector::Protocol::Console::CallFrame::create()
@@ -66,6 +65,5 @@ Ref<Inspector::Protocol::Console::CallFrame> ScriptCallFrame::buildInspectorObje
         .setColumnNumber(m_column)
         .release();
 }
-#endif
 
 } // namespace Inspector
index 017ddd0..99ac489 100644 (file)
 
 #include <wtf/Forward.h>
 #include <wtf/text/WTFString.h>
-
-#if ENABLE(INSPECTOR)
 #include "InspectorProtocolObjects.h"
-#endif
 
 namespace Inspector {
 
@@ -53,9 +50,7 @@ public:
 
     bool isEqual(const ScriptCallFrame&) const;
 
-#if ENABLE(INSPECTOR)
     Ref<Inspector::Protocol::Console::CallFrame> buildInspectorObject() const;
-#endif
 
 private:
     String m_functionName;
index 99df836..49b0719 100644 (file)
@@ -106,7 +106,6 @@ bool ScriptCallStack::isEqual(ScriptCallStack* o) const
     return true;
 }
 
-#if ENABLE(INSPECTOR)
 Ref<Inspector::Protocol::Console::StackTrace> ScriptCallStack::buildInspectorArray() const
 {
     auto frames = Inspector::Protocol::Console::StackTrace::create();
@@ -114,6 +113,5 @@ Ref<Inspector::Protocol::Console::StackTrace> ScriptCallStack::buildInspectorArr
         frames->addItem(m_frames.at(i).buildInspectorObject());
     return WTF::move(frames);
 }
-#endif
 
 } // namespace Inspector
index 253d852..d2cbb65 100644 (file)
 #ifndef ScriptCallStack_h
 #define ScriptCallStack_h
 
+#include "InspectorProtocolObjects.h"
 #include "ScriptCallFrame.h"
 #include <wtf/Forward.h>
 #include <wtf/RefCounted.h>
 #include <wtf/Vector.h>
 
-#if ENABLE(INSPECTOR)
-#include "InspectorProtocolObjects.h"
-#endif
-
 namespace Inspector {
 
 class JS_EXPORT_PRIVATE ScriptCallStack : public RefCounted<ScriptCallStack> {
@@ -61,9 +58,7 @@ public:
 
     bool isEqual(ScriptCallStack*) const;
 
-#if ENABLE(INSPECTOR)
     Ref<Inspector::Protocol::Console::StackTrace> buildInspectorArray() const;
-#endif
 
 private:
     ScriptCallStack();
index db94faf..235f0e0 100644 (file)
@@ -31,8 +31,6 @@
 #include "config.h"
 #include "ScriptDebugServer.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "DebuggerCallFrame.h"
 #include "DebuggerScope.h"
 #include "JSJavaScriptCallFrame.h"
@@ -349,5 +347,3 @@ Deprecated::ScriptValue ScriptDebugServer::exceptionOrCaughtValue(JSC::ExecState
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index 4f695a7..e62ec2e 100644 (file)
@@ -31,8 +31,6 @@
 #include "config.h"
 #include "InspectorAgent.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorEnvironment.h"
 #include "InspectorValues.h"
 #include "ScriptValue.h"
@@ -152,5 +150,3 @@ void InspectorAgent::activateExtraDomains(const Vector<String>& extraDomains)
 #endif
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index 730dce6..38c9eef 100644 (file)
@@ -30,8 +30,6 @@
 #ifndef InspectorAgent_h
 #define InspectorAgent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorBackendDispatchers.h"
 #include "InspectorFrontendDispatchers.h"
 #include "inspector/InspectorAgentBase.h"
@@ -83,6 +81,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorAgent_h)
index 49c7fc1..0505119 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "InspectorConsoleAgent.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "ConsoleMessage.h"
 #include "InjectedScriptManager.h"
 #include "ScriptArguments.h"
@@ -223,5 +221,3 @@ void InspectorConsoleAgent::addConsoleMessage(std::unique_ptr<ConsoleMessage> co
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index 7833be2..7262c07 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef InspectorConsoleAgent_h
 #define InspectorConsoleAgent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorBackendDispatchers.h"
 #include "InspectorFrontendDispatchers.h"
 #include "inspector/InspectorAgentBase.h"
@@ -95,6 +93,4 @@ protected:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorConsoleAgent_h)
index 3fdc0ec..3ae7609 100644 (file)
@@ -30,8 +30,6 @@
 #include "config.h"
 #include "InspectorDebuggerAgent.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "ContentSearchUtilities.h"
 #include "InjectedScript.h"
 #include "InjectedScriptManager.h"
@@ -829,5 +827,3 @@ void InspectorDebuggerAgent::clearExceptionValue()
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index ab96198..9be3233 100644 (file)
@@ -30,8 +30,6 @@
 #ifndef InspectorDebuggerAgent_h
 #define InspectorDebuggerAgent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorBackendDispatchers.h"
 #include "InspectorFrontendDispatchers.h"
 #include "bindings/ScriptValue.h"
@@ -178,6 +176,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorDebuggerAgent_h)
index 2da7643..7a5e29e 100644 (file)
@@ -32,8 +32,6 @@
 #include "config.h"
 #include "InspectorRuntimeAgent.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "Completion.h"
 #include "HeapIterationScope.h"
 #include "InjectedScript.h"
@@ -345,5 +343,3 @@ void InspectorRuntimeAgent::getBasicBlocks(ErrorString& errorString, const Strin
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index e92dfae..4e793c4 100644 (file)
@@ -32,8 +32,6 @@
 #ifndef InspectorRuntimeAgent_h
 #define InspectorRuntimeAgent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorBackendDispatchers.h"
 #include "InspectorFrontendDispatchers.h"
 #include "inspector/InspectorAgentBase.h"
@@ -99,5 +97,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
 #endif // InspectorRuntimeAgent_h
index 7d48d03..fe112dd 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "JSGlobalObjectConsoleAgent.h"
 
-#if ENABLE(INSPECTOR)
-
 namespace Inspector {
 
 JSGlobalObjectConsoleAgent::JSGlobalObjectConsoleAgent(InjectedScriptManager* injectedScriptManager)
@@ -46,5 +44,3 @@ void JSGlobalObjectConsoleAgent::addInspectedNode(ErrorString& errorString, int)
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index b7e1b30..0d79c5d 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef JSGlobalObjectConsoleAgent_h
 #define JSGlobalObjectConsoleAgent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorConsoleAgent.h"
 #include "JSGlobalObjectScriptDebugServer.h"
 
@@ -49,6 +47,4 @@ public:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(JSGlobalObjectConsoleAgent_h)
index 3674abf..9ae76c6 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "JSGlobalObjectDebuggerAgent.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "ConsoleMessage.h"
 #include "InjectedScriptManager.h"
 #include "InspectorConsoleAgent.h"
@@ -74,5 +72,3 @@ void JSGlobalObjectDebuggerAgent::breakpointActionLog(JSC::ExecState* exec, cons
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index 8c1f651..ac6b871 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef JSGlobalObjectDebuggerAgent_h
 #define JSGlobalObjectDebuggerAgent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorDebuggerAgent.h"
 #include "JSGlobalObjectScriptDebugServer.h"
 
@@ -62,6 +60,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(JSGlobalObjectDebuggerAgent_h)
index 74061c5..dc44cc7 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "JSGlobalObjectRuntimeAgent.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "InjectedScript.h"
 #include "InjectedScriptManager.h"
 #include "JSGlobalObject.h"
@@ -74,5 +72,3 @@ InjectedScript JSGlobalObjectRuntimeAgent::injectedScriptForEval(ErrorString& er
 }
 
 } // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
index 8fb811e..c65068e 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef JSGlobalObjectRuntimeAgent_h
 #define JSGlobalObjectRuntimeAgent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorRuntimeAgent.h"
 
 namespace JSC {
@@ -59,6 +57,4 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(JSGlobalObjectRuntimeAgent_h)
index 45c5417..00286aa 100755 (executable)
@@ -33,8 +33,6 @@ class CppGeneratorTemplates:
     """#ifndef ${headerGuardString}
 #define ${headerGuardString}
 
-#if ENABLE(INSPECTOR)
-
 ${includes}
 
 namespace Inspector {
@@ -44,24 +42,18 @@ ${typedefs}""")
     HeaderPostlude = (
     """} // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(${headerGuardString})""")
 
     ImplementationPrelude = (
     """#include "config.h"
 #include ${primaryInclude}
 
-#if ENABLE(INSPECTOR)
-
 ${secondaryIncludes}
 
 namespace Inspector {""")
 
     ImplementationPostlude = (
     """} // namespace Inspector
-
-#endif // ENABLE(INSPECTOR)
 """)
 
     AlternateDispatchersHeaderPrelude = (
index c5e742c..cff989e 100644 (file)
@@ -139,8 +139,6 @@ InspectorBackend.activateDomain("Database");
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -208,8 +206,6 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -247,8 +243,6 @@ private:
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -512,8 +506,6 @@ void InspectorDatabaseBackendDispatcher::executeSQLAsync(long callId, const Insp
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -550,8 +542,6 @@ void InspectorDatabaseBackendDispatcher::executeSQLAsync(long callId, const Insp
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -563,8 +553,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -602,16 +590,12 @@ namespace Inspector {
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -648,8 +632,6 @@ namespace Inspector {
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -762,8 +744,6 @@ public:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -801,8 +781,6 @@ public:
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -829,8 +807,6 @@ String getEnumConstantValue(int code) {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index a3e3516..9058710 100644 (file)
@@ -134,8 +134,6 @@ InspectorBackend.activateDomain("Database");
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -189,8 +187,6 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -228,8 +224,6 @@ private:
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -405,8 +399,6 @@ void InspectorDatabaseBackendDispatcher::executeNoOptionalParameters(long callId
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -443,8 +435,6 @@ void InspectorDatabaseBackendDispatcher::executeNoOptionalParameters(long callId
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -456,8 +446,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -495,16 +483,12 @@ namespace Inspector {
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -541,8 +525,6 @@ namespace Inspector {
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -655,8 +637,6 @@ public:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -694,8 +674,6 @@ public:
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -722,8 +700,6 @@ String getEnumConstantValue(int code) {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index 0000275..aed03a1 100644 (file)
@@ -152,8 +152,6 @@ InspectorBackend.activateDomain("Network3");
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -229,8 +227,6 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -268,8 +264,6 @@ private:
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -487,8 +481,6 @@ void InspectorNetwork3BackendDispatcher::loadResource7(long callId, const Inspec
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -525,8 +517,6 @@ void InspectorNetwork3BackendDispatcher::loadResource7(long callId, const Inspec
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -538,8 +528,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -577,16 +565,12 @@ namespace Inspector {
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -623,8 +607,6 @@ namespace Inspector {
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -656,8 +638,6 @@ template<typename T> String getEnumConstantValue(T enumValue)
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -695,8 +675,6 @@ template<typename T> String getEnumConstantValue(T enumValue)
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -716,8 +694,6 @@ String getEnumConstantValue(int code) {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index 90bf4ec..1fab236 100644 (file)
@@ -140,8 +140,6 @@ InspectorBackend.activateDomain("EventDomain");
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -187,8 +185,6 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -226,8 +222,6 @@ private:
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -287,8 +281,6 @@ void InspectorCommandDomainBackendDispatcher::commandWithEnumReturnValue(long ca
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -325,8 +317,6 @@ void InspectorCommandDomainBackendDispatcher::commandWithEnumReturnValue(long ca
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -352,8 +342,6 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -391,8 +379,6 @@ private:
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -410,8 +396,6 @@ void InspectorEventDomainFrontendDispatcher::eventWithEnumParameter(Parameter pa
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -448,8 +432,6 @@ void InspectorEventDomainFrontendDispatcher::eventWithEnumParameter(Parameter pa
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -491,8 +473,6 @@ enum class TypeDomainEnum {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -530,8 +510,6 @@ enum class TypeDomainEnum {
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -560,8 +538,6 @@ String getEnumConstantValue(int code) {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index 6ef90cb..cb10334 100644 (file)
@@ -129,8 +129,6 @@ InspectorBackend.activateDomain("Database");
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -143,8 +141,6 @@ typedef String ErrorString;
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -182,8 +178,6 @@ typedef String ErrorString;
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -198,8 +192,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -236,8 +228,6 @@ namespace Inspector {
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -258,8 +248,6 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -297,8 +285,6 @@ private:
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -352,8 +338,6 @@ void InspectorDatabaseFrontendDispatcher::didExecuteNoOptionalParameters(RefPtr<
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -390,8 +374,6 @@ void InspectorDatabaseFrontendDispatcher::didExecuteNoOptionalParameters(RefPtr<
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -498,8 +480,6 @@ public:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -537,8 +517,6 @@ public:
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -558,8 +536,6 @@ String getEnumConstantValue(int code) {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index abb7019..d9a2b1e 100644 (file)
@@ -138,8 +138,6 @@ InspectorBackend.activateDomain("Network3");
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -184,8 +182,6 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -223,8 +219,6 @@ private:
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -284,8 +278,6 @@ void InspectorNetwork1BackendDispatcher::loadResource(long callId, const Inspect
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -322,8 +314,6 @@ void InspectorNetwork1BackendDispatcher::loadResource(long callId, const Inspect
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -345,8 +335,6 @@ private:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -384,8 +372,6 @@ private:
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -402,8 +388,6 @@ void InspectorNetwork3FrontendDispatcher::resourceLoaded()
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -440,8 +424,6 @@ void InspectorNetwork3FrontendDispatcher::resourceLoaded()
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -544,8 +526,6 @@ public:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -583,8 +563,6 @@ public:
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -604,8 +582,6 @@ String getEnumConstantValue(int code) {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index 35997e3..9b3af28 100644 (file)
@@ -123,8 +123,6 @@ private:
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -137,8 +135,6 @@ typedef String ErrorString;
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -176,8 +172,6 @@ typedef String ErrorString;
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -192,8 +186,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -230,8 +222,6 @@ namespace Inspector {
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -243,8 +233,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -282,16 +270,12 @@ namespace Inspector {
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -328,8 +312,6 @@ namespace Inspector {
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -366,8 +348,6 @@ template<typename T> String getEnumConstantValue(T enumValue)
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -405,8 +385,6 @@ template<typename T> String getEnumConstantValue(T enumValue)
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -426,8 +404,6 @@ String getEnumConstantValue(int code) {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index e52a37d..38ad799 100644 (file)
@@ -123,8 +123,6 @@ private:
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -137,8 +135,6 @@ typedef String ErrorString;
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -176,8 +172,6 @@ typedef String ErrorString;
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -192,8 +186,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -230,8 +222,6 @@ namespace Inspector {
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -243,8 +233,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -282,16 +270,12 @@ namespace Inspector {
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -328,8 +312,6 @@ namespace Inspector {
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -436,8 +418,6 @@ public:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -475,8 +455,6 @@ public:
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -499,8 +477,6 @@ String getEnumConstantValue(int code) {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index 3cc640c..af1d530 100644 (file)
@@ -123,8 +123,6 @@ private:
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -137,8 +135,6 @@ typedef String ErrorString;
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -176,8 +172,6 @@ typedef String ErrorString;
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -192,8 +186,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -230,8 +222,6 @@ namespace Inspector {
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -243,8 +233,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -282,16 +270,12 @@ namespace Inspector {
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -328,8 +312,6 @@ namespace Inspector {
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -361,8 +343,6 @@ template<typename T> String getEnumConstantValue(T enumValue)
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -400,8 +380,6 @@ template<typename T> String getEnumConstantValue(T enumValue)
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -421,8 +399,6 @@ String getEnumConstantValue(int code) {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index 00edaae..4da97f4 100644 (file)
@@ -126,8 +126,6 @@ InspectorBackend.registerEnum("Debugger.Reason", {Died: "Died", Fainted: "Fainte
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -140,8 +138,6 @@ typedef String ErrorString;
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -179,8 +175,6 @@ typedef String ErrorString;
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -195,8 +189,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -233,8 +225,6 @@ namespace Inspector {
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -246,8 +236,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -285,16 +273,12 @@ namespace Inspector {
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -331,8 +315,6 @@ namespace Inspector {
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -386,8 +368,6 @@ enum class Reason {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -425,8 +405,6 @@ enum class Reason {
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -449,8 +427,6 @@ String getEnumConstantValue(int code) {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index b04876e..fb4aed2 100644 (file)
@@ -127,8 +127,6 @@ InspectorBackend.registerEnum("Runtime.TwoLeggedAnimals", {Ducks: "Ducks", Hens:
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -141,8 +139,6 @@ typedef String ErrorString;
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -180,8 +176,6 @@ typedef String ErrorString;
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -196,8 +190,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -234,8 +226,6 @@ namespace Inspector {
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -247,8 +237,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -286,16 +274,12 @@ namespace Inspector {
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -332,8 +316,6 @@ namespace Inspector {
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -383,8 +365,6 @@ enum class TwoLeggedAnimals {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -422,8 +402,6 @@ enum class TwoLeggedAnimals {
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -450,8 +428,6 @@ String getEnumConstantValue(int code) {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index 3a5bf08..9fbb5f5 100644 (file)
@@ -123,8 +123,6 @@ private:
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -137,8 +135,6 @@ typedef String ErrorString;
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -176,8 +172,6 @@ typedef String ErrorString;
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -192,8 +186,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -230,8 +222,6 @@ namespace Inspector {
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -243,8 +233,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -282,16 +270,12 @@ namespace Inspector {
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -328,8 +312,6 @@ namespace Inspector {
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -826,8 +808,6 @@ public:
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -865,8 +845,6 @@ public:
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -886,8 +864,6 @@ String getEnumConstantValue(int code) {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index ebd3e2c..045ccb8 100644 (file)
@@ -127,8 +127,6 @@ InspectorBackend.registerEnum("Test.CastedAnimals", {Ducks: "Ducks", Hens: "Hens
 #ifndef InspectorBackendDispatchers_h
 #define InspectorBackendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorBackendDispatcher.h>
 #include <wtf/text/WTFString.h>
@@ -141,8 +139,6 @@ typedef String ErrorString;
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorBackendDispatchers_h)
 ### End File: InspectorBackendDispatchers.h
 
@@ -180,8 +176,6 @@ typedef String ErrorString;
 #include "config.h"
 #include "InspectorBackendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
 #include <wtf/text/CString.h>
@@ -196,8 +190,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorBackendDispatchers.cpp
 
 ### Begin File: InspectorFrontendDispatchers.h
@@ -234,8 +226,6 @@ namespace Inspector {
 #ifndef InspectorFrontendDispatchers_h
 #define InspectorFrontendDispatchers_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorProtocolObjects.h"
 #include <inspector/InspectorFrontendChannel.h>
 #include <inspector/InspectorValues.h>
@@ -247,8 +237,6 @@ namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorFrontendDispatchers_h)
 ### End File: InspectorFrontendDispatchers.h
 
@@ -286,16 +274,12 @@ namespace Inspector {
 #include "config.h"
 #include "InspectorFrontendDispatchers.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorFrontendDispatchers.cpp
 
 ### Begin File: InspectorProtocolObjects.h
@@ -332,8 +316,6 @@ namespace Inspector {
 #ifndef InspectorProtocolObjects_h
 #define InspectorProtocolObjects_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorProtocolTypes.h>
 #include <wtf/Assertions.h>
 
@@ -605,8 +587,6 @@ static void assertValueHasExpectedType(Inspector::InspectorValue*);
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorProtocolObjects_h)
 ### End File: InspectorProtocolObjects.h
 
@@ -644,8 +624,6 @@ static void assertValueHasExpectedType(Inspector::InspectorValue*);
 #include "config.h"
 #include "InspectorProtocolObjects.h"
 
-#if ENABLE(INSPECTOR)
-
 #include <wtf/text/CString.h>
 
 namespace Inspector {
@@ -777,8 +755,6 @@ void BindingTraits<Inspector::Protocol::Test::RecursiveObject2>::assertValueHasE
 
 } // namespace Inspector
 
-#endif // ENABLE(INSPECTOR)
-
 ### End File: InspectorProtocolObjects.cpp
 
 ### Begin File: RWIProtocolBackendDispatchers.h
index 2a552f8..ff9218f 100644 (file)
@@ -236,7 +236,6 @@ String TypeSet::leastCommonAncestor() const
     return StructureShape::leastCommonAncestor(m_structureHistory);
 }
 
-#if ENABLE(INSPECTOR)
 Ref<Inspector::Protocol::Array<Inspector::Protocol::Runtime::StructureDescription>> TypeSet::allStructureRepresentations() const
 {
     auto description = Inspector::Protocol::Array<Inspector::Protocol::Runtime::StructureDescription>::create();
@@ -260,7 +259,6 @@ Ref<Inspector::Protocol::Runtime::TypeSet> TypeSet::inspectorTypeSet() const
         .setIsObject((m_seenTypes & TypeObject) != TypeNothing)
         .release();
 }
-#endif
 
 String TypeSet::toJSONString() const
 {
@@ -510,7 +508,6 @@ String StructureShape::toJSONString() const
     return json.toString();
 }
 
-#if ENABLE(INSPECTOR)
 Ref<Inspector::Protocol::Runtime::StructureDescription> StructureShape::inspectorRepresentation()
 {
     auto base = Inspector::Protocol::Runtime::StructureDescription::create().release();
@@ -541,7 +538,6 @@ Ref<Inspector::Protocol::Runtime::StructureDescription> StructureShape::inspecto
 
     return WTF::move(base);
 }
-#endif
 
 bool StructureShape::hasSamePrototypeChain(PassRefPtr<StructureShape> prpOther)
 {
index 1f05014..7e0b3d2 100644 (file)
@@ -1,47 +1,45 @@
 add_subdirectory(${WEBCORE_DIR}/platform/efl/DefaultTheme)
 
-if (ENABLE_INSPECTOR)
-    add_custom_target(
-        web-inspector-resources ALL
-        COMMAND ${CMAKE_COMMAND} -E copy_directory ${WEBINSPECTORUI_DIR}/UserInterface ${WEB_INSPECTOR_DIR}
-        COMMAND ${CMAKE_COMMAND} -E copy ${DERIVED_SOURCES_WEBINSPECTORUI_DIR}/UserInterface/Protocol/InspectorBackendCommands.js ${WEB_INSPECTOR_DIR}/Protocol
-        COMMAND ${CMAKE_COMMAND} -E copy ${WEBINSPECTORUI_DIR}/Localizations/en.lproj/localizedStrings.js ${WEB_INSPECTOR_DIR}
-        COMMAND ${CMAKE_COMMAND} -E copy ${WEBKIT2_DIR}/UIProcess/InspectorServer/front-end/inspectorPageIndex.html ${WEB_INSPECTOR_DIR}
-        DEPENDS JavaScriptCore WebCore
-        WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
-    )
-    install(DIRECTORY "${CMAKE_BINARY_DIR}/${WEB_INSPECTOR_DIR}"
-        DESTINATION ${DATA_INSTALL_DIR}
-        FILES_MATCHING PATTERN "*.js"
-                       PATTERN "*.html"
-                       PATTERN "*.css"
-                       PATTERN "*.gif"
-                       PATTERN "*.png"
-                       PATTERN "*.svg")
+add_custom_target(
+    web-inspector-resources ALL
+    COMMAND ${CMAKE_COMMAND} -E copy_directory ${WEBINSPECTORUI_DIR}/UserInterface ${WEB_INSPECTOR_DIR}
+    COMMAND ${CMAKE_COMMAND} -E copy ${DERIVED_SOURCES_WEBINSPECTORUI_DIR}/UserInterface/Protocol/InspectorBackendCommands.js ${WEB_INSPECTOR_DIR}/Protocol
+    COMMAND ${CMAKE_COMMAND} -E copy ${WEBINSPECTORUI_DIR}/Localizations/en.lproj/localizedStrings.js ${WEB_INSPECTOR_DIR}
+    COMMAND ${CMAKE_COMMAND} -E copy ${WEBKIT2_DIR}/UIProcess/InspectorServer/front-end/inspectorPageIndex.html ${WEB_INSPECTOR_DIR}
+    DEPENDS JavaScriptCore WebCore
+    WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
+)
+install(DIRECTORY "${CMAKE_BINARY_DIR}/${WEB_INSPECTOR_DIR}"
+    DESTINATION ${DATA_INSTALL_DIR}
+    FILES_MATCHING PATTERN "*.js"
+                   PATTERN "*.html"
+                   PATTERN "*.css"
+                   PATTERN "*.gif"
+                   PATTERN "*.png"
+                   PATTERN "*.svg")
 
-    find_program(UGLIFYJS_EXECUTABLE uglifyjs)
-    if (UGLIFYJS_EXECUTABLE AND (NOT ${CMAKE_BUILD_TYPE} STREQUAL "Debug"))
-        file(GLOB frontend_js_files "${WEBINSPECTORUI_DIR}/UserInterface/*.js")
-        set(all_js_files
-            ${frontend_js_files}
-            "${WEBINSPECTORUI_DIR}/Localizations/en.lproj/localizedStrings.js"
-        )
+find_program(UGLIFYJS_EXECUTABLE uglifyjs)
+if (UGLIFYJS_EXECUTABLE AND (NOT ${CMAKE_BUILD_TYPE} STREQUAL "Debug"))
+    file(GLOB frontend_js_files "${WEBINSPECTORUI_DIR}/UserInterface/*.js")
+    set(all_js_files
+        ${frontend_js_files}
+        "${WEBINSPECTORUI_DIR}/Localizations/en.lproj/localizedStrings.js"
+    )
 
-        foreach (js_file ${all_js_files})
-            get_filename_component(filename ${js_file} NAME)
-            install(CODE
-                "execute_process(
-                    COMMAND ${UGLIFYJS_EXECUTABLE} --overwrite ${filename}
-                    WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${WEB_INSPECTOR_DIR})")
-        endforeach ()
+    foreach (js_file ${all_js_files})
+        get_filename_component(filename ${js_file} NAME)
+        install(CODE
+            "execute_process(
+                COMMAND ${UGLIFYJS_EXECUTABLE} --overwrite ${filename}
+                WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${WEB_INSPECTOR_DIR})")
+    endforeach ()
 
-        file(GLOB codemirror_js_files "${WEBINSPECTORUI_DIR}/UserInterface/External/CodeMirror/*.js")
-        foreach (js_file ${codemirror_js_files})
-            get_filename_component(filename ${js_file} NAME)
-            install(CODE
-                "execute_process(
-                    COMMAND ${UGLIFYJS_EXECUTABLE} --overwrite ${filename}
-                    WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${WEB_INSPECTOR_DIR}/External/CodeMirror/)")
-        endforeach ()
-    endif ()
+    file(GLOB codemirror_js_files "${WEBINSPECTORUI_DIR}/UserInterface/External/CodeMirror/*.js")
+    foreach (js_file ${codemirror_js_files})
+        get_filename_component(filename ${js_file} NAME)
+        install(CODE
+            "execute_process(
+                COMMAND ${UGLIFYJS_EXECUTABLE} --overwrite ${filename}
+                WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${WEB_INSPECTOR_DIR}/External/CodeMirror/)")
+    endforeach ()
 endif ()
index e0ab5b4..4657c06 100644 (file)
@@ -1,3 +1,12 @@
+2015-01-21  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Remove ENABLE(INSPECTOR) ifdef guards
+        https://bugs.webkit.org/show_bug.cgi?id=140668
+
+        Reviewed by Darin Adler.
+
+        * wtf/FeatureDefines.h:
+
 2015-01-20  YunQiang Su  <wzssyqa@gmail.com>
 
         Fix failed to build for Linux/MIPS64EL
index 98b271c..beb4042 100644 (file)
@@ -755,10 +755,6 @@ the public iOS SDK. We will also need to update the FeatureDefines.xcconfig file
 #error "ENABLE(MEDIA_CONTROLS_SCRIPT) requires ENABLE(VIDEO)"
 #endif
 
-#if ENABLE(REMOTE_INSPECTOR) && !ENABLE(INSPECTOR)
-#error "ENABLE(REMOTE_INSPECTOR) requires ENABLE(INSPECTOR)"
-#endif
-
 #if ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS) && !ENABLE(REMOTE_INSPECTOR)
 #error "ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS) requires ENABLE(REMOTE_INSPECTOR)"
 #endif
index 9d16216..a474ad5 100644 (file)
@@ -1,3 +1,303 @@
+2015-01-21  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Remove ENABLE(INSPECTOR) ifdef guards
+        https://bugs.webkit.org/show_bug.cgi?id=140668
+
+        Reviewed by Darin Adler.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * WebCore.exp.in:
+        * bindings/js/JSCommandLineAPIHostCustom.cpp:
+        * bindings/js/JSDOMWindowBase.cpp:
+        (WebCore::JSDOMWindowBase::supportsProfiling):
+        (WebCore::JSDOMWindowBase::supportsRichSourceInfo):
+        * bindings/js/JSInspectorFrontendHostCustom.cpp:
+        * bindings/js/ScriptController.cpp:
+        (WebCore::ScriptController::collectIsolatedContexts):
+        * bindings/js/ScriptController.h:
+        * bindings/js/ScriptGlobalObject.cpp:
+        (WebCore::ScriptGlobalObject::set):
+        * bindings/js/ScriptGlobalObject.h:
+        * bindings/js/WorkerScriptDebugServer.cpp:
+        * bindings/js/WorkerScriptDebugServer.h:
+        * dom/Node.cpp:
+        (WebCore::Node::inspect):
+        * inspector/CommandLineAPIHost.cpp:
+        * inspector/CommandLineAPIHost.idl:
+        * inspector/CommandLineAPIModule.cpp:
+        * inspector/CommandLineAPIModule.h:
+        * inspector/DOMEditor.cpp:
+        * inspector/DOMEditor.h:
+        * inspector/DOMPatchSupport.cpp:
+        * inspector/DOMPatchSupport.h:
+        * inspector/InspectorApplicationCacheAgent.cpp:
+        * inspector/InspectorApplicationCacheAgent.h:
+        * inspector/InspectorCSSAgent.cpp:
+        * inspector/InspectorCSSAgent.h:
+        * inspector/InspectorClient.cpp:
+        * inspector/InspectorConsoleInstrumentation.h:
+        (WebCore::InspectorInstrumentation::addMessageToConsole):
+        (WebCore::InspectorInstrumentation::consoleCount):
+        (WebCore::InspectorInstrumentation::startConsoleTiming):
+        (WebCore::InspectorInstrumentation::stopConsoleTiming):
+        (WebCore::InspectorInstrumentation::consoleTimeStamp):
+        (WebCore::InspectorInstrumentation::startProfiling):
+        (WebCore::InspectorInstrumentation::stopProfiling):
+        * inspector/InspectorController.cpp:
+        * inspector/InspectorController.h:
+        * inspector/InspectorDOMAgent.cpp:
+        * inspector/InspectorDOMAgent.h:
+        * inspector/InspectorDOMDebuggerAgent.cpp:
+        * inspector/InspectorDOMDebuggerAgent.h:
+        * inspector/InspectorDOMStorageAgent.cpp:
+        * inspector/InspectorDatabaseAgent.cpp:
+        * inspector/InspectorDatabaseAgent.h:
+        * inspector/InspectorDatabaseInstrumentation.h:
+        (WebCore::InspectorInstrumentation::didOpenDatabase):
+        * inspector/InspectorDatabaseResource.cpp:
+        * inspector/InspectorDatabaseResource.h:
+        * inspector/InspectorFrontendClientLocal.cpp:
+        * inspector/InspectorFrontendHost.cpp:
+        * inspector/InspectorFrontendHost.idl:
+        * inspector/InspectorHistory.cpp:
+        * inspector/InspectorHistory.h:
+        * inspector/InspectorIndexedDBAgent.cpp:
+        * inspector/InspectorIndexedDBAgent.h:
+        * inspector/InspectorInstrumentation.cpp:
+        * inspector/InspectorInstrumentation.h:
+        (WebCore::InspectorInstrumentation::didClearWindowObjectInWorld):
+        (WebCore::InspectorInstrumentation::isDebuggerPaused):
+        (WebCore::InspectorInstrumentation::willInsertDOMNode):
+        (WebCore::InspectorInstrumentation::didInsertDOMNode):
+        (WebCore::InspectorInstrumentation::willRemoveDOMNode):
+        (WebCore::InspectorInstrumentation::didRemoveDOMNode):
+        (WebCore::InspectorInstrumentation::willModifyDOMAttr):
+        (WebCore::InspectorInstrumentation::didModifyDOMAttr):
+        (WebCore::InspectorInstrumentation::didRemoveDOMAttr):
+        (WebCore::InspectorInstrumentation::didInvalidateStyleAttr):
+        (WebCore::InspectorInstrumentation::frameWindowDiscarded):
+        (WebCore::InspectorInstrumentation::mediaQueryResultChanged):
+        (WebCore::InspectorInstrumentation::didPushShadowRoot):
+        (WebCore::InspectorInstrumentation::willPopShadowRoot):
+        (WebCore::InspectorInstrumentation::didCreateNamedFlow):
+        (WebCore::InspectorInstrumentation::willRemoveNamedFlow):
+        (WebCore::InspectorInstrumentation::didChangeRegionOverset):
+        (WebCore::InspectorInstrumentation::didRegisterNamedFlowContentElement):
+        (WebCore::InspectorInstrumentation::didUnregisterNamedFlowContentElement):
+        (WebCore::InspectorInstrumentation::mouseDidMoveOverElement):
+        (WebCore::InspectorInstrumentation::handleTouchEvent):
+        (WebCore::InspectorInstrumentation::handleMousePress):
+        (WebCore::InspectorInstrumentation::forcePseudoState):
+        (WebCore::InspectorInstrumentation::characterDataModified):
+        (WebCore::InspectorInstrumentation::willSendXMLHttpRequest):
+        (WebCore::InspectorInstrumentation::didInstallTimer):
+        (WebCore::InspectorInstrumentation::didRemoveTimer):
+        (WebCore::InspectorInstrumentation::willCallFunction):
+        (WebCore::InspectorInstrumentation::didCallFunction):
+        (WebCore::InspectorInstrumentation::willDispatchXHRReadyStateChangeEvent):
+        (WebCore::InspectorInstrumentation::didDispatchXHRReadyStateChangeEvent):
+        (WebCore::InspectorInstrumentation::willDispatchEvent):
+        (WebCore::InspectorInstrumentation::didDispatchEvent):
+        (WebCore::InspectorInstrumentation::willHandleEvent):
+        (WebCore::InspectorInstrumentation::didHandleEvent):
+        (WebCore::InspectorInstrumentation::willDispatchEventOnWindow):
+        (WebCore::InspectorInstrumentation::didDispatchEventOnWindow):
+        (WebCore::InspectorInstrumentation::willEvaluateScript):
+        (WebCore::InspectorInstrumentation::didEvaluateScript):
+        (WebCore::InspectorInstrumentation::scriptsEnabled):
+        (WebCore::InspectorInstrumentation::willFireTimer):
+        (WebCore::InspectorInstrumentation::didFireTimer):
+        (WebCore::InspectorInstrumentation::didInvalidateLayout):
+        (WebCore::InspectorInstrumentation::willLayout):
+        (WebCore::InspectorInstrumentation::didLayout):
+        (WebCore::InspectorInstrumentation::didScroll):
+        (WebCore::InspectorInstrumentation::willDispatchXHRLoadEvent):
+        (WebCore::InspectorInstrumentation::didDispatchXHRLoadEvent):
+        (WebCore::InspectorInstrumentation::willPaint):
+        (WebCore::InspectorInstrumentation::didPaint):
+        (WebCore::InspectorInstrumentation::willScrollLayer):
+        (WebCore::InspectorInstrumentation::didScrollLayer):
+        (WebCore::InspectorInstrumentation::willRecalculateStyle):
+        (WebCore::InspectorInstrumentation::didRecalculateStyle):
+        (WebCore::InspectorInstrumentation::didScheduleStyleRecalculation):
+        (WebCore::InspectorInstrumentation::applyEmulatedMedia):
+        (WebCore::InspectorInstrumentation::willSendRequest):
+        (WebCore::InspectorInstrumentation::continueAfterPingLoader):
+        (WebCore::InspectorInstrumentation::markResourceAsCached):
+        (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCache):
+        (WebCore::InspectorInstrumentation::willReceiveResourceResponse):
+        (WebCore::InspectorInstrumentation::didReceiveResourceResponse):
+        (WebCore::InspectorInstrumentation::continueAfterXFrameOptionsDenied):
+        (WebCore::InspectorInstrumentation::continueWithPolicyDownload):
+        (WebCore::InspectorInstrumentation::continueWithPolicyIgnore):
+        (WebCore::InspectorInstrumentation::didReceiveData):
+        (WebCore::InspectorInstrumentation::didFinishLoading):
+        (WebCore::InspectorInstrumentation::didFailLoading):
+        (WebCore::InspectorInstrumentation::documentThreadableLoaderStartedLoadingForClient):
+        (WebCore::InspectorInstrumentation::willLoadXHR):
+        (WebCore::InspectorInstrumentation::didFailXHRLoading):
+        (WebCore::InspectorInstrumentation::didFinishXHRLoading):
+        (WebCore::InspectorInstrumentation::didReceiveXHRResponse):
+        (WebCore::InspectorInstrumentation::willLoadXHRSynchronously):
+        (WebCore::InspectorInstrumentation::didLoadXHRSynchronously):
+        (WebCore::InspectorInstrumentation::scriptImported):
+        (WebCore::InspectorInstrumentation::scriptExecutionBlockedByCSP):
+        (WebCore::InspectorInstrumentation::didReceiveScriptResponse):
+        (WebCore::InspectorInstrumentation::domContentLoadedEventFired):
+        (WebCore::InspectorInstrumentation::loadEventFired):
+        (WebCore::InspectorInstrumentation::frameDetachedFromParent):
+        (WebCore::InspectorInstrumentation::didCommitLoad):
+        (WebCore::InspectorInstrumentation::frameDocumentUpdated):
+        (WebCore::InspectorInstrumentation::loaderDetachedFromFrame):
+        (WebCore::InspectorInstrumentation::frameStartedLoading):
+        (WebCore::InspectorInstrumentation::frameStoppedLoading):
+        (WebCore::InspectorInstrumentation::frameScheduledNavigation):
+        (WebCore::InspectorInstrumentation::frameClearedScheduledNavigation):
+        (WebCore::InspectorInstrumentation::willRunJavaScriptDialog):
+        (WebCore::InspectorInstrumentation::didRunJavaScriptDialog):
+        (WebCore::InspectorInstrumentation::willDestroyCachedResource):
+        (WebCore::InspectorInstrumentation::willWriteHTML):
+        (WebCore::InspectorInstrumentation::didWriteHTML):
+        (WebCore::InspectorInstrumentation::didDispatchDOMStorageEvent):
+        (WebCore::InspectorInstrumentation::shouldPauseDedicatedWorkerOnStart):
+        (WebCore::InspectorInstrumentation::didStartWorkerGlobalScope):
+        (WebCore::InspectorInstrumentation::workerGlobalScopeTerminated):
+        (WebCore::InspectorInstrumentation::didCreateWebSocket):
+        (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequest):
+        (WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponse):
+        (WebCore::InspectorInstrumentation::didCloseWebSocket):
+        (WebCore::InspectorInstrumentation::didReceiveWebSocketFrame):
+        (WebCore::InspectorInstrumentation::didReceiveWebSocketFrameError):
+        (WebCore::InspectorInstrumentation::didSendWebSocketFrame):
+        (WebCore::InspectorInstrumentation::sessionCreated):
+        (WebCore::InspectorInstrumentation::sessionLoaded):
+        (WebCore::InspectorInstrumentation::sessionModified):
+        (WebCore::InspectorInstrumentation::segmentCreated):
+        (WebCore::InspectorInstrumentation::segmentCompleted):
+        (WebCore::InspectorInstrumentation::segmentLoaded):
+        (WebCore::InspectorInstrumentation::segmentUnloaded):
+        (WebCore::InspectorInstrumentation::captureStarted):
+        (WebCore::InspectorInstrumentation::captureStopped):
+        (WebCore::InspectorInstrumentation::playbackStarted):
+        (WebCore::InspectorInstrumentation::playbackPaused):
+        (WebCore::InspectorInstrumentation::playbackFinished):
+        (WebCore::InspectorInstrumentation::playbackHitPosition):
+        (WebCore::InspectorInstrumentation::networkStateChanged):
+        (WebCore::InspectorInstrumentation::updateApplicationCacheStatus):
+        (WebCore::InspectorInstrumentation::didRequestAnimationFrame):
+        (WebCore::InspectorInstrumentation::didCancelAnimationFrame):
+        (WebCore::InspectorInstrumentation::willFireAnimationFrame):
+        (WebCore::InspectorInstrumentation::didFireAnimationFrame):
+        (WebCore::InspectorInstrumentation::layerTreeDidChange):
+        (WebCore::InspectorInstrumentation::renderLayerDestroyed):
+        (WebCore::InspectorInstrumentation::pseudoElementDestroyed):
+        (WebCore::InspectorInstrumentation::instrumentingAgentsForDocument):
+        (WebCore::InspectorInstrumentation::hasFrontends): Deleted.
+        (WebCore::InspectorInstrumentation::consoleAgentEnabled): Deleted.
+        (WebCore::InspectorInstrumentation::runtimeAgentEnabled): Deleted.
+        (WebCore::InspectorInstrumentation::timelineAgentEnabled): Deleted.
+        (WebCore::InspectorInstrumentation::replayAgentEnabled): Deleted.
+        * inspector/InspectorLayerTreeAgent.cpp:
+        * inspector/InspectorLayerTreeAgent.h:
+        * inspector/InspectorOverlay.cpp:
+        * inspector/InspectorPageAgent.cpp:
+        * inspector/InspectorPageAgent.h:
+        * inspector/InspectorReplayAgent.cpp:
+        * inspector/InspectorReplayAgent.h:
+        * inspector/InspectorResourceAgent.cpp:
+        * inspector/InspectorResourceAgent.h:
+        * inspector/InspectorStyleSheet.cpp:
+        * inspector/InspectorStyleSheet.h:
+        * inspector/InspectorStyleTextEditor.cpp:
+        * inspector/InspectorStyleTextEditor.h:
+        * inspector/InspectorTimelineAgent.cpp:
+        * inspector/InspectorTimelineAgent.h:
+        * inspector/InspectorWorkerAgent.cpp:
+        * inspector/InspectorWorkerResource.h:
+        * inspector/InstrumentingAgents.cpp:
+        * inspector/NetworkResourcesData.cpp:
+        * inspector/NetworkResourcesData.h:
+        * inspector/PageConsoleAgent.cpp:
+        * inspector/PageConsoleAgent.h:
+        * inspector/PageDebuggerAgent.cpp:
+        * inspector/PageDebuggerAgent.h:
+        * inspector/PageRuntimeAgent.cpp:
+        * inspector/PageRuntimeAgent.h:
+        * inspector/PageScriptDebugServer.cpp:
+        * inspector/PageScriptDebugServer.h:
+        * inspector/TimelineRecordFactory.cpp:
+        * inspector/WebConsoleAgent.cpp:
+        * inspector/WebConsoleAgent.h:
+        * inspector/WebDebuggerAgent.cpp:
+        * inspector/WebDebuggerAgent.h:
+        * inspector/WebInjectedScriptHost.cpp:
+        * inspector/WebInjectedScriptHost.h:
+        * inspector/WebInjectedScriptManager.cpp:
+        * inspector/WebInjectedScriptManager.h:
+        * inspector/WorkerConsoleAgent.cpp:
+        * inspector/WorkerConsoleAgent.h:
+        * inspector/WorkerDebuggerAgent.cpp:
+        * inspector/WorkerDebuggerAgent.h:
+        * inspector/WorkerInspectorController.cpp:
+        * inspector/WorkerInspectorController.h:
+        * inspector/WorkerRuntimeAgent.cpp:
+        * inspector/WorkerRuntimeAgent.h:
+        * loader/DocumentThreadableLoader.cpp:
+        (WebCore::DocumentThreadableLoader::didReceiveResponse):
+        (WebCore::DocumentThreadableLoader::loadRequest):
+        * loader/FrameLoader.cpp:
+        (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
+        (WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld):
+        * loader/appcache/ApplicationCacheGroup.cpp:
+        (WebCore::ApplicationCacheGroup::createResourceHandle):
+        (WebCore::ApplicationCacheGroup::didReceiveResponse):
+        * loader/appcache/ApplicationCacheHost.cpp:
+        (WebCore::ApplicationCacheHost::applicationCacheInfo):
+        * loader/appcache/ApplicationCacheHost.h:
+        * loader/cache/CachedResourceLoader.cpp:
+        (WebCore::CachedResourceLoader::shouldContinueAfterNotifyingLoadedFromMemoryCache):
+        * page/ContextMenuController.cpp:
+        (WebCore::ContextMenuController::showContextMenu):
+        (WebCore::ContextMenuController::contextMenuItemSelected):
+        (WebCore::ContextMenuController::populate):
+        (WebCore::ContextMenuController::addInspectElementItem):
+        (WebCore::ContextMenuController::checkOrEnableIfNeeded):
+        * page/FrameView.cpp:
+        (WebCore::FrameView::sendResizeEventIfNeeded):
+        * page/Page.cpp:
+        (WebCore::Page::Page):
+        (WebCore::Page::~Page):
+        * page/Page.h:
+        * platform/ContextMenuItem.h:
+        * platform/efl/EflInspectorUtilities.cpp:
+        * platform/efl/EflInspectorUtilities.h:
+        * platform/network/ResourceRequestBase.h:
+        (WebCore::ResourceRequestBase::ResourceRequestBase):
+        * platform/network/cf/ResourceRequestCFNet.cpp:
+        (WebCore::ResourceRequest::updateFromDelegatePreservingOldProperties):
+        * platform/network/cocoa/ResourceRequestCocoa.mm:
+        (WebCore::ResourceRequest::updateFromDelegatePreservingOldProperties):
+        * testing/Internals.cpp:
+        (WebCore::InspectorFrontendChannelDummy::sendMessageToFrontend):
+        (WebCore::Internals::resetToConsistentState):
+        (WebCore::Internals::inspectorHighlightRects):
+        (WebCore::Internals::inspectorHighlightObject):
+        (WebCore::Internals::setInspectorIsUnderTest):
+        * testing/Internals.h:
+        * testing/Internals.idl:
+        * workers/WorkerGlobalScope.cpp:
+        (WebCore::WorkerGlobalScope::WorkerGlobalScope):
+        * workers/WorkerGlobalScope.h:
+        * workers/WorkerGlobalScopeProxy.h:
+        * workers/WorkerMessagingProxy.cpp:
+        (WebCore::WorkerMessagingProxy::WorkerMessagingProxy):
+        (WebCore::WorkerMessagingProxy::sendMessageToInspector):
+        (WebCore::WorkerMessagingProxy::postMessageToPageInspector):
+        * workers/WorkerMessagingProxy.h:
+        * workers/WorkerReportingProxy.h:
+        * workers/WorkerThread.cpp:
+        (WebCore::WorkerThread::workerThread):
+
 2015-01-20  Chris Dumez  <cdumez@apple.com>
 
         Simplify DiagnosticLoggingClient call sites
index 1ace48c..6c4bf5d 100644 (file)
@@ -104,7 +104,6 @@ ENABLE_INPUT_TYPE_DATETIMELOCAL[sdk=iphone*] = ENABLE_INPUT_TYPE_DATETIMELOCAL;
 ENABLE_INPUT_TYPE_MONTH[sdk=iphone*] = ENABLE_INPUT_TYPE_MONTH;
 ENABLE_INPUT_TYPE_TIME[sdk=iphone*] = ENABLE_INPUT_TYPE_TIME;
 ENABLE_INPUT_TYPE_WEEK[sdk=iphone*] = ENABLE_INPUT_TYPE_WEEK;
-ENABLE_INSPECTOR = ENABLE_INSPECTOR;
 
 ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS[sdk=iphone*] = ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS;
 ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS[sdk=macosx*] = $(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR))
@@ -226,4 +225,4 @@ ENABLE_LLINT_C_LOOP = ;
 
 ENABLE_SATURATED_LAYOUT_ARITHMETIC = ENABLE_SATURATED_LAYOUT_ARITHMETIC;
 
-FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_GRID_LAYOUT) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_ICONDATABASE) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RUBBER_BANDING) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_OTF_CONVERTER) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_DATACUE_VALUE) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_PICTURE_SIZES) $(ENABLE_WEB_TIMING) $(ENABLE_WEBVTT_REGIONS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(ENABLE_SATURATED_LAYOUT_ARITHMETIC) $(ENABLE_VIDEO_PRESENTATION_MODE);
+FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_GRID_LAYOUT) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GAMEPAD_DEPRECATED) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_ICONDATABASE) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_HWCONCURRENCY) $(ENABLE_NOTIFICATIONS) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REQUEST_AUTOCOMPLETE) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RUBBER_BANDING) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_OTF_CONVERTER) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_DATACUE_VALUE) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_PICTURE_SIZES) $(ENABLE_WEB_TIMING) $(ENABLE_WEBVTT_REGIONS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(ENABLE_SATURATED_LAYOUT_ARITHMETIC) $(ENABLE_VIDEO_PRESENTATION_MODE);
index d0bb832..0aa6ff4 100644 (file)
@@ -429,6 +429,7 @@ __ZN7WebCore14SQLiteDatabaseD1Ev
 __ZN7WebCore14SchemeRegistry24registerURLSchemeAsLocalERKN3WTF6StringE
 __ZN7WebCore14SchemeRegistry25registerURLSchemeAsSecureERKN3WTF6StringE
 __ZN7WebCore14SchemeRegistry27registerURLSchemeAsNoAccessERKN3WTF6StringE
+__ZN7WebCore14SchemeRegistry27shouldTreatURLSchemeAsLocalERKN3WTF6StringE
 __ZN7WebCore14SchemeRegistry30registerURLSchemeAsCORSEnabledERKN3WTF6StringE
 __ZN7WebCore14SchemeRegistry32registerURLSchemeAsEmptyDocumentERKN3WTF6StringE
 __ZN7WebCore14SchemeRegistry34registerURLSchemeAsDisplayIsolatedERKN3WTF6StringE
@@ -629,6 +630,7 @@ __ZN7WebCore15GraphicsLayerCAD2Ev
 __ZN7WebCore15HitTestLocation12rectForPointERKNS_11LayoutPointEjjjj
 __ZN7WebCore15HitTestLocationC1ERKNS_10FloatPointE
 __ZN7WebCore15HitTestLocationD1Ev
+__ZN7WebCore15InspectorClient31doDispatchMessageOnFrontendPageEPNS_4PageERKN3WTF6StringE
 __ZN7WebCore15JSDOMWindowBase8commonVMEv
 __ZN7WebCore15PasteboardImageC1Ev
 __ZN7WebCore15PasteboardImageD1Ev
@@ -806,6 +808,7 @@ __ZN7WebCore17snapshotFrameRectERNS_5FrameERKNS_7IntRectEj
 __ZN7WebCore17snapshotSelectionERNS_5FrameEj
 __ZN7WebCore17userVisibleStringEP5NSURL
 __ZN7WebCore18DOMWindowExtensionC1EPNS_5FrameERNS_15DOMWrapperWorldE
+__ZN7WebCore18InspectorPageAgent7frameIdEPNS_5FrameE
 __ZN7WebCore18PlatformCALayerMac18setGeometryFlippedEb
 __ZN7WebCore18PlatformCALayerMac22filtersCanBeCompositedERKNS_16FilterOperationsE
 __ZN7WebCore18PlatformCALayerMac25layerTypeForPlatformLayerEP7CALayer
@@ -838,6 +841,14 @@ __ZN7WebCore19AnimationController20pauseAnimationAtTimeEPNS_13RenderElementERKN3
 __ZN7WebCore19AnimationController21pauseTransitionAtTimeEPNS_13RenderElementERKN3WTF6StringEd
 __ZN7WebCore19AnimationController36setAllowsNewAnimationsWhileSuspendedEb
 __ZN7WebCore19HTMLTextAreaElement8setValueERKN3WTF6StringE
+__ZN7WebCore19InspectorController15connectFrontendEPN9Inspector24InspectorFrontendChannelEb
+__ZN7WebCore19InspectorController18disconnectFrontendEN9Inspector25InspectorDisconnectReasonE
+__ZN7WebCore19InspectorController18setProfilerEnabledEb
+__ZN7WebCore19InspectorController25evaluateForTestInFrontendERKN3WTF6StringE
+__ZN7WebCore19InspectorController26setInspectorFrontendClientEPNS_23InspectorFrontendClientE
+__ZN7WebCore19InspectorController27dispatchMessageFromFrontendERKN3WTF6StringE
+__ZN7WebCore19InspectorController4showEv
+__ZN7WebCore19InspectorController5closeEv
 __ZN7WebCore19LayerFlushScheduler10invalidateEv
 __ZN7WebCore19LayerFlushScheduler18layerFlushCallbackEv
 __ZN7WebCore19LayerFlushScheduler6resumeEv
@@ -936,6 +947,9 @@ __ZN7WebCore21CrossThreadCopierBaseILb0ELb0ENS_19IDBDatabaseMetadataEE4copyERKS1
 __ZN7WebCore21DisplayRefreshMonitor46handleDisplayRefreshedNotificationOnMainThreadEPv
 __ZN7WebCore21DisplayRefreshMonitorC2Ej
 __ZN7WebCore21DisplayRefreshMonitorD2Ev
+__ZN7WebCore21InspectorFrontendHost16disconnectClientEv
+__ZN7WebCore21InspectorFrontendHostC1EPNS_23InspectorFrontendClientEPNS_4PageE
+__ZN7WebCore21InspectorFrontendHostD1Ev
 __ZN7WebCore21MemoryPressureHandler12ReliefLogger16s_loggingEnabledE
 __ZN7WebCore21MemoryPressureHandler13releaseMemoryEb
 __ZN7WebCore21MemoryPressureHandler7installEv
@@ -1062,6 +1076,8 @@ __ZN7WebCore24FrameDestructionObserver14willDetachPageEv
 __ZN7WebCore24FrameDestructionObserverC2EPNS_5FrameE
 __ZN7WebCore24FrameDestructionObserverD2Ev
 __ZN7WebCore24ImmutableStylePropertiesD1Ev
+__ZN7WebCore24InspectorInstrumentation17s_frontendCounterE
+__ZN7WebCore24InspectorInstrumentation26instrumentingAgentsForPageEPNS_4PageE
 __ZN7WebCore24StorageNamespaceProviderC2Ev
 __ZN7WebCore24StorageNamespaceProviderD2Ev
 __ZN7WebCore24createFragmentFromMarkupERNS_8DocumentERKN3WTF6StringES5_NS_19ParserContentPolicyE
@@ -1101,6 +1117,33 @@ __ZN7WebCore27reportDeprecatedSetterErrorERN3JSC9ExecStateEPKcS4_
 __ZN7WebCore27startObservingCookieChangesEPFvvE
 __ZN7WebCore28DocumentStyleSheetCollection12addUserSheetEON3WTF3RefINS_18StyleSheetContentsEEE
 __ZN7WebCore28DocumentStyleSheetCollection14addAuthorSheetEON3WTF3RefINS_18StyleSheetContentsEEE
+__ZN7WebCore28InspectorFrontendClientLocal11isUnderTestEv
+__ZN7WebCore28InspectorFrontendClientLocal11showConsoleEv
+__ZN7WebCore28InspectorFrontendClientLocal12moveWindowByEff
+__ZN7WebCore28InspectorFrontendClientLocal12openInNewTabERKN3WTF6StringE
+__ZN7WebCore28InspectorFrontendClientLocal13showResourcesEv
+__ZN7WebCore28InspectorFrontendClientLocal14frontendLoadedEv
+__ZN7WebCore28InspectorFrontendClientLocal15canAttachWindowEv
+__ZN7WebCore28InspectorFrontendClientLocal17setAttachedWindowENS_23InspectorFrontendClient8DockSideE
+__ZN7WebCore28InspectorFrontendClientLocal18isDebuggingEnabledEv
+__ZN7WebCore28InspectorFrontendClientLocal18requestSetDockSideENS_23InspectorFrontendClient8DockSideE
+__ZN7WebCore28InspectorFrontendClientLocal19setDebuggingEnabledEb
+__ZN7WebCore28InspectorFrontendClientLocal19windowObjectClearedEv
+__ZN7WebCore28InspectorFrontendClientLocal20sendMessageToBackendERKN3WTF6StringE
+__ZN7WebCore28InspectorFrontendClientLocal21isProfilingJavaScriptEv
+__ZN7WebCore28InspectorFrontendClientLocal21setDockingUnavailableEb
+__ZN7WebCore28InspectorFrontendClientLocal23stopProfilingJavaScriptEv
+__ZN7WebCore28InspectorFrontendClientLocal24showMainResourceForFrameEPNS_5FrameE
+__ZN7WebCore28InspectorFrontendClientLocal24startProfilingJavaScriptEv
+__ZN7WebCore28InspectorFrontendClientLocal25changeAttachedWindowWidthEj
+__ZN7WebCore28InspectorFrontendClientLocal26changeAttachedWindowHeightEj
+__ZN7WebCore28InspectorFrontendClientLocal26isTimelineProfilingEnabledEv
+__ZN7WebCore28InspectorFrontendClientLocal27restoreAttachedWindowHeightEv
+__ZN7WebCore28InspectorFrontendClientLocal27setTimelineProfilingEnabledEb
+__ZN7WebCore28InspectorFrontendClientLocal30constrainedAttachedWindowWidthEjj
+__ZN7WebCore28InspectorFrontendClientLocal31constrainedAttachedWindowHeightEjj
+__ZN7WebCore28InspectorFrontendClientLocalC2EPNS_19InspectorControllerEPNS_4PageENSt3__110unique_ptrINS0_8SettingsENS5_14default_deleteIS7_EEEE
+__ZN7WebCore28InspectorFrontendClientLocalD2Ev
 __ZN7WebCore28UserMessageHandlerDescriptorC1ERKN3WTF12AtomicStringERNS_15DOMWrapperWorldERNS0_6ClientE
 __ZN7WebCore28UserMessageHandlerDescriptorD1Ev
 __ZN7WebCore28encodeWithURLEscapeSequencesERKN3WTF6StringE
@@ -1211,6 +1254,7 @@ __ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_13DOMStringListE
 __ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_14ClientRectListE
 __ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_19CSSStyleDeclarationE
 __ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_5RangeE
+__ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_9DOMWindowE
 __ZN7WebCore50restrictScaleFactorToInitialScaleIfNotUserScalableERNS_18ViewportAttributesE
 __ZN7WebCore5Color11transparentE
 __ZN7WebCore5Color5whiteE
@@ -1438,6 +1482,8 @@ __ZN7WebCore9AnimationC1Ev
 __ZN7WebCore9AnimationD1Ev
 __ZN7WebCore9DOMWindow30dispatchAllPendingUnloadEventsEv
 __ZN7WebCore9DOMWindow36dispatchAllPendingBeforeUnloadEventsEv
+__ZN7WebCore9DOMWindow4openERKN3WTF6StringERKNS1_12AtomicStringES4_RS0_S8_
+__ZN7WebCore9DOMWindow5closeEPNS_22ScriptExecutionContextE
 __ZN7WebCore9FloatRect5scaleEff
 __ZN7WebCore9FloatRect5uniteERKS0_
 __ZN7WebCore9FloatRect9intersectERKS0_
@@ -1861,6 +1907,8 @@ __ZNK7WebCore19HTMLOptGroupElement14groupLabelTextEv
 __ZNK7WebCore19HTMLTextAreaElement5valueEv
 __ZNK7WebCore19IDBDatabaseMetadata12isolatedCopyEv
 __ZNK7WebCore19InspectorController12getHighlightERNS_9HighlightENS_16InspectorOverlay16CoordinateSystemE
+__ZNK7WebCore19InspectorController13drawHighlightERNS_15GraphicsContextE
+__ZNK7WebCore19InspectorController15profilerEnabledEv
 __ZNK7WebCore19InspectorController29buildObjectForHighlightedNodeEv
 __ZNK7WebCore19MediaSessionManager30applicationWillEnterBackgroundEv
 __ZNK7WebCore19MediaSessionManager30applicationWillEnterForegroundEv
@@ -2076,6 +2124,7 @@ __ZNK7WebCore8Settings18standardFontFamilyE11UScriptCode
 __ZNK7WebCore8Settings19sansSerifFontFamilyE11UScriptCode
 __ZNK7WebCore8Settings20pictographFontFamilyE11UScriptCode
 __ZNK7WebCore9DOMWindow27pendingUnloadEventListenersEv
+__ZNK7WebCore9DOMWindow8documentEv
 __ZNK7WebCore9FloatQuad11boundingBoxEv
 __ZNK7WebCore9FloatRect10intersectsERKS0_
 __ZNK7WebCore9FloatRect8containsERKNS_10FloatPointENS0_12ContainsModeE
@@ -2668,6 +2717,7 @@ __ZN7WebCore16ThreadGlobalData26sharedMainThreadStaticDataE
 __ZN7WebCore16VisibleSelection27selectionFromContentsOfNodeEPNS_4NodeE
 __ZN7WebCore16VisibleSelectionC1Ev
 __ZN7WebCore16deleteAllCookiesERKNS_21NetworkStorageSessionE
+__ZN7WebCore16findIntersectionERKNS_10FloatPointES2_S2_S2_RS0_
 __ZN7WebCore16nextWordPositionERKNS_15VisiblePositionE
 __ZN7WebCore17CredentialStorage16clearCredentialsEv
 __ZN7WebCore17HistoryController18replaceCurrentItemEPNS_11HistoryItemE
@@ -2743,6 +2793,7 @@ __ZN7WebCore41initializeHTTPConnectionSettingsOnStartupEv
 __ZN7WebCore4Icon18createIconForImageEP7CGImage
 __ZN7WebCore4Node17isContentEditableENS0_22UserSelectAllTreatmentE
 __ZN7WebCore4Node23compareDocumentPositionEPS0_
+__ZN7WebCore4Node7inspectEv
 __ZN7WebCore4Page52updateStyleForAllPagesAfterGlobalChangeInEnvironmentEv
 __ZN7WebCore5ColorC1EP7CGColor
 __ZN7WebCore5EventC1ERKN3WTF12AtomicStringEbb
@@ -2848,6 +2899,8 @@ __ZNK7WebCore7IntSizecv6CGSizeEv
 __ZNK7WebCore8Document31isTelephoneNumberParsingAllowedEv
 __ZNK7WebCore8Document31isTelephoneNumberParsingEnabledEv
 __ZNK7WebCore8Position8previousENS_16PositionMoveTypeE
+__ZNK7WebCore9FloatQuad12containsQuadERKS0_
+__ZNK7WebCore9FloatQuad13containsPointERKNS_10FloatPointE
 __ZNK7WebCore9FloatQuad13isRectilinearEv
 __ZNK7WebCore9FloatRectcv6CGRectEv
 __ZNK7WebCore9FloatSizecv6CGSizeEv
@@ -3184,65 +3237,6 @@ __ZN7WebCore5ColorC1EP7CGColor
 __ZN7WebCore5ColorC1ERKN3WTF6StringE
 #endif
 
-#if ENABLE(INSPECTOR)
-__ZN7WebCore14SchemeRegistry27shouldTreatURLSchemeAsLocalERKN3WTF6StringE
-__ZN7WebCore15InspectorClient31doDispatchMessageOnFrontendPageEPNS_4PageERKN3WTF6StringE
-__ZN7WebCore18InspectorPageAgent7frameIdEPNS_5FrameE
-__ZN7WebCore19InspectorController15connectFrontendEPN9Inspector24InspectorFrontendChannelEb
-__ZN7WebCore19InspectorController18disconnectFrontendEN9Inspector25InspectorDisconnectReasonE
-__ZN7WebCore19InspectorController18setProfilerEnabledEb
-__ZN7WebCore19InspectorController25evaluateForTestInFrontendERKN3WTF6StringE
-__ZN7WebCore19InspectorController26setInspectorFrontendClientEPNS_23InspectorFrontendClientE
-__ZN7WebCore19InspectorController27dispatchMessageFromFrontendERKN3WTF6StringE
-__ZN7WebCore19InspectorController4showEv
-__ZN7WebCore19InspectorController5closeEv
-__ZN7WebCore21InspectorFrontendHost16disconnectClientEv
-__ZN7WebCore21InspectorFrontendHostC1EPNS_23InspectorFrontendClientEPNS_4PageE
-__ZN7WebCore21InspectorFrontendHostD1Ev
-__ZN7WebCore24InspectorInstrumentation17s_frontendCounterE
-__ZN7WebCore24InspectorInstrumentation26instrumentingAgentsForPageEPNS_4PageE
-__ZN7WebCore28InspectorFrontendClientLocal11isUnderTestEv
-__ZN7WebCore28InspectorFrontendClientLocal11showConsoleEv
-__ZN7WebCore28InspectorFrontendClientLocal12moveWindowByEff
-__ZN7WebCore28InspectorFrontendClientLocal12openInNewTabERKN3WTF6StringE
-__ZN7WebCore28InspectorFrontendClientLocal13showResourcesEv
-__ZN7WebCore28InspectorFrontendClientLocal14frontendLoadedEv
-__ZN7WebCore28InspectorFrontendClientLocal15canAttachWindowEv
-__ZN7WebCore28InspectorFrontendClientLocal17setAttachedWindowENS_23InspectorFrontendClient8DockSideE
-__ZN7WebCore28InspectorFrontendClientLocal18isDebuggingEnabledEv
-__ZN7WebCore28InspectorFrontendClientLocal18requestSetDockSideENS_23InspectorFrontendClient8DockSideE
-__ZN7WebCore28InspectorFrontendClientLocal19setDebuggingEnabledEb
-__ZN7WebCore28InspectorFrontendClientLocal19windowObjectClearedEv
-__ZN7WebCore28InspectorFrontendClientLocal20sendMessageToBackendERKN3WTF6StringE
-__ZN7WebCore28InspectorFrontendClientLocal21isProfilingJavaScriptEv
-__ZN7WebCore28InspectorFrontendClientLocal21setDockingUnavailableEb
-__ZN7WebCore28InspectorFrontendClientLocal23stopProfilingJavaScriptEv
-__ZN7WebCore28InspectorFrontendClientLocal24showMainResourceForFrameEPNS_5FrameE
-__ZN7WebCore28InspectorFrontendClientLocal24startProfilingJavaScriptEv
-__ZN7WebCore28InspectorFrontendClientLocal25changeAttachedWindowWidthEj
-__ZN7WebCore28InspectorFrontendClientLocal26changeAttachedWindowHeightEj
-__ZN7WebCore28InspectorFrontendClientLocal26isTimelineProfilingEnabledEv
-__ZN7WebCore28InspectorFrontendClientLocal27restoreAttachedWindowHeightEv
-__ZN7WebCore28InspectorFrontendClientLocal27setTimelineProfilingEnabledEb
-__ZN7WebCore28InspectorFrontendClientLocal30constrainedAttachedWindowWidthEjj
-__ZN7WebCore28InspectorFrontendClientLocal31constrainedAttachedWindowHeightEjj
-__ZN7WebCore28InspectorFrontendClientLocalC2EPNS_19InspectorControllerEPNS_4PageENSt3__110unique_ptrINS0_8SettingsENS5_14default_deleteIS7_EEEE
-__ZN7WebCore28InspectorFrontendClientLocalD2Ev
-__ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_9DOMWindowE
-__ZN7WebCore9DOMWindow4openERKN3WTF6StringERKNS1_12AtomicStringES4_RS0_S8_
-__ZN7WebCore9DOMWindow5closeEPNS_22ScriptExecutionContextE
-__ZNK7WebCore19InspectorController13drawHighlightERNS_15GraphicsContextE
-__ZNK7WebCore19InspectorController15profilerEnabledEv
-__ZNK7WebCore9DOMWindow8documentEv
-#endif
-
-#if ENABLE(INSPECTOR) && PLATFORM(IOS)
-__ZN7WebCore16findIntersectionERKNS_10FloatPointES2_S2_S2_RS0_
-__ZN7WebCore4Node7inspectEv
-__ZNK7WebCore9FloatQuad12containsQuadERKS0_
-__ZNK7WebCore9FloatQuad13containsPointERKNS_10FloatPointE
-#endif
-
 #if USE(IOSURFACE)
 __ZN7WebCore13IOSurfacePool10addSurfaceEPNS_9IOSurfaceE
 __ZN7WebCore13IOSurfacePool10sharedPoolEv
index fd49329..741622f 100644 (file)
@@ -31,9 +31,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "JSCommandLineAPIHost.h"
 
 #include "CommandLineAPIHost.h"
@@ -166,5 +163,3 @@ JSValue JSCommandLineAPIHost::storageId(ExecState* exec)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 048d91f..a2203db 100644 (file)
@@ -103,10 +103,6 @@ void JSDOMWindowBase::printErrorMessage(const String& message) const
 
 bool JSDOMWindowBase::supportsProfiling(const JSGlobalObject* object)
 {
-#if !ENABLE(INSPECTOR)
-    UNUSED_PARAM(object);
-    return false;
-#else
     const JSDOMWindowBase* thisObject = static_cast<const JSDOMWindowBase*>(object);
     Frame* frame = thisObject->impl().frame();
     if (!frame)
@@ -117,15 +113,10 @@ bool JSDOMWindowBase::supportsProfiling(const JSGlobalObject* object)
         return false;
 
     return page->inspectorController().profilerEnabled();
-#endif // ENABLE(INSPECTOR)
 }
 
 bool JSDOMWindowBase::supportsRichSourceInfo(const JSGlobalObject* object)
 {
-#if !ENABLE(INSPECTOR)
-    UNUSED_PARAM(object);
-    return false;
-#else
     const JSDOMWindowBase* thisObject = static_cast<const JSDOMWindowBase*>(object);
     Frame* frame = thisObject->impl().frame();
     if (!frame)
@@ -139,7 +130,6 @@ bool JSDOMWindowBase::supportsRichSourceInfo(const JSGlobalObject* object)
     ASSERT(enabled || !thisObject->debugger());
     ASSERT(enabled || !supportsProfiling(thisObject));
     return enabled;
-#endif
 }
 
 static inline bool shouldInterruptScriptToPreventInfiniteRecursionWhenClosingPage(Page* page)
index c250b5f..d86a480 100644 (file)
@@ -31,9 +31,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "JSInspectorFrontendHost.h"
 
 #include "ContextMenuItem.h"
@@ -150,5 +147,3 @@ JSValue JSInspectorFrontendHost::showContextMenu(ExecState* exec)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 85867f9..65d3908 100644 (file)
@@ -358,7 +358,6 @@ PassRefPtr<Bindings::RootObject> ScriptController::createRootObject(void* native
     return rootObject.release();
 }
 
-#if ENABLE(INSPECTOR)
 void ScriptController::collectIsolatedContexts(Vector<std::pair<JSC::ExecState*, SecurityOrigin*>>& result)
 {
     for (ShellMap::iterator iter = m_windowShells.begin(); iter != m_windowShells.end(); ++iter) {
@@ -367,7 +366,6 @@ void ScriptController::collectIsolatedContexts(Vector<std::pair<JSC::ExecState*,
         result.append(std::pair<JSC::ExecState*, SecurityOrigin*>(exec, origin));
     }
 }
-#endif
 
 #if ENABLE(NETSCAPE_PLUGIN_API)
 
index 646e5ca..c88a8ea 100644 (file)
@@ -151,9 +151,7 @@ public:
 
     WEBCORE_EXPORT PassRefPtr<JSC::Bindings::RootObject> createRootObject(void* nativeHandle);
 
-#if ENABLE(INSPECTOR)
     void collectIsolatedContexts(Vector<std::pair<JSC::ExecState*, SecurityOrigin*>>&);
-#endif
 
 #if PLATFORM(COCOA)
     WEBCORE_EXPORT WebScriptObject* windowScriptObject();
index 9197593..cb4931d 100644 (file)
 #include "ScriptGlobalObject.h"
 
 #include "JSDOMBinding.h"
+#include "JSInspectorFrontendHost.h"
 #include <bindings/ScriptObject.h>
 #include <runtime/IdentifierInlines.h>
 #include <runtime/JSLock.h>
 
-#if ENABLE(INSPECTOR)
-#include "JSInspectorFrontendHost.h"
-#endif
-
 using namespace JSC;
 
 namespace WebCore {
@@ -60,7 +57,6 @@ bool ScriptGlobalObject::set(JSC::ExecState* scriptState, const char* name, cons
     return handleException(scriptState);
 }
 
-#if ENABLE(INSPECTOR)
 bool ScriptGlobalObject::set(JSC::ExecState* scriptState, const char* name, InspectorFrontendHost* value)
 {
     JSLockHolder lock(scriptState);
@@ -68,7 +64,6 @@ bool ScriptGlobalObject::set(JSC::ExecState* scriptState, const char* name, Insp
     globalObject->putDirect(scriptState->vm(), Identifier(scriptState, name), toJS(scriptState, globalObject, value));
     return handleException(scriptState);
 }
-#endif // ENABLE(INSPECTOR)
 
 bool ScriptGlobalObject::get(JSC::ExecState* scriptState, const char* name, Deprecated::ScriptObject& value)
 {
index 92bf206..7aa50ba 100644 (file)
@@ -46,9 +46,7 @@ class InspectorFrontendHost;
 class ScriptGlobalObject {
 public:
     static bool set(JSC::ExecState*, const char* name, const Deprecated::ScriptObject&);
-#if ENABLE(INSPECTOR)
     WEBCORE_EXPORT static bool set(JSC::ExecState*, const char* name, InspectorFrontendHost*);
-#endif
 
     static bool get(JSC::ExecState*, const char* name, Deprecated::ScriptObject&);
     static bool remove(JSC::ExecState*, const char* name);
index 22cdc19..6c00c69 100644 (file)
@@ -32,8 +32,6 @@
 #include "config.h"
 #include "WorkerScriptDebugServer.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "JSDOMBinding.h"
 #include "Timer.h"
 #include "WorkerDebuggerAgent.h"
@@ -111,5 +109,3 @@ void WorkerScriptDebugServer::interruptAndRunTask(std::unique_ptr<ScriptDebugSer
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 04c9b03..ed8958c 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef WorkerScriptDebugServer_h
 #define WorkerScriptDebugServer_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/ScriptDebugServer.h>
 
 namespace WebCore {
@@ -67,6 +65,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // WorkerScriptDebugServer_h
index 299e693..b0a37e0 100644 (file)
@@ -53,6 +53,7 @@
 #include "HTMLImageElement.h"
 #include "HTMLStyleElement.h"
 #include "InsertionPoint.h"
+#include "InspectorController.h"
 #include "KeyboardEvent.h"
 #include "Logging.h"
 #include "MutationEvent.h"
 #include "UIRequestEvent.h"
 #endif
 
-#if ENABLE(INSPECTOR)
-#include "InspectorController.h"
-#endif
-
 namespace WebCore {
 
 using namespace HTMLNames;
@@ -554,10 +551,8 @@ bool Node::isContentRichlyEditable()
 
 void Node::inspect()
 {
-#if ENABLE(INSPECTOR)
     if (document().page())
         document().page()->inspectorController().inspect(this);
-#endif
 }
 
 bool Node::hasEditableStyle(EditableLevel editableLevel, UserSelectAllTreatment treatment) const
index f234a87..8870885 100644 (file)
@@ -31,8 +31,6 @@
 #include "config.h"
 #include "CommandLineAPIHost.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "Database.h"
 #include "Element.h"
 #include "Frame.h"
@@ -157,5 +155,3 @@ String CommandLineAPIHost::storageIdImpl(Storage* storage)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 228426c..262bb43 100644 (file)
@@ -32,7 +32,6 @@
 
 [
     NoInterfaceObject,
-    Conditional=INSPECTOR,
     ImplementationLacksVTable
 ] interface CommandLineAPIHost {
     void clearConsoleMessages();
index 5f2fbe9..70ca3e9 100644 (file)
@@ -26,8 +26,6 @@
 #include "config.h"
 #include "CommandLineAPIModule.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "CommandLineAPIModuleSource.h"
 #include "JSCommandLineAPIHost.h"
 #include "WebInjectedScriptManager.h"
@@ -64,5 +62,3 @@ JSC::JSValue CommandLineAPIModule::host(InjectedScriptManager* injectedScriptMan
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 1f640e0..65c9209 100644 (file)
@@ -28,8 +28,6 @@
 
 #include <inspector/InjectedScriptModule.h>
 
-#if ENABLE(INSPECTOR)
-
 namespace WebCore {
 
 class CommandLineAPIModule final : public Inspector::InjectedScriptModule {
@@ -45,6 +43,4 @@ public:
 
 } // namespace WebCore
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(CommandLineAPIModule_h)
index 0ba6689..08b8545 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "DOMEditor.h"
 
 #include "DOMPatchSupport.h"
@@ -453,5 +450,3 @@ bool DOMEditor::replaceWholeText(Text* textNode, const String& text, ErrorString
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 294d190..56e114b 100644 (file)
@@ -42,8 +42,6 @@ class InspectorHistory;
 class Node;
 class Text;
 
-#if ENABLE(INSPECTOR)
-
 typedef String ErrorString;
 
 class DOMEditor {
@@ -82,8 +80,6 @@ private:
     InspectorHistory* m_history;
 };
 
-#endif // ENABLE(INSPECTOR)
-
 } // namespace WebCore
 
 #endif // !defined(DOMEditor_h)
index 03d3c06..a19ee86 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "DOMPatchSupport.h"
 
 #include "Attribute.h"
@@ -515,5 +512,3 @@ void DOMPatchSupport::dumpMap(const ResultMap& map, const String& name)
 #endif
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 76773a8..a877bf6 100644 (file)
@@ -44,8 +44,6 @@ class DOMEditor;
 class Document;
 class Node;
 
-#if ENABLE(INSPECTOR)
-
 class DOMPatchSupport final {
     WTF_MAKE_NONCOPYABLE(DOMPatchSupport);
 public:
@@ -79,8 +77,6 @@ private:
     UnusedNodesMap m_unusedNodesMap;
 };
 
-#endif // ENABLE(INSPECTOR)
-
 } // namespace WebCore
 
 #endif // !defined(DOMPatchSupport_h)
index ccaf608..a704cd9 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "InspectorApplicationCacheAgent.h"
 
 #include "ApplicationCacheHost.h"
@@ -199,5 +196,3 @@ Ref<Inspector::Protocol::ApplicationCache::ApplicationCacheResource> InspectorAp
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index c7129d6..0b81335 100644 (file)
@@ -25,8 +25,6 @@
 #ifndef InspectorApplicationCacheAgent_h
 #define InspectorApplicationCacheAgent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "ApplicationCacheHost.h"
 #include "InspectorWebAgentBase.h"
 #include <inspector/InspectorBackendDispatchers.h>
@@ -80,5 +78,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(INSPECTOR)
 #endif // InspectorApplicationCacheAgent_h
index 4359763..60a3581 100644 (file)
@@ -23,9 +23,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "InspectorCSSAgent.h"
 
 #include "CSSComputedStyleDeclaration.h"
@@ -1201,5 +1198,3 @@ void InspectorCSSAgent::resetPseudoStates()
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 6f3bf64..a2a758d 100644 (file)
@@ -61,8 +61,6 @@ class StyleResolver;
 class StyleRule;
 class ChangeRegionOversetTask;
 
-#if ENABLE(INSPECTOR)
-
 class InspectorCSSAgent final
     : public InspectorAgentBase
     , public InspectorDOMAgent::DOMListener
@@ -184,8 +182,6 @@ private:
     int m_lastStyleSheetId;
 };
 
-#endif
-
 } // namespace WebCore
 
 #endif // !defined(InspectorCSSAgent_h)
index c33e6ac..d55dab0 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "InspectorClient.h"
 
 #include "MainFrame.h"
@@ -57,5 +54,3 @@ bool InspectorClient::doDispatchMessageOnFrontendPage(Page* frontendPage, const
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index caf3f81..aa4f535 100644 (file)
@@ -40,95 +40,51 @@ namespace WebCore {
 
 inline void InspectorInstrumentation::addMessageToConsole(Page& page, std::unique_ptr<Inspector::ConsoleMessage> message)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         addMessageToConsoleImpl(*instrumentingAgents, WTF::move(message));
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(message);
-#endif
 }
 
 inline void InspectorInstrumentation::addMessageToConsole(WorkerGlobalScope* workerGlobalScope, std::unique_ptr<Inspector::ConsoleMessage> message)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForWorkerGlobalScope(workerGlobalScope))
         addMessageToConsoleImpl(*instrumentingAgents, WTF::move(message));
-#else
-    UNUSED_PARAM(workerGlobalScope);
-    UNUSED_PARAM(message);
-#endif
 }
 
 inline void InspectorInstrumentation::consoleCount(Page& page, JSC::ExecState* state, RefPtr<Inspector::ScriptArguments>&& arguments)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         consoleCountImpl(*instrumentingAgents, state, WTF::move(arguments));
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(state);
-    UNUSED_PARAM(arguments);
-#endif
 }
 
 inline void InspectorInstrumentation::startConsoleTiming(Frame& frame, const String& title)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         startConsoleTimingImpl(*instrumentingAgents, frame, title);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(title);
-#endif
 }
 
 inline void InspectorInstrumentation::stopConsoleTiming(Frame& frame, const String& title, RefPtr<Inspector::ScriptCallStack>&& stack)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         stopConsoleTimingImpl(*instrumentingAgents, frame, title, WTF::move(stack));
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(title);
-    UNUSED_PARAM(stack);
-#endif
 }
 
 inline void InspectorInstrumentation::consoleTimeStamp(Frame& frame, RefPtr<Inspector::ScriptArguments>&& arguments)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         consoleTimeStampImpl(*instrumentingAgents, frame, WTF::move(arguments));
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(arguments);
-#endif
 }
 
 inline void InspectorInstrumentation::startProfiling(Page& page, JSC::ExecState* exec, const String &title)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         startProfilingImpl(*instrumentingAgents, exec, title);
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(exec);
-    UNUSED_PARAM(title);
-#endif
 }
 
 inline RefPtr<JSC::Profile> InspectorInstrumentation::stopProfiling(Page& page, JSC::ExecState* exec, const String &title)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         return stopProfilingImpl(*instrumentingAgents, exec, title);
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(exec);
-    UNUSED_PARAM(title);
-#endif
     return nullptr;
 }
 
index 2091f1c..72f2946 100644 (file)
@@ -32,8 +32,6 @@
 #include "config.h"
 #include "InspectorController.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "CommandLineAPIHost.h"
 #include "DOMWrapperWorld.h"
 #include "GraphicsContext.h"
@@ -456,5 +454,3 @@ Ref<Stopwatch> InspectorController::executionStopwatch()
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 3d34adf..b26422b 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef InspectorController_h
 #define InspectorController_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorInstrumentationCookie.h"
 #include "InspectorOverlay.h"
 #include <inspector/InspectorAgentRegistry.h>
@@ -172,6 +170,4 @@ private:
 
 }
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorController_h)
index daa0df0..17eb681 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "InspectorDOMAgent.h"
 
 #include "AXObjectCache.h"
@@ -2020,5 +2017,3 @@ Deprecated::ScriptValue InspectorDOMAgent::nodeAsScriptValue(JSC::ExecState* sta
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 412b7c0..f839792 100644 (file)
@@ -78,8 +78,6 @@ struct HighlightConfig;
 typedef String ErrorString;
 typedef int BackendNodeId;
 
-#if ENABLE(INSPECTOR)
-
 struct EventListenerInfo {
     EventListenerInfo(Node* node, const AtomicString& eventType, const EventListenerVector& eventListenerVector)
         : node(node)
@@ -275,8 +273,6 @@ private:
     bool m_documentRequested;
 };
 
-#endif // ENABLE(INSPECTOR)
-
 } // namespace WebCore
 
 #endif // !defined(InspectorDOMAgent_h)
index dd8f523..3d0bbac 100644 (file)
@@ -31,8 +31,6 @@
 #include "config.h"
 #include "InspectorDOMDebuggerAgent.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "HTMLElement.h"
 #include "InspectorDOMAgent.h"
 #include "InspectorInstrumentation.h"
@@ -424,5 +422,3 @@ void InspectorDOMDebuggerAgent::clear()
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index c69b3b8..466f03e 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef InspectorDOMDebuggerAgent_h
 #define InspectorDOMDebuggerAgent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorWebAgentBase.h"
 #include <inspector/InspectorBackendDispatchers.h>
 #include <inspector/agents/InspectorDebuggerAgent.h>
@@ -113,6 +111,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorDOMDebuggerAgent_h)
index 8113c54..fb089a3 100644 (file)
@@ -28,9 +28,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "InspectorDOMStorageAgent.h"
 
 #include "DOMWindow.h"
@@ -205,5 +202,3 @@ RefPtr<StorageArea> InspectorDOMStorageAgent::findStorageArea(ErrorString& error
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 73daa16..44daa86 100644 (file)
@@ -27,9 +27,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "InspectorDatabaseAgent.h"
 
 #include "Database.h"
@@ -322,5 +319,3 @@ Database* InspectorDatabaseAgent::databaseForId(const String& databaseId)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 443fcd9..2e86897 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef InspectorDatabaseAgent_h
 #define InspectorDatabaseAgent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorWebAgentBase.h"
 #include <inspector/InspectorBackendDispatchers.h>
 #include <inspector/InspectorFrontendDispatchers.h>
@@ -83,6 +81,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorDatabaseAgent_h)
index bcd2a2d..1f10052 100644 (file)
@@ -39,16 +39,8 @@ namespace WebCore {
 
 inline void InspectorInstrumentation::didOpenDatabase(ScriptExecutionContext* context, RefPtr<Database>&& database, const String& domain, const String& name, const String& version)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         didOpenDatabaseImpl(*instrumentingAgents, WTF::move(database), domain, name, version);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(database);
-    UNUSED_PARAM(domain);
-    UNUSED_PARAM(name);
-    UNUSED_PARAM(version);
-#endif
 }
 
 } // namespace WebCore
index 8582518..46edf31 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "InspectorDatabaseResource.h"
 
 #include "Database.h"
@@ -69,5 +66,3 @@ void InspectorDatabaseResource::bind(InspectorDatabaseFrontendDispatcher* databa
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 1db8444..295672c 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef InspectorDatabaseResource_h
 #define InspectorDatabaseResource_h
 
-#if ENABLE(INSPECTOR)
-
 #include <inspector/InspectorFrontendDispatchers.h>
 #include <wtf/RefCounted.h>
 #include <wtf/RefPtr.h>
@@ -63,6 +61,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // InspectorDatabaseResource_h
index 3e70819..345a732 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "InspectorFrontendClientLocal.h"
 
 #include "Chrome.h"
@@ -357,5 +354,3 @@ void InspectorFrontendClientLocal::evaluateOnLoad(const String& expression)
 }
 
 } // namespace WebCore
-
-#endif
index 1c05bbf..39c59c5 100644 (file)
@@ -28,9 +28,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "InspectorFrontendHost.h"
 
 #include "ContextMenu.h"
@@ -324,5 +321,3 @@ bool InspectorFrontendHost::canInspectWorkers()
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 359121c..7de1895 100644 (file)
@@ -32,7 +32,6 @@
 
 [
     NoInterfaceObject,
-    Conditional=INSPECTOR,
     ImplementationLacksVTable
 ] interface InspectorFrontendHost {
     void loaded();
index e38d892..8dcf4ee 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "InspectorHistory.h"
 
 #include "ExceptionCodePlaceholder.h"
@@ -151,5 +148,3 @@ void InspectorHistory::reset()
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 04976da..5fb9c8a 100644 (file)
@@ -42,8 +42,6 @@ class ContainerNode;
 class Element;
 class Node;
 
-#if ENABLE(INSPECTOR)
-
 class InspectorHistory final {
     WTF_MAKE_NONCOPYABLE(InspectorHistory); WTF_MAKE_FAST_ALLOCATED;
 public:
@@ -82,8 +80,6 @@ private:
     size_t m_afterLastActionIndex;
 };
 
-#endif // ENABLE(INSPECTOR)
-
 } // namespace WebCore
 
 #endif // !defined(InspectorHistory_h)
index f79c02e..7a6495f 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "config.h"
 
-#if ENABLE(INSPECTOR) && ENABLE(INDEXED_DATABASE)
+#if ENABLE(INDEXED_DATABASE)
 
 #include "InspectorIndexedDBAgent.h"
 
@@ -776,4 +776,4 @@ void InspectorIndexedDBAgent::clearObjectStore(ErrorString& errorString, const S
 
 } // namespace WebCore
 
-#endif // ENABLE(INSPECTOR) && ENABLE(INDEXED_DATABASE)
+#endif // ENABLE(INDEXED_DATABASE)
index 3b0e9fa..7720b3a 100644 (file)
@@ -31,7 +31,7 @@
 #ifndef InspectorIndexedDBAgent_h
 #define InspectorIndexedDBAgent_h
 
-#if ENABLE(INSPECTOR) && ENABLE(INDEXED_DATABASE)
+#if ENABLE(INDEXED_DATABASE)
 
 #include "InspectorWebAgentBase.h"
 #include <inspector/InspectorBackendDispatchers.h>
@@ -71,5 +71,5 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(INSPECTOR) && ENABLE(INDEXED_DATABASE)
+#endif // ENABLE(INDEXED_DATABASE)
 #endif // !defined(InspectorIndexedDBAgent_h)
index 0888afb..9c01a43 100644 (file)
@@ -32,8 +32,6 @@
 #include "config.h"
 #include "InspectorInstrumentation.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "CSSRule.h"
 #include "CSSStyleRule.h"
 #include "DOMWindow.h"
@@ -1289,5 +1287,3 @@ void InspectorInstrumentation::pseudoElementDestroyedImpl(InstrumentingAgents& i
 }
 
 } // namespace WebCore
-
-#endif // !ENABLE(INSPECTOR)
index cbed0e0..610c4cd 100644 (file)
@@ -278,20 +278,12 @@ public:
     static void renderLayerDestroyed(Page*, const RenderLayer&);
     static void pseudoElementDestroyed(Page*, PseudoElement&);
 
-#if ENABLE(INSPECTOR)
     static void frontendCreated() { s_frontendCounter += 1; }
     static void frontendDeleted() { s_frontendCounter -= 1; }
     static bool hasFrontends() { return s_frontendCounter; }
     static bool consoleAgentEnabled(ScriptExecutionContext*);
     static bool timelineAgentEnabled(ScriptExecutionContext*);
     static bool replayAgentEnabled(ScriptExecutionContext*);
-#else
-    static bool hasFrontends() { return false; }
-    static bool consoleAgentEnabled(ScriptExecutionContext*) { return false; }
-    static bool runtimeAgentEnabled(Frame*) { return false; }
-    static bool timelineAgentEnabled(ScriptExecutionContext*) { return false; }
-    static bool replayAgentEnabled(ScriptExecutionContext*) { return false; }
-#endif
 
     WEBCORE_EXPORT static InstrumentingAgents* instrumentingAgentsForPage(Page*);
 
@@ -299,7 +291,6 @@ public:
     static void unregisterInstrumentingAgents(InstrumentingAgents&);
 
 private:
-#if ENABLE(INSPECTOR)
     static void didClearWindowObjectInWorldImpl(InstrumentingAgents&, Frame&, DOMWrapperWorld&);
     static bool isDebuggerPausedImpl(InstrumentingAgents&);
 
@@ -477,1521 +468,867 @@ private:
     static void cancelPauseOnNativeEvent(InstrumentingAgents&);
 
     WEBCORE_EXPORT static int s_frontendCounter;
-#endif
 };
 
 inline void InspectorInstrumentation::didClearWindowObjectInWorld(Frame& frame, DOMWrapperWorld& world)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         didClearWindowObjectInWorldImpl(*instrumentingAgents, frame, world);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(world);
-#endif
 }
 
 inline bool InspectorInstrumentation::isDebuggerPaused(Frame* frame)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(false);
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         return isDebuggerPausedImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(frame);
-#endif
     return false;
 }
 
 inline void InspectorInstrumentation::willInsertDOMNode(Document& document, Node& parent)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         willInsertDOMNodeImpl(*instrumentingAgents, parent);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(parent);
-#endif
 }
 
 inline void InspectorInstrumentation::didInsertDOMNode(Document& document, Node& node)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didInsertDOMNodeImpl(*instrumentingAgents, node);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(node);
-#endif
 }
 
 inline void InspectorInstrumentation::willRemoveDOMNode(Document& document, Node& node)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         willRemoveDOMNodeImpl(*instrumentingAgents, node);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(node);
-#endif
 }
 
 inline void InspectorInstrumentation::didRemoveDOMNode(Document& document, Node& node)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didRemoveDOMNodeImpl(*instrumentingAgents, node);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(node);
-#endif
 }
 
 inline void InspectorInstrumentation::willModifyDOMAttr(Document& document, Element& element, const AtomicString& oldValue, const AtomicString& newValue)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         willModifyDOMAttrImpl(*instrumentingAgents, element, oldValue, newValue);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(element);
-    UNUSED_PARAM(oldValue);
-    UNUSED_PARAM(newValue);
-#endif
 }
 
 inline void InspectorInstrumentation::didModifyDOMAttr(Document& document, Element& element, const AtomicString& name, const AtomicString& value)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didModifyDOMAttrImpl(*instrumentingAgents, element, name, value);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(element);
-    UNUSED_PARAM(name);
-    UNUSED_PARAM(value);
-#endif
 }
 
 inline void InspectorInstrumentation::didRemoveDOMAttr(Document& document, Element& element, const AtomicString& name)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didRemoveDOMAttrImpl(*instrumentingAgents, element, name);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(element);
-    UNUSED_PARAM(name);
-#endif
 }
 
 inline void InspectorInstrumentation::didInvalidateStyleAttr(Document& document, Node& node)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didInvalidateStyleAttrImpl(*instrumentingAgents, node);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(node);
-#endif
 }
 
 inline void InspectorInstrumentation::frameWindowDiscarded(Frame* frame, DOMWindow* domWindow)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         frameWindowDiscardedImpl(*instrumentingAgents, domWindow);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(domWindow);
-#endif
 }
 
 inline void InspectorInstrumentation::mediaQueryResultChanged(Document& document)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         mediaQueryResultChangedImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(document);
-#endif
 }
 
 inline void InspectorInstrumentation::didPushShadowRoot(Element& host, ShadowRoot& root)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(host.document()))
         didPushShadowRootImpl(*instrumentingAgents, host, root);
-#else
-    UNUSED_PARAM(host);
-    UNUSED_PARAM(root);
-#endif
 }
 
 inline void InspectorInstrumentation::willPopShadowRoot(Element& host, ShadowRoot& root)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(host.document()))
         willPopShadowRootImpl(*instrumentingAgents, host, root);
-#else
-    UNUSED_PARAM(host);
-    UNUSED_PARAM(root);
-#endif
 }
 
 inline void InspectorInstrumentation::didCreateNamedFlow(Document* document, WebKitNamedFlow& namedFlow)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didCreateNamedFlowImpl(*instrumentingAgents, document, namedFlow);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(namedFlow);
-#endif
 }
 
 inline void InspectorInstrumentation::willRemoveNamedFlow(Document* document, WebKitNamedFlow& namedFlow)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         willRemoveNamedFlowImpl(*instrumentingAgents, document, namedFlow);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(namedFlow);
-#endif
 }
 
 inline void InspectorInstrumentation::didChangeRegionOverset(Document& document, WebKitNamedFlow& namedFlow)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didChangeRegionOversetImpl(*instrumentingAgents, document, namedFlow);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(namedFlow);
-#endif
 }
 
 inline void InspectorInstrumentation::didRegisterNamedFlowContentElement(Document& document, WebKitNamedFlow& namedFlow, Node& contentElement, Node* nextContentElement)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didRegisterNamedFlowContentElementImpl(*instrumentingAgents, document, namedFlow, contentElement, nextContentElement);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(namedFlow);
-    UNUSED_PARAM(contentElement);
-    UNUSED_PARAM(nextContentElement);
-#endif
 }
 
 inline void InspectorInstrumentation::didUnregisterNamedFlowContentElement(Document& document, WebKitNamedFlow& namedFlow, Node& contentElement)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didUnregisterNamedFlowContentElementImpl(*instrumentingAgents, document, namedFlow, contentElement);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(namedFlow);
-    UNUSED_PARAM(contentElement);
-#endif
 }
 
 inline void InspectorInstrumentation::mouseDidMoveOverElement(Page& page, const HitTestResult& result, unsigned modifierFlags)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         mouseDidMoveOverElementImpl(*instrumentingAgents, result, modifierFlags);
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(result);
-    UNUSED_PARAM(modifierFlags);
-#endif
 }
 
 inline bool InspectorInstrumentation::handleTouchEvent(Frame& frame, Node& node)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(false);
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         return handleTouchEventImpl(*instrumentingAgents, node);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(node);
-#endif
     return false;
 }
 
 inline bool InspectorInstrumentation::handleMousePress(Frame& frame)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(false);
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         return handleMousePressImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(frame);
-#endif
     return false;
 }
 
 inline bool InspectorInstrumentation::forcePseudoState(Element& element, CSSSelector::PseudoClassType pseudoState)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(false);
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(element.document()))
         return forcePseudoStateImpl(*instrumentingAgents, element, pseudoState);
-#else
-    UNUSED_PARAM(element);
-    UNUSED_PARAM(pseudoState);
-#endif
     return false;
 }
 
 inline void InspectorInstrumentation::characterDataModified(Document& document, CharacterData& characterData)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         characterDataModifiedImpl(*instrumentingAgents, characterData);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(characterData);
-#endif
 }
 
 inline void InspectorInstrumentation::willSendXMLHttpRequest(ScriptExecutionContext* context, const String& url)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         willSendXMLHttpRequestImpl(*instrumentingAgents, url);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(url);
-#endif
 }
 
 inline void InspectorInstrumentation::didInstallTimer(ScriptExecutionContext* context, int timerId, int timeout, bool singleShot)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         didInstallTimerImpl(*instrumentingAgents, timerId, timeout, singleShot, context);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(timerId);
-    UNUSED_PARAM(timeout);
-    UNUSED_PARAM(singleShot);
-#endif
 }
 
 inline void InspectorInstrumentation::didRemoveTimer(ScriptExecutionContext* context, int timerId)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         didRemoveTimerImpl(*instrumentingAgents, timerId, context);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(timerId);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willCallFunction(ScriptExecutionContext* context, const String& scriptName, int scriptLine)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         return willCallFunctionImpl(*instrumentingAgents, scriptName, scriptLine, context);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(scriptName);
-    UNUSED_PARAM(scriptLine);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 
 inline void InspectorInstrumentation::didCallFunction(const InspectorInstrumentationCookie& cookie, ScriptExecutionContext* context)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didCallFunctionImpl(cookie, context);
-#else
-    UNUSED_PARAM(cookie);
-    UNUSED_PARAM(context);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willDispatchXHRReadyStateChangeEvent(ScriptExecutionContext* context, XMLHttpRequest& request)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         return willDispatchXHRReadyStateChangeEventImpl(*instrumentingAgents, request, context);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(request);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didDispatchXHRReadyStateChangeEvent(const InspectorInstrumentationCookie& cookie)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didDispatchXHRReadyStateChangeEventImpl(cookie);
-#else
-    UNUSED_PARAM(cookie);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willDispatchEvent(Document& document, const Event& event, bool hasEventListeners)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         return willDispatchEventImpl(*instrumentingAgents, document, event, hasEventListeners);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(event);
-    UNUSED_PARAM(hasEventListeners);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didDispatchEvent(const InspectorInstrumentationCookie& cookie)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didDispatchEventImpl(cookie);
-#else
-    UNUSED_PARAM(cookie);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willHandleEvent(ScriptExecutionContext* context, const Event& event)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         return willHandleEventImpl(*instrumentingAgents, event);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(event);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didHandleEvent(const InspectorInstrumentationCookie& cookie)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didHandleEventImpl(cookie);
-#else
-    UNUSED_PARAM(cookie);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willDispatchEventOnWindow(Frame* frame, const Event& event, DOMWindow& window)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         return willDispatchEventOnWindowImpl(*instrumentingAgents, event, window);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(event);
-    UNUSED_PARAM(window);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didDispatchEventOnWindow(const InspectorInstrumentationCookie& cookie)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didDispatchEventOnWindowImpl(cookie);
-#else
-    UNUSED_PARAM(cookie);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willEvaluateScript(Frame& frame, const String& url, int lineNumber)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         return willEvaluateScriptImpl(*instrumentingAgents, frame, url, lineNumber);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(url);
-    UNUSED_PARAM(lineNumber);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didEvaluateScript(const InspectorInstrumentationCookie& cookie, Frame& frame)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didEvaluateScriptImpl(cookie, frame);
-#else
-    UNUSED_PARAM(cookie);
-    UNUSED_PARAM(frame);
-#endif
 }
 
 inline void InspectorInstrumentation::scriptsEnabled(Page& page, bool isEnabled)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         return scriptsEnabledImpl(*instrumentingAgents, isEnabled);
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(isEnabled);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willFireTimer(ScriptExecutionContext* context, int timerId)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         return willFireTimerImpl(*instrumentingAgents, timerId, context);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(timerId);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didFireTimer(const InspectorInstrumentationCookie& cookie)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didFireTimerImpl(cookie);
-#else
-    UNUSED_PARAM(cookie);
-#endif
 }
 
 inline void InspectorInstrumentation::didInvalidateLayout(Frame& frame)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         didInvalidateLayoutImpl(*instrumentingAgents, frame);
-#else
-    UNUSED_PARAM(frame);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willLayout(Frame& frame)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         return willLayoutImpl(*instrumentingAgents, frame);
-#else
-    UNUSED_PARAM(frame);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didLayout(const InspectorInstrumentationCookie& cookie, RenderObject* root)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didLayoutImpl(cookie, root);
-#else
-    UNUSED_PARAM(cookie);
-    UNUSED_PARAM(root);
-#endif
 }
 
 inline void InspectorInstrumentation::didScroll(Page& page)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         didScrollImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(page);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willDispatchXHRLoadEvent(ScriptExecutionContext* context, XMLHttpRequest& request)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         return willDispatchXHRLoadEventImpl(*instrumentingAgents, request, context);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(request);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didDispatchXHRLoadEvent(const InspectorInstrumentationCookie& cookie)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didDispatchXHRLoadEventImpl(cookie);
-#else
-    UNUSED_PARAM(cookie);
-#endif
 }
 
 inline void InspectorInstrumentation::willPaint(RenderObject* renderer)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForRenderer(renderer))
         return willPaintImpl(*instrumentingAgents, renderer);
-#else
-    UNUSED_PARAM(renderer);
-#endif
 }
 
 inline void InspectorInstrumentation::didPaint(RenderObject* renderer, const LayoutRect& rect)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForRenderer(renderer))
         didPaintImpl(*instrumentingAgents, renderer, rect);
-#else
-    UNUSED_PARAM(renderer);
-    UNUSED_PARAM(rect);
-#endif
 }
 
 inline void InspectorInstrumentation::willScrollLayer(Frame& frame)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         willScrollLayerImpl(*instrumentingAgents, frame);
-#else
-    UNUSED_PARAM(frame);
-#endif
 }
 
 inline void InspectorInstrumentation::didScrollLayer(Frame& frame)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         didScrollLayerImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(frame);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willRecalculateStyle(Document& document)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         return willRecalculateStyleImpl(*instrumentingAgents, document);
-#else
-    UNUSED_PARAM(document);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didRecalculateStyle(const InspectorInstrumentationCookie& cookie)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didRecalculateStyleImpl(cookie);
-#else
-    UNUSED_PARAM(cookie);
-#endif
 }
 
 inline void InspectorInstrumentation::didScheduleStyleRecalculation(Document& document)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didScheduleStyleRecalculationImpl(*instrumentingAgents, document);
-#else
-    UNUSED_PARAM(document);
-#endif
 }
 
 inline void InspectorInstrumentation::applyEmulatedMedia(Frame& frame, String& media)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         applyEmulatedMediaImpl(*instrumentingAgents, media);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(media);
-#endif
 }
 
 inline void InspectorInstrumentation::willSendRequest(Frame* frame, unsigned long identifier, DocumentLoader* loader, ResourceRequest& request, const ResourceResponse& redirectResponse)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         willSendRequestImpl(*instrumentingAgents, identifier, loader, request, redirectResponse);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(loader);
-    UNUSED_PARAM(request);
-    UNUSED_PARAM(redirectResponse);
-#endif
 }
 
 inline void InspectorInstrumentation::continueAfterPingLoader(Frame& frame, unsigned long identifier, DocumentLoader* loader, ResourceRequest& request, const ResourceResponse& response)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(&frame))
         InspectorInstrumentation::continueAfterPingLoaderImpl(*instrumentingAgents, identifier, loader, request, response);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(loader);
-    UNUSED_PARAM(request);
-    UNUSED_PARAM(response);
-#endif
 }
 
 inline void InspectorInstrumentation::markResourceAsCached(Page& page, unsigned long identifier)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         markResourceAsCachedImpl(*instrumentingAgents, identifier);
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(identifier);
-#endif
 }
 
 inline void InspectorInstrumentation::didLoadResourceFromMemoryCache(Page& page, DocumentLoader* loader, CachedResource* resource)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         didLoadResourceFromMemoryCacheImpl(*instrumentingAgents, loader, resource);
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(loader);
-    UNUSED_PARAM(resource);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willReceiveResourceResponse(Frame* frame)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         return willReceiveResourceResponseImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(frame);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didReceiveResourceResponse(const InspectorInstrumentationCookie& cookie, unsigned long identifier, DocumentLoader* loader, const ResourceResponse& response, ResourceLoader* resourceLoader)
 {
-#if ENABLE(INSPECTOR)
     // Call this unconditionally so that we're able to log to console with no front-end attached.
     if (cookie.isValid())
         didReceiveResourceResponseImpl(cookie, identifier, loader, response, resourceLoader);
-#else
-    UNUSED_PARAM(cookie);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(loader);
-    UNUSED_PARAM(response);
-    UNUSED_PARAM(resourceLoader);
-#endif
 }
 
 inline void InspectorInstrumentation::continueAfterXFrameOptionsDenied(Frame* frame, DocumentLoader& loader, unsigned long identifier, const ResourceResponse& r)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     InspectorInstrumentation::continueAfterXFrameOptionsDeniedImpl(frame, loader, identifier, r);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(loader);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(r);
-#endif
 }
 
 inline void InspectorInstrumentation::continueWithPolicyDownload(Frame* frame, DocumentLoader& loader, unsigned long identifier, const ResourceResponse& r)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     InspectorInstrumentation::continueWithPolicyDownloadImpl(frame, loader, identifier, r);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(loader);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(r);
-#endif
 }
 
 inline void InspectorInstrumentation::continueWithPolicyIgnore(Frame* frame, DocumentLoader& loader, unsigned long identifier, const ResourceResponse& r)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     InspectorInstrumentation::continueWithPolicyIgnoreImpl(frame, loader, identifier, r);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(loader);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(r);
-#endif
 }
 
 inline void InspectorInstrumentation::didReceiveData(Frame* frame, unsigned long identifier, const char* data, int dataLength, int encodedDataLength)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         didReceiveDataImpl(*instrumentingAgents, identifier, data, dataLength, encodedDataLength);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(data);
-    UNUSED_PARAM(dataLength);
-    UNUSED_PARAM(encodedDataLength);
-#endif
 }
 
 inline void InspectorInstrumentation::didFinishLoading(Frame* frame, DocumentLoader* loader, unsigned long identifier, double finishTime)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         didFinishLoadingImpl(*instrumentingAgents, identifier, loader, finishTime);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(loader);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(finishTime);
-#endif
 }
 
 inline void InspectorInstrumentation::didFailLoading(Frame* frame, DocumentLoader* loader, unsigned long identifier, const ResourceError& error)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         didFailLoadingImpl(*instrumentingAgents, identifier, loader, error);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(loader);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(error);
-#endif
 }
 
 inline void InspectorInstrumentation::documentThreadableLoaderStartedLoadingForClient(Document& document, unsigned long identifier, ThreadableLoaderClient* client)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         documentThreadableLoaderStartedLoadingForClientImpl(*instrumentingAgents, identifier, client);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(client);
-#endif
 }
 
 inline void InspectorInstrumentation::willLoadXHR(ScriptExecutionContext* context, ThreadableLoaderClient* client, const String& method, const URL& url, bool async, RefPtr<FormData>&& formData, const HTTPHeaderMap& headers, bool includeCredentials)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         willLoadXHRImpl(*instrumentingAgents, client, method, url, async, WTF::move(formData), headers, includeCredentials);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(client);
-    UNUSED_PARAM(method);
-    UNUSED_PARAM(url);
-    UNUSED_PARAM(async);
-    UNUSED_PARAM(formData);
-    UNUSED_PARAM(headers);
-    UNUSED_PARAM(includeCredentials);
-#endif
 }
 
 inline void InspectorInstrumentation::didFailXHRLoading(ScriptExecutionContext* context, ThreadableLoaderClient* client)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         didFailXHRLoadingImpl(*instrumentingAgents, client);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(client);
-#endif
 }
 
 
 inline void InspectorInstrumentation::didFinishXHRLoading(ScriptExecutionContext* context, ThreadableLoaderClient* client, unsigned long identifier, const String& sourceString, const String& url, const String& sendURL, unsigned sendLineNumber, unsigned sendColumnNumber)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         didFinishXHRLoadingImpl(*instrumentingAgents, client, identifier, sourceString, url, sendURL, sendLineNumber, sendColumnNumber);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(client);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(sourceString);
-    UNUSED_PARAM(url);
-    UNUSED_PARAM(sendURL);
-    UNUSED_PARAM(sendLineNumber);
-    UNUSED_PARAM(sendColumnNumber);
-#endif
 }
 
 inline void InspectorInstrumentation::didReceiveXHRResponse(ScriptExecutionContext* context, unsigned long identifier)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         didReceiveXHRResponseImpl(*instrumentingAgents, identifier);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(identifier);
-#endif
 }
 
 inline void InspectorInstrumentation::willLoadXHRSynchronously(ScriptExecutionContext* context)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         willLoadXHRSynchronouslyImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(context);
-#endif
 }
 
 inline void InspectorInstrumentation::didLoadXHRSynchronously(ScriptExecutionContext* context)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         didLoadXHRSynchronouslyImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(context);
-#endif
 }
 
 inline void InspectorInstrumentation::scriptImported(ScriptExecutionContext* context, unsigned long identifier, const String& sourceString)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         scriptImportedImpl(*instrumentingAgents, identifier, sourceString);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(sourceString);
-#endif
 }
 
 inline void InspectorInstrumentation::scriptExecutionBlockedByCSP(ScriptExecutionContext* context, const String& directiveText)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         scriptExecutionBlockedByCSPImpl(*instrumentingAgents, directiveText);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(directiveText);
-#endif
 }
 
 inline void InspectorInstrumentation::didReceiveScriptResponse(ScriptExecutionContext* context, unsigned long identifier)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         didReceiveScriptResponseImpl(*instrumentingAgents, identifier);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(identifier);
-#endif
 }
 
 inline void InspectorInstrumentation::domContentLoadedEventFired(Frame& frame)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         domContentLoadedEventFiredImpl(*instrumentingAgents, frame);
-#else
-    UNUSED_PARAM(frame);
-#endif
 }
 
 inline void InspectorInstrumentation::loadEventFired(Frame* frame)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         loadEventFiredImpl(*instrumentingAgents, frame);
-#else
-    UNUSED_PARAM(frame);
-#endif
 }
 
 inline void InspectorInstrumentation::frameDetachedFromParent(Frame& frame)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         frameDetachedFromParentImpl(*instrumentingAgents, frame);
-#else
-    UNUSED_PARAM(frame);
-#endif
 }
 
 inline void InspectorInstrumentation::didCommitLoad(Frame& frame, DocumentLoader* loader)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         didCommitLoadImpl(*instrumentingAgents, frame.page(), loader);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(loader);
-#endif
 }
 
 inline void InspectorInstrumentation::frameDocumentUpdated(Frame* frame)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         frameDocumentUpdatedImpl(*instrumentingAgents, frame);
-#else
-    UNUSED_PARAM(frame);
-#endif
 }
 
 inline void InspectorInstrumentation::loaderDetachedFromFrame(Frame& frame, DocumentLoader& loader)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         loaderDetachedFromFrameImpl(*instrumentingAgents, loader);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(loader);
-#endif
 }
 
 inline void InspectorInstrumentation::frameStartedLoading(Frame& frame)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(&frame))
         frameStartedLoadingImpl(*instrumentingAgents, frame);
-#else
-    UNUSED_PARAM(frame);
-#endif
 }
 
 inline void InspectorInstrumentation::frameStoppedLoading(Frame& frame)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(&frame))
         frameStoppedLoadingImpl(*instrumentingAgents, frame);
-#else
-    UNUSED_PARAM(frame);
-#endif
 }
 
 inline void InspectorInstrumentation::frameScheduledNavigation(Frame& frame, double delay)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(&frame))
         frameScheduledNavigationImpl(*instrumentingAgents, frame, delay);
-#else
-    UNUSED_PARAM(frame);
-    UNUSED_PARAM(delay);
-#endif
 }
 
 inline void InspectorInstrumentation::frameClearedScheduledNavigation(Frame& frame)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(&frame))
         frameClearedScheduledNavigationImpl(*instrumentingAgents, frame);
-#else
-    UNUSED_PARAM(frame);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willRunJavaScriptDialog(Page& page, const String& message)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         return willRunJavaScriptDialogImpl(*instrumentingAgents, message);
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(message);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didRunJavaScriptDialog(const InspectorInstrumentationCookie& cookie)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didRunJavaScriptDialogImpl(cookie);
-#else
-    UNUSED_PARAM(cookie);
-#endif
 }
 
 inline void InspectorInstrumentation::willDestroyCachedResource(CachedResource& cachedResource)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     willDestroyCachedResourceImpl(cachedResource);
-#else
-    UNUSED_PARAM(cachedResource);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willWriteHTML(Document* document, unsigned startLine)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(InspectorInstrumentationCookie());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         return willWriteHTMLImpl(*instrumentingAgents, startLine, document->frame());
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(startLine);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didWriteHTML(const InspectorInstrumentationCookie& cookie, unsigned endLine)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didWriteHTMLImpl(cookie, endLine);
-#else
-    UNUSED_PARAM(cookie);
-    UNUSED_PARAM(endLine);
-#endif
 }
 
 inline void InspectorInstrumentation::didDispatchDOMStorageEvent(const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* securityOrigin, Page* page)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         didDispatchDOMStorageEventImpl(*instrumentingAgents, key, oldValue, newValue, storageType, securityOrigin, page);
-#else
-    UNUSED_PARAM(key);
-    UNUSED_PARAM(oldValue);
-    UNUSED_PARAM(newValue);
-    UNUSED_PARAM(storageType);
-    UNUSED_PARAM(securityOrigin);
-    UNUSED_PARAM(page);
-#endif // ENABLE(INSPECTOR)
 }
 
 inline bool InspectorInstrumentation::shouldPauseDedicatedWorkerOnStart(ScriptExecutionContext* context)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(false);
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         return shouldPauseDedicatedWorkerOnStartImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(context);
-#endif
     return false;
 }
 
 inline void InspectorInstrumentation::didStartWorkerGlobalScope(ScriptExecutionContext* context, WorkerGlobalScopeProxy* proxy, const URL& url)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         didStartWorkerGlobalScopeImpl(*instrumentingAgents, proxy, url);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(proxy);
-    UNUSED_PARAM(url);
-#endif
 }
 
 inline void InspectorInstrumentation::workerGlobalScopeTerminated(ScriptExecutionContext* context, WorkerGlobalScopeProxy* proxy)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(context))
         workerGlobalScopeTerminatedImpl(*instrumentingAgents, proxy);
-#else
-    UNUSED_PARAM(context);
-    UNUSED_PARAM(proxy);
-#endif
 }
 
 #if ENABLE(WEB_SOCKETS)
 inline void InspectorInstrumentation::didCreateWebSocket(Document* document, unsigned long identifier, const URL& requestURL, const URL& documentURL, const String& protocol)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didCreateWebSocketImpl(*instrumentingAgents, identifier, requestURL, documentURL, protocol, document);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(requestURL);
-    UNUSED_PARAM(documentURL);
-    UNUSED_PARAM(protocol);
-#endif
 }
 
 inline void InspectorInstrumentation::willSendWebSocketHandshakeRequest(Document* document, unsigned long identifier, const ResourceRequest& request)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         willSendWebSocketHandshakeRequestImpl(*instrumentingAgents, identifier, request, document);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(request);
-#endif
 }
 
 inline void InspectorInstrumentation::didReceiveWebSocketHandshakeResponse(Document* document, unsigned long identifier, const ResourceResponse& response)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didReceiveWebSocketHandshakeResponseImpl(*instrumentingAgents, identifier, response, document);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(response);
-#endif
 }
 
 inline void InspectorInstrumentation::didCloseWebSocket(Document* document, unsigned long identifier)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didCloseWebSocketImpl(*instrumentingAgents, identifier, document);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(identifier);
-#endif
 }
+
 inline void InspectorInstrumentation::didReceiveWebSocketFrame(Document* document, unsigned long identifier, const WebSocketFrame& frame)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didReceiveWebSocketFrameImpl(*instrumentingAgents, identifier, frame);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(frame);
-#endif
 }
+
 inline void InspectorInstrumentation::didReceiveWebSocketFrameError(Document* document, unsigned long identifier, const String& errorMessage)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didReceiveWebSocketFrameErrorImpl(*instrumentingAgents, identifier, errorMessage);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(errorMessage);
-#endif
 }
+
 inline void InspectorInstrumentation::didSendWebSocketFrame(Document* document, unsigned long identifier, const WebSocketFrame& frame)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didSendWebSocketFrameImpl(*instrumentingAgents, identifier, frame);
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(identifier);
-    UNUSED_PARAM(frame);
-#endif
 }
-#endif
+#endif // ENABLE(WEB_SOCKETS)
 
 #if ENABLE(WEB_REPLAY)
 inline void InspectorInstrumentation::sessionCreated(Page& page, RefPtr<ReplaySession>&& session)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         sessionCreatedImpl(*instrumentingAgents, WTF::move(session));
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(session);
-#endif
 }
 
 inline void InspectorInstrumentation::sessionLoaded(Page& page, RefPtr<ReplaySession>&& session)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         sessionLoadedImpl(*instrumentingAgents, WTF::move(session));
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(session);
-#endif
 }
 
 inline void InspectorInstrumentation::sessionModified(Page& page, RefPtr<ReplaySession>&& session)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         sessionModifiedImpl(*instrumentingAgents, WTF::move(session));
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(session);
-#endif
 }
 
 inline void InspectorInstrumentation::segmentCreated(Page& page, RefPtr<ReplaySessionSegment>&& segment)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         segmentCreatedImpl(*instrumentingAgents, WTF::move(segment));
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(segment);
-#endif
 }
 
 inline void InspectorInstrumentation::segmentCompleted(Page& page, RefPtr<ReplaySessionSegment>&& segment)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         segmentCompletedImpl(*instrumentingAgents, WTF::move(segment));
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(segment);
-#endif
 }
 
 inline void InspectorInstrumentation::segmentLoaded(Page& page, RefPtr<ReplaySessionSegment>&& segment)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         segmentLoadedImpl(*instrumentingAgents, WTF::move(segment));
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(segment);
-#endif
 }
 
 inline void InspectorInstrumentation::segmentUnloaded(Page& page)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         segmentUnloadedImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(page);
-#endif
 }
 
 inline void InspectorInstrumentation::captureStarted(Page& page)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         captureStartedImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(page);
-#endif
 }
 
 inline void InspectorInstrumentation::captureStopped(Page& page)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         captureStoppedImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(page);
-#endif
 }
 
 inline void InspectorInstrumentation::playbackStarted(Page& page)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         playbackStartedImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(page);
-#endif
 }
 
 inline void InspectorInstrumentation::playbackPaused(Page& page, const ReplayPosition& position)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         playbackPausedImpl(*instrumentingAgents, position);
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(position);
-#endif
 }
 
 inline void InspectorInstrumentation::playbackFinished(Page& page)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         playbackFinishedImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(page);
-#endif
 }
 
 inline void InspectorInstrumentation::playbackHitPosition(Page& page, const ReplayPosition& position)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         playbackHitPositionImpl(*instrumentingAgents, position);
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(position);
-#endif
 }
 #endif // ENABLE(WEB_REPLAY)
 
 inline void InspectorInstrumentation::networkStateChanged(Page* page)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         networkStateChangedImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(page);
-#endif
 }
 
 inline void InspectorInstrumentation::updateApplicationCacheStatus(Frame* frame)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
         updateApplicationCacheStatusImpl(*instrumentingAgents, frame);
-#else
-    UNUSED_PARAM(frame);
-#endif
 }
 
 inline void InspectorInstrumentation::didRequestAnimationFrame(Document* document, int callbackId)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didRequestAnimationFrameImpl(*instrumentingAgents, callbackId, document->frame());
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(callbackId);
-#endif
 }
 
 inline void InspectorInstrumentation::didCancelAnimationFrame(Document* document, int callbackId)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         didCancelAnimationFrameImpl(*instrumentingAgents, callbackId, document->frame());
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(callbackId);
-#endif
 }
 
 inline InspectorInstrumentationCookie InspectorInstrumentation::willFireAnimationFrame(Document* document, int callbackId)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocument(document))
         return willFireAnimationFrameImpl(*instrumentingAgents, callbackId, document->frame());
-#else
-    UNUSED_PARAM(document);
-    UNUSED_PARAM(callbackId);
-#endif
     return InspectorInstrumentationCookie();
 }
 
 inline void InspectorInstrumentation::didFireAnimationFrame(const InspectorInstrumentationCookie& cookie)
 {
-#if ENABLE(INSPECTOR)
     FAST_RETURN_IF_NO_FRONTENDS(void());
     if (cookie.isValid())
         didFireAnimationFrameImpl(cookie);
-#else
-    UNUSED_PARAM(cookie);
-#endif
 }
 
 inline void InspectorInstrumentation::layerTreeDidChange(Page* page)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         layerTreeDidChangeImpl(*instrumentingAgents);
-#else
-    UNUSED_PARAM(page);
-#endif
 }
 
 inline void InspectorInstrumentation::renderLayerDestroyed(Page* page, const RenderLayer& renderLayer)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         renderLayerDestroyedImpl(*instrumentingAgents, renderLayer);
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(renderLayer);
-#endif
 }
 
 inline void InspectorInstrumentation::pseudoElementDestroyed(Page* page, PseudoElement& pseudoElement)
 {
-#if ENABLE(INSPECTOR)
     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
         pseudoElementDestroyedImpl(*instrumentingAgents, pseudoElement);
-#else
-    UNUSED_PARAM(page);
-    UNUSED_PARAM(pseudoElement);
-#endif
 }
 
-#if ENABLE(INSPECTOR)
 inline InstrumentingAgents* InspectorInstrumentation::instrumentingAgentsForContext(ScriptExecutionContext* context)
 {
     if (!context)
@@ -2025,7 +1362,6 @@ inline InstrumentingAgents* InspectorInstrumentation::instrumentingAgentsForDocu
 #endif
     return instrumentingAgentsForPage(page);
 }
-#endif
 
 } // namespace WebCore
 
index 4555db2..c5902ba 100644 (file)
@@ -29,9 +29,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
-
 #include "InspectorLayerTreeAgent.h"
 
 #include "InspectorDOMAgent.h"
@@ -361,5 +358,3 @@ void InspectorLayerTreeAgent::unbindPseudoElement(PseudoElement* pseudoElement)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 274e23e..166e9a6 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef InspectorLayerTreeAgent_h
 #define InspectorLayerTreeAgent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorWebAgentBase.h"
 #include <inspector/InspectorBackendDispatchers.h>
 #include <inspector/InspectorFrontendDispatchers.h>
@@ -95,6 +93,4 @@ private:
 
 } // namespace WebCore
 
-#endif // ENABLE(INSPECTOR)
-
 #endif // !defined(InspectorLayerTreeAgent_h)
index fd2fcdd..282a160 100644 (file)
@@ -27,8 +27,6 @@
  */
 
 #include "config.h"
-
-#if ENABLE(INSPECTOR)
 #include "InspectorOverlay.h"
 
 #include "DocumentLoader.h"
@@ -903,5 +901,3 @@ void InspectorOverlay::freePage()
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index 4bd3043..fd733d6 100644 (file)
@@ -31,8 +31,6 @@
 #include "config.h"
 #include "InspectorPageAgent.h"
 
-#if ENABLE(INSPECTOR)
-
 #include "CachedCSSStyleSheet.h"
 #include "CachedFont.h"
 #include "CachedImage.h"
@@ -1074,5 +1072,3 @@ void InspectorPageAgent::archive(ErrorString& errorString, String* data)
 }
 
 } // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
index bf264a7..bfd5775 100644 (file)
@@ -31,8 +31,6 @@
 #ifndef InspectorPageAgent_h
 #define InspectorPageAgent_h
 
-#if ENABLE(INSPECTOR)
-
 #include "InspectorWebAgentBase.h"
 #include "IntSize.h"
 #include "LayoutRect.h"
@@