Web Inspector: Remove the old front-end from WebKit.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Oct 2013 00:17:48 +0000 (00:17 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Oct 2013 00:17:48 +0000 (00:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=122295

* inspector/front-end/AceTextEditor.js: Removed.
* inspector/front-end/AdvancedSearchController.js: Removed.
* inspector/front-end/ApplicationCacheItemsView.js: Removed.
* inspector/front-end/ApplicationCacheModel.js: Removed.
* inspector/front-end/AuditCategories.js: Removed.
* inspector/front-end/AuditController.js: Removed.
* inspector/front-end/AuditFormatters.js: Removed.
* inspector/front-end/AuditLauncherView.js: Removed.
* inspector/front-end/AuditResultView.js: Removed.
* inspector/front-end/AuditRules.js: Removed.
* inspector/front-end/AuditsPanel.js: Removed.
* inspector/front-end/BottomUpProfileDataGridTree.js: Removed.
* inspector/front-end/BreakpointManager.js: Removed.
* inspector/front-end/BreakpointsSidebarPane.js: Removed.
* inspector/front-end/CPUProfileView.js: Removed.
* inspector/front-end/CSSMetadata.js: Removed.
* inspector/front-end/CSSNamedFlowCollectionsView.js: Removed.
* inspector/front-end/CSSNamedFlowView.js: Removed.
* inspector/front-end/CSSSelectorProfileView.js: Removed.
* inspector/front-end/CSSStyleModel.js: Removed.
* inspector/front-end/CallStackSidebarPane.js: Removed.
* inspector/front-end/CanvasProfileView.js: Removed.
* inspector/front-end/Checkbox.js: Removed.
* inspector/front-end/CodeMirrorTextEditor.js: Removed.
* inspector/front-end/Color.js: Removed.
* inspector/front-end/CompilerScriptMapping.js: Removed.
* inspector/front-end/ConsoleMessage.js: Removed.
* inspector/front-end/ConsoleModel.js: Removed.
* inspector/front-end/ConsolePanel.js: Removed.
* inspector/front-end/ConsoleView.js: Removed.
* inspector/front-end/ContentProvider.js: Removed.
* inspector/front-end/ContentProviderBasedProjectDelegate.js: Removed.
* inspector/front-end/ContentProviders.js: Removed.
* inspector/front-end/ContextMenu.js: Removed.
* inspector/front-end/CookieItemsView.js: Removed.
* inspector/front-end/CookieParser.js: Removed.
* inspector/front-end/CookiesTable.js: Removed.
* inspector/front-end/DOMAgent.js: Removed.
* inspector/front-end/DOMBreakpointsSidebarPane.js: Removed.
* inspector/front-end/DOMCountersGraph.js: Removed.
* inspector/front-end/DOMExtension.js: Removed.
* inspector/front-end/DOMPresentationUtils.js: Removed.
* inspector/front-end/DOMStorage.js: Removed.
* inspector/front-end/DOMStorageItemsView.js: Removed.
* inspector/front-end/DOMSyntaxHighlighter.js: Removed.
* inspector/front-end/DataGrid.js: Removed.
* inspector/front-end/Database.js: Removed.
* inspector/front-end/DatabaseQueryView.js: Removed.
* inspector/front-end/DatabaseTableView.js: Removed.
* inspector/front-end/DebuggerModel.js: Removed.
* inspector/front-end/DebuggerScriptMapping.js: Removed.
* inspector/front-end/DefaultScriptMapping.js: Removed.
* inspector/front-end/DefaultTextEditor.js: Removed.
* inspector/front-end/Dialog.js: Removed.
* inspector/front-end/DirectoryContentView.js: Removed.
* inspector/front-end/DockController.js: Removed.
* inspector/front-end/Drawer.js: Removed.
* inspector/front-end/ElementsPanel.js: Removed.
* inspector/front-end/ElementsPanelDescriptor.js: Removed.
* inspector/front-end/ElementsTreeOutline.js: Removed.
* inspector/front-end/EmptyView.js: Removed.
* inspector/front-end/EventListenersSidebarPane.js: Removed.
* inspector/front-end/ExtensionAPI.js: Removed.
* inspector/front-end/ExtensionAuditCategory.js: Removed.
* inspector/front-end/ExtensionPanel.js: Removed.
* inspector/front-end/ExtensionRegistryStub.js: Removed.
* inspector/front-end/ExtensionServer.js: Removed.
* inspector/front-end/ExtensionView.js: Removed.
* inspector/front-end/FileContentView.js: Removed.
* inspector/front-end/FileManager.js: Removed.
* inspector/front-end/FileMapping.js: Removed.
* inspector/front-end/FileSystemMapping.js: Removed.
* inspector/front-end/FileSystemModel.js: Removed.
* inspector/front-end/FileSystemProjectDelegate.js: Removed.
* inspector/front-end/FileSystemView.js: Removed.
* inspector/front-end/FileUtils.js: Removed.
* inspector/front-end/FilteredItemSelectionDialog.js: Removed.
* inspector/front-end/FlameChart.js: Removed.
* inspector/front-end/FontView.js: Removed.
* inspector/front-end/GoToLineDialog.js: Removed.
* inspector/front-end/HAREntry.js: Removed.
* inspector/front-end/HandlerRegistry.js: Removed.
* inspector/front-end/HeapSnapshot.js: Removed.
* inspector/front-end/HeapSnapshotDataGrids.js: Removed.
* inspector/front-end/HeapSnapshotGridNodes.js: Removed.
* inspector/front-end/HeapSnapshotLoader.js: Removed.
* inspector/front-end/HeapSnapshotProxy.js: Removed.
* inspector/front-end/HeapSnapshotView.js: Removed.
* inspector/front-end/HeapSnapshotWorker.js: Removed.
* inspector/front-end/HeapSnapshotWorkerDispatcher.js: Removed.
* inspector/front-end/HelpScreen.js: Removed.
* inspector/front-end/ImageView.js: Removed.
* inspector/front-end/Images/addIcon.png: Removed.
* inspector/front-end/Images/applicationCache.png: Removed.
* inspector/front-end/Images/back.png: Removed.
* inspector/front-end/Images/breakpointBorder.png: Removed.
* inspector/front-end/Images/breakpointConditionalBorder.png: Removed.
* inspector/front-end/Images/breakpointConditionalCounterBorder.png: Removed.
* inspector/front-end/Images/breakpointCounterBorder.png: Removed.
* inspector/front-end/Images/checker.png: Removed.
* inspector/front-end/Images/closeButtons.png: Removed.
* inspector/front-end/Images/cookie.png: Removed.
* inspector/front-end/Images/database.png: Removed.
* inspector/front-end/Images/databaseTable.png: Removed.
* inspector/front-end/Images/debuggerContinue.png: Removed.
* inspector/front-end/Images/debuggerPause.png: Removed.
* inspector/front-end/Images/debuggerStepInto.png: Removed.
* inspector/front-end/Images/debuggerStepOut.png: Removed.
* inspector/front-end/Images/debuggerStepOver.png: Removed.
* inspector/front-end/Images/deleteIcon.png: Removed.
* inspector/front-end/Images/disclosureTriangleSmallDown.png: Removed.
* inspector/front-end/Images/disclosureTriangleSmallDownBlack.png: Removed.
* inspector/front-end/Images/disclosureTriangleSmallDownWhite.png: Removed.
* inspector/front-end/Images/disclosureTriangleSmallRight.png: Removed.
* inspector/front-end/Images/disclosureTriangleSmallRightBlack.png: Removed.
* inspector/front-end/Images/disclosureTriangleSmallRightDown.png: Removed.
* inspector/front-end/Images/disclosureTriangleSmallRightDownBlack.png: Removed.
* inspector/front-end/Images/disclosureTriangleSmallRightDownWhite.png: Removed.
* inspector/front-end/Images/disclosureTriangleSmallRightWhite.png: Removed.
* inspector/front-end/Images/domain.png: Removed.
* inspector/front-end/Images/errorIcon.png: Removed.
* inspector/front-end/Images/errorMediumIcon.png: Removed.
* inspector/front-end/Images/errorRedDot.png: Removed.
* inspector/front-end/Images/fileSystem.png: Removed.
* inspector/front-end/Images/forward.png: Removed.
* inspector/front-end/Images/frame.png: Removed.
* inspector/front-end/Images/glossyHeader.png: Removed.
* inspector/front-end/Images/glossyHeaderPressed.png: Removed.
* inspector/front-end/Images/glossyHeaderSelected.png: Removed.
* inspector/front-end/Images/glossyHeaderSelectedPressed.png: Removed.
* inspector/front-end/Images/goArrow.png: Removed.
* inspector/front-end/Images/graphLabelCalloutLeft.png: Removed.
* inspector/front-end/Images/graphLabelCalloutRight.png: Removed.
* inspector/front-end/Images/indexedDB.png: Removed.
* inspector/front-end/Images/indexedDBIndex.png: Removed.
* inspector/front-end/Images/indexedDBObjectStore.png: Removed.
* inspector/front-end/Images/localStorage.png: Removed.
* inspector/front-end/Images/namedFlowOverflow.png: Removed.
* inspector/front-end/Images/navigatorShowHideButton.png: Removed.
* inspector/front-end/Images/paneAddButtons.png: Removed.
* inspector/front-end/Images/paneBottomGrow.png: Removed.
* inspector/front-end/Images/paneBottomGrowActive.png: Removed.
* inspector/front-end/Images/paneElementStateButtons.png: Removed.
* inspector/front-end/Images/paneFilterButtons.png: Removed.
* inspector/front-end/Images/paneGrowHandleLine.png: Removed.
* inspector/front-end/Images/paneRefreshButtons.png: Removed.
* inspector/front-end/Images/paneSettingsButtons.png: Removed.
* inspector/front-end/Images/popoverArrows.png: Removed.
* inspector/front-end/Images/popoverBackground.png: Removed.
* inspector/front-end/Images/profileGroupIcon.png: Removed.
* inspector/front-end/Images/profileIcon.png: Removed.
* inspector/front-end/Images/profileSmallIcon.png: Removed.
* inspector/front-end/Images/profilesSilhouette.png: Removed.
* inspector/front-end/Images/programCounterBorder.png: Removed.
* inspector/front-end/Images/radioDot.png: Removed.
* inspector/front-end/Images/regionEmpty.png: Removed.
* inspector/front-end/Images/regionFit.png: Removed.
* inspector/front-end/Images/regionOverset.png: Removed.
* inspector/front-end/Images/resourceCSSIcon.png: Removed.
* inspector/front-end/Images/resourceDocumentIcon.png: Removed.
* inspector/front-end/Images/resourceDocumentIconSmall.png: Removed.
* inspector/front-end/Images/resourceJSIcon.png: Removed.
* inspector/front-end/Images/resourcePlainIcon.png: Removed.
* inspector/front-end/Images/resourcePlainIconSmall.png: Removed.
* inspector/front-end/Images/resourcesSizeGraphIcon.png: Removed.
* inspector/front-end/Images/resourcesTimeGraphIcon.png: Removed.
* inspector/front-end/Images/scriptsSilhouette.png: Removed.
* inspector/front-end/Images/searchNext.png: Removed.
* inspector/front-end/Images/searchPrev.png: Removed.
* inspector/front-end/Images/searchSmallBlue.png: Removed.
* inspector/front-end/Images/searchSmallBrightBlue.png: Removed.
* inspector/front-end/Images/searchSmallGray.png: Removed.
* inspector/front-end/Images/searchSmallWhite.png: Removed.
* inspector/front-end/Images/segment.png: Removed.
* inspector/front-end/Images/segmentEnd.png: Removed.
* inspector/front-end/Images/segmentHover.png: Removed.
* inspector/front-end/Images/segmentHoverEnd.png: Removed.
* inspector/front-end/Images/segmentSelected.png: Removed.
* inspector/front-end/Images/segmentSelectedEnd.png: Removed.
* inspector/front-end/Images/sessionStorage.png: Removed.
* inspector/front-end/Images/spinner.gif: Removed.
* inspector/front-end/Images/spinnerActive.gif: Removed.
* inspector/front-end/Images/spinnerActiveSelected.gif: Removed.
* inspector/front-end/Images/spinnerInactive.gif: Removed.
* inspector/front-end/Images/spinnerInactiveSelected.gif: Removed.
* inspector/front-end/Images/splitviewDimple.png: Removed.
* inspector/front-end/Images/splitviewDividerBackground.png: Removed.
* inspector/front-end/Images/statusbarButtonGlyphs.png: Removed.
* inspector/front-end/Images/statusbarButtonGlyphs2x.png: Removed.
* inspector/front-end/Images/statusbarResizerHorizontal.png: Removed.
* inspector/front-end/Images/statusbarResizerVertical.png: Removed.
* inspector/front-end/Images/successGreenDot.png: Removed.
* inspector/front-end/Images/thumbActiveHoriz.png: Removed.
* inspector/front-end/Images/thumbActiveVert.png: Removed.
* inspector/front-end/Images/thumbHoriz.png: Removed.
* inspector/front-end/Images/thumbHoverHoriz.png: Removed.
* inspector/front-end/Images/thumbHoverVert.png: Removed.
* inspector/front-end/Images/thumbVert.png: Removed.
* inspector/front-end/Images/tickMark.png: Removed.
* inspector/front-end/Images/timelineHollowPillBlue.png: Removed.
* inspector/front-end/Images/timelineHollowPillGray.png: Removed.
* inspector/front-end/Images/timelineHollowPillGreen.png: Removed.
* inspector/front-end/Images/timelineHollowPillOrange.png: Removed.
* inspector/front-end/Images/timelineHollowPillPurple.png: Removed.
* inspector/front-end/Images/timelineHollowPillRed.png: Removed.
* inspector/front-end/Images/timelineHollowPillYellow.png: Removed.
* inspector/front-end/Images/timelinePillBlue.png: Removed.
* inspector/front-end/Images/timelinePillGray.png: Removed.
* inspector/front-end/Images/timelinePillGreen.png: Removed.
* inspector/front-end/Images/timelinePillOrange.png: Removed.
* inspector/front-end/Images/timelinePillPurple.png: Removed.
* inspector/front-end/Images/timelinePillRed.png: Removed.
* inspector/front-end/Images/timelinePillYellow.png: Removed.
* inspector/front-end/Images/toolbarIcons.png: Removed.
* inspector/front-end/Images/toolbarIconsSmall.png: Removed.
* inspector/front-end/Images/toolbarItemSelected.png: Removed.
* inspector/front-end/Images/trackHoriz.png: Removed.
* inspector/front-end/Images/trackVert.png: Removed.
* inspector/front-end/Images/treeDownTriangleBlack.png: Removed.
* inspector/front-end/Images/treeDownTriangleWhite.png: Removed.
* inspector/front-end/Images/treeRightTriangleBlack.png: Removed.
* inspector/front-end/Images/treeRightTriangleWhite.png: Removed.
* inspector/front-end/Images/treeUpTriangleBlack.png: Removed.
* inspector/front-end/Images/treeUpTriangleWhite.png: Removed.
* inspector/front-end/Images/userInputIcon.png: Removed.
* inspector/front-end/Images/userInputPreviousIcon.png: Removed.
* inspector/front-end/Images/userInputResultIcon.png: Removed.
* inspector/front-end/Images/warningIcon.png: Removed.
* inspector/front-end/Images/warningMediumIcon.png: Removed.
* inspector/front-end/Images/warningOrangeDot.png: Removed.
* inspector/front-end/Images/warningsErrors.png: Removed.
* inspector/front-end/IndexedDBModel.js: Removed.
* inspector/front-end/IndexedDBViews.js: Removed.
* inspector/front-end/InspectElementModeController.js: Removed.
* inspector/front-end/InspectorBackend.js: Removed.
* inspector/front-end/InspectorBackendCommands.qrc: Removed.
* inspector/front-end/InspectorFrontendAPI.js: Removed.
* inspector/front-end/InspectorFrontendHostStub.js: Removed.
* inspector/front-end/InspectorView.js: Removed.
* inspector/front-end/IsolatedFileSystem.js: Removed.
* inspector/front-end/IsolatedFileSystemManager.js: Removed.
* inspector/front-end/JSHeapSnapshot.js: Removed.
* inspector/front-end/JavaScriptFormatter.js: Removed.
* inspector/front-end/JavaScriptSourceFrame.js: Removed.
* inspector/front-end/KeyboardShortcut.js: Removed.
* inspector/front-end/Linkifier.js: Removed.
* inspector/front-end/LiveEditSupport.js: Removed.
* inspector/front-end/MemoryStatistics.js: Removed.
* inspector/front-end/MetricsSidebarPane.js: Removed.
* inspector/front-end/NativeBreakpointsSidebarPane.js: Removed.
* inspector/front-end/NativeHeapSnapshot.js: Removed.
* inspector/front-end/NativeMemoryGraph.js: Removed.
* inspector/front-end/NavigatorOverlayController.js: Removed.
* inspector/front-end/NavigatorView.js: Removed.
* inspector/front-end/NetworkItemView.js: Removed.
* inspector/front-end/NetworkLog.js: Removed.
* inspector/front-end/NetworkManager.js: Removed.
* inspector/front-end/NetworkPanel.js: Removed.
* inspector/front-end/NetworkPanelDescriptor.js: Removed.
* inspector/front-end/NetworkRequest.js: Removed.
* inspector/front-end/NetworkUISourceCodeProvider.js: Removed.
* inspector/front-end/Object.js: Removed.
* inspector/front-end/ObjectPopoverHelper.js: Removed.
* inspector/front-end/ObjectPropertiesSection.js: Removed.
* inspector/front-end/OverridesView.js: Removed.
* inspector/front-end/OverviewGrid.js: Removed.
* inspector/front-end/Panel.js: Removed.
* inspector/front-end/PanelEnablerView.js: Removed.
* inspector/front-end/ParsedURL.js: Removed.
* inspector/front-end/Placard.js: Removed.
* inspector/front-end/Popover.js: Removed.
* inspector/front-end/PresentationConsoleMessageHelper.js: Removed.
* inspector/front-end/ProfileDataGridTree.js: Removed.
* inspector/front-end/ProfileLauncherView.js: Removed.
* inspector/front-end/ProfilesPanel.js: Removed.
* inspector/front-end/ProfilesPanelDescriptor.js: Removed.
* inspector/front-end/Progress.js: Removed.
* inspector/front-end/ProgressIndicator.js: Removed.
* inspector/front-end/PropertiesSection.js: Removed.
* inspector/front-end/PropertiesSidebarPane.js: Removed.
* inspector/front-end/RawSourceCode.js: Removed.
* inspector/front-end/RemoteObject.js: Removed.
* inspector/front-end/RequestCookiesView.js: Removed.
* inspector/front-end/RequestHTMLView.js: Removed.
* inspector/front-end/RequestHeadersView.js: Removed.
* inspector/front-end/RequestJSONView.js: Removed.
* inspector/front-end/RequestPreviewView.js: Removed.
* inspector/front-end/RequestResponseView.js: Removed.
* inspector/front-end/RequestTimingView.js: Removed.
* inspector/front-end/RequestView.js: Removed.
* inspector/front-end/Resource.js: Removed.
* inspector/front-end/ResourceScriptMapping.js: Removed.
* inspector/front-end/ResourceTreeModel.js: Removed.
* inspector/front-end/ResourceType.js: Removed.
* inspector/front-end/ResourceUtils.js: Removed.
* inspector/front-end/ResourceView.js: Removed.
* inspector/front-end/ResourceWebSocketFrameView.js: Removed.
* inspector/front-end/ResourcesPanel.js: Removed.
* inspector/front-end/RevisionHistoryView.js: Removed.
* inspector/front-end/RuntimeModel.js: Removed.
* inspector/front-end/SASSSourceMapping.js: Removed.
* inspector/front-end/ScopeChainSidebarPane.js: Removed.
* inspector/front-end/Script.js: Removed.
* inspector/front-end/ScriptFormatter.js: Removed.
* inspector/front-end/ScriptFormatterWorker.js: Removed.
* inspector/front-end/ScriptSnippetModel.js: Removed.
* inspector/front-end/ScriptsNavigator.js: Removed.
* inspector/front-end/ScriptsPanel.js: Removed.
* inspector/front-end/ScriptsPanelDescriptor.js: Removed.
* inspector/front-end/ScriptsSearchScope.js: Removed.
* inspector/front-end/SearchController.js: Removed.
* inspector/front-end/Section.js: Removed.
* inspector/front-end/Settings.js: Removed.
* inspector/front-end/SettingsScreen.js: Removed.
* inspector/front-end/ShortcutsScreen.js: Removed.
* inspector/front-end/ShowMoreDataGridNode.js: Removed.
* inspector/front-end/SidebarOverlay.js: Removed.
* inspector/front-end/SidebarPane.js: Removed.
* inspector/front-end/SidebarTreeElement.js: Removed.
* inspector/front-end/SidebarView.js: Removed.
* inspector/front-end/SimpleWorkspaceProvider.js: Removed.
* inspector/front-end/SnippetJavaScriptSourceFrame.js: Removed.
* inspector/front-end/SnippetStorage.js: Removed.
* inspector/front-end/SoftContextMenu.js: Removed.
* inspector/front-end/SourceCSSTokenizer.js: Removed.
* inspector/front-end/SourceCSSTokenizer.re2js: Removed.
* inspector/front-end/SourceFrame.js: Removed.
* inspector/front-end/SourceHTMLTokenizer.js: Removed.
* inspector/front-end/SourceHTMLTokenizer.re2js: Removed.
* inspector/front-end/SourceJavaScriptTokenizer.js: Removed.
* inspector/front-end/SourceJavaScriptTokenizer.re2js: Removed.
* inspector/front-end/SourceMap.js: Removed.
* inspector/front-end/SourceMapping.js: Removed.
* inspector/front-end/SourceTokenizer.js: Removed.
* inspector/front-end/Spectrum.js: Removed.
* inspector/front-end/SplitView.js: Removed.
* inspector/front-end/StatusBarButton.js: Removed.
* inspector/front-end/StyleSheetOutlineDialog.js: Removed.
* inspector/front-end/StylesSidebarPane.js: Removed.
* inspector/front-end/StylesSourceMapping.js: Removed.
* inspector/front-end/SuggestBox.js: Removed.
* inspector/front-end/TabbedEditorContainer.js: Removed.
* inspector/front-end/TabbedPane.js: Removed.
* inspector/front-end/TestController.js: Removed.
* inspector/front-end/TextEditor.js: Removed.
* inspector/front-end/TextEditorHighlighter.js: Removed.
* inspector/front-end/TextEditorModel.js: Removed.
* inspector/front-end/TextPrompt.js: Removed.
* inspector/front-end/TextUtils.js: Removed.
* inspector/front-end/TimelineFrameController.js: Removed.
* inspector/front-end/TimelineGrid.js: Removed.
* inspector/front-end/TimelineManager.js: Removed.
* inspector/front-end/TimelineModel.js: Removed.
* inspector/front-end/TimelineOverviewPane.js: Removed.
* inspector/front-end/TimelinePanel.js: Removed.
* inspector/front-end/TimelinePanelDescriptor.js: Removed.
* inspector/front-end/TimelinePresentationModel.js: Removed.
* inspector/front-end/Toolbar.js: Removed.
* inspector/front-end/TopDownProfileDataGridTree.js: Removed.
* inspector/front-end/UISourceCode.js: Removed.
* inspector/front-end/UISourceCodeFrame.js: Removed.
* inspector/front-end/UIString.js: Removed.
* inspector/front-end/UIUtils.js: Removed.
* inspector/front-end/UglifyJS/parse-js.js: Removed.
* inspector/front-end/UserAgentSupport.js: Removed.
* inspector/front-end/UserMetrics.js: Removed.
* inspector/front-end/View.js: Removed.
* inspector/front-end/ViewportControl.js: Removed.
* inspector/front-end/WatchExpressionsSidebarPane.js: Removed.
* inspector/front-end/WebKit.qrc: Removed.
* inspector/front-end/WorkerManager.js: Removed.
* inspector/front-end/WorkersSidebarPane.js: Removed.
* inspector/front-end/Workspace.js: Removed.
* inspector/front-end/ace/LICENSE.txt: Removed.
* inspector/front-end/ace/ace.js: Removed.
* inspector/front-end/ace/acedevtools.css: Removed.
* inspector/front-end/ace/mode_css.js: Removed.
* inspector/front-end/ace/mode_html.js: Removed.
* inspector/front-end/ace/mode_javascript.js: Removed.
* inspector/front-end/ace/theme_textmate.js: Removed.
* inspector/front-end/auditsPanel.css: Removed.
* inspector/front-end/breadcrumbList.css: Removed.
* inspector/front-end/breakpointsList.css: Removed.
* inspector/front-end/buildSystemOnly.js: Removed.
* inspector/front-end/canvasProfiler.css: Removed.
* inspector/front-end/cm/LICENSE: Removed.
* inspector/front-end/cm/closebrackets.js: Removed.
* inspector/front-end/cm/cmdevtools.css: Removed.
* inspector/front-end/cm/codemirror.css: Removed.
* inspector/front-end/cm/codemirror.js: Removed.
* inspector/front-end/cm/css.js: Removed.
* inspector/front-end/cm/htmlmixed.js: Removed.
* inspector/front-end/cm/javascript.js: Removed.
* inspector/front-end/cm/matchbrackets.js: Removed.
* inspector/front-end/cm/xml.js: Removed.
* inspector/front-end/cssNamedFlows.css: Removed.
* inspector/front-end/dataGrid.css: Removed.
* inspector/front-end/dialog.css: Removed.
* inspector/front-end/elementsPanel.css: Removed.
* inspector/front-end/externs.js: Removed.
* inspector/front-end/filteredItemSelectionDialog.css: Removed.
* inspector/front-end/flameChart.css: Removed.
* inspector/front-end/heapProfiler.css: Removed.
* inspector/front-end/helpScreen.css: Removed.
* inspector/front-end/indexedDBViews.css: Removed.
* inspector/front-end/inspector.css: Removed.
* inspector/front-end/inspector.html: Removed.
* inspector/front-end/inspector.js: Removed.
* inspector/front-end/inspectorCommon.css: Removed.
* inspector/front-end/inspectorSyntaxHighlight.css: Removed.
* inspector/front-end/jsdifflib.js: Removed.
* inspector/front-end/navigatorView.css: Removed.
* inspector/front-end/networkLogView.css: Removed.
* inspector/front-end/networkPanel.css: Removed.
* inspector/front-end/panelEnablerView.css: Removed.
* inspector/front-end/popover.css: Removed.
* inspector/front-end/profilesPanel.css: Removed.
* inspector/front-end/resourceView.css: Removed.
* inspector/front-end/resourcesPanel.css: Removed.
* inspector/front-end/revisionHistory.css: Removed.
* inspector/front-end/scriptsPanel.css: Removed.
* inspector/front-end/sidebarPane.css: Removed.
* inspector/front-end/spectrum.css: Removed.
* inspector/front-end/splitView.css: Removed.
* inspector/front-end/tabbedPane.css: Removed.
* inspector/front-end/test-runner.html: Removed.
* inspector/front-end/textEditor.css: Removed.
* inspector/front-end/textPrompt.css: Removed.
* inspector/front-end/timelinePanel.css: Removed.
* inspector/front-end/treeoutline.js: Removed.
* inspector/front-end/utilities.js: Removed.

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

432 files changed:
Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/AceTextEditor.js [deleted file]
Source/WebCore/inspector/front-end/AdvancedSearchController.js [deleted file]
Source/WebCore/inspector/front-end/ApplicationCacheItemsView.js [deleted file]
Source/WebCore/inspector/front-end/ApplicationCacheModel.js [deleted file]
Source/WebCore/inspector/front-end/AuditCategories.js [deleted file]
Source/WebCore/inspector/front-end/AuditController.js [deleted file]
Source/WebCore/inspector/front-end/AuditFormatters.js [deleted file]
Source/WebCore/inspector/front-end/AuditLauncherView.js [deleted file]
Source/WebCore/inspector/front-end/AuditResultView.js [deleted file]
Source/WebCore/inspector/front-end/AuditRules.js [deleted file]
Source/WebCore/inspector/front-end/AuditsPanel.js [deleted file]
Source/WebCore/inspector/front-end/BottomUpProfileDataGridTree.js [deleted file]
Source/WebCore/inspector/front-end/BreakpointManager.js [deleted file]
Source/WebCore/inspector/front-end/BreakpointsSidebarPane.js [deleted file]
Source/WebCore/inspector/front-end/CPUProfileView.js [deleted file]
Source/WebCore/inspector/front-end/CSSMetadata.js [deleted file]
Source/WebCore/inspector/front-end/CSSNamedFlowCollectionsView.js [deleted file]
Source/WebCore/inspector/front-end/CSSNamedFlowView.js [deleted file]
Source/WebCore/inspector/front-end/CSSSelectorProfileView.js [deleted file]
Source/WebCore/inspector/front-end/CSSStyleModel.js [deleted file]
Source/WebCore/inspector/front-end/CallStackSidebarPane.js [deleted file]
Source/WebCore/inspector/front-end/CanvasProfileView.js [deleted file]
Source/WebCore/inspector/front-end/Checkbox.js [deleted file]
Source/WebCore/inspector/front-end/CodeMirrorTextEditor.js [deleted file]
Source/WebCore/inspector/front-end/Color.js [deleted file]
Source/WebCore/inspector/front-end/CompilerScriptMapping.js [deleted file]
Source/WebCore/inspector/front-end/ConsoleMessage.js [deleted file]
Source/WebCore/inspector/front-end/ConsoleModel.js [deleted file]
Source/WebCore/inspector/front-end/ConsolePanel.js [deleted file]
Source/WebCore/inspector/front-end/ConsoleView.js [deleted file]
Source/WebCore/inspector/front-end/ContentProvider.js [deleted file]
Source/WebCore/inspector/front-end/ContentProviderBasedProjectDelegate.js [deleted file]
Source/WebCore/inspector/front-end/ContentProviders.js [deleted file]
Source/WebCore/inspector/front-end/ContextMenu.js [deleted file]
Source/WebCore/inspector/front-end/CookieItemsView.js [deleted file]
Source/WebCore/inspector/front-end/CookieParser.js [deleted file]
Source/WebCore/inspector/front-end/CookiesTable.js [deleted file]
Source/WebCore/inspector/front-end/DOMAgent.js [deleted file]
Source/WebCore/inspector/front-end/DOMBreakpointsSidebarPane.js [deleted file]
Source/WebCore/inspector/front-end/DOMCountersGraph.js [deleted file]
Source/WebCore/inspector/front-end/DOMExtension.js [deleted file]
Source/WebCore/inspector/front-end/DOMPresentationUtils.js [deleted file]
Source/WebCore/inspector/front-end/DOMStorage.js [deleted file]
Source/WebCore/inspector/front-end/DOMStorageItemsView.js [deleted file]
Source/WebCore/inspector/front-end/DOMSyntaxHighlighter.js [deleted file]
Source/WebCore/inspector/front-end/DataGrid.js [deleted file]
Source/WebCore/inspector/front-end/Database.js [deleted file]
Source/WebCore/inspector/front-end/DatabaseQueryView.js [deleted file]
Source/WebCore/inspector/front-end/DatabaseTableView.js [deleted file]
Source/WebCore/inspector/front-end/DebuggerModel.js [deleted file]
Source/WebCore/inspector/front-end/DebuggerScriptMapping.js [deleted file]
Source/WebCore/inspector/front-end/DefaultScriptMapping.js [deleted file]
Source/WebCore/inspector/front-end/DefaultTextEditor.js [deleted file]
Source/WebCore/inspector/front-end/Dialog.js [deleted file]
Source/WebCore/inspector/front-end/DirectoryContentView.js [deleted file]
Source/WebCore/inspector/front-end/DockController.js [deleted file]
Source/WebCore/inspector/front-end/Drawer.js [deleted file]
Source/WebCore/inspector/front-end/ElementsPanel.js [deleted file]
Source/WebCore/inspector/front-end/ElementsPanelDescriptor.js [deleted file]
Source/WebCore/inspector/front-end/ElementsTreeOutline.js [deleted file]
Source/WebCore/inspector/front-end/EmptyView.js [deleted file]
Source/WebCore/inspector/front-end/EventListenersSidebarPane.js [deleted file]
Source/WebCore/inspector/front-end/ExtensionAPI.js [deleted file]
Source/WebCore/inspector/front-end/ExtensionAuditCategory.js [deleted file]
Source/WebCore/inspector/front-end/ExtensionPanel.js [deleted file]
Source/WebCore/inspector/front-end/ExtensionRegistryStub.js [deleted file]
Source/WebCore/inspector/front-end/ExtensionServer.js [deleted file]
Source/WebCore/inspector/front-end/ExtensionView.js [deleted file]
Source/WebCore/inspector/front-end/FileContentView.js [deleted file]
Source/WebCore/inspector/front-end/FileManager.js [deleted file]
Source/WebCore/inspector/front-end/FileMapping.js [deleted file]
Source/WebCore/inspector/front-end/FileSystemMapping.js [deleted file]
Source/WebCore/inspector/front-end/FileSystemModel.js [deleted file]
Source/WebCore/inspector/front-end/FileSystemProjectDelegate.js [deleted file]
Source/WebCore/inspector/front-end/FileSystemView.js [deleted file]
Source/WebCore/inspector/front-end/FileUtils.js [deleted file]
Source/WebCore/inspector/front-end/FilteredItemSelectionDialog.js [deleted file]
Source/WebCore/inspector/front-end/FlameChart.js [deleted file]
Source/WebCore/inspector/front-end/FontView.js [deleted file]
Source/WebCore/inspector/front-end/GoToLineDialog.js [deleted file]
Source/WebCore/inspector/front-end/HAREntry.js [deleted file]
Source/WebCore/inspector/front-end/HandlerRegistry.js [deleted file]
Source/WebCore/inspector/front-end/HeapSnapshot.js [deleted file]
Source/WebCore/inspector/front-end/HeapSnapshotDataGrids.js [deleted file]
Source/WebCore/inspector/front-end/HeapSnapshotGridNodes.js [deleted file]
Source/WebCore/inspector/front-end/HeapSnapshotLoader.js [deleted file]
Source/WebCore/inspector/front-end/HeapSnapshotProxy.js [deleted file]
Source/WebCore/inspector/front-end/HeapSnapshotView.js [deleted file]
Source/WebCore/inspector/front-end/HeapSnapshotWorker.js [deleted file]
Source/WebCore/inspector/front-end/HeapSnapshotWorkerDispatcher.js [deleted file]
Source/WebCore/inspector/front-end/HelpScreen.js [deleted file]
Source/WebCore/inspector/front-end/ImageView.js [deleted file]
Source/WebCore/inspector/front-end/Images/addIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/applicationCache.png [deleted file]
Source/WebCore/inspector/front-end/Images/back.png [deleted file]
Source/WebCore/inspector/front-end/Images/breakpointBorder.png [deleted file]
Source/WebCore/inspector/front-end/Images/breakpointConditionalBorder.png [deleted file]
Source/WebCore/inspector/front-end/Images/breakpointConditionalCounterBorder.png [deleted file]
Source/WebCore/inspector/front-end/Images/breakpointCounterBorder.png [deleted file]
Source/WebCore/inspector/front-end/Images/checker.png [deleted file]
Source/WebCore/inspector/front-end/Images/closeButtons.png [deleted file]
Source/WebCore/inspector/front-end/Images/cookie.png [deleted file]
Source/WebCore/inspector/front-end/Images/database.png [deleted file]
Source/WebCore/inspector/front-end/Images/databaseTable.png [deleted file]
Source/WebCore/inspector/front-end/Images/debuggerContinue.png [deleted file]
Source/WebCore/inspector/front-end/Images/debuggerPause.png [deleted file]
Source/WebCore/inspector/front-end/Images/debuggerStepInto.png [deleted file]
Source/WebCore/inspector/front-end/Images/debuggerStepOut.png [deleted file]
Source/WebCore/inspector/front-end/Images/debuggerStepOver.png [deleted file]
Source/WebCore/inspector/front-end/Images/deleteIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/disclosureTriangleSmallDown.png [deleted file]
Source/WebCore/inspector/front-end/Images/disclosureTriangleSmallDownBlack.png [deleted file]
Source/WebCore/inspector/front-end/Images/disclosureTriangleSmallDownWhite.png [deleted file]
Source/WebCore/inspector/front-end/Images/disclosureTriangleSmallRight.png [deleted file]
Source/WebCore/inspector/front-end/Images/disclosureTriangleSmallRightBlack.png [deleted file]
Source/WebCore/inspector/front-end/Images/disclosureTriangleSmallRightDown.png [deleted file]
Source/WebCore/inspector/front-end/Images/disclosureTriangleSmallRightDownBlack.png [deleted file]
Source/WebCore/inspector/front-end/Images/disclosureTriangleSmallRightDownWhite.png [deleted file]
Source/WebCore/inspector/front-end/Images/disclosureTriangleSmallRightWhite.png [deleted file]
Source/WebCore/inspector/front-end/Images/domain.png [deleted file]
Source/WebCore/inspector/front-end/Images/errorIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/errorMediumIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/errorRedDot.png [deleted file]
Source/WebCore/inspector/front-end/Images/fileSystem.png [deleted file]
Source/WebCore/inspector/front-end/Images/forward.png [deleted file]
Source/WebCore/inspector/front-end/Images/frame.png [deleted file]
Source/WebCore/inspector/front-end/Images/glossyHeader.png [deleted file]
Source/WebCore/inspector/front-end/Images/glossyHeaderPressed.png [deleted file]
Source/WebCore/inspector/front-end/Images/glossyHeaderSelected.png [deleted file]
Source/WebCore/inspector/front-end/Images/glossyHeaderSelectedPressed.png [deleted file]
Source/WebCore/inspector/front-end/Images/goArrow.png [deleted file]
Source/WebCore/inspector/front-end/Images/graphLabelCalloutLeft.png [deleted file]
Source/WebCore/inspector/front-end/Images/graphLabelCalloutRight.png [deleted file]
Source/WebCore/inspector/front-end/Images/indexedDB.png [deleted file]
Source/WebCore/inspector/front-end/Images/indexedDBIndex.png [deleted file]
Source/WebCore/inspector/front-end/Images/indexedDBObjectStore.png [deleted file]
Source/WebCore/inspector/front-end/Images/localStorage.png [deleted file]
Source/WebCore/inspector/front-end/Images/namedFlowOverflow.png [deleted file]
Source/WebCore/inspector/front-end/Images/navigatorShowHideButton.png [deleted file]
Source/WebCore/inspector/front-end/Images/paneAddButtons.png [deleted file]
Source/WebCore/inspector/front-end/Images/paneBottomGrow.png [deleted file]
Source/WebCore/inspector/front-end/Images/paneBottomGrowActive.png [deleted file]
Source/WebCore/inspector/front-end/Images/paneElementStateButtons.png [deleted file]
Source/WebCore/inspector/front-end/Images/paneFilterButtons.png [deleted file]
Source/WebCore/inspector/front-end/Images/paneGrowHandleLine.png [deleted file]
Source/WebCore/inspector/front-end/Images/paneRefreshButtons.png [deleted file]
Source/WebCore/inspector/front-end/Images/paneSettingsButtons.png [deleted file]
Source/WebCore/inspector/front-end/Images/popoverArrows.png [deleted file]
Source/WebCore/inspector/front-end/Images/popoverBackground.png [deleted file]
Source/WebCore/inspector/front-end/Images/profileGroupIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/profileIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/profileSmallIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/profilesSilhouette.png [deleted file]
Source/WebCore/inspector/front-end/Images/programCounterBorder.png [deleted file]
Source/WebCore/inspector/front-end/Images/radioDot.png [deleted file]
Source/WebCore/inspector/front-end/Images/regionEmpty.png [deleted file]
Source/WebCore/inspector/front-end/Images/regionFit.png [deleted file]
Source/WebCore/inspector/front-end/Images/regionOverset.png [deleted file]
Source/WebCore/inspector/front-end/Images/resourceCSSIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/resourceDocumentIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/resourceDocumentIconSmall.png [deleted file]
Source/WebCore/inspector/front-end/Images/resourceJSIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/resourcePlainIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/resourcePlainIconSmall.png [deleted file]
Source/WebCore/inspector/front-end/Images/resourcesSizeGraphIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/resourcesTimeGraphIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/scriptsSilhouette.png [deleted file]
Source/WebCore/inspector/front-end/Images/searchNext.png [deleted file]
Source/WebCore/inspector/front-end/Images/searchPrev.png [deleted file]
Source/WebCore/inspector/front-end/Images/searchSmallBlue.png [deleted file]
Source/WebCore/inspector/front-end/Images/searchSmallBrightBlue.png [deleted file]
Source/WebCore/inspector/front-end/Images/searchSmallGray.png [deleted file]
Source/WebCore/inspector/front-end/Images/searchSmallWhite.png [deleted file]
Source/WebCore/inspector/front-end/Images/segment.png [deleted file]
Source/WebCore/inspector/front-end/Images/segmentEnd.png [deleted file]
Source/WebCore/inspector/front-end/Images/segmentHover.png [deleted file]
Source/WebCore/inspector/front-end/Images/segmentHoverEnd.png [deleted file]
Source/WebCore/inspector/front-end/Images/segmentSelected.png [deleted file]
Source/WebCore/inspector/front-end/Images/segmentSelectedEnd.png [deleted file]
Source/WebCore/inspector/front-end/Images/sessionStorage.png [deleted file]
Source/WebCore/inspector/front-end/Images/spinner.gif [deleted file]
Source/WebCore/inspector/front-end/Images/spinnerActive.gif [deleted file]
Source/WebCore/inspector/front-end/Images/spinnerActiveSelected.gif [deleted file]
Source/WebCore/inspector/front-end/Images/spinnerInactive.gif [deleted file]
Source/WebCore/inspector/front-end/Images/spinnerInactiveSelected.gif [deleted file]
Source/WebCore/inspector/front-end/Images/splitviewDimple.png [deleted file]
Source/WebCore/inspector/front-end/Images/splitviewDividerBackground.png [deleted file]
Source/WebCore/inspector/front-end/Images/statusbarButtonGlyphs.png [deleted file]
Source/WebCore/inspector/front-end/Images/statusbarButtonGlyphs2x.png [deleted file]
Source/WebCore/inspector/front-end/Images/statusbarResizerHorizontal.png [deleted file]
Source/WebCore/inspector/front-end/Images/statusbarResizerVertical.png [deleted file]
Source/WebCore/inspector/front-end/Images/successGreenDot.png [deleted file]
Source/WebCore/inspector/front-end/Images/thumbActiveHoriz.png [deleted file]
Source/WebCore/inspector/front-end/Images/thumbActiveVert.png [deleted file]
Source/WebCore/inspector/front-end/Images/thumbHoriz.png [deleted file]
Source/WebCore/inspector/front-end/Images/thumbHoverHoriz.png [deleted file]
Source/WebCore/inspector/front-end/Images/thumbHoverVert.png [deleted file]
Source/WebCore/inspector/front-end/Images/thumbVert.png [deleted file]
Source/WebCore/inspector/front-end/Images/tickMark.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelineHollowPillBlue.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelineHollowPillGray.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelineHollowPillGreen.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelineHollowPillOrange.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelineHollowPillPurple.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelineHollowPillRed.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelineHollowPillYellow.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelinePillBlue.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelinePillGray.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelinePillGreen.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelinePillOrange.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelinePillPurple.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelinePillRed.png [deleted file]
Source/WebCore/inspector/front-end/Images/timelinePillYellow.png [deleted file]
Source/WebCore/inspector/front-end/Images/toolbarIcons.png [deleted file]
Source/WebCore/inspector/front-end/Images/toolbarIconsSmall.png [deleted file]
Source/WebCore/inspector/front-end/Images/toolbarItemSelected.png [deleted file]
Source/WebCore/inspector/front-end/Images/trackHoriz.png [deleted file]
Source/WebCore/inspector/front-end/Images/trackVert.png [deleted file]
Source/WebCore/inspector/front-end/Images/treeDownTriangleBlack.png [deleted file]
Source/WebCore/inspector/front-end/Images/treeDownTriangleWhite.png [deleted file]
Source/WebCore/inspector/front-end/Images/treeRightTriangleBlack.png [deleted file]
Source/WebCore/inspector/front-end/Images/treeRightTriangleWhite.png [deleted file]
Source/WebCore/inspector/front-end/Images/treeUpTriangleBlack.png [deleted file]
Source/WebCore/inspector/front-end/Images/treeUpTriangleWhite.png [deleted file]
Source/WebCore/inspector/front-end/Images/userInputIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/userInputPreviousIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/userInputResultIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/warningIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/warningMediumIcon.png [deleted file]
Source/WebCore/inspector/front-end/Images/warningOrangeDot.png [deleted file]
Source/WebCore/inspector/front-end/Images/warningsErrors.png [deleted file]
Source/WebCore/inspector/front-end/IndexedDBModel.js [deleted file]
Source/WebCore/inspector/front-end/IndexedDBViews.js [deleted file]
Source/WebCore/inspector/front-end/InspectElementModeController.js [deleted file]
Source/WebCore/inspector/front-end/InspectorBackend.js [deleted file]
Source/WebCore/inspector/front-end/InspectorBackendCommands.qrc [deleted file]
Source/WebCore/inspector/front-end/InspectorFrontendAPI.js [deleted file]
Source/WebCore/inspector/front-end/InspectorFrontendHostStub.js [deleted file]
Source/WebCore/inspector/front-end/InspectorView.js [deleted file]
Source/WebCore/inspector/front-end/IsolatedFileSystem.js [deleted file]
Source/WebCore/inspector/front-end/IsolatedFileSystemManager.js [deleted file]
Source/WebCore/inspector/front-end/JSHeapSnapshot.js [deleted file]
Source/WebCore/inspector/front-end/JavaScriptFormatter.js [deleted file]
Source/WebCore/inspector/front-end/JavaScriptSourceFrame.js [deleted file]
Source/WebCore/inspector/front-end/KeyboardShortcut.js [deleted file]
Source/WebCore/inspector/front-end/Linkifier.js [deleted file]
Source/WebCore/inspector/front-end/LiveEditSupport.js [deleted file]
Source/WebCore/inspector/front-end/MemoryStatistics.js [deleted file]
Source/WebCore/inspector/front-end/MetricsSidebarPane.js [deleted file]
Source/WebCore/inspector/front-end/NativeBreakpointsSidebarPane.js [deleted file]
Source/WebCore/inspector/front-end/NativeHeapSnapshot.js [deleted file]
Source/WebCore/inspector/front-end/NativeMemoryGraph.js [deleted file]
Source/WebCore/inspector/front-end/NavigatorOverlayController.js [deleted file]
Source/WebCore/inspector/front-end/NavigatorView.js [deleted file]
Source/WebCore/inspector/front-end/NetworkItemView.js [deleted file]
Source/WebCore/inspector/front-end/NetworkLog.js [deleted file]
Source/WebCore/inspector/front-end/NetworkManager.js [deleted file]
Source/WebCore/inspector/front-end/NetworkPanel.js [deleted file]
Source/WebCore/inspector/front-end/NetworkPanelDescriptor.js [deleted file]
Source/WebCore/inspector/front-end/NetworkRequest.js [deleted file]
Source/WebCore/inspector/front-end/NetworkUISourceCodeProvider.js [deleted file]
Source/WebCore/inspector/front-end/Object.js [deleted file]
Source/WebCore/inspector/front-end/ObjectPopoverHelper.js [deleted file]
Source/WebCore/inspector/front-end/ObjectPropertiesSection.js [deleted file]
Source/WebCore/inspector/front-end/OverridesView.js [deleted file]
Source/WebCore/inspector/front-end/OverviewGrid.js [deleted file]
Source/WebCore/inspector/front-end/Panel.js [deleted file]
Source/WebCore/inspector/front-end/PanelEnablerView.js [deleted file]
Source/WebCore/inspector/front-end/ParsedURL.js [deleted file]
Source/WebCore/inspector/front-end/Placard.js [deleted file]
Source/WebCore/inspector/front-end/Popover.js [deleted file]
Source/WebCore/inspector/front-end/PresentationConsoleMessageHelper.js [deleted file]
Source/WebCore/inspector/front-end/ProfileDataGridTree.js [deleted file]
Source/WebCore/inspector/front-end/ProfileLauncherView.js [deleted file]
Source/WebCore/inspector/front-end/ProfilesPanel.js [deleted file]
Source/WebCore/inspector/front-end/ProfilesPanelDescriptor.js [deleted file]
Source/WebCore/inspector/front-end/Progress.js [deleted file]
Source/WebCore/inspector/front-end/ProgressIndicator.js [deleted file]
Source/WebCore/inspector/front-end/PropertiesSection.js [deleted file]
Source/WebCore/inspector/front-end/PropertiesSidebarPane.js [deleted file]
Source/WebCore/inspector/front-end/RawSourceCode.js [deleted file]
Source/WebCore/inspector/front-end/RemoteObject.js [deleted file]
Source/WebCore/inspector/front-end/RequestCookiesView.js [deleted file]
Source/WebCore/inspector/front-end/RequestHTMLView.js [deleted file]
Source/WebCore/inspector/front-end/RequestHeadersView.js [deleted file]
Source/WebCore/inspector/front-end/RequestJSONView.js [deleted file]
Source/WebCore/inspector/front-end/RequestPreviewView.js [deleted file]
Source/WebCore/inspector/front-end/RequestResponseView.js [deleted file]
Source/WebCore/inspector/front-end/RequestTimingView.js [deleted file]
Source/WebCore/inspector/front-end/RequestView.js [deleted file]
Source/WebCore/inspector/front-end/Resource.js [deleted file]
Source/WebCore/inspector/front-end/ResourceScriptMapping.js [deleted file]
Source/WebCore/inspector/front-end/ResourceTreeModel.js [deleted file]
Source/WebCore/inspector/front-end/ResourceType.js [deleted file]
Source/WebCore/inspector/front-end/ResourceUtils.js [deleted file]
Source/WebCore/inspector/front-end/ResourceView.js [deleted file]
Source/WebCore/inspector/front-end/ResourceWebSocketFrameView.js [deleted file]
Source/WebCore/inspector/front-end/ResourcesPanel.js [deleted file]
Source/WebCore/inspector/front-end/RevisionHistoryView.js [deleted file]
Source/WebCore/inspector/front-end/RuntimeModel.js [deleted file]
Source/WebCore/inspector/front-end/SASSSourceMapping.js [deleted file]
Source/WebCore/inspector/front-end/ScopeChainSidebarPane.js [deleted file]
Source/WebCore/inspector/front-end/Script.js [deleted file]
Source/WebCore/inspector/front-end/ScriptFormatter.js [deleted file]
Source/WebCore/inspector/front-end/ScriptFormatterWorker.js [deleted file]
Source/WebCore/inspector/front-end/ScriptSnippetModel.js [deleted file]
Source/WebCore/inspector/front-end/ScriptsNavigator.js [deleted file]
Source/WebCore/inspector/front-end/ScriptsPanel.js [deleted file]
Source/WebCore/inspector/front-end/ScriptsPanelDescriptor.js [deleted file]
Source/WebCore/inspector/front-end/ScriptsSearchScope.js [deleted file]
Source/WebCore/inspector/front-end/SearchController.js [deleted file]
Source/WebCore/inspector/front-end/Section.js [deleted file]
Source/WebCore/inspector/front-end/Settings.js [deleted file]
Source/WebCore/inspector/front-end/SettingsScreen.js [deleted file]
Source/WebCore/inspector/front-end/ShortcutsScreen.js [deleted file]
Source/WebCore/inspector/front-end/ShowMoreDataGridNode.js [deleted file]
Source/WebCore/inspector/front-end/SidebarOverlay.js [deleted file]
Source/WebCore/inspector/front-end/SidebarPane.js [deleted file]
Source/WebCore/inspector/front-end/SidebarTreeElement.js [deleted file]
Source/WebCore/inspector/front-end/SidebarView.js [deleted file]
Source/WebCore/inspector/front-end/SimpleWorkspaceProvider.js [deleted file]
Source/WebCore/inspector/front-end/SnippetJavaScriptSourceFrame.js [deleted file]
Source/WebCore/inspector/front-end/SnippetStorage.js [deleted file]
Source/WebCore/inspector/front-end/SoftContextMenu.js [deleted file]
Source/WebCore/inspector/front-end/SourceCSSTokenizer.js [deleted file]
Source/WebCore/inspector/front-end/SourceCSSTokenizer.re2js [deleted file]
Source/WebCore/inspector/front-end/SourceFrame.js [deleted file]
Source/WebCore/inspector/front-end/SourceHTMLTokenizer.js [deleted file]
Source/WebCore/inspector/front-end/SourceHTMLTokenizer.re2js [deleted file]
Source/WebCore/inspector/front-end/SourceJavaScriptTokenizer.js [deleted file]
Source/WebCore/inspector/front-end/SourceJavaScriptTokenizer.re2js [deleted file]
Source/WebCore/inspector/front-end/SourceMap.js [deleted file]
Source/WebCore/inspector/front-end/SourceMapping.js [deleted file]
Source/WebCore/inspector/front-end/SourceTokenizer.js [deleted file]
Source/WebCore/inspector/front-end/Spectrum.js [deleted file]
Source/WebCore/inspector/front-end/SplitView.js [deleted file]
Source/WebCore/inspector/front-end/StatusBarButton.js [deleted file]
Source/WebCore/inspector/front-end/StyleSheetOutlineDialog.js [deleted file]
Source/WebCore/inspector/front-end/StylesSidebarPane.js [deleted file]
Source/WebCore/inspector/front-end/StylesSourceMapping.js [deleted file]
Source/WebCore/inspector/front-end/SuggestBox.js [deleted file]
Source/WebCore/inspector/front-end/TabbedEditorContainer.js [deleted file]
Source/WebCore/inspector/front-end/TabbedPane.js [deleted file]
Source/WebCore/inspector/front-end/TestController.js [deleted file]
Source/WebCore/inspector/front-end/TextEditor.js [deleted file]
Source/WebCore/inspector/front-end/TextEditorHighlighter.js [deleted file]
Source/WebCore/inspector/front-end/TextEditorModel.js [deleted file]
Source/WebCore/inspector/front-end/TextPrompt.js [deleted file]
Source/WebCore/inspector/front-end/TextUtils.js [deleted file]
Source/WebCore/inspector/front-end/TimelineFrameController.js [deleted file]
Source/WebCore/inspector/front-end/TimelineGrid.js [deleted file]
Source/WebCore/inspector/front-end/TimelineManager.js [deleted file]
Source/WebCore/inspector/front-end/TimelineModel.js [deleted file]
Source/WebCore/inspector/front-end/TimelineOverviewPane.js [deleted file]
Source/WebCore/inspector/front-end/TimelinePanel.js [deleted file]
Source/WebCore/inspector/front-end/TimelinePanelDescriptor.js [deleted file]
Source/WebCore/inspector/front-end/TimelinePresentationModel.js [deleted file]
Source/WebCore/inspector/front-end/Toolbar.js [deleted file]
Source/WebCore/inspector/front-end/TopDownProfileDataGridTree.js [deleted file]
Source/WebCore/inspector/front-end/UISourceCode.js [deleted file]
Source/WebCore/inspector/front-end/UISourceCodeFrame.js [deleted file]
Source/WebCore/inspector/front-end/UIString.js [deleted file]
Source/WebCore/inspector/front-end/UIUtils.js [deleted file]
Source/WebCore/inspector/front-end/UglifyJS/parse-js.js [deleted file]
Source/WebCore/inspector/front-end/UserAgentSupport.js [deleted file]
Source/WebCore/inspector/front-end/UserMetrics.js [deleted file]
Source/WebCore/inspector/front-end/View.js [deleted file]
Source/WebCore/inspector/front-end/ViewportControl.js [deleted file]
Source/WebCore/inspector/front-end/WatchExpressionsSidebarPane.js [deleted file]
Source/WebCore/inspector/front-end/WebKit.qrc [deleted file]
Source/WebCore/inspector/front-end/WorkerManager.js [deleted file]
Source/WebCore/inspector/front-end/WorkersSidebarPane.js [deleted file]
Source/WebCore/inspector/front-end/Workspace.js [deleted file]
Source/WebCore/inspector/front-end/ace/LICENSE.txt [deleted file]
Source/WebCore/inspector/front-end/ace/ace.js [deleted file]
Source/WebCore/inspector/front-end/ace/acedevtools.css [deleted file]
Source/WebCore/inspector/front-end/ace/mode_css.js [deleted file]
Source/WebCore/inspector/front-end/ace/mode_html.js [deleted file]
Source/WebCore/inspector/front-end/ace/mode_javascript.js [deleted file]
Source/WebCore/inspector/front-end/ace/theme_textmate.js [deleted file]
Source/WebCore/inspector/front-end/auditsPanel.css [deleted file]
Source/WebCore/inspector/front-end/breadcrumbList.css [deleted file]
Source/WebCore/inspector/front-end/breakpointsList.css [deleted file]
Source/WebCore/inspector/front-end/buildSystemOnly.js [deleted file]
Source/WebCore/inspector/front-end/canvasProfiler.css [deleted file]
Source/WebCore/inspector/front-end/cm/LICENSE [deleted file]
Source/WebCore/inspector/front-end/cm/closebrackets.js [deleted file]
Source/WebCore/inspector/front-end/cm/cmdevtools.css [deleted file]
Source/WebCore/inspector/front-end/cm/codemirror.css [deleted file]
Source/WebCore/inspector/front-end/cm/codemirror.js [deleted file]
Source/WebCore/inspector/front-end/cm/css.js [deleted file]
Source/WebCore/inspector/front-end/cm/htmlmixed.js [deleted file]
Source/WebCore/inspector/front-end/cm/javascript.js [deleted file]
Source/WebCore/inspector/front-end/cm/matchbrackets.js [deleted file]
Source/WebCore/inspector/front-end/cm/xml.js [deleted file]
Source/WebCore/inspector/front-end/cssNamedFlows.css [deleted file]
Source/WebCore/inspector/front-end/dataGrid.css [deleted file]
Source/WebCore/inspector/front-end/dialog.css [deleted file]
Source/WebCore/inspector/front-end/elementsPanel.css [deleted file]
Source/WebCore/inspector/front-end/externs.js [deleted file]
Source/WebCore/inspector/front-end/filteredItemSelectionDialog.css [deleted file]
Source/WebCore/inspector/front-end/flameChart.css [deleted file]
Source/WebCore/inspector/front-end/heapProfiler.css [deleted file]
Source/WebCore/inspector/front-end/helpScreen.css [deleted file]
Source/WebCore/inspector/front-end/indexedDBViews.css [deleted file]
Source/WebCore/inspector/front-end/inspector.css [deleted file]
Source/WebCore/inspector/front-end/inspector.html [deleted file]
Source/WebCore/inspector/front-end/inspector.js [deleted file]
Source/WebCore/inspector/front-end/inspectorCommon.css [deleted file]
Source/WebCore/inspector/front-end/inspectorSyntaxHighlight.css [deleted file]
Source/WebCore/inspector/front-end/jsdifflib.js [deleted file]
Source/WebCore/inspector/front-end/navigatorView.css [deleted file]
Source/WebCore/inspector/front-end/networkLogView.css [deleted file]
Source/WebCore/inspector/front-end/networkPanel.css [deleted file]
Source/WebCore/inspector/front-end/panelEnablerView.css [deleted file]
Source/WebCore/inspector/front-end/popover.css [deleted file]
Source/WebCore/inspector/front-end/profilesPanel.css [deleted file]
Source/WebCore/inspector/front-end/resourceView.css [deleted file]
Source/WebCore/inspector/front-end/resourcesPanel.css [deleted file]
Source/WebCore/inspector/front-end/revisionHistory.css [deleted file]
Source/WebCore/inspector/front-end/scriptsPanel.css [deleted file]
Source/WebCore/inspector/front-end/sidebarPane.css [deleted file]
Source/WebCore/inspector/front-end/spectrum.css [deleted file]
Source/WebCore/inspector/front-end/splitView.css [deleted file]
Source/WebCore/inspector/front-end/tabbedPane.css [deleted file]
Source/WebCore/inspector/front-end/test-runner.html [deleted file]
Source/WebCore/inspector/front-end/textEditor.css [deleted file]
Source/WebCore/inspector/front-end/textPrompt.css [deleted file]
Source/WebCore/inspector/front-end/timelinePanel.css [deleted file]
Source/WebCore/inspector/front-end/treeoutline.js [deleted file]
Source/WebCore/inspector/front-end/utilities.js [deleted file]

index aadcf43..2cb56b1 100644 (file)
@@ -1,3 +1,441 @@
+2013-10-10  Timothy Hatcher  <timothy@apple.com>
+
+        Web Inspector: Remove the old front-end from WebKit.
+
+        https://bugs.webkit.org/show_bug.cgi?id=122295
+
+        * inspector/front-end/AceTextEditor.js: Removed.
+        * inspector/front-end/AdvancedSearchController.js: Removed.
+        * inspector/front-end/ApplicationCacheItemsView.js: Removed.
+        * inspector/front-end/ApplicationCacheModel.js: Removed.
+        * inspector/front-end/AuditCategories.js: Removed.
+        * inspector/front-end/AuditController.js: Removed.
+        * inspector/front-end/AuditFormatters.js: Removed.
+        * inspector/front-end/AuditLauncherView.js: Removed.
+        * inspector/front-end/AuditResultView.js: Removed.
+        * inspector/front-end/AuditRules.js: Removed.
+        * inspector/front-end/AuditsPanel.js: Removed.
+        * inspector/front-end/BottomUpProfileDataGridTree.js: Removed.
+        * inspector/front-end/BreakpointManager.js: Removed.
+        * inspector/front-end/BreakpointsSidebarPane.js: Removed.
+        * inspector/front-end/CPUProfileView.js: Removed.
+        * inspector/front-end/CSSMetadata.js: Removed.
+        * inspector/front-end/CSSNamedFlowCollectionsView.js: Removed.
+        * inspector/front-end/CSSNamedFlowView.js: Removed.
+        * inspector/front-end/CSSSelectorProfileView.js: Removed.
+        * inspector/front-end/CSSStyleModel.js: Removed.
+        * inspector/front-end/CallStackSidebarPane.js: Removed.
+        * inspector/front-end/CanvasProfileView.js: Removed.
+        * inspector/front-end/Checkbox.js: Removed.
+        * inspector/front-end/CodeMirrorTextEditor.js: Removed.
+        * inspector/front-end/Color.js: Removed.
+        * inspector/front-end/CompilerScriptMapping.js: Removed.
+        * inspector/front-end/ConsoleMessage.js: Removed.
+        * inspector/front-end/ConsoleModel.js: Removed.
+        * inspector/front-end/ConsolePanel.js: Removed.
+        * inspector/front-end/ConsoleView.js: Removed.
+        * inspector/front-end/ContentProvider.js: Removed.
+        * inspector/front-end/ContentProviderBasedProjectDelegate.js: Removed.
+        * inspector/front-end/ContentProviders.js: Removed.
+        * inspector/front-end/ContextMenu.js: Removed.
+        * inspector/front-end/CookieItemsView.js: Removed.
+        * inspector/front-end/CookieParser.js: Removed.
+        * inspector/front-end/CookiesTable.js: Removed.
+        * inspector/front-end/DOMAgent.js: Removed.
+        * inspector/front-end/DOMBreakpointsSidebarPane.js: Removed.
+        * inspector/front-end/DOMCountersGraph.js: Removed.
+        * inspector/front-end/DOMExtension.js: Removed.
+        * inspector/front-end/DOMPresentationUtils.js: Removed.
+        * inspector/front-end/DOMStorage.js: Removed.
+        * inspector/front-end/DOMStorageItemsView.js: Removed.
+        * inspector/front-end/DOMSyntaxHighlighter.js: Removed.
+        * inspector/front-end/DataGrid.js: Removed.
+        * inspector/front-end/Database.js: Removed.
+        * inspector/front-end/DatabaseQueryView.js: Removed.
+        * inspector/front-end/DatabaseTableView.js: Removed.
+        * inspector/front-end/DebuggerModel.js: Removed.
+        * inspector/front-end/DebuggerScriptMapping.js: Removed.
+        * inspector/front-end/DefaultScriptMapping.js: Removed.
+        * inspector/front-end/DefaultTextEditor.js: Removed.
+        * inspector/front-end/Dialog.js: Removed.
+        * inspector/front-end/DirectoryContentView.js: Removed.
+        * inspector/front-end/DockController.js: Removed.
+        * inspector/front-end/Drawer.js: Removed.
+        * inspector/front-end/ElementsPanel.js: Removed.
+        * inspector/front-end/ElementsPanelDescriptor.js: Removed.
+        * inspector/front-end/ElementsTreeOutline.js: Removed.
+        * inspector/front-end/EmptyView.js: Removed.
+        * inspector/front-end/EventListenersSidebarPane.js: Removed.
+        * inspector/front-end/ExtensionAPI.js: Removed.
+        * inspector/front-end/ExtensionAuditCategory.js: Removed.
+        * inspector/front-end/ExtensionPanel.js: Removed.
+        * inspector/front-end/ExtensionRegistryStub.js: Removed.
+        * inspector/front-end/ExtensionServer.js: Removed.
+        * inspector/front-end/ExtensionView.js: Removed.
+        * inspector/front-end/FileContentView.js: Removed.
+        * inspector/front-end/FileManager.js: Removed.
+        * inspector/front-end/FileMapping.js: Removed.
+        * inspector/front-end/FileSystemMapping.js: Removed.
+        * inspector/front-end/FileSystemModel.js: Removed.
+        * inspector/front-end/FileSystemProjectDelegate.js: Removed.
+        * inspector/front-end/FileSystemView.js: Removed.
+        * inspector/front-end/FileUtils.js: Removed.
+        * inspector/front-end/FilteredItemSelectionDialog.js: Removed.
+        * inspector/front-end/FlameChart.js: Removed.
+        * inspector/front-end/FontView.js: Removed.
+        * inspector/front-end/GoToLineDialog.js: Removed.
+        * inspector/front-end/HAREntry.js: Removed.
+        * inspector/front-end/HandlerRegistry.js: Removed.
+        * inspector/front-end/HeapSnapshot.js: Removed.
+        * inspector/front-end/HeapSnapshotDataGrids.js: Removed.
+        * inspector/front-end/HeapSnapshotGridNodes.js: Removed.
+        * inspector/front-end/HeapSnapshotLoader.js: Removed.
+        * inspector/front-end/HeapSnapshotProxy.js: Removed.
+        * inspector/front-end/HeapSnapshotView.js: Removed.
+        * inspector/front-end/HeapSnapshotWorker.js: Removed.
+        * inspector/front-end/HeapSnapshotWorkerDispatcher.js: Removed.
+        * inspector/front-end/HelpScreen.js: Removed.
+        * inspector/front-end/ImageView.js: Removed.
+        * inspector/front-end/Images/addIcon.png: Removed.
+        * inspector/front-end/Images/applicationCache.png: Removed.
+        * inspector/front-end/Images/back.png: Removed.
+        * inspector/front-end/Images/breakpointBorder.png: Removed.
+        * inspector/front-end/Images/breakpointConditionalBorder.png: Removed.
+        * inspector/front-end/Images/breakpointConditionalCounterBorder.png: Removed.
+        * inspector/front-end/Images/breakpointCounterBorder.png: Removed.
+        * inspector/front-end/Images/checker.png: Removed.
+        * inspector/front-end/Images/closeButtons.png: Removed.
+        * inspector/front-end/Images/cookie.png: Removed.
+        * inspector/front-end/Images/database.png: Removed.
+        * inspector/front-end/Images/databaseTable.png: Removed.
+        * inspector/front-end/Images/debuggerContinue.png: Removed.
+        * inspector/front-end/Images/debuggerPause.png: Removed.
+        * inspector/front-end/Images/debuggerStepInto.png: Removed.
+        * inspector/front-end/Images/debuggerStepOut.png: Removed.
+        * inspector/front-end/Images/debuggerStepOver.png: Removed.
+        * inspector/front-end/Images/deleteIcon.png: Removed.
+        * inspector/front-end/Images/disclosureTriangleSmallDown.png: Removed.
+        * inspector/front-end/Images/disclosureTriangleSmallDownBlack.png: Removed.
+        * inspector/front-end/Images/disclosureTriangleSmallDownWhite.png: Removed.
+        * inspector/front-end/Images/disclosureTriangleSmallRight.png: Removed.
+        * inspector/front-end/Images/disclosureTriangleSmallRightBlack.png: Removed.
+        * inspector/front-end/Images/disclosureTriangleSmallRightDown.png: Removed.
+        * inspector/front-end/Images/disclosureTriangleSmallRightDownBlack.png: Removed.
+        * inspector/front-end/Images/disclosureTriangleSmallRightDownWhite.png: Removed.
+        * inspector/front-end/Images/disclosureTriangleSmallRightWhite.png: Removed.
+        * inspector/front-end/Images/domain.png: Removed.
+        * inspector/front-end/Images/errorIcon.png: Removed.
+        * inspector/front-end/Images/errorMediumIcon.png: Removed.
+        * inspector/front-end/Images/errorRedDot.png: Removed.
+        * inspector/front-end/Images/fileSystem.png: Removed.
+        * inspector/front-end/Images/forward.png: Removed.
+        * inspector/front-end/Images/frame.png: Removed.
+        * inspector/front-end/Images/glossyHeader.png: Removed.
+        * inspector/front-end/Images/glossyHeaderPressed.png: Removed.
+        * inspector/front-end/Images/glossyHeaderSelected.png: Removed.
+        * inspector/front-end/Images/glossyHeaderSelectedPressed.png: Removed.
+        * inspector/front-end/Images/goArrow.png: Removed.
+        * inspector/front-end/Images/graphLabelCalloutLeft.png: Removed.
+        * inspector/front-end/Images/graphLabelCalloutRight.png: Removed.
+        * inspector/front-end/Images/indexedDB.png: Removed.
+        * inspector/front-end/Images/indexedDBIndex.png: Removed.
+        * inspector/front-end/Images/indexedDBObjectStore.png: Removed.
+        * inspector/front-end/Images/localStorage.png: Removed.
+        * inspector/front-end/Images/namedFlowOverflow.png: Removed.
+        * inspector/front-end/Images/navigatorShowHideButton.png: Removed.
+        * inspector/front-end/Images/paneAddButtons.png: Removed.
+        * inspector/front-end/Images/paneBottomGrow.png: Removed.
+        * inspector/front-end/Images/paneBottomGrowActive.png: Removed.
+        * inspector/front-end/Images/paneElementStateButtons.png: Removed.
+        * inspector/front-end/Images/paneFilterButtons.png: Removed.
+        * inspector/front-end/Images/paneGrowHandleLine.png: Removed.
+        * inspector/front-end/Images/paneRefreshButtons.png: Removed.
+        * inspector/front-end/Images/paneSettingsButtons.png: Removed.
+        * inspector/front-end/Images/popoverArrows.png: Removed.
+        * inspector/front-end/Images/popoverBackground.png: Removed.
+        * inspector/front-end/Images/profileGroupIcon.png: Removed.
+        * inspector/front-end/Images/profileIcon.png: Removed.
+        * inspector/front-end/Images/profileSmallIcon.png: Removed.
+        * inspector/front-end/Images/profilesSilhouette.png: Removed.
+        * inspector/front-end/Images/programCounterBorder.png: Removed.
+        * inspector/front-end/Images/radioDot.png: Removed.
+        * inspector/front-end/Images/regionEmpty.png: Removed.
+        * inspector/front-end/Images/regionFit.png: Removed.
+        * inspector/front-end/Images/regionOverset.png: Removed.
+        * inspector/front-end/Images/resourceCSSIcon.png: Removed.
+        * inspector/front-end/Images/resourceDocumentIcon.png: Removed.
+        * inspector/front-end/Images/resourceDocumentIconSmall.png: Removed.
+        * inspector/front-end/Images/resourceJSIcon.png: Removed.
+        * inspector/front-end/Images/resourcePlainIcon.png: Removed.
+        * inspector/front-end/Images/resourcePlainIconSmall.png: Removed.
+        * inspector/front-end/Images/resourcesSizeGraphIcon.png: Removed.
+        * inspector/front-end/Images/resourcesTimeGraphIcon.png: Removed.
+        * inspector/front-end/Images/scriptsSilhouette.png: Removed.
+        * inspector/front-end/Images/searchNext.png: Removed.
+        * inspector/front-end/Images/searchPrev.png: Removed.
+        * inspector/front-end/Images/searchSmallBlue.png: Removed.
+        * inspector/front-end/Images/searchSmallBrightBlue.png: Removed.
+        * inspector/front-end/Images/searchSmallGray.png: Removed.
+        * inspector/front-end/Images/searchSmallWhite.png: Removed.
+        * inspector/front-end/Images/segment.png: Removed.
+        * inspector/front-end/Images/segmentEnd.png: Removed.
+        * inspector/front-end/Images/segmentHover.png: Removed.
+        * inspector/front-end/Images/segmentHoverEnd.png: Removed.
+        * inspector/front-end/Images/segmentSelected.png: Removed.
+        * inspector/front-end/Images/segmentSelectedEnd.png: Removed.
+        * inspector/front-end/Images/sessionStorage.png: Removed.
+        * inspector/front-end/Images/spinner.gif: Removed.
+        * inspector/front-end/Images/spinnerActive.gif: Removed.
+        * inspector/front-end/Images/spinnerActiveSelected.gif: Removed.
+        * inspector/front-end/Images/spinnerInactive.gif: Removed.
+        * inspector/front-end/Images/spinnerInactiveSelected.gif: Removed.
+        * inspector/front-end/Images/splitviewDimple.png: Removed.
+        * inspector/front-end/Images/splitviewDividerBackground.png: Removed.
+        * inspector/front-end/Images/statusbarButtonGlyphs.png: Removed.
+        * inspector/front-end/Images/statusbarButtonGlyphs2x.png: Removed.
+        * inspector/front-end/Images/statusbarResizerHorizontal.png: Removed.
+        * inspector/front-end/Images/statusbarResizerVertical.png: Removed.
+        * inspector/front-end/Images/successGreenDot.png: Removed.
+        * inspector/front-end/Images/thumbActiveHoriz.png: Removed.
+        * inspector/front-end/Images/thumbActiveVert.png: Removed.
+        * inspector/front-end/Images/thumbHoriz.png: Removed.
+        * inspector/front-end/Images/thumbHoverHoriz.png: Removed.
+        * inspector/front-end/Images/thumbHoverVert.png: Removed.
+        * inspector/front-end/Images/thumbVert.png: Removed.
+        * inspector/front-end/Images/tickMark.png: Removed.
+        * inspector/front-end/Images/timelineHollowPillBlue.png: Removed.
+        * inspector/front-end/Images/timelineHollowPillGray.png: Removed.
+        * inspector/front-end/Images/timelineHollowPillGreen.png: Removed.
+        * inspector/front-end/Images/timelineHollowPillOrange.png: Removed.
+        * inspector/front-end/Images/timelineHollowPillPurple.png: Removed.
+        * inspector/front-end/Images/timelineHollowPillRed.png: Removed.
+        * inspector/front-end/Images/timelineHollowPillYellow.png: Removed.
+        * inspector/front-end/Images/timelinePillBlue.png: Removed.
+        * inspector/front-end/Images/timelinePillGray.png: Removed.
+        * inspector/front-end/Images/timelinePillGreen.png: Removed.
+        * inspector/front-end/Images/timelinePillOrange.png: Removed.
+        * inspector/front-end/Images/timelinePillPurple.png: Removed.
+        * inspector/front-end/Images/timelinePillRed.png: Removed.
+        * inspector/front-end/Images/timelinePillYellow.png: Removed.
+        * inspector/front-end/Images/toolbarIcons.png: Removed.
+        * inspector/front-end/Images/toolbarIconsSmall.png: Removed.
+        * inspector/front-end/Images/toolbarItemSelected.png: Removed.
+        * inspector/front-end/Images/trackHoriz.png: Removed.
+        * inspector/front-end/Images/trackVert.png: Removed.
+        * inspector/front-end/Images/treeDownTriangleBlack.png: Removed.
+        * inspector/front-end/Images/treeDownTriangleWhite.png: Removed.
+        * inspector/front-end/Images/treeRightTriangleBlack.png: Removed.
+        * inspector/front-end/Images/treeRightTriangleWhite.png: Removed.
+        * inspector/front-end/Images/treeUpTriangleBlack.png: Removed.
+        * inspector/front-end/Images/treeUpTriangleWhite.png: Removed.
+        * inspector/front-end/Images/userInputIcon.png: Removed.
+        * inspector/front-end/Images/userInputPreviousIcon.png: Removed.
+        * inspector/front-end/Images/userInputResultIcon.png: Removed.
+        * inspector/front-end/Images/warningIcon.png: Removed.
+        * inspector/front-end/Images/warningMediumIcon.png: Removed.
+        * inspector/front-end/Images/warningOrangeDot.png: Removed.
+        * inspector/front-end/Images/warningsErrors.png: Removed.
+        * inspector/front-end/IndexedDBModel.js: Removed.
+        * inspector/front-end/IndexedDBViews.js: Removed.
+        * inspector/front-end/InspectElementModeController.js: Removed.
+        * inspector/front-end/InspectorBackend.js: Removed.
+        * inspector/front-end/InspectorBackendCommands.qrc: Removed.
+        * inspector/front-end/InspectorFrontendAPI.js: Removed.
+        * inspector/front-end/InspectorFrontendHostStub.js: Removed.
+        * inspector/front-end/InspectorView.js: Removed.
+        * inspector/front-end/IsolatedFileSystem.js: Removed.
+        * inspector/front-end/IsolatedFileSystemManager.js: Removed.
+        * inspector/front-end/JSHeapSnapshot.js: Removed.
+        * inspector/front-end/JavaScriptFormatter.js: Removed.
+        * inspector/front-end/JavaScriptSourceFrame.js: Removed.
+        * inspector/front-end/KeyboardShortcut.js: Removed.
+        * inspector/front-end/Linkifier.js: Removed.
+        * inspector/front-end/LiveEditSupport.js: Removed.
+        * inspector/front-end/MemoryStatistics.js: Removed.
+        * inspector/front-end/MetricsSidebarPane.js: Removed.
+        * inspector/front-end/NativeBreakpointsSidebarPane.js: Removed.
+        * inspector/front-end/NativeHeapSnapshot.js: Removed.
+        * inspector/front-end/NativeMemoryGraph.js: Removed.
+        * inspector/front-end/NavigatorOverlayController.js: Removed.
+        * inspector/front-end/NavigatorView.js: Removed.
+        * inspector/front-end/NetworkItemView.js: Removed.
+        * inspector/front-end/NetworkLog.js: Removed.
+        * inspector/front-end/NetworkManager.js: Removed.
+        * inspector/front-end/NetworkPanel.js: Removed.
+        * inspector/front-end/NetworkPanelDescriptor.js: Removed.
+        * inspector/front-end/NetworkRequest.js: Removed.
+        * inspector/front-end/NetworkUISourceCodeProvider.js: Removed.
+        * inspector/front-end/Object.js: Removed.
+        * inspector/front-end/ObjectPopoverHelper.js: Removed.
+        * inspector/front-end/ObjectPropertiesSection.js: Removed.
+        * inspector/front-end/OverridesView.js: Removed.
+        * inspector/front-end/OverviewGrid.js: Removed.
+        * inspector/front-end/Panel.js: Removed.
+        * inspector/front-end/PanelEnablerView.js: Removed.
+        * inspector/front-end/ParsedURL.js: Removed.
+        * inspector/front-end/Placard.js: Removed.
+        * inspector/front-end/Popover.js: Removed.
+        * inspector/front-end/PresentationConsoleMessageHelper.js: Removed.
+        * inspector/front-end/ProfileDataGridTree.js: Removed.
+        * inspector/front-end/ProfileLauncherView.js: Removed.
+        * inspector/front-end/ProfilesPanel.js: Removed.
+        * inspector/front-end/ProfilesPanelDescriptor.js: Removed.
+        * inspector/front-end/Progress.js: Removed.
+        * inspector/front-end/ProgressIndicator.js: Removed.
+        * inspector/front-end/PropertiesSection.js: Removed.
+        * inspector/front-end/PropertiesSidebarPane.js: Removed.
+        * inspector/front-end/RawSourceCode.js: Removed.
+        * inspector/front-end/RemoteObject.js: Removed.
+        * inspector/front-end/RequestCookiesView.js: Removed.
+        * inspector/front-end/RequestHTMLView.js: Removed.
+        * inspector/front-end/RequestHeadersView.js: Removed.
+        * inspector/front-end/RequestJSONView.js: Removed.
+        * inspector/front-end/RequestPreviewView.js: Removed.
+        * inspector/front-end/RequestResponseView.js: Removed.
+        * inspector/front-end/RequestTimingView.js: Removed.
+        * inspector/front-end/RequestView.js: Removed.
+        * inspector/front-end/Resource.js: Removed.
+        * inspector/front-end/ResourceScriptMapping.js: Removed.
+        * inspector/front-end/ResourceTreeModel.js: Removed.
+        * inspector/front-end/ResourceType.js: Removed.
+        * inspector/front-end/ResourceUtils.js: Removed.
+        * inspector/front-end/ResourceView.js: Removed.
+        * inspector/front-end/ResourceWebSocketFrameView.js: Removed.
+        * inspector/front-end/ResourcesPanel.js: Removed.
+        * inspector/front-end/RevisionHistoryView.js: Removed.
+        * inspector/front-end/RuntimeModel.js: Removed.
+        * inspector/front-end/SASSSourceMapping.js: Removed.
+        * inspector/front-end/ScopeChainSidebarPane.js: Removed.
+        * inspector/front-end/Script.js: Removed.
+        * inspector/front-end/ScriptFormatter.js: Removed.
+        * inspector/front-end/ScriptFormatterWorker.js: Removed.
+        * inspector/front-end/ScriptSnippetModel.js: Removed.
+        * inspector/front-end/ScriptsNavigator.js: Removed.
+        * inspector/front-end/ScriptsPanel.js: Removed.
+        * inspector/front-end/ScriptsPanelDescriptor.js: Removed.
+        * inspector/front-end/ScriptsSearchScope.js: Removed.
+        * inspector/front-end/SearchController.js: Removed.
+        * inspector/front-end/Section.js: Removed.
+        * inspector/front-end/Settings.js: Removed.
+        * inspector/front-end/SettingsScreen.js: Removed.
+        * inspector/front-end/ShortcutsScreen.js: Removed.
+        * inspector/front-end/ShowMoreDataGridNode.js: Removed.
+        * inspector/front-end/SidebarOverlay.js: Removed.
+        * inspector/front-end/SidebarPane.js: Removed.
+        * inspector/front-end/SidebarTreeElement.js: Removed.
+        * inspector/front-end/SidebarView.js: Removed.
+        * inspector/front-end/SimpleWorkspaceProvider.js: Removed.
+        * inspector/front-end/SnippetJavaScriptSourceFrame.js: Removed.
+        * inspector/front-end/SnippetStorage.js: Removed.
+        * inspector/front-end/SoftContextMenu.js: Removed.
+        * inspector/front-end/SourceCSSTokenizer.js: Removed.
+        * inspector/front-end/SourceCSSTokenizer.re2js: Removed.
+        * inspector/front-end/SourceFrame.js: Removed.
+        * inspector/front-end/SourceHTMLTokenizer.js: Removed.
+        * inspector/front-end/SourceHTMLTokenizer.re2js: Removed.
+        * inspector/front-end/SourceJavaScriptTokenizer.js: Removed.
+        * inspector/front-end/SourceJavaScriptTokenizer.re2js: Removed.
+        * inspector/front-end/SourceMap.js: Removed.
+        * inspector/front-end/SourceMapping.js: Removed.
+        * inspector/front-end/SourceTokenizer.js: Removed.
+        * inspector/front-end/Spectrum.js: Removed.
+        * inspector/front-end/SplitView.js: Removed.
+        * inspector/front-end/StatusBarButton.js: Removed.
+        * inspector/front-end/StyleSheetOutlineDialog.js: Removed.
+        * inspector/front-end/StylesSidebarPane.js: Removed.
+        * inspector/front-end/StylesSourceMapping.js: Removed.
+        * inspector/front-end/SuggestBox.js: Removed.
+        * inspector/front-end/TabbedEditorContainer.js: Removed.
+        * inspector/front-end/TabbedPane.js: Removed.
+        * inspector/front-end/TestController.js: Removed.
+        * inspector/front-end/TextEditor.js: Removed.
+        * inspector/front-end/TextEditorHighlighter.js: Removed.
+        * inspector/front-end/TextEditorModel.js: Removed.
+        * inspector/front-end/TextPrompt.js: Removed.
+        * inspector/front-end/TextUtils.js: Removed.
+        * inspector/front-end/TimelineFrameController.js: Removed.
+        * inspector/front-end/TimelineGrid.js: Removed.
+        * inspector/front-end/TimelineManager.js: Removed.
+        * inspector/front-end/TimelineModel.js: Removed.
+        * inspector/front-end/TimelineOverviewPane.js: Removed.
+        * inspector/front-end/TimelinePanel.js: Removed.
+        * inspector/front-end/TimelinePanelDescriptor.js: Removed.
+        * inspector/front-end/TimelinePresentationModel.js: Removed.
+        * inspector/front-end/Toolbar.js: Removed.
+        * inspector/front-end/TopDownProfileDataGridTree.js: Removed.
+        * inspector/front-end/UISourceCode.js: Removed.
+        * inspector/front-end/UISourceCodeFrame.js: Removed.
+        * inspector/front-end/UIString.js: Removed.
+        * inspector/front-end/UIUtils.js: Removed.
+        * inspector/front-end/UglifyJS/parse-js.js: Removed.
+        * inspector/front-end/UserAgentSupport.js: Removed.
+        * inspector/front-end/UserMetrics.js: Removed.
+        * inspector/front-end/View.js: Removed.
+        * inspector/front-end/ViewportControl.js: Removed.
+        * inspector/front-end/WatchExpressionsSidebarPane.js: Removed.
+        * inspector/front-end/WebKit.qrc: Removed.
+        * inspector/front-end/WorkerManager.js: Removed.
+        * inspector/front-end/WorkersSidebarPane.js: Removed.
+        * inspector/front-end/Workspace.js: Removed.
+        * inspector/front-end/ace/LICENSE.txt: Removed.
+        * inspector/front-end/ace/ace.js: Removed.
+        * inspector/front-end/ace/acedevtools.css: Removed.
+        * inspector/front-end/ace/mode_css.js: Removed.
+        * inspector/front-end/ace/mode_html.js: Removed.
+        * inspector/front-end/ace/mode_javascript.js: Removed.
+        * inspector/front-end/ace/theme_textmate.js: Removed.
+        * inspector/front-end/auditsPanel.css: Removed.
+        * inspector/front-end/breadcrumbList.css: Removed.
+        * inspector/front-end/breakpointsList.css: Removed.
+        * inspector/front-end/buildSystemOnly.js: Removed.
+        * inspector/front-end/canvasProfiler.css: Removed.
+        * inspector/front-end/cm/LICENSE: Removed.
+        * inspector/front-end/cm/closebrackets.js: Removed.
+        * inspector/front-end/cm/cmdevtools.css: Removed.
+        * inspector/front-end/cm/codemirror.css: Removed.
+        * inspector/front-end/cm/codemirror.js: Removed.
+        * inspector/front-end/cm/css.js: Removed.
+        * inspector/front-end/cm/htmlmixed.js: Removed.
+        * inspector/front-end/cm/javascript.js: Removed.
+        * inspector/front-end/cm/matchbrackets.js: Removed.
+        * inspector/front-end/cm/xml.js: Removed.
+        * inspector/front-end/cssNamedFlows.css: Removed.
+        * inspector/front-end/dataGrid.css: Removed.
+        * inspector/front-end/dialog.css: Removed.
+        * inspector/front-end/elementsPanel.css: Removed.
+        * inspector/front-end/externs.js: Removed.
+        * inspector/front-end/filteredItemSelectionDialog.css: Removed.
+        * inspector/front-end/flameChart.css: Removed.
+        * inspector/front-end/heapProfiler.css: Removed.
+        * inspector/front-end/helpScreen.css: Removed.
+        * inspector/front-end/indexedDBViews.css: Removed.
+        * inspector/front-end/inspector.css: Removed.
+        * inspector/front-end/inspector.html: Removed.
+        * inspector/front-end/inspector.js: Removed.
+        * inspector/front-end/inspectorCommon.css: Removed.
+        * inspector/front-end/inspectorSyntaxHighlight.css: Removed.
+        * inspector/front-end/jsdifflib.js: Removed.
+        * inspector/front-end/navigatorView.css: Removed.
+        * inspector/front-end/networkLogView.css: Removed.
+        * inspector/front-end/networkPanel.css: Removed.
+        * inspector/front-end/panelEnablerView.css: Removed.
+        * inspector/front-end/popover.css: Removed.
+        * inspector/front-end/profilesPanel.css: Removed.
+        * inspector/front-end/resourceView.css: Removed.
+        * inspector/front-end/resourcesPanel.css: Removed.
+        * inspector/front-end/revisionHistory.css: Removed.
+        * inspector/front-end/scriptsPanel.css: Removed.
+        * inspector/front-end/sidebarPane.css: Removed.
+        * inspector/front-end/spectrum.css: Removed.
+        * inspector/front-end/splitView.css: Removed.
+        * inspector/front-end/tabbedPane.css: Removed.
+        * inspector/front-end/test-runner.html: Removed.
+        * inspector/front-end/textEditor.css: Removed.
+        * inspector/front-end/textPrompt.css: Removed.
+        * inspector/front-end/timelinePanel.css: Removed.
+        * inspector/front-end/treeoutline.js: Removed.
+        * inspector/front-end/utilities.js: Removed.
+
 2013-10-10  Marcelo Morais  <m.morais@samsung.com>
 
         Web Inspector: Remove the old front-end from WebKit
diff --git a/Source/WebCore/inspector/front-end/AceTextEditor.js b/Source/WebCore/inspector/front-end/AceTextEditor.js
deleted file mode 100644 (file)
index 9c313b9..0000000
+++ /dev/null
@@ -1,438 +0,0 @@
-/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-importScript("ace/ace.js");
-
-
-/**
- * @constructor
- * @extends {WebInspector.View}
- * @implements {WebInspector.TextEditor}
- * @param {?string} url
- * @param {WebInspector.TextEditorDelegate} delegate
- */
-
-WebInspector.AceTextEditor = function(url, delegate)
-{
-    WebInspector.View.call(this);
-    this._delegate = delegate;
-    this._url = url;
-    this.element.className = "ace-editor-container source-code";
-
-    var prefix = window.flattenImports ? "" : "ace/";
-    ace.config.setModuleUrl("ace/mode/javascript", prefix + "mode_javascript.js");
-    ace.config.setModuleUrl("ace/mode/javascript", prefix + "mode_css.js");
-    ace.config.setModuleUrl("ace/mode/javascript", prefix + "mode_html.js");
-    ace.config.setModuleUrl("ace/theme/textmate", prefix + "theme_textmate.js");
-    this._aceEditor = window.ace.edit(this.element);
-
-    this._aceEditor.setShowFoldWidgets(false);
-    this._aceEditor.session.setFixedGutterWidth(true);
-    this._aceEditor.on("gutterclick", this._gutterClick.bind(this));
-    this._aceEditor.on("change", this._onTextChange.bind(this));
-    this._aceEditor.setHighlightActiveLine(false);
-    this._aceEditor.session.setUseWorker(false);
-    this.registerRequiredCSS("ace/acedevtools.css");
-    this._attributes = [];
-}
-
-WebInspector.AceTextEditor.prototype = {
-
-    _updateBreakpoints: function()
-    {
-        this._aceEditor.session.clearBreakpoints();
-        for(var i in this._attributes) {
-            var breakpoint = this.getAttribute(i, "ace_breakpoint");
-            if (!breakpoint)
-                continue;
-            var className = breakpoint.conditional ? "webkit-breakpoint-conditional" : "webkit-breakpoint";
-            if (breakpoint.disabled) className += " webkit-breakpoint-disabled";
-            this._aceEditor.session.setBreakpoint(i, className);
-        }
-    },
-
-    _updateLineAttributes: function(delta) {
-        var range = delta.range;
-        var length, insertionIndex;
-
-        if (range.end.row === range.start.row)
-            return;
-
-        if (delta.action === "insertText") {
-            length = range.end.row - range.start.row;
-            insertionIndex = range.start.column === 0 ? range.start.row: range.start.row + 1;
-        } else if (delta.action === "insertLines") {
-            length = range.end.row - range.start.row;
-            insertionIndex = range.start.row;
-        } else if (delta.action === "removeText") {
-            length = range.start.row - range.end.row;
-            insertionIndex = range.start.row;
-        } else if (delta.action === "removeLines") {
-            length = range.start.row - range.end.row;
-            insertionIndex = range.start.row;
-        }
-
-        if (length > 0) {
-            var spliceArguments = new Array(length);
-            spliceArguments.unshift(insertionIndex, 0);
-            Array.prototype.splice.apply(this._attributes, spliceArguments);
-        } else if (length < 0) {
-            this._attributes.splice(insertionIndex, -length);
-        }
-        this._updateBreakpoints();
-    },
-
-    _onTextChange: function(event)
-    {
-        this._updateLineAttributes(event.data);
-        this._delegate.onTextChanged(null, null);
-    },
-
-    _gutterClick: function(event)
-    {
-        var lineNumber = parseInt(event.domEvent.target.textContent) - 1;
-        this.dispatchEventToListeners(WebInspector.TextEditor.Events.GutterClick, { lineNumber: lineNumber, event: event.domEvent });
-    },
-
-    /**
-     * @param {string} mimeType
-     */
-    set mimeType(mimeType)
-    {
-        switch(mimeType) {
-        case "text/html":
-            this._aceEditor.getSession().setMode("ace/mode/html");
-            break;
-        case "text/css":
-            this._aceEditor.getSession().setMode("ace/mode/css");
-            break;
-        case "text/javascript":
-            this._aceEditor.getSession().setMode("ace/mode/javascript");
-            break;
-        }
-    },
-
-    /**
-     * @param {boolean} readOnly
-     */
-    setReadOnly: function(readOnly)
-    {
-        this._aceEditor.setReadOnly(readOnly);
-    },
-
-    /**
-     * @return {boolean}
-     */
-    readOnly: function()
-    {
-        return this._aceEditor.getReadOnly();
-    },
-
-    focus: function()
-    {
-        this._aceEditor.focus();
-    },
-
-    /**
-     * @return {Element}
-     */
-    defaultFocusedElement: function()
-    {
-        return this.element.firstChild;
-    },
-
-    /**
-     * @param {string} regex
-     * @param {string} cssClass
-     * @return {WebInspector.TextEditorMainPanel.HighlightDescriptor}
-     */
-    highlightRegex: function(regex, cssClass)
-    {
-        console.log("aceEditor.highlightRegex not implemented");
-    },
-
-    /**
-     * @param {WebInspector.TextRange} range
-     * @param {string} cssClass
-     */
-    highlightRange: function(range, cssClass)
-    {
-        console.log("aceEditor.highlightRange not implemented");
-    },
-
-    /**
-     * @param {WebInspector.TextEditorMainPanel.HighlightDescriptor} highlightDescriptor
-     */
-    removeHighlight: function(highlightDescriptor)
-    {
-        console.log("aceEditor.removeHighlight not implemented");
-    },
-
-    /**
-     * @param {number} lineNumber
-     */
-    revealLine: function(lineNumber) {
-        this._aceEditor.scrollToLine(lineNumber, false, true);
-    },
-
-    /**
-     * @param {number} lineNumber
-     * @param {boolean} disabled
-     * @param {boolean} conditional
-     */
-    addBreakpoint: function(lineNumber, disabled, conditional)
-    {
-        this.setAttribute(lineNumber, "ace_breakpoint", {
-            disabled: disabled,
-            conditional: conditional
-        });
-        this._updateBreakpoints();
-    },
-
-    /**
-     * @param {number} lineNumber
-     */
-    removeBreakpoint: function(lineNumber)
-    {
-        this.removeAttribute(lineNumber, "ace_breakpoint");
-        this._updateBreakpoints();
-    },
-
-    /**
-     * @param {number} lineNumber
-     */
-    setExecutionLine: function(lineNumber)
-    {
-        this._executionLine = lineNumber;
-        const Range = ace.require('ace/range').Range;
-        this._executionLineMarker = this._aceEditor.session.addMarker(new Range(lineNumber, 0, lineNumber, Infinity), "webkit-execution-line", "fullLine");
-        this._aceEditor.session.addGutterDecoration(lineNumber, "webkit-gutter-execution-line");
-    },
-
-    /**
-     * @param {WebInspector.TextRange} range
-     * @return {string}
-     */
-    copyRange: function(range)
-    {
-        console.log("aceEditor.copyRange not implemented");
-        return "";
-    },
-
-    clearExecutionLine: function()
-    {
-        this._aceEditor.session.removeMarker(this._executionLineMarker);
-        this._aceEditor.session.removeGutterDecoration(this._executionLine, "webkit-gutter-execution-line");
-    },
-
-    /**
-     * @param {number} lineNumber
-     * @param {Element} element
-     */
-    addDecoration: function(lineNumber, element)
-    {
-        console.log("aceEditor.addDecoration not implemented");
-    },
-
-    /**
-     * @param {number} lineNumber
-     * @param {Element} element
-     */
-    removeDecoration: function(lineNumber, element)
-    {
-        console.log("aceEditor.removeDecoration not implemented");
-    },
-
-    /**
-     * @param {WebInspector.TextRange} range
-     */
-    markAndRevealRange: function(range)
-    {
-        console.log("aceEditor.markAndRevealRange not implemented");
-    },
-
-    /**
-     * @param {number} lineNumber
-     */
-    highlightLine: function(lineNumber)
-    {
-        console.log("aceEditor.highlightLine not implemented");
-    },
-
-    clearLineHighlight: function() {
-        console.log("aceEditor.clearLineHighlight not implemented");
-    },
-
-    /**
-     * @return {Array.<Element>}
-     */
-    elementsToRestoreScrollPositionsFor: function()
-    {
-        return [];
-    },
-
-    /**
-     * @param {WebInspector.TextEditor} textEditor
-     */
-    inheritScrollPositions: function(textEditor)
-    {
-        console.log("aceEditor.inheritScrollPositions not implemented");
-    },
-
-    beginUpdates: function() { },
-
-    endUpdates: function() { },
-
-    onResize: function() { },
-
-    /**
-     * @param {WebInspector.TextRange} range
-     * @param {string} text
-     * @return {WebInspector.TextRange}
-     */
-    editRange: function(range, text)
-    {
-        console.log("aceEditor.editRange not implemented");
-    },
-
-    /**
-     * @param {number} lineNumber
-     */
-    scrollToLine: function(lineNumber)
-    {
-        this._aceEditor.scrollToLine(lineNumber, false, true);
-    },
-
-    /**
-     * @return {WebInspector.TextRange}
-     */
-    selection: function()
-    {
-        console.log("aceEditor.selection not implemented");
-    },
-
-    /**
-     * @return {WebInspector.TextRange?}
-     */
-    lastSelection: function()
-    {
-        console.log("aceEditor.lastSelection not implemented");
-    },
-
-    /**
-     * @param {WebInspector.TextRange} textRange
-     */
-    setSelection: function(textRange)
-    {
-        this._aceEditor.scrollToLine(textRange.startLine, true);
-    },
-
-    /**
-     * @param {string} text
-     */
-    setText: function(text)
-    {
-        this._aceEditor.getSession().setValue(text);
-    },
-
-    /**
-     * @return {string}
-     */
-    text: function()
-    {
-        return this._aceEditor.getSession().getValue();
-    },
-
-    /**
-     * @return {WebInspector.TextRange}
-     */
-    range: function()
-    {
-        console.log("aceEditor.range not implemented");
-    },
-
-    /**
-     * @param {number} lineNumber
-     * @return {string}
-     */
-    line: function(lineNumber)
-    {
-        return this._aceEditor.getSession().getLine(lineNumber);
-    },
-
-    /**
-     * @return {number}
-     */
-    get linesCount() {
-        return this._aceEditor.getSession().getLength();
-    },
-
-    /**
-     * @param {number} line
-     * @param {string} name
-     * @return {Object|null} value
-     */
-    getAttribute: function(line, name)
-    {
-        var attrs = this._attributes[line];
-        return attrs ? attrs[name] : null;
-    },
-
-    /**
-     * @param {number} line
-     * @param {string} name
-     * @param {Object?} value
-     */
-    setAttribute: function(line, name, value)
-    {
-        var attrs = this._attributes[line];
-        if (!attrs) {
-            attrs = {};
-            this._attributes[line] = attrs;
-        }
-        attrs[name] = value;
-    },
-
-    /**
-     * @param {number} line
-     * @param {string} name
-     */
-    removeAttribute: function(line, name)
-    {
-        var attrs = this._attributes[line];
-        if (attrs)
-            delete attrs[name];
-    },
-
-    wasShown: function() { },
-
-    __proto__: WebInspector.View.prototype
-}
diff --git a/Source/WebCore/inspector/front-end/AdvancedSearchController.js b/Source/WebCore/inspector/front-end/AdvancedSearchController.js
deleted file mode 100644 (file)
index 47399cc..0000000
+++ /dev/null
@@ -1,699 +0,0 @@
-/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY GOOGLE INC. AND ITS CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC.
- * OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @constructor
- */
-WebInspector.AdvancedSearchController = function()
-{
-    this._shortcut = WebInspector.AdvancedSearchController.createShortcut();
-    this._searchId = 0;
-    
-    WebInspector.settings.advancedSearchConfig = WebInspector.settings.createSetting("advancedSearchConfig", new WebInspector.SearchConfig("", true, false));
-    
-    WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.FrameNavigated, this._frameNavigated, this);
-}
-
-/**
- * @return {!WebInspector.KeyboardShortcut.Descriptor}
- */
-WebInspector.AdvancedSearchController.createShortcut = function()
-{
-    if (WebInspector.isMac())
-        return WebInspector.KeyboardShortcut.makeDescriptor("f", WebInspector.KeyboardShortcut.Modifiers.Meta | WebInspector.KeyboardShortcut.Modifiers.Alt);
-    else
-        return WebInspector.KeyboardShortcut.makeDescriptor("f", WebInspector.KeyboardShortcut.Modifiers.Ctrl | WebInspector.KeyboardShortcut.Modifiers.Shift);
-}
-
-WebInspector.AdvancedSearchController.prototype = {
-    /**
-     * @param {KeyboardEvent} event
-     * @return {boolean}
-     */
-    handleShortcut: function(event)
-    {
-        if (WebInspector.KeyboardShortcut.makeKeyFromEvent(event) === this._shortcut.key) {
-            if (!this._searchView || !this._searchView.isShowing() || this._searchView._search !== document.activeElement) {
-                WebInspector.showPanel("scripts");
-                this.show();
-            } else
-                this.close();
-            event.consume(true);
-            return true;
-        }
-        return false;
-    },
-
-    _frameNavigated: function()
-    {
-        this.resetSearch();
-    },
-
-    /**
-     * @param {WebInspector.SearchScope} searchScope
-     */
-    registerSearchScope: function(searchScope)
-    {
-        // FIXME: implement multiple search scopes.
-        this._searchScope = searchScope;
-    },
-
-    show: function()
-    {
-        if (!this._searchView)
-            this._searchView = new WebInspector.SearchView(this);
-        
-        this._searchView.syncToSelection();
-
-        if (this._searchView.isShowing())
-            this._searchView.focus();
-        else
-            WebInspector.showViewInDrawer(this._searchView._searchPanelElement, this._searchView, this.stopSearch.bind(this));
-    },
-
-    close: function()
-    {
-        this.stopSearch();
-        WebInspector.closeViewInDrawer();
-    },
-
-    /**
-     * @param {number} searchId
-     * @param {WebInspector.FileBasedSearchResultsPane.SearchResult} searchResult
-     */
-    _onSearchResult: function(searchId, searchResult)
-    {
-        if (searchId !== this._searchId)
-            return;
-
-        this._searchView.addSearchResult(searchResult);
-        if (!searchResult.searchMatches.length)
-            return;
-        
-        if (!this._searchResultsPane) 
-            this._searchResultsPane = this._currentSearchScope.createSearchResultsPane(this._searchConfig);        
-        this._searchView.resultsPane = this._searchResultsPane; 
-        this._searchResultsPane.addSearchResult(searchResult);
-    },
-    
-    /**
-     * @param {number} searchId
-     * @param {boolean} finished
-     */
-    _onSearchFinished: function(searchId, finished)
-    {
-        if (searchId !== this._searchId)
-            return;
-
-        if (!this._searchResultsPane)
-            this._searchView.nothingFound();
-        
-        this._searchView.searchFinished(finished);
-    },
-    
-    /**
-     * @param {WebInspector.SearchConfig} searchConfig
-     */
-    startSearch: function(searchConfig)
-    {
-        this.resetSearch();
-        ++this._searchId;
-
-        this._searchConfig = searchConfig;
-        // FIXME: this._currentSearchScope should be initialized based on searchConfig
-        this._currentSearchScope = this._searchScope;
-
-        var totalSearchResultsCount = this._currentSearchScope.performSearch(searchConfig, this._onSearchResult.bind(this, this._searchId), this._onSearchFinished.bind(this, this._searchId));
-        this._searchView.searchStarted(totalSearchResultsCount);
-    },
-    
-    resetSearch: function()
-    {
-        this.stopSearch();
-
-        if (this._searchResultsPane) {
-            this._searchView.resetResults();
-            delete this._searchResultsPane;
-        }
-    },
-    
-    stopSearch: function()
-    {
-        if (this._currentSearchScope)
-            this._currentSearchScope.stopSearch();
-    }
-}
-
-/**
- * @constructor
- * @extends {WebInspector.View}
- * @param {WebInspector.AdvancedSearchController} controller
- */
-WebInspector.SearchView = function(controller)
-{
-    WebInspector.View.call(this);
-    this.registerRequiredCSS("textEditor.css");
-    
-    this._controller = controller;
-
-    this.element.className = "search-view";
-
-    this._searchPanelElement = document.createElement("span");
-    this._searchPanelElement.className = "search-drawer-header";
-    this._searchPanelElement.addEventListener("keydown", this._onKeyDown.bind(this), false);
-    
-    this._searchResultsElement = this.element.createChild("div");
-    this._searchResultsElement.className = "search-results";
-    
-    this._searchLabel = this._searchPanelElement.createChild("span");
-    this._searchLabel.textContent = WebInspector.UIString("Search sources");
-    this._search = this._searchPanelElement.createChild("input");
-    this._search.setAttribute("type", "search");
-    this._search.addStyleClass("search-config-search");
-    this._search.setAttribute("results", "0");
-    this._search.setAttribute("size", 30);
-
-    this._ignoreCaseLabel = this._searchPanelElement.createChild("label");
-    this._ignoreCaseLabel.addStyleClass("search-config-label");
-    this._ignoreCaseCheckbox = this._ignoreCaseLabel.createChild("input");
-    this._ignoreCaseCheckbox.setAttribute("type", "checkbox");
-    this._ignoreCaseCheckbox.addStyleClass("search-config-checkbox");
-    this._ignoreCaseLabel.appendChild(document.createTextNode(WebInspector.UIString("Ignore case")));
-    
-    this._regexLabel = this._searchPanelElement.createChild("label");
-    this._regexLabel.addStyleClass("search-config-label");
-    this._regexCheckbox = this._regexLabel.createChild("input");
-    this._regexCheckbox.setAttribute("type", "checkbox");
-    this._regexCheckbox.addStyleClass("search-config-checkbox");
-    this._regexLabel.appendChild(document.createTextNode(WebInspector.UIString("Regular expression")));
-    
-    this._searchStatusBarElement = document.createElement("div");
-    this._searchStatusBarElement.className = "search-status-bar-item";
-    this._searchMessageElement = this._searchStatusBarElement.createChild("div");
-    this._searchMessageElement.className = "search-status-bar-message";
-
-    this._searchResultsMessageElement = document.createElement("span");
-    this._searchResultsMessageElement.className = "search-results-status-bar-message";
-
-    this._load();
-}
-
-// Number of recent search queries to store.
-WebInspector.SearchView.maxQueriesCount = 20;
-
-WebInspector.SearchView.prototype = {
-    /**
-     * @return {Array.<Element>}
-     */
-    statusBarItems: function()
-    {
-        return [this._searchStatusBarElement, this._searchResultsMessageElement];
-    },
-
-    /**
-     * @return {WebInspector.SearchConfig}
-     */
-    get searchConfig()
-    {
-        return new WebInspector.SearchConfig(this._search.value, this._ignoreCaseCheckbox.checked, this._regexCheckbox.checked);
-    },
-
-    syncToSelection: function()
-    {
-        var selection = window.getSelection();
-        if (selection.rangeCount)
-            this._search.value = selection.toString().replace(/\r?\n.*/, "");
-    },
-    
-    /**
-     * @type {WebInspector.SearchResultsPane}
-     */
-    set resultsPane(resultsPane)
-    {
-        this.resetResults();
-        this._searchResultsElement.appendChild(resultsPane.element);
-    },
-    
-    /**
-     * @param {number} totalSearchResultsCount
-     */
-    searchStarted: function(totalSearchResultsCount)
-    {
-        this.resetResults();
-        this._resetCounters();
-
-        this._searchMessageElement.textContent = WebInspector.UIString("Searching...");
-        this._progressIndicator = new WebInspector.ProgressIndicator();
-        this._progressIndicator.setTotalWork(totalSearchResultsCount);
-        this._progressIndicator.show(this._searchStatusBarElement);
-        
-        this._updateSearchResultsMessage();
-        
-        if (!this._searchingView)
-            this._searchingView = new WebInspector.EmptyView(WebInspector.UIString("Searching..."));
-        this._searchingView.show(this._searchResultsElement);
-    },
-
-    _updateSearchResultsMessage: function()
-    {
-        if (this._searchMatchesCount && this._searchResultsCount)
-            this._searchResultsMessageElement.textContent = WebInspector.UIString("Found %d matches in %d files.", this._searchMatchesCount, this._nonEmptySearchResultsCount);
-        else
-            this._searchResultsMessageElement.textContent = "";
-    },
-
-    resetResults: function()
-    {
-        if (this._searchingView)
-            this._searchingView.detach();
-        if (this._notFoundView)
-            this._notFoundView.detach();
-        this._searchResultsElement.removeChildren();
-    },
-
-    _resetCounters: function()
-    {
-        this._searchMatchesCount = 0;
-        this._searchResultsCount = 0;
-        this._nonEmptySearchResultsCount = 0;
-    },
-
-    nothingFound: function()
-    {
-        this.resetResults();
-
-        if (!this._notFoundView)
-            this._notFoundView = new WebInspector.EmptyView(WebInspector.UIString("No matches found."));
-        this._notFoundView.show(this._searchResultsElement);
-        this._searchResultsMessageElement.textContent = WebInspector.UIString("No matches found.");
-    },
-
-    /**
-     * @param {WebInspector.FileBasedSearchResultsPane.SearchResult} searchResult
-     */
-    addSearchResult: function(searchResult)
-    {
-        this._searchMatchesCount += searchResult.searchMatches.length;
-        this._searchResultsCount++;
-        if (searchResult.searchMatches.length)
-            this._nonEmptySearchResultsCount++;
-        this._updateSearchResultsMessage();
-        if (this._progressIndicator.isCanceled())
-            this._onCancel();
-        else
-            this._progressIndicator.setWorked(this._searchResultsCount);
-    },
-
-    /**
-     * @param {boolean} finished
-     */
-    searchFinished: function(finished)
-    {
-        this._progressIndicator.done();
-        this._searchMessageElement.textContent = finished ? WebInspector.UIString("Search finished.") : WebInspector.UIString("Search interrupted.");
-    },
-
-    focus: function()
-    {
-        WebInspector.setCurrentFocusElement(this._search);
-        this._search.select();
-    },
-
-    wasShown: function()
-    {
-        this.focus();
-    },
-
-    willHide: function()
-    {
-        this._controller.stopSearch();
-    },
-
-    /**
-     * @param {Event} event
-     */
-    _onKeyDown: function(event)
-    {
-        switch (event.keyCode) {
-        case WebInspector.KeyboardShortcut.Keys.Enter.code:
-            this._onAction();
-            break;
-        case WebInspector.KeyboardShortcut.Keys.Esc.code:
-            this._controller.close();
-            event.consume(true);
-            break;
-        }        
-    },
-    
-    _save: function()
-    {
-        var searchConfig = new WebInspector.SearchConfig(this.searchConfig.query, this.searchConfig.ignoreCase, this.searchConfig.isRegex); 
-        WebInspector.settings.advancedSearchConfig.set(searchConfig);
-    },
-    
-    _load: function()
-    {
-        var searchConfig = WebInspector.settings.advancedSearchConfig.get();
-        this._search.value = searchConfig.query;
-        this._ignoreCaseCheckbox.checked = searchConfig.ignoreCase;
-        this._regexCheckbox.checked = searchConfig.isRegex;
-    },
-
-    _onCancel: function()
-    {
-        this._controller.stopSearch();
-        this.focus();
-    },
-    
-    _onAction: function()
-    {
-        if (!this.searchConfig.query || !this.searchConfig.query.length)
-            return;
-        
-        this._save();
-        this._controller.startSearch(this.searchConfig);
-    },
-
-    __proto__: WebInspector.View.prototype
-}
-
-
-/**
- * @constructor
- * @param {string} query
- * @param {boolean} ignoreCase
- * @param {boolean} isRegex
- */
-WebInspector.SearchConfig = function(query, ignoreCase, isRegex)
-{
-    this.query = query;
-    this.ignoreCase = ignoreCase;
-    this.isRegex = isRegex;
-}
-
-/**
- * @interface
- */
-WebInspector.SearchScope = function()
-{
-}
-
-WebInspector.SearchScope.prototype = {
-    /**
-     * @param {WebInspector.SearchConfig} searchConfig
-     * @param {function(WebInspector.FileBasedSearchResultsPane.SearchResult)} searchResultCallback
-     * @param {function(boolean)} searchFinishedCallback
-     */
-    performSearch: function(searchConfig, searchResultCallback, searchFinishedCallback) { },
-
-    stopSearch: function() { },
-    
-    /**
-     * @param {WebInspector.SearchConfig} searchConfig
-     * @return {WebInspector.SearchResultsPane}
-     */
-    createSearchResultsPane: function(searchConfig) { }
-}
-
-/**
- * @constructor
- * @param {number} offset
- * @param {number} length
- */
-WebInspector.SearchResult = function(offset, length)
-{
-    this.offset = offset;
-    this.length = length;    
-}
-
-/**
- * @constructor
- * @param {WebInspector.SearchConfig} searchConfig
- */
-WebInspector.SearchResultsPane = function(searchConfig)
-{
-    this._searchConfig = searchConfig;
-    this.element = document.createElement("div");
-}
-
-WebInspector.SearchResultsPane.prototype = {
-    /**
-     * @return {WebInspector.SearchConfig}
-     */
-    get searchConfig()
-    {
-        return this._searchConfig;
-    },
-
-    /**
-     * @param {WebInspector.FileBasedSearchResultsPane.SearchResult} searchResult
-     */
-    addSearchResult: function(searchResult) { }
-}
-
-/**
- * @constructor
- * @extends {WebInspector.SearchResultsPane} 
- * @param {WebInspector.SearchConfig} searchConfig
- */
-WebInspector.FileBasedSearchResultsPane = function(searchConfig)
-{
-    WebInspector.SearchResultsPane.call(this, searchConfig);
-    
-    this._searchResults = [];
-
-    this.element.id ="search-results-pane-file-based";
-    
-    this._treeOutlineElement = document.createElement("ol");
-    this._treeOutlineElement.className = "search-results-outline-disclosure";
-    this.element.appendChild(this._treeOutlineElement);
-    this._treeOutline = new TreeOutline(this._treeOutlineElement);
-    
-    this._matchesExpandedCount = 0;
-}
-
-WebInspector.FileBasedSearchResultsPane.matchesExpandedByDefaultCount = 20;
-WebInspector.FileBasedSearchResultsPane.fileMatchesShownAtOnce = 20;
-
-WebInspector.FileBasedSearchResultsPane.prototype = {
-    /**
-     * @param {WebInspector.UISourceCode} uiSourceCode
-     * @param {number} lineNumber
-     * @param {number} columnNumber
-     * @return {Element}
-     */
-    _createAnchor: function(uiSourceCode, lineNumber, columnNumber)
-    {
-        var anchor = document.createElement("a");
-        anchor.preferredPanel = "scripts";
-        anchor.href = sanitizeHref(uiSourceCode.originURL());
-        anchor.uiSourceCode = uiSourceCode;
-        anchor.lineNumber = lineNumber;
-        return anchor;
-    },
-
-    /**
-     * @param {WebInspector.FileBasedSearchResultsPane.SearchResult} searchResult
-     */
-    addSearchResult: function(searchResult)
-    {
-        this._searchResults.push(searchResult);
-        var uiSourceCode = searchResult.uiSourceCode;
-        var searchMatches = searchResult.searchMatches;
-
-        var fileTreeElement = this._addFileTreeElement(uiSourceCode.originURL(), searchMatches.length, this._searchResults.length - 1);
-    },
-
-    /**
-     * @param {WebInspector.FileBasedSearchResultsPane.SearchResult} searchResult
-     * @param {TreeElement} fileTreeElement
-     */
-    _fileTreeElementExpanded: function(searchResult, fileTreeElement)
-    {
-        if (fileTreeElement._initialized)
-            return;
-        
-        var toIndex = Math.min(searchResult.searchMatches.length, WebInspector.FileBasedSearchResultsPane.fileMatchesShownAtOnce);
-        if (toIndex < searchResult.searchMatches.length) {
-            this._appendSearchMatches(fileTreeElement, searchResult, 0, toIndex - 1);
-            this._appendShowMoreMatchesElement(fileTreeElement, searchResult, toIndex - 1);
-        } else
-            this._appendSearchMatches(fileTreeElement, searchResult, 0, toIndex);
-        
-        fileTreeElement._initialized = true;
-    },
-
-    /**
-     * @param {TreeElement} fileTreeElement
-     * @param {WebInspector.FileBasedSearchResultsPane.SearchResult} searchResult
-     * @param {number} fromIndex
-     * @param {number} toIndex
-     */
-    _appendSearchMatches: function(fileTreeElement, searchResult, fromIndex, toIndex)
-    {
-        var uiSourceCode = searchResult.uiSourceCode;
-        var searchMatches = searchResult.searchMatches;
-
-        var regex = createSearchRegex(this._searchConfig.query, !this._searchConfig.ignoreCase, this._searchConfig.isRegex);
-        for (var i = fromIndex; i < toIndex; ++i) {
-            var lineNumber = searchMatches[i].lineNumber;
-            var lineContent = searchMatches[i].lineContent;
-            var matchRanges = this._regexMatchRanges(lineContent, regex);
-            
-            var anchor = this._createAnchor(uiSourceCode, lineNumber, matchRanges[0].offset);
-            
-            var numberString = numberToStringWithSpacesPadding(lineNumber + 1, 4);
-            var lineNumberSpan = document.createElement("span");
-            lineNumberSpan.addStyleClass("webkit-line-number");
-            lineNumberSpan.addStyleClass("search-match-line-number");
-            lineNumberSpan.textContent = numberString;
-            anchor.appendChild(lineNumberSpan);
-            
-            var contentSpan = this._createContentSpan(lineContent, matchRanges);
-            anchor.appendChild(contentSpan);
-            
-            var searchMatchElement = new TreeElement("", null, false);
-            fileTreeElement.appendChild(searchMatchElement);
-            searchMatchElement.listItemElement.className = "search-match source-code";
-            searchMatchElement.listItemElement.appendChild(anchor);
-        }
-    },
-
-    /**
-     * @param {TreeElement} fileTreeElement
-     * @param {WebInspector.FileBasedSearchResultsPane.SearchResult} searchResult
-     * @param {number} startMatchIndex
-     */
-    _appendShowMoreMatchesElement: function(fileTreeElement, searchResult, startMatchIndex)
-    {
-        var matchesLeftCount = searchResult.searchMatches.length - startMatchIndex;
-        var showMoreMatchesText = WebInspector.UIString("Show all matches (%d more).", matchesLeftCount);
-        var showMoreMatchesElement = new TreeElement(showMoreMatchesText, null, false);
-        fileTreeElement.appendChild(showMoreMatchesElement);
-        showMoreMatchesElement.listItemElement.addStyleClass("show-more-matches");
-        showMoreMatchesElement.onselect = this._showMoreMatchesElementSelected.bind(this, searchResult, startMatchIndex, showMoreMatchesElement);
-    },
-
-    /**
-     * @param {WebInspector.FileBasedSearchResultsPane.SearchResult} searchResult
-     * @param {number} startMatchIndex
-     * @param {TreeElement} showMoreMatchesElement
-     */
-    _showMoreMatchesElementSelected: function(searchResult, startMatchIndex, showMoreMatchesElement)
-    {
-        var fileTreeElement = showMoreMatchesElement.parent;
-        fileTreeElement.removeChild(showMoreMatchesElement);
-        this._appendSearchMatches(fileTreeElement, searchResult, startMatchIndex, searchResult.searchMatches.length);
-    },
-
-    /**
-     * @param {string} fileName
-     * @param {number} searchMatchesCount
-     * @param {number} searchResultIndex
-     */
-    _addFileTreeElement: function(fileName, searchMatchesCount, searchResultIndex)
-    {
-        var fileTreeElement = new TreeElement("", null, true);
-        fileTreeElement.toggleOnClick = true;
-        fileTreeElement.selectable = false;
-
-        this._treeOutline.appendChild(fileTreeElement);
-        fileTreeElement.listItemElement.addStyleClass("search-result");
-
-        var fileNameSpan = document.createElement("span");
-        fileNameSpan.className = "search-result-file-name";
-        fileNameSpan.textContent = fileName;
-        fileTreeElement.listItemElement.appendChild(fileNameSpan);
-
-        var matchesCountSpan = document.createElement("span");
-        matchesCountSpan.className = "search-result-matches-count";
-        if (searchMatchesCount === 1)
-            matchesCountSpan.textContent = WebInspector.UIString("(%d match)", searchMatchesCount);
-        else
-            matchesCountSpan.textContent = WebInspector.UIString("(%d matches)", searchMatchesCount);
-        
-        fileTreeElement.listItemElement.appendChild(matchesCountSpan);
-        
-        var searchResult = this._searchResults[searchResultIndex];
-        fileTreeElement.onexpand = this._fileTreeElementExpanded.bind(this, searchResult, fileTreeElement);
-
-        // Expand until at least certain amount of matches is expanded.
-        if (this._matchesExpandedCount < WebInspector.FileBasedSearchResultsPane.matchesExpandedByDefaultCount)
-            fileTreeElement.expand();
-        this._matchesExpandedCount += searchResult.searchMatches.length;
-
-        return fileTreeElement; 
-    },
-
-    /**
-     * @param {string} lineContent
-     * @param {RegExp} regex
-     * @return {Array.<WebInspector.SearchResult>}
-     */
-    _regexMatchRanges: function(lineContent, regex)
-    {
-        regex.lastIndex = 0;
-        var match;
-        var offset = 0;
-        var matchRanges = [];
-        while ((regex.lastIndex < lineContent.length) && (match = regex.exec(lineContent)))
-            matchRanges.push(new WebInspector.SearchResult(match.index, match[0].length));
-
-        return matchRanges;
-    },
-    
-    /**
-     * @param {string} lineContent
-     * @param {Array.<WebInspector.SearchResult>} matchRanges
-     */
-    _createContentSpan: function(lineContent, matchRanges)
-    {
-        var contentSpan = document.createElement("span");
-        contentSpan.className = "search-match-content";
-        contentSpan.textContent = lineContent;
-        WebInspector.highlightRangesWithStyleClass(contentSpan, matchRanges, "highlighted-match");
-        return contentSpan;
-    },
-
-    __proto__: WebInspector.SearchResultsPane.prototype
-}
-
-/**
- * @constructor
- * @param {WebInspector.UISourceCode} uiSourceCode
- * @param {Array.<Object>} searchMatches
- */
-WebInspector.FileBasedSearchResultsPane.SearchResult = function(uiSourceCode, searchMatches) {
-    this.uiSourceCode = uiSourceCode;
-    this.searchMatches = searchMatches;
-}
-
-/**
- * @type {WebInspector.AdvancedSearchController}
- */
-WebInspector.advancedSearchController = null;
diff --git a/Source/WebCore/inspector/front-end/ApplicationCacheItemsView.js b/Source/WebCore/inspector/front-end/ApplicationCacheItemsView.js
deleted file mode 100644 (file)
index c576e59..0000000
+++ /dev/null
@@ -1,273 +0,0 @@
-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @constructor
- * @extends {WebInspector.View}
- */
-WebInspector.ApplicationCacheItemsView = function(model, frameId)
-{
-    WebInspector.View.call(this);
-    
-    this._model = model;
-
-    this.element.addStyleClass("storage-view");
-    this.element.addStyleClass("table");
-
-    // FIXME: Needs better tooltip. (Localized)
-    this.deleteButton = new WebInspector.StatusBarButton(WebInspector.UIString("Delete"), "delete-storage-status-bar-item");
-    this.deleteButton.visible = false;
-    this.deleteButton.addEventListener("click", this._deleteButtonClicked, this);
-
-    this.connectivityIcon = document.createElement("img");
-    this.connectivityIcon.className = "storage-application-cache-connectivity-icon";
-    this.connectivityIcon.src = "";
-    this.connectivityMessage = document.createElement("span");
-    this.connectivityMessage.className = "storage-application-cache-connectivity";
-    this.connectivityMessage.textContent = "";
-
-    this.divider = document.createElement("span");
-    this.divider.className = "status-bar-item status-bar-divider";
-
-    this.statusIcon = document.createElement("img");
-    this.statusIcon.className = "storage-application-cache-status-icon";
-    this.statusIcon.src = "";
-    this.statusMessage = document.createElement("span");
-    this.statusMessage.className = "storage-application-cache-status";
-    this.statusMessage.textContent = "";
-
-    this._frameId = frameId;
-
-    this._emptyView = new WebInspector.EmptyView(WebInspector.UIString("No Application Cache information available."));
-    this._emptyView.show(this.element);
-
-    this._markDirty();
-    
-    var status = this._model.frameManifestStatus(frameId);
-    this.updateStatus(status);
-    
-    this.updateNetworkState(this._model.onLine);
-
-    // FIXME: Status bar items don't work well enough yet, so they are being hidden.
-    // http://webkit.org/b/41637 Web Inspector: Give Semantics to "Refresh" and "Delete" Buttons in ApplicationCache DataGrid
-    this.deleteButton.element.style.display = "none";
-}
-
-WebInspector.ApplicationCacheItemsView.prototype = {
-    statusBarItems: function()
-    {
-        return [
-            this.deleteButton.element,
-            this.connectivityIcon, this.connectivityMessage, this.divider,
-            this.statusIcon, this.statusMessage
-        ];
-    },
-
-    wasShown: function()
-    {
-        this._maybeUpdate();
-    },
-
-    willHide: function()
-    {
-        this.deleteButton.visible = false;
-    },
-
-    _maybeUpdate: function()
-    {
-        if (!this.isShowing() || !this._viewDirty)
-            return;
-        
-        this._update();
-        this._viewDirty = false;
-    },
-
-    _markDirty: function()
-    {
-        this._viewDirty = true;
-    },
-
-    /**
-     * @param {number} status
-     */
-    updateStatus: function(status)
-    {
-        var oldStatus = this._status;
-        this._status = status;
-        
-        var statusInformation = {};
-        // We should never have UNCACHED status, since we remove frames with UNCACHED application cache status from the tree. 
-        statusInformation[applicationCache.UNCACHED]    = { src: "Images/errorRedDot.png", text: "UNCACHED" };
-        statusInformation[applicationCache.IDLE]        = { src: "Images/successGreenDot.png", text: "IDLE" };
-        statusInformation[applicationCache.CHECKING]    = { src: "Images/warningOrangeDot.png",  text: "CHECKING" };
-        statusInformation[applicationCache.DOWNLOADING] = { src: "Images/warningOrangeDot.png",  text: "DOWNLOADING" };
-        statusInformation[applicationCache.UPDATEREADY] = { src: "Images/successGreenDot.png",  text: "UPDATEREADY" };
-        statusInformation[applicationCache.OBSOLETE]    = { src: "Images/errorRedDot.png",      text: "OBSOLETE" };
-
-        var info = statusInformation[status] || statusInformation[applicationCache.UNCACHED];
-
-        this.statusIcon.src = info.src;
-        this.statusMessage.textContent = info.text;
-        
-        if (this.isShowing() && this._status === applicationCache.IDLE && (oldStatus === applicationCache.UPDATEREADY || !this._resources))
-            this._markDirty();
-        this._maybeUpdate();
-    },
-
-    /**
-     * @param {boolean} isNowOnline
-     */
-    updateNetworkState: function(isNowOnline)
-    {
-        if (isNowOnline) {
-            this.connectivityIcon.src = "Images/successGreenDot.png";
-            this.connectivityMessage.textContent = WebInspector.UIString("Online");
-        } else {
-            this.connectivityIcon.src = "Images/errorRedDot.png";
-            this.connectivityMessage.textContent = WebInspector.UIString("Offline");
-        }
-    },
-
-    _update: function()
-    {
-        this._model.requestApplicationCache(this._frameId, this._updateCallback.bind(this));
-    },
-
-    /**
-     * @param {Object} applicationCache
-     */
-    _updateCallback: function(applicationCache)
-    {
-        if (!applicationCache || !applicationCache.manifestURL) {
-            delete this._manifest;
-            delete this._creationTime;
-            delete this._updateTime;
-            delete this._size;
-            delete this._resources;
-            
-            this._emptyView.show(this.element);
-            this.deleteButton.visible = false;
-            if (this._dataGrid)
-                this._dataGrid.element.addStyleClass("hidden");
-            return;
-        }
-        // FIXME: are these variables needed anywhere else?
-        this._manifest = applicationCache.manifestURL;
-        this._creationTime = applicationCache.creationTime;
-        this._updateTime = applicationCache.updateTime;
-        this._size = applicationCache.size;
-        this._resources = applicationCache.resources;
-
-        if (!this._dataGrid)
-            this._createDataGrid();
-
-        this._populateDataGrid();
-        this._dataGrid.autoSizeColumns(20, 80);
-        this._dataGrid.element.removeStyleClass("hidden");
-        this._emptyView.detach();
-        this.deleteButton.visible = true;
-
-        // FIXME: For Chrome, put creationTime and updateTime somewhere.
-        // NOTE: localizedString has not yet been added.
-        // WebInspector.UIString("(%s) Created: %s Updated: %s", this._size, this._creationTime, this._updateTime);
-    },
-
-    _createDataGrid: function()
-    {
-        var columns = [
-            {title: WebInspector.UIString("Resource"), sort: WebInspector.DataGrid.Order.Ascending, sortable: true},
-            {title: WebInspector.UIString("Type"), sortable: true},
-            {title: WebInspector.UIString("Size"), align: WebInspector.DataGrid.Align.Right, sortable: true}
-        ];
-        this._dataGrid = new WebInspector.DataGrid(columns);
-        this._dataGrid.show(this.element);
-        this._dataGrid.addEventListener(WebInspector.DataGrid.Events.SortingChanged, this._populateDataGrid, this);
-    },
-
-    _populateDataGrid: function()
-    {
-        var selectedResource = this._dataGrid.selectedNode ? this._dataGrid.selectedNode.resource : null;
-        var sortDirection = this._dataGrid.isSortOrderAscending() ? 1 : -1;
-
-        function numberCompare(field, resource1, resource2)
-        {
-            return sortDirection * (resource1[field] - resource2[field]);
-        }
-        function localeCompare(field, resource1, resource2)
-        {
-             return sortDirection * (resource1[field] + "").localeCompare(resource2[field] + "")
-        }
-
-        var comparator;
-        switch (parseInt(this._dataGrid.sortColumnIdentifier(), 10)) {
-            case 0: comparator = localeCompare.bind(this, "name"); break;
-            case 1: comparator = localeCompare.bind(this, "type"); break;
-            case 2: comparator = numberCompare.bind(this, "size"); break;
-            default: localeCompare.bind(this, "resource"); // FIXME: comparator = ?
-        }
-
-        this._resources.sort(comparator);
-        this._dataGrid.rootNode().removeChildren();
-
-        var nodeToSelect;
-        for (var i = 0; i < this._resources.length; ++i) {
-            var data = {};
-            var resource = this._resources[i];
-            data[0] = resource.url;
-            data[1] = resource.type;
-            data[2] = Number.bytesToString(resource.size);
-            var node = new WebInspector.DataGridNode(data);
-            node.resource = resource;
-            node.selectable = true;
-            this._dataGrid.rootNode().appendChild(node);
-            if (resource === selectedResource) {
-                nodeToSelect = node;
-                nodeToSelect.selected = true;
-            }
-        }
-
-        if (!nodeToSelect && this._dataGrid.rootNode().children.length)
-            this._dataGrid.rootNode().children[0].selected = true;
-    },
-
-    _deleteButtonClicked: function(event)
-    {
-        if (!this._dataGrid || !this._dataGrid.selectedNode)
-            return;
-
-        // FIXME: Delete Button semantics are not yet defined. (Delete a single, or all?)
-        this._deleteCallback(this._dataGrid.selectedNode);
-    },
-
-    _deleteCallback: function(node)
-    {
-        // FIXME: Should we delete a single (selected) resource or all resources?
-        // InspectorBackend.deleteCachedResource(...)
-        // this._update();
-    },
-
-    __proto__: WebInspector.View.prototype
-}
-
diff --git a/Source/WebCore/inspector/front-end/ApplicationCacheModel.js b/Source/WebCore/inspector/front-end/ApplicationCacheModel.js
deleted file mode 100644 (file)
index 7f40830..0000000
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY GOOGLE INC. AND ITS CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC.
- * OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @constructor
- * @extends {WebInspector.Object}
- */
-WebInspector.ApplicationCacheModel = function()
-{
-    ApplicationCacheAgent.enable();
-    InspectorBackend.registerApplicationCacheDispatcher(new WebInspector.ApplicationCacheDispatcher(this));
-    
-    WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.FrameNavigated, this._frameNavigated, this);
-    WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.FrameDetached, this._frameDetached, this);
-    
-    this._statuses = {};
-    this._manifestURLsByFrame = {};
-
-    this._mainFrameNavigated();
-    
-    this._onLine = true;
-}
-
-WebInspector.ApplicationCacheModel.EventTypes = {
-    FrameManifestStatusUpdated: "FrameManifestStatusUpdated",
-    FrameManifestAdded: "FrameManifestAdded",
-    FrameManifestRemoved: "FrameManifestRemoved",
-    NetworkStateChanged: "NetworkStateChanged"
-}
-
-WebInspector.ApplicationCacheModel.prototype = {
-    _frameNavigated: function(event)
-    {
-        var frame = /** @type {WebInspector.ResourceTreeFrame} */ (event.data);
-        if (frame.isMainFrame()) {
-            this._mainFrameNavigated();
-            return;
-        }
-
-        ApplicationCacheAgent.getManifestForFrame(frame.id, this._manifestForFrameLoaded.bind(this, frame.id));
-    },
-    
-    /**
-     * @param {WebInspector.Event} event
-     */
-    _frameDetached: function(event)
-    {
-        var frame = /** @type {WebInspector.ResourceTreeFrame} */ (event.data);
-        this._frameManifestRemoved(frame.id);
-    },
-    
-    _mainFrameNavigated: function()
-    {
-        ApplicationCacheAgent.getFramesWithManifests(this._framesWithManifestsLoaded.bind(this));
-    },
-
-    /**
-     * @param {string} frameId
-     * @param {?Protocol.Error} error
-     * @param {string} manifestURL
-     */
-    _manifestForFrameLoaded: function(frameId, error, manifestURL)
-    {
-        if (error) {
-            console.error(error);
-            return;
-        }
-        
-        if (!manifestURL)
-            this._frameManifestRemoved(frameId);
-    },
-    
-    /**
-     * @param {?Protocol.Error} error
-     * @param {Array.<ApplicationCacheAgent.FrameWithManifest>} framesWithManifests
-     */
-    _framesWithManifestsLoaded: function(error, framesWithManifests)
-    {
-        if (error) {
-            console.error(error);
-            return;
-        }
-
-        for (var i = 0; i < framesWithManifests.length; ++i)
-            this._frameManifestUpdated(framesWithManifests[i].frameId, framesWithManifests[i].manifestURL, framesWithManifests[i].status);
-    },
-    
-    /**
-     * @param {string} frameId
-     * @param {string} manifestURL
-     * @param {number} status
-     */
-    _frameManifestUpdated: function(frameId, manifestURL, status)
-    {
-        if (status === applicationCache.UNCACHED) {
-            this._frameManifestRemoved(frameId);
-            return;
-        }
-            
-        if (!manifestURL)
-            return;
-            
-        if (this._manifestURLsByFrame[frameId] && manifestURL !== this._manifestURLsByFrame[frameId])
-            this._frameManifestRemoved(frameId);
-        
-        var statusChanged = this._statuses[frameId] !== status;
-        this._statuses[frameId] = status;
-        
-        if (!this._manifestURLsByFrame[frameId]) {
-            this._manifestURLsByFrame[frameId] = manifestURL;
-            this.dispatchEventToListeners(WebInspector.ApplicationCacheModel.EventTypes.FrameManifestAdded, frameId);
-        }
-            
-        if (statusChanged)
-            this.dispatchEventToListeners(WebInspector.ApplicationCacheModel.EventTypes.FrameManifestStatusUpdated, frameId);
-    },
-    
-    /**
-     * @param {string} frameId
-     */
-    _frameManifestRemoved: function(frameId)
-    {
-        if (!this._manifestURLsByFrame[frameId])
-            return;
-
-        var manifestURL = this._manifestURLsByFrame[frameId];
-        delete this._manifestURLsByFrame[frameId];
-        delete this._statuses[frameId];
-        
-        this.dispatchEventToListeners(WebInspector.ApplicationCacheModel.EventTypes.FrameManifestRemoved, frameId);
-    },
-    
-    /**
-     * @param {string} frameId
-     * @return {string}
-     */
-    frameManifestURL: function(frameId)
-    {
-        return this._manifestURLsByFrame[frameId] || "";
-    },
-    
-    /**
-     * @param {string} frameId
-     * @return {number}
-     */
-    frameManifestStatus: function(frameId)
-    {
-        return this._statuses[frameId] || applicationCache.UNCACHED;
-    },
-    
-    /**
-     * @return {boolean}
-     */
-    get onLine()
-    {
-        return this._onLine;
-    },
-    
-    /**
-     * @param {string} frameId
-     * @param {string} manifestURL
-     * @param {number} status
-     */
-    _statusUpdated: function(frameId, manifestURL, status)
-    {
-        this._frameManifestUpdated(frameId, manifestURL, status);
-    },
-    
-    /**
-     * @param {string} frameId
-     * @param {function(Object)} callback
-     */
-    requestApplicationCache: function(frameId, callback)
-    {
-        function callbackWrapper(error, applicationCache)
-        {
-            if (error) {
-                console.error(error);
-                callback(null);
-                return;
-            }
-            
-            callback(applicationCache);
-        }
-        
-        ApplicationCacheAgent.getApplicationCacheForFrame(frameId, callbackWrapper.bind(this));
-    },
-    
-    /**
-     * @param {boolean} isNowOnline
-     */
-    _networkStateUpdated: function(isNowOnline)
-    {
-        this._onLine = isNowOnline;
-        this.dispatchEventToListeners(WebInspector.ApplicationCacheModel.EventTypes.NetworkStateChanged, isNowOnline);
-    },
-
-    __proto__: WebInspector.Object.prototype
-}
-
-/**
- * @constructor
- * @implements {ApplicationCacheAgent.Dispatcher}
- */
-WebInspector.ApplicationCacheDispatcher = function(applicationCacheModel)
-{
-    this._applicationCacheModel = applicationCacheModel;
-}
-
-WebInspector.ApplicationCacheDispatcher.prototype = {
-    /**
-     * @param {string} frameId
-     * @param {string} manifestURL
-     * @param {number} status
-     */
-    applicationCacheStatusUpdated: function(frameId, manifestURL, status)
-    {
-        this._applicationCacheModel._statusUpdated(frameId, manifestURL, status);
-    },
-    
-    /**
-     * @param {boolean} isNowOnline
-     */
-    networkStateUpdated: function(isNowOnline)
-    {
-        this._applicationCacheModel._networkStateUpdated(isNowOnline);
-    }
-}
diff --git a/Source/WebCore/inspector/front-end/AuditCategories.js b/Source/WebCore/inspector/front-end/AuditCategories.js
deleted file mode 100644 (file)
index ffd3f63..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Copyright (C) 2010 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @constructor
- * @extends {WebInspector.AuditCategory}
- */
-WebInspector.AuditCategories.PagePerformance = function() {
-    WebInspector.AuditCategory.call(this, WebInspector.AuditCategories.PagePerformance.AuditCategoryName);
-}
-
-WebInspector.AuditCategories.PagePerformance.AuditCategoryName = "Web Page Performance";
-
-WebInspector.AuditCategories.PagePerformance.prototype = {
-    initialize: function()
-    {
-        this.addRule(new WebInspector.AuditRules.UnusedCssRule(), WebInspector.AuditRule.Severity.Warning);
-        this.addRule(new WebInspector.AuditRules.CssInHeadRule(), WebInspector.AuditRule.Severity.Severe);
-        this.addRule(new WebInspector.AuditRules.StylesScriptsOrderRule(), WebInspector.AuditRule.Severity.Severe);
-        this.addRule(new WebInspector.AuditRules.VendorPrefixedCSSProperties(), WebInspector.AuditRule.Severity.Warning);
-    },
-
-    __proto__: WebInspector.AuditCategory.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditCategory}
- */
-WebInspector.AuditCategories.NetworkUtilization = function() {
-    WebInspector.AuditCategory.call(this, WebInspector.AuditCategories.NetworkUtilization.AuditCategoryName);
-}
-
-WebInspector.AuditCategories.NetworkUtilization.AuditCategoryName = "Network Utilization";
-
-WebInspector.AuditCategories.NetworkUtilization.prototype = {
-    initialize: function()
-    {
-        this.addRule(new WebInspector.AuditRules.GzipRule(), WebInspector.AuditRule.Severity.Severe);
-        this.addRule(new WebInspector.AuditRules.ImageDimensionsRule(), WebInspector.AuditRule.Severity.Warning);
-        this.addRule(new WebInspector.AuditRules.CookieSizeRule(400), WebInspector.AuditRule.Severity.Warning);
-        this.addRule(new WebInspector.AuditRules.StaticCookielessRule(5), WebInspector.AuditRule.Severity.Warning);
-        this.addRule(new WebInspector.AuditRules.CombineJsResourcesRule(2), WebInspector.AuditRule.Severity.Severe);
-        this.addRule(new WebInspector.AuditRules.CombineCssResourcesRule(2), WebInspector.AuditRule.Severity.Severe);
-        this.addRule(new WebInspector.AuditRules.MinimizeDnsLookupsRule(4), WebInspector.AuditRule.Severity.Warning);
-        this.addRule(new WebInspector.AuditRules.ParallelizeDownloadRule(4, 10, 0.5), WebInspector.AuditRule.Severity.Warning);
-        this.addRule(new WebInspector.AuditRules.BrowserCacheControlRule(), WebInspector.AuditRule.Severity.Severe);
-        this.addRule(new WebInspector.AuditRules.ProxyCacheControlRule(), WebInspector.AuditRule.Severity.Warning);
-    },
-
-    __proto__: WebInspector.AuditCategory.prototype
-}
diff --git a/Source/WebCore/inspector/front-end/AuditController.js b/Source/WebCore/inspector/front-end/AuditController.js
deleted file mode 100644 (file)
index 36748f2..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- * Copyright (C) 2013 Samsung Electronics. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @constructor
- * @param {WebInspector.AuditsPanel} auditsPanel
- */
-WebInspector.AuditController = function(auditsPanel)
-{
-    this._auditsPanel = auditsPanel;
-    WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.OnLoad, this._didMainResourceLoad, this);
-}
-
-WebInspector.AuditController.prototype = {
-    /**
-     * @param {!Array.<!WebInspector.AuditCategory>} categories
-     * @param {function(string, !Array.<!WebInspector.AuditCategoryResult>)} resultCallback
-     */
-    _executeAudit: function(categories, resultCallback)
-    {
-        this._progress.setTitle(WebInspector.UIString("Running audit"));
-
-        function ruleResultReadyCallback(categoryResult, ruleResult)
-        {
-            if (ruleResult && ruleResult.children)
-                categoryResult.addRuleResult(ruleResult);
-
-            if (this._progress.isCanceled())
-                this._progress.done();
-        }
-
-        var results = [];
-        var mainResourceURL = WebInspector.inspectedPageURL;
-        var categoriesDone = 0;
-        function categoryDoneCallback()
-        {
-            if (++categoriesDone !== categories.length)
-                return;
-            this._progress.done();
-            resultCallback(mainResourceURL, results)
-        }
-
-        var requests = WebInspector.networkLog.requests.slice();
-        var compositeProgress = new WebInspector.CompositeProgress(this._progress);
-        var subprogresses = [];
-        for (var i = 0; i < categories.length; ++i)
-            subprogresses.push(compositeProgress.createSubProgress());
-        for (var i = 0; i < categories.length; ++i) {
-            var category = categories[i];
-            var result = new WebInspector.AuditCategoryResult(category);
-            results.push(result);
-            category.run(requests, ruleResultReadyCallback.bind(this, result), categoryDoneCallback.bind(this), subprogresses[i]);
-        }
-    },
-
-    /**
-     * @param {function()} launcherCallback
-     * @param {string} mainResourceURL
-     * @param {!Array.<!WebInspector.AuditCategoryResult>} results
-     */
-    _auditFinishedCallback: function(launcherCallback, mainResourceURL, results)
-    {
-        this._auditsPanel.auditFinishedCallback(mainResourceURL, results);
-        if (!this._progress.isCanceled())
-            launcherCallback();
-    },
-
-    /**
-     * @param {Array.<string>} categoryIds
-     * @param {WebInspector.Progress} progress
-     * @param {boolean} runImmediately
-     * @param {function()} startedCallback
-     * @param {function()} finishedCallback
-     */
-    initiateAudit: function(categoryIds, progress, runImmediately, startedCallback, finishedCallback)
-    {
-        if (!categoryIds || !categoryIds.length)
-            return;
-
-        this._progress = progress;
-
-        var categories = [];
-        for (var i = 0; i < categoryIds.length; ++i)
-            categories.push(this._auditsPanel.categoriesById[categoryIds[i]]);
-
-        function startAuditWhenResourcesReady()
-        {
-            startedCallback();
-            this._executeAudit(categories, this._auditFinishedCallback.bind(this, finishedCallback));
-        }
-
-        if (runImmediately)
-            startAuditWhenResourcesReady.call(this);
-        else
-            this._reloadResources(startAuditWhenResourcesReady.bind(this));
-
-        WebInspector.userMetrics.AuditsStarted.record();
-    },
-
-    /**
-     * @param {function()=} callback
-     */
-    _reloadResources: function(callback)
-    {
-        this._pageReloadCallback = callback;
-        PageAgent.reload(false);
-    },
-
-    _didMainResourceLoad: function()
-    {
-        if (this._pageReloadCallback) {
-            var callback = this._pageReloadCallback;
-            delete this._pageReloadCallback;
-            callback();
-        }
-    }
-}
diff --git a/Source/WebCore/inspector/front-end/AuditFormatters.js b/Source/WebCore/inspector/front-end/AuditFormatters.js
deleted file mode 100644 (file)
index efb0485..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @constructor
- */
-WebInspector.AuditFormatters = function()
-{
-}
-
-WebInspector.AuditFormatters.Registry = {
-    text: function(text)
-    {
-        return document.createTextNode(text);
-    },
-
-    snippet: function(snippetText)
-    {
-        var div = document.createElement("div");
-        div.textContent = snippetText;
-        div.className = "source-code";
-        return div;
-    },
-
-    concat: function()
-    {
-        var parent = document.createElement("span");
-        for (var arg = 0; arg < arguments.length; ++arg)
-            parent.appendChild(WebInspector.auditFormatters.apply(arguments[arg]));
-        return parent;
-    },
-
-    url: function(url, displayText, allowExternalNavigation)
-    {
-        var a = document.createElement("a");
-        a.href = sanitizeHref(url);
-        a.title = url;
-        a.textContent = displayText || url;
-        if (allowExternalNavigation)
-            a.target = "_blank";
-        return a;
-    },
-
-    resourceLink: function(url, line)
-    {
-        // FIXME: use WebInspector.Linkifier
-        return WebInspector.linkifyResourceAsNode(url, line, "console-message-url webkit-html-resource-link");
-    }
-};
-
-WebInspector.AuditFormatters.prototype = {
-    /**
-     * @param {string|boolean|number|Object} value
-     */
-    apply: function(value)
-    {
-        var formatter;
-        var type = typeof value;
-        var args;
-
-        switch (type) {
-        case "string":
-        case "boolean":
-        case "number":
-            formatter = WebInspector.AuditFormatters.Registry.text;
-        args = [ value.toString() ];
-        break;
-
-        case "object":
-            if (value instanceof Node)
-                return value;
-            if (value instanceof Array) {
-                formatter = WebInspector.AuditFormatters.Registry.concat;
-                args = value;
-            } else if (value.type && value.arguments) {
-                formatter = WebInspector.AuditFormatters.Registry[value.type];
-                args = value.arguments;
-            }
-        }
-        if (!formatter)
-            throw "Invalid value or formatter: " + type + JSON.stringify(value);
-
-        return formatter.apply(null, args);
-    },
-
-    /**
-     * @param {Object} formatters
-     * @param {Object} thisArgument
-     * @param {string|boolean|number|Object} value
-     */
-    partiallyApply: function(formatters, thisArgument, value)
-    {
-        if (value instanceof Array)
-            return value.map(this.partiallyApply.bind(this, formatters, thisArgument));
-        if (typeof value === "object" && typeof formatters[value.type] === "function" && value.arguments)
-            return formatters[value.type].apply(thisArgument, value.arguments);
-        return value;
-    }
-}
-
-WebInspector.auditFormatters = new WebInspector.AuditFormatters();
diff --git a/Source/WebCore/inspector/front-end/AuditLauncherView.js b/Source/WebCore/inspector/front-end/AuditLauncherView.js
deleted file mode 100644 (file)
index 17829b2..0000000
+++ /dev/null
@@ -1,306 +0,0 @@
-/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @constructor
- * @param {WebInspector.AuditController} auditController
- * @extends {WebInspector.View}
- */
-WebInspector.AuditLauncherView = function(auditController)
-{
-    WebInspector.View.call(this);
-
-    this._auditController = auditController;
-
-    this._categoryIdPrefix = "audit-category-item-";
-    this._auditRunning = false;
-
-    this.element.addStyleClass("audit-launcher-view");
-    this.element.addStyleClass("panel-enabler-view");
-
-    this._contentElement = document.createElement("div");
-    this._contentElement.className = "audit-launcher-view-content";
-    this.element.appendChild(this._contentElement);
-    this._boundCategoryClickListener = this._categoryClicked.bind(this);
-
-    this._resetResourceCount();
-
-    this._sortedCategories = [];
-
-    this._headerElement = document.createElement("h1");
-    this._headerElement.className = "no-audits";
-    this._headerElement.textContent = WebInspector.UIString("No audits to run");
-    this._contentElement.appendChild(this._headerElement);
-
-    WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestStarted, this._onRequestStarted, this);
-    WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestFinished, this._onRequestFinished, this);
-
-    var defaultSelectedAuditCategory = {};
-    defaultSelectedAuditCategory[WebInspector.AuditLauncherView.AllCategoriesKey] = true;
-    this._selectedCategoriesSetting = WebInspector.settings.createSetting("selectedAuditCategories", defaultSelectedAuditCategory);
-}
-
-WebInspector.AuditLauncherView.AllCategoriesKey = "__AllCategories";
-
-WebInspector.AuditLauncherView.prototype = {
-    _resetResourceCount: function()
-    {
-        this._loadedResources = 0;
-        this._totalResources = 0;
-    },
-
-    _onRequestStarted: function(event)
-    {
-        var request = /** @type {WebInspector.NetworkRequest} */ (event.data);
-        // Ignore long-living WebSockets for the sake of progress indicator, as we won't be waiting them anyway.
-        if (request.type === WebInspector.resourceTypes.WebSocket)
-            return;
-        ++this._totalResources;
-        this._updateResourceProgress();
-    },
-
-    _onRequestFinished: function(event)
-    {
-        var request = /** @type {WebInspector.NetworkRequest} */ (event.data);
-        // See resorceStarted for details.
-        if (request.type === WebInspector.resourceTypes.WebSocket)
-            return;
-        ++this._loadedResources;
-        this._updateResourceProgress();
-    },
-
-    /**
-     * @param {!WebInspector.AuditCategory} category
-     */
-    addCategory: function(category)
-    {
-        if (!this._sortedCategories.length)
-            this._createLauncherUI();
-
-        var selectedCategories = this._selectedCategoriesSetting.get();
-        var categoryElement = this._createCategoryElement(category.displayName, category.id);
-        category._checkboxElement = categoryElement.firstChild;
-        if (this._selectAllCheckboxElement.checked || selectedCategories[category.displayName]) {
-            category._checkboxElement.checked = true;
-            ++this._currentCategoriesCount;
-        }
-
-        function compareCategories(a, b)
-        {
-            var aTitle = a.displayName || "";
-            var bTitle = b.displayName || "";
-            return aTitle.localeCompare(bTitle);
-        }
-        var insertBefore = insertionIndexForObjectInListSortedByFunction(category, this._sortedCategories, compareCategories);
-        this._categoriesElement.insertBefore(categoryElement, this._categoriesElement.children[insertBefore]);
-        this._sortedCategories.splice(insertBefore, 0, category);
-        this._selectedCategoriesUpdated();
-    },
-
-    /**
-     * @param {boolean} auditRunning
-     */
-    _setAuditRunning: function(auditRunning)
-    {
-        if (this._auditRunning === auditRunning)
-            return;
-        this._auditRunning = auditRunning;
-        this._updateButton();
-        this._toggleUIComponents(this._auditRunning);
-        if (this._auditRunning)
-            this._startAudit();
-        else
-            this._stopAudit();
-    },
-
-    _startAudit: function()
-    {
-        var catIds = [];
-        for (var category = 0; category < this._sortedCategories.length; ++category) {
-            if (this._sortedCategories[category]._checkboxElement.checked)
-                catIds.push(this._sortedCategories[category].id);
-        }
-
-        this._resetResourceCount();
-        this._progressIndicator = new WebInspector.ProgressIndicator();
-        this._buttonContainerElement.appendChild(this._progressIndicator.element);
-        this._displayResourceLoadingProgress = true;
-
-        function onAuditStarted()
-        {
-            this._displayResourceLoadingProgress = false;
-        }
-        this._auditController.initiateAudit(catIds, this._progressIndicator, this._auditPresentStateElement.checked, onAuditStarted.bind(this), this._setAuditRunning.bind(this, false));
-    },
-
-    _stopAudit: function()
-    {
-        this._displayResourceLoadingProgress = false;
-        this._progressIndicator.cancel();
-        this._progressIndicator.done();
-        delete this._progressIndicator;
-    },
-
-    /**
-     * @param {boolean} disable
-     */
-    _toggleUIComponents: function(disable)
-    {
-        this._selectAllCheckboxElement.disabled = disable;
-        this._categoriesElement.disabled = disable;
-        this._auditPresentStateElement.disabled = disable;
-        this._auditReloadedStateElement.disabled = disable;
-    },
-
-    _launchButtonClicked: function(event)
-    {
-        this._setAuditRunning(!this._auditRunning);
-    },
-
-    /**
-     * @param {boolean} checkCategories
-     * @param {boolean=} userGesture
-     */
-    _selectAllClicked: function(checkCategories, userGesture)
-    {
-        var childNodes = this._categoriesElement.childNodes;
-        for (var i = 0, length = childNodes.length; i < length; ++i)
-            childNodes[i].firstChild.checked = checkCategories;
-        this._currentCategoriesCount = checkCategories ? this._sortedCategories.length : 0;
-        this._selectedCategoriesUpdated(userGesture);
-    },
-
-    _categoryClicked: function(event)
-    {
-        this._currentCategoriesCount += event.target.checked ? 1 : -1;
-        this._selectAllCheckboxElement.checked = this._currentCategoriesCount === this._sortedCategories.length;
-        this._selectedCategoriesUpdated(true);
-    },
-
-    /**
-     * @param {string} title
-     * @param {string} id
-     */
-    _createCategoryElement: function(title, id)
-    {
-        var labelElement = document.createElement("label");
-        labelElement.id = this._categoryIdPrefix + id;
-
-        var element = document.createElement("input");
-        element.type = "checkbox";
-        if (id !== "")
-            element.addEventListener("click", this._boundCategoryClickListener, false);
-        labelElement.appendChild(element);
-        labelElement.appendChild(document.createTextNode(title));
-        labelElement.__displayName = title;
-
-        return labelElement;
-    },
-
-    _createLauncherUI: function()
-    {
-        this._headerElement = document.createElement("h1");
-        this._headerElement.textContent = WebInspector.UIString("Select audits to run");
-
-        for (var child = 0; child < this._contentElement.children.length; ++child)
-            this._contentElement.removeChild(this._contentElement.children[child]);
-
-        this._contentElement.appendChild(this._headerElement);
-
-        function handleSelectAllClick(event)
-        {
-            this._selectAllClicked(event.target.checked, true);
-        }
-        var categoryElement = this._createCategoryElement(WebInspector.UIString("Select All"), "");
-        categoryElement.id = "audit-launcher-selectall";
-        this._selectAllCheckboxElement = categoryElement.firstChild;
-        this._selectAllCheckboxElement.checked = this._selectedCategoriesSetting.get()[WebInspector.AuditLauncherView.AllCategoriesKey];
-        this._selectAllCheckboxElement.addEventListener("click", handleSelectAllClick.bind(this), false);
-        this._contentElement.appendChild(categoryElement);
-
-        this._categoriesElement = this._contentElement.createChild("fieldset", "audit-categories-container");
-        this._currentCategoriesCount = 0;
-
-        this._contentElement.createChild("div", "flexible-space");
-
-        this._buttonContainerElement = this._contentElement.createChild("div", "button-container");
-
-        var labelElement = this._buttonContainerElement.createChild("label");
-        this._auditPresentStateElement = labelElement.createChild("input");
-        this._auditPresentStateElement.name = "audit-mode";
-        this._auditPresentStateElement.type = "radio";
-        this._auditPresentStateElement.checked = true;
-        this._auditPresentStateLabelElement = document.createTextNode(WebInspector.UIString("Audit Present State"));
-        labelElement.appendChild(this._auditPresentStateLabelElement);
-
-        labelElement = this._buttonContainerElement.createChild("label");
-        this._auditReloadedStateElement = labelElement.createChild("input");
-        this._auditReloadedStateElement.name = "audit-mode";
-        this._auditReloadedStateElement.type = "radio";
-        labelElement.appendChild(document.createTextNode("Reload Page and Audit on Load"));
-
-        this._launchButton = this._buttonContainerElement.createChild("button");
-        this._launchButton.textContent = WebInspector.UIString("Run");
-        this._launchButton.addEventListener("click", this._launchButtonClicked.bind(this), false);
-
-        this._selectAllClicked(this._selectAllCheckboxElement.checked);
-    },
-
-    _updateResourceProgress: function()
-    {
-        if (this._displayResourceLoadingProgress)
-            this._progressIndicator.setTitle(WebInspector.UIString("Loading (%d of %d)", this._loadedResources, this._totalResources));
-    },
-
-    /**
-     * @param {boolean=} userGesture
-     */
-    _selectedCategoriesUpdated: function(userGesture)
-    {
-        // Save present categories only upon user gesture to clean up junk from past versions and removed extensions.
-        // Do not remove old categories if not handling a user gesture, as there's chance categories will be added
-        // later during start-up.
-        var selectedCategories = userGesture ? {} : this._selectedCategoriesSetting.get();
-        var childNodes = this._categoriesElement.childNodes;
-        for (var i = 0, length = childNodes.length; i < length; ++i)
-            selectedCategories[childNodes[i].__displayName] = childNodes[i].firstChild.checked;
-        selectedCategories[WebInspector.AuditLauncherView.AllCategoriesKey] = this._selectAllCheckboxElement.checked;
-        this._selectedCategoriesSetting.set(selectedCategories);
-        this._updateButton();
-    },
-
-    _updateButton: function()
-    {
-        this._launchButton.textContent = this._auditRunning ? WebInspector.UIString("Stop") : WebInspector.UIString("Run");
-        this._launchButton.disabled = !this._currentCategoriesCount;
-    },
-
-    __proto__: WebInspector.View.prototype
-}
diff --git a/Source/WebCore/inspector/front-end/AuditResultView.js b/Source/WebCore/inspector/front-end/AuditResultView.js
deleted file mode 100644 (file)
index cf766aa..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-/*
- * Copyright (C) 2009 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @constructor
- * @extends {WebInspector.SidebarPaneStack}
- * @param {!Array.<!WebInspector.AuditCategoryResult>} categoryResults
- */
-WebInspector.AuditResultView = function(categoryResults)
-{
-    WebInspector.SidebarPaneStack.call(this);
-    this.element.addStyleClass("audit-result-view");
-
-    function categorySorter(a, b) {
-        return (a.title || "").localeCompare(b.title || "");
-    }
-    categoryResults.sort(categorySorter);
-    for (var i = 0; i < categoryResults.length; ++i)
-        this.addPane(new WebInspector.AuditCategoryResultPane(categoryResults[i]));
-}
-
-WebInspector.AuditResultView.prototype = {
-    __proto__: WebInspector.SidebarPaneStack.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.SidebarPane}
- * @param {!WebInspector.AuditCategoryResult} categoryResult
- */
-WebInspector.AuditCategoryResultPane = function(categoryResult)
-{
-    WebInspector.SidebarPane.call(this, categoryResult.title);
-    var treeOutlineElement = document.createElement("ol");
-    this.bodyElement.addStyleClass("audit-result-tree");
-    this.bodyElement.appendChild(treeOutlineElement);
-
-    this._treeOutline = new TreeOutline(treeOutlineElement);
-    this._treeOutline.expandTreeElementsWhenArrowing = true;
-
-    function ruleSorter(a, b)
-    {
-        var result = WebInspector.AuditRule.SeverityOrder[a.severity || 0] - WebInspector.AuditRule.SeverityOrder[b.severity || 0];
-        if (!result)
-            result = (a.value || "").localeCompare(b.value || "");
-        return result;
-    }
-
-    categoryResult.ruleResults.sort(ruleSorter);
-
-    for (var i = 0; i < categoryResult.ruleResults.length; ++i) {
-        var ruleResult = categoryResult.ruleResults[i];
-        var treeElement = this._appendResult(this._treeOutline, ruleResult);
-        treeElement.listItemElement.addStyleClass("audit-result");
-
-        if (ruleResult.severity) {
-            var severityElement = document.createElement("img");
-            severityElement.className = "severity-" + ruleResult.severity;
-            treeElement.listItemElement.appendChild(severityElement);
-        }
-    }
-    this.expand();
-}
-
-WebInspector.AuditCategoryResultPane.prototype = {
-    /**
-     * @param {(TreeOutline|TreeElement)} parentTreeElement
-     * @param {!WebInspector.AuditRuleResult} result
-     */
-    _appendResult: function(parentTreeElement, result)
-    {
-        var title = "";
-
-        if (typeof result.value === "string") {
-            title = result.value;
-            if (result.violationCount)
-                title = String.sprintf("%s (%d)", title, result.violationCount);
-        }
-
-        var treeElement = new TreeElement(null, null, !!result.children);
-        treeElement.title = title;
-        parentTreeElement.appendChild(treeElement);
-
-        if (result.className)
-            treeElement.listItemElement.addStyleClass(result.className);
-        if (typeof result.value !== "string")
-            treeElement.listItemElement.appendChild(WebInspector.auditFormatters.apply(result.value));
-
-        if (result.children) {
-            for (var i = 0; i < result.children.length; ++i)
-                this._appendResult(treeElement, result.children[i]);
-        }
-        if (result.expanded) {
-            treeElement.listItemElement.removeStyleClass("parent");
-            treeElement.listItemElement.addStyleClass("parent-expanded");
-            treeElement.expand();
-        }
-        return treeElement;
-    },
-
-    __proto__: WebInspector.SidebarPane.prototype
-}
diff --git a/Source/WebCore/inspector/front-end/AuditRules.js b/Source/WebCore/inspector/front-end/AuditRules.js
deleted file mode 100644 (file)
index fb56744..0000000
+++ /dev/null
@@ -1,1404 +0,0 @@
-/*
- * Copyright (C) 2010 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-WebInspector.AuditRules.IPAddressRegexp = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/;
-
-WebInspector.AuditRules.CacheableResponseCodes =
-{
-    200: true,
-    203: true,
-    206: true,
-    300: true,
-    301: true,
-    410: true,
-
-    304: true // Underlying request is cacheable
-}
-
-/**
- * @param {!Array.<!WebInspector.NetworkRequest>} requests
- * @param {Array.<!WebInspector.resourceTypes>} types
- * @param {boolean} needFullResources
- * @return {(Object.<string, !Array.<!WebInspector.NetworkRequest>>|Object.<string, !Array.<string>>)}
- */
-WebInspector.AuditRules.getDomainToResourcesMap = function(requests, types, needFullResources)
-{
-    var domainToResourcesMap = {};
-    for (var i = 0, size = requests.length; i < size; ++i) {
-        var request = requests[i];
-        if (types && types.indexOf(request.type) === -1)
-            continue;
-        var parsedURL = request.url.asParsedURL();
-        if (!parsedURL)
-            continue;
-        var domain = parsedURL.host;
-        var domainResources = domainToResourcesMap[domain];
-        if (domainResources === undefined) {
-          domainResources = [];
-          domainToResourcesMap[domain] = domainResources;
-        }
-        domainResources.push(needFullResources ? request : request.url);
-    }
-    return domainToResourcesMap;
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRule}
- */
-WebInspector.AuditRules.GzipRule = function()
-{
-    WebInspector.AuditRule.call(this, "network-gzip", "Enable gzip compression");
-}
-
-WebInspector.AuditRules.GzipRule.prototype = {
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {!WebInspector.AuditRuleResult} result
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {!WebInspector.Progress} progress
-     */
-    doRun: function(requests, result, callback, progress)
-    {
-        var totalSavings = 0;
-        var compressedSize = 0;
-        var candidateSize = 0;
-        var summary = result.addChild("", true);
-        for (var i = 0, length = requests.length; i < length; ++i) {
-            var request = requests[i];
-            if (request.statusCode === 304)
-                continue; // Do not test 304 Not Modified requests as their contents are always empty.
-            if (this._shouldCompress(request)) {
-                var size = request.resourceSize;
-                candidateSize += size;
-                if (this._isCompressed(request)) {
-                    compressedSize += size;
-                    continue;
-                }
-                var savings = 2 * size / 3;
-                totalSavings += savings;
-                summary.addFormatted("%r could save ~%s", request.url, Number.bytesToString(savings));
-                result.violationCount++;
-            }
-        }
-        if (!totalSavings)
-            return callback(null);
-        summary.value = String.sprintf("Compressing the following resources with gzip could reduce their transfer size by about two thirds (~%s):", Number.bytesToString(totalSavings));
-        callback(result);
-    },
-
-    _isCompressed: function(request)
-    {
-        var encodingHeader = request.responseHeaderValue("Content-Encoding");
-        if (!encodingHeader)
-            return false;
-
-        return /\b(?:gzip|deflate)\b/.test(encodingHeader);
-    },
-
-    _shouldCompress: function(request)
-    {
-        return request.type.isTextType() && request.parsedURL.host && request.resourceSize !== undefined && request.resourceSize > 150;
-    },
-
-    __proto__: WebInspector.AuditRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRule}
- */
-WebInspector.AuditRules.CombineExternalResourcesRule = function(id, name, type, resourceTypeName, allowedPerDomain)
-{
-    WebInspector.AuditRule.call(this, id, name);
-    this._type = type;
-    this._resourceTypeName = resourceTypeName;
-    this._allowedPerDomain = allowedPerDomain;
-}
-
-WebInspector.AuditRules.CombineExternalResourcesRule.prototype = {
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {!WebInspector.AuditRuleResult} result
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {!WebInspector.Progress} progress
-     */
-    doRun: function(requests, result, callback, progress)
-    {
-        var domainToResourcesMap = WebInspector.AuditRules.getDomainToResourcesMap(requests, [this._type], false);
-        var penalizedResourceCount = 0;
-        // TODO: refactor according to the chosen i18n approach
-        var summary = result.addChild("", true);
-        for (var domain in domainToResourcesMap) {
-            var domainResources = domainToResourcesMap[domain];
-            var extraResourceCount = domainResources.length - this._allowedPerDomain;
-            if (extraResourceCount <= 0)
-                continue;
-            penalizedResourceCount += extraResourceCount - 1;
-            summary.addChild(String.sprintf("%d %s resources served from %s.", domainResources.length, this._resourceTypeName, WebInspector.AuditRuleResult.resourceDomain(domain)));
-            result.violationCount += domainResources.length;
-        }
-        if (!penalizedResourceCount)
-            return callback(null);
-
-        summary.value = "There are multiple resources served from same domain. Consider combining them into as few files as possible.";
-        callback(result);
-    },
-
-    __proto__: WebInspector.AuditRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRules.CombineExternalResourcesRule}
- */
-WebInspector.AuditRules.CombineJsResourcesRule = function(allowedPerDomain) {
-    WebInspector.AuditRules.CombineExternalResourcesRule.call(this, "page-externaljs", "Combine external JavaScript", WebInspector.resourceTypes.Script, "JavaScript", allowedPerDomain);
-}
-
-WebInspector.AuditRules.CombineJsResourcesRule.prototype = {
-    __proto__: WebInspector.AuditRules.CombineExternalResourcesRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRules.CombineExternalResourcesRule}
- */
-WebInspector.AuditRules.CombineCssResourcesRule = function(allowedPerDomain) {
-    WebInspector.AuditRules.CombineExternalResourcesRule.call(this, "page-externalcss", "Combine external CSS", WebInspector.resourceTypes.Stylesheet, "CSS", allowedPerDomain);
-}
-
-WebInspector.AuditRules.CombineCssResourcesRule.prototype = {
-    __proto__: WebInspector.AuditRules.CombineExternalResourcesRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRule}
- */
-WebInspector.AuditRules.MinimizeDnsLookupsRule = function(hostCountThreshold) {
-    WebInspector.AuditRule.call(this, "network-minimizelookups", "Minimize DNS lookups");
-    this._hostCountThreshold = hostCountThreshold;
-}
-
-WebInspector.AuditRules.MinimizeDnsLookupsRule.prototype = {
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {!WebInspector.AuditRuleResult} result
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {!WebInspector.Progress} progress
-     */
-    doRun: function(requests, result, callback, progress)
-    {
-        var summary = result.addChild("");
-        var domainToResourcesMap = WebInspector.AuditRules.getDomainToResourcesMap(requests, null, false);
-        for (var domain in domainToResourcesMap) {
-            if (domainToResourcesMap[domain].length > 1)
-                continue;
-            var parsedURL = domain.asParsedURL();
-            if (!parsedURL)
-                continue;
-            if (!parsedURL.host.search(WebInspector.AuditRules.IPAddressRegexp))
-                continue; // an IP address
-            summary.addSnippet(domain);
-            result.violationCount++;
-        }
-        if (!summary.children || summary.children.length <= this._hostCountThreshold)
-            return callback(null);
-
-        summary.value = "The following domains only serve one resource each. If possible, avoid the extra DNS lookups by serving these resources from existing domains.";
-        callback(result);
-    },
-
-    __proto__: WebInspector.AuditRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRule}
- */
-WebInspector.AuditRules.ParallelizeDownloadRule = function(optimalHostnameCount, minRequestThreshold, minBalanceThreshold)
-{
-    WebInspector.AuditRule.call(this, "network-parallelizehosts", "Parallelize downloads across hostnames");
-    this._optimalHostnameCount = optimalHostnameCount;
-    this._minRequestThreshold = minRequestThreshold;
-    this._minBalanceThreshold = minBalanceThreshold;
-}
-
-WebInspector.AuditRules.ParallelizeDownloadRule.prototype = {
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {!WebInspector.AuditRuleResult} result
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {!WebInspector.Progress} progress
-     */
-    doRun: function(requests, result, callback, progress)
-    {
-        function hostSorter(a, b)
-        {
-            var aCount = domainToResourcesMap[a].length;
-            var bCount = domainToResourcesMap[b].length;
-            return (aCount < bCount) ? 1 : (aCount == bCount) ? 0 : -1;
-        }
-
-        var domainToResourcesMap = WebInspector.AuditRules.getDomainToResourcesMap(
-            requests,
-            [WebInspector.resourceTypes.Stylesheet, WebInspector.resourceTypes.Image],
-            true);
-
-        var hosts = [];
-        for (var url in domainToResourcesMap)
-            hosts.push(url);
-
-        if (!hosts.length)
-            return callback(null); // no hosts (local file or something)
-
-        hosts.sort(hostSorter);
-
-        var optimalHostnameCount = this._optimalHostnameCount;
-        if (hosts.length > optimalHostnameCount)
-            hosts.splice(optimalHostnameCount);
-
-        var busiestHostResourceCount = domainToResourcesMap[hosts[0]].length;
-        var requestCountAboveThreshold = busiestHostResourceCount - this._minRequestThreshold;
-        if (requestCountAboveThreshold <= 0)
-            return callback(null);
-
-        var avgResourcesPerHost = 0;
-        for (var i = 0, size = hosts.length; i < size; ++i)
-            avgResourcesPerHost += domainToResourcesMap[hosts[i]].length;
-
-        // Assume optimal parallelization.
-        avgResourcesPerHost /= optimalHostnameCount;
-        avgResourcesPerHost = Math.max(avgResourcesPerHost, 1);
-
-        var pctAboveAvg = (requestCountAboveThreshold / avgResourcesPerHost) - 1.0;
-        var minBalanceThreshold = this._minBalanceThreshold;
-        if (pctAboveAvg < minBalanceThreshold)
-            return callback(null);
-
-        var requestsOnBusiestHost = domainToResourcesMap[hosts[0]];
-        var entry = result.addChild(String.sprintf("This page makes %d parallelizable requests to %s. Increase download parallelization by distributing the following requests across multiple hostnames.", busiestHostResourceCount, hosts[0]), true);
-        for (var i = 0; i < requestsOnBusiestHost.length; ++i)
-            entry.addURL(requestsOnBusiestHost[i].url);
-
-        result.violationCount = requestsOnBusiestHost.length;
-        callback(result);
-    },
-
-    __proto__: WebInspector.AuditRule.prototype
-}
-
-/**
- * The reported CSS rule size is incorrect (parsed != original in WebKit),
- * so use percentages instead, which gives a better approximation.
- * @constructor
- * @extends {WebInspector.AuditRule}
- */
-WebInspector.AuditRules.UnusedCssRule = function()
-{
-    WebInspector.AuditRule.call(this, "page-unusedcss", "Remove unused CSS rules");
-}
-
-WebInspector.AuditRules.UnusedCssRule.prototype = {
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {!WebInspector.AuditRuleResult} result
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {!WebInspector.Progress} progress
-     */
-    doRun: function(requests, result, callback, progress)
-    {
-        var self = this;
-
-        function evalCallback(styleSheets) {
-            if (progress.isCanceled())
-                return;
-
-            if (!styleSheets.length)
-                return callback(null);
-
-            var pseudoSelectorRegexp = /:hover|:link|:active|:visited|:focus|:before|:after/;
-            var selectors = [];
-            var testedSelectors = {};
-            for (var i = 0; i < styleSheets.length; ++i) {
-                var styleSheet = styleSheets[i];
-                for (var curRule = 0; curRule < styleSheet.rules.length; ++curRule) {
-                    var selectorText = styleSheet.rules[curRule].selectorText;
-                    if (selectorText.match(pseudoSelectorRegexp) || testedSelectors[selectorText])
-                        continue;
-                    selectors.push(selectorText);
-                    testedSelectors[selectorText] = 1;
-                }
-            }
-
-            function selectorsCallback(callback, styleSheets, testedSelectors, foundSelectors)
-            {
-                if (progress.isCanceled())
-                    return;
-
-                var inlineBlockOrdinal = 0;
-                var totalStylesheetSize = 0;
-                var totalUnusedStylesheetSize = 0;
-                var summary;
-
-                for (var i = 0; i < styleSheets.length; ++i) {
-                    var styleSheet = styleSheets[i];
-                    var unusedRules = [];
-                    for (var curRule = 0; curRule < styleSheet.rules.length; ++curRule) {
-                        var rule = styleSheet.rules[curRule];
-                        if (!testedSelectors[rule.selectorText] || foundSelectors[rule.selectorText])
-                            continue;
-                        unusedRules.push(rule.selectorText);
-                    }
-                    totalStylesheetSize += styleSheet.rules.length;
-                    totalUnusedStylesheetSize += unusedRules.length;
-
-                    if (!unusedRules.length)
-                        continue;
-
-                    var resource = WebInspector.resourceForURL(styleSheet.sourceURL);
-                    var isInlineBlock = resource && resource.request && resource.request.type == WebInspector.resourceTypes.Document;
-                    var url = !isInlineBlock ? WebInspector.AuditRuleResult.linkifyDisplayName(styleSheet.sourceURL) : String.sprintf("Inline block #%d", ++inlineBlockOrdinal);
-                    var pctUnused = Math.round(100 * unusedRules.length / styleSheet.rules.length);
-                    if (!summary)
-                        summary = result.addChild("", true);
-                    var entry = summary.addFormatted("%s: %d% is not used by the current page.", url, pctUnused);
-
-                    for (var j = 0; j < unusedRules.length; ++j)
-                        entry.addSnippet(unusedRules[j]);
-
-                    result.violationCount += unusedRules.length;
-                }
-
-                if (!totalUnusedStylesheetSize)
-                    return callback(null);
-
-                var totalUnusedPercent = Math.round(100 * totalUnusedStylesheetSize / totalStylesheetSize);
-                summary.value = String.sprintf("%s rules (%d%) of CSS not used by the current page.", totalUnusedStylesheetSize, totalUnusedPercent);
-
-                callback(result);
-            }
-
-            var foundSelectors = {};
-            function queryCallback(boundSelectorsCallback, selector, styleSheets, testedSelectors, nodeId)
-            {
-                if (nodeId)
-                    foundSelectors[selector] = true;
-                if (boundSelectorsCallback)
-                    boundSelectorsCallback(foundSelectors);
-            }
-
-            function documentLoaded(selectors, document) {
-                for (var i = 0; i < selectors.length; ++i) {
-                    if (progress.isCanceled())
-                        return;
-                    WebInspector.domAgent.querySelector(document.id, selectors[i], queryCallback.bind(null, i === selectors.length - 1 ? selectorsCallback.bind(null, callback, styleSheets, testedSelectors) : null, selectors[i], styleSheets, testedSelectors));
-                }
-            }
-
-            WebInspector.domAgent.requestDocument(documentLoaded.bind(null, selectors));
-        }
-
-        function styleSheetCallback(styleSheets, sourceURL, continuation, styleSheet)
-        {
-            if (progress.isCanceled())
-                return;
-
-            if (styleSheet) {
-                styleSheet.sourceURL = sourceURL;
-                styleSheets.push(styleSheet);
-            }
-            if (continuation)
-                continuation(styleSheets);
-        }
-
-        function allStylesCallback(error, styleSheetInfos)
-        {
-            if (progress.isCanceled())
-                return;
-
-            if (error || !styleSheetInfos || !styleSheetInfos.length)
-                return evalCallback([]);
-            var styleSheets = [];
-            for (var i = 0; i < styleSheetInfos.length; ++i) {
-                var info = styleSheetInfos[i];
-                WebInspector.CSSStyleSheet.createForId(info.styleSheetId, styleSheetCallback.bind(null, styleSheets, info.sourceURL, i == styleSheetInfos.length - 1 ? evalCallback : null));
-            }
-        }
-
-        CSSAgent.getAllStyleSheets(allStylesCallback);
-    },
-
-    __proto__: WebInspector.AuditRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRule}
- */
-WebInspector.AuditRules.CacheControlRule = function(id, name)
-{
-    WebInspector.AuditRule.call(this, id, name);
-}
-
-WebInspector.AuditRules.CacheControlRule.MillisPerMonth = 1000 * 60 * 60 * 24 * 30;
-
-WebInspector.AuditRules.CacheControlRule.prototype = {
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {!WebInspector.AuditRuleResult} result
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {!WebInspector.Progress} progress
-     */
-    doRun: function(requests, result, callback, progress)
-    {
-        var cacheableAndNonCacheableResources = this._cacheableAndNonCacheableResources(requests);
-        if (cacheableAndNonCacheableResources[0].length)
-            this.runChecks(cacheableAndNonCacheableResources[0], result);
-        this.handleNonCacheableResources(cacheableAndNonCacheableResources[1], result);
-
-        callback(result);
-    },
-
-    handleNonCacheableResources: function(requests, result)
-    {
-    },
-
-    _cacheableAndNonCacheableResources: function(requests)
-    {
-        var processedResources = [[], []];
-        for (var i = 0; i < requests.length; ++i) {
-            var request = requests[i];
-            if (!this.isCacheableResource(request))
-                continue;
-            if (this._isExplicitlyNonCacheable(request))
-                processedResources[1].push(request);
-            else
-                processedResources[0].push(request);
-        }
-        return processedResources;
-    },
-
-    execCheck: function(messageText, requestCheckFunction, requests, result)
-    {
-        var requestCount = requests.length;
-        var urls = [];
-        for (var i = 0; i < requestCount; ++i) {
-            if (requestCheckFunction.call(this, requests[i]))
-                urls.push(requests[i].url);
-        }
-        if (urls.length) {
-            var entry = result.addChild(messageText, true);
-            entry.addURLs(urls);
-            result.violationCount += urls.length;
-        }
-    },
-
-    freshnessLifetimeGreaterThan: function(request, timeMs)
-    {
-        var dateHeader = this.responseHeader(request, "Date");
-        if (!dateHeader)
-            return false;
-
-        var dateHeaderMs = Date.parse(dateHeader);
-        if (isNaN(dateHeaderMs))
-            return false;
-
-        var freshnessLifetimeMs;
-        var maxAgeMatch = this.responseHeaderMatch(request, "Cache-Control", "max-age=(\\d+)");
-
-        if (maxAgeMatch)
-            freshnessLifetimeMs = (maxAgeMatch[1]) ? 1000 * maxAgeMatch[1] : 0;
-        else {
-            var expiresHeader = this.responseHeader(request, "Expires");
-            if (expiresHeader) {
-                var expDate = Date.parse(expiresHeader);
-                if (!isNaN(expDate))
-                    freshnessLifetimeMs = expDate - dateHeaderMs;
-            }
-        }
-
-        return (isNaN(freshnessLifetimeMs)) ? false : freshnessLifetimeMs > timeMs;
-    },
-
-    responseHeader: function(request, header)
-    {
-        return request.responseHeaderValue(header);
-    },
-
-    hasResponseHeader: function(request, header)
-    {
-        return request.responseHeaderValue(header) !== undefined;
-    },
-
-    isCompressible: function(request)
-    {
-        return request.type.isTextType();
-    },
-
-    isPubliclyCacheable: function(request)
-    {
-        if (this._isExplicitlyNonCacheable(request))
-            return false;
-
-        if (this.responseHeaderMatch(request, "Cache-Control", "public"))
-            return true;
-
-        return request.url.indexOf("?") == -1 && !this.responseHeaderMatch(request, "Cache-Control", "private");
-    },
-
-    responseHeaderMatch: function(request, header, regexp)
-    {
-        return request.responseHeaderValue(header)
-            ? request.responseHeaderValue(header).match(new RegExp(regexp, "im"))
-            : undefined;
-    },
-
-    hasExplicitExpiration: function(request)
-    {
-        return this.hasResponseHeader(request, "Date") &&
-            (this.hasResponseHeader(request, "Expires") || this.responseHeaderMatch(request, "Cache-Control", "max-age"));
-    },
-
-    _isExplicitlyNonCacheable: function(request)
-    {
-        var hasExplicitExp = this.hasExplicitExpiration(request);
-        return this.responseHeaderMatch(request, "Cache-Control", "(no-cache|no-store|must-revalidate)") ||
-            this.responseHeaderMatch(request, "Pragma", "no-cache") ||
-            (hasExplicitExp && !this.freshnessLifetimeGreaterThan(request, 0)) ||
-            (!hasExplicitExp && request.url && request.url.indexOf("?") >= 0) ||
-            (!hasExplicitExp && !this.isCacheableResource(request));
-    },
-
-    isCacheableResource: function(request)
-    {
-        return request.statusCode !== undefined && WebInspector.AuditRules.CacheableResponseCodes[request.statusCode];
-    },
-
-    __proto__: WebInspector.AuditRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRules.CacheControlRule}
- */
-WebInspector.AuditRules.BrowserCacheControlRule = function()
-{
-    WebInspector.AuditRules.CacheControlRule.call(this, "http-browsercache", "Leverage browser caching");
-}
-
-WebInspector.AuditRules.BrowserCacheControlRule.prototype = {
-    handleNonCacheableResources: function(requests, result)
-    {
-        if (requests.length) {
-            var entry = result.addChild("The following resources are explicitly non-cacheable. Consider making them cacheable if possible:", true);
-            result.violationCount += requests.length;
-            for (var i = 0; i < requests.length; ++i)
-                entry.addURL(requests[i].url);
-        }
-    },
-
-    runChecks: function(requests, result, callback)
-    {
-        this.execCheck("The following resources are missing a cache expiration. Resources that do not specify an expiration may not be cached by browsers:",
-            this._missingExpirationCheck, requests, result);
-        this.execCheck("The following resources specify a \"Vary\" header that disables caching in most versions of Internet Explorer:",
-            this._varyCheck, requests, result);
-        this.execCheck("The following cacheable resources have a short freshness lifetime:",
-            this._oneMonthExpirationCheck, requests, result);
-
-        // Unable to implement the favicon check due to the WebKit limitations.
-        this.execCheck("To further improve cache hit rate, specify an expiration one year in the future for the following cacheable resources:",
-            this._oneYearExpirationCheck, requests, result);
-    },
-
-    _missingExpirationCheck: function(request)
-    {
-        return this.isCacheableResource(request) && !this.hasResponseHeader(request, "Set-Cookie") && !this.hasExplicitExpiration(request);
-    },
-
-    _varyCheck: function(request)
-    {
-        var varyHeader = this.responseHeader(request, "Vary");
-        if (varyHeader) {
-            varyHeader = varyHeader.replace(/User-Agent/gi, "");
-            varyHeader = varyHeader.replace(/Accept-Encoding/gi, "");
-            varyHeader = varyHeader.replace(/[, ]*/g, "");
-        }
-        return varyHeader && varyHeader.length && this.isCacheableResource(request) && this.freshnessLifetimeGreaterThan(request, 0);
-    },
-
-    _oneMonthExpirationCheck: function(request)
-    {
-        return this.isCacheableResource(request) &&
-            !this.hasResponseHeader(request, "Set-Cookie") &&
-            !this.freshnessLifetimeGreaterThan(request, WebInspector.AuditRules.CacheControlRule.MillisPerMonth) &&
-            this.freshnessLifetimeGreaterThan(request, 0);
-    },
-
-    _oneYearExpirationCheck: function(request)
-    {
-        return this.isCacheableResource(request) &&
-            !this.hasResponseHeader(request, "Set-Cookie") &&
-            !this.freshnessLifetimeGreaterThan(request, 11 * WebInspector.AuditRules.CacheControlRule.MillisPerMonth) &&
-            this.freshnessLifetimeGreaterThan(request, WebInspector.AuditRules.CacheControlRule.MillisPerMonth);
-    },
-
-    __proto__: WebInspector.AuditRules.CacheControlRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRules.CacheControlRule}
- */
-WebInspector.AuditRules.ProxyCacheControlRule = function() {
-    WebInspector.AuditRules.CacheControlRule.call(this, "http-proxycache", "Leverage proxy caching");
-}
-
-WebInspector.AuditRules.ProxyCacheControlRule.prototype = {
-    runChecks: function(requests, result, callback)
-    {
-        this.execCheck("Resources with a \"?\" in the URL are not cached by most proxy caching servers:",
-            this._questionMarkCheck, requests, result);
-        this.execCheck("Consider adding a \"Cache-Control: public\" header to the following resources:",
-            this._publicCachingCheck, requests, result);
-        this.execCheck("The following publicly cacheable resources contain a Set-Cookie header. This security vulnerability can cause cookies to be shared by multiple users.",
-            this._setCookieCacheableCheck, requests, result);
-    },
-
-    _questionMarkCheck: function(request)
-    {
-        return request.url.indexOf("?") >= 0 && !this.hasResponseHeader(request, "Set-Cookie") && this.isPubliclyCacheable(request);
-    },
-
-    _publicCachingCheck: function(request)
-    {
-        return this.isCacheableResource(request) &&
-            !this.isCompressible(request) &&
-            !this.responseHeaderMatch(request, "Cache-Control", "public") &&
-            !this.hasResponseHeader(request, "Set-Cookie");
-    },
-
-    _setCookieCacheableCheck: function(request)
-    {
-        return this.hasResponseHeader(request, "Set-Cookie") && this.isPubliclyCacheable(request);
-    },
-
-    __proto__: WebInspector.AuditRules.CacheControlRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRule}
- */
-WebInspector.AuditRules.ImageDimensionsRule = function()
-{
-    WebInspector.AuditRule.call(this, "page-imagedims", "Specify image dimensions");
-}
-
-WebInspector.AuditRules.ImageDimensionsRule.prototype = {
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {!WebInspector.AuditRuleResult} result
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {!WebInspector.Progress} progress
-     */
-    doRun: function(requests, result, callback, progress)
-    {
-        var urlToNoDimensionCount = {};
-
-        function doneCallback()
-        {
-            for (var url in urlToNoDimensionCount) {
-                var entry = entry || result.addChild("A width and height should be specified for all images in order to speed up page display. The following image(s) are missing a width and/or height:", true);
-                var format = "%r";
-                if (urlToNoDimensionCount[url] > 1)
-                    format += " (%d uses)";
-                entry.addFormatted(format, url, urlToNoDimensionCount[url]);
-                result.violationCount++;
-            }
-            callback(entry ? result : null);
-        }
-
-        function imageStylesReady(imageId, styles, isLastStyle, computedStyle)
-        {
-            if (progress.isCanceled())
-                return;
-
-            const node = WebInspector.domAgent.nodeForId(imageId);
-            var src = node.getAttribute("src");
-            if (!src.asParsedURL()) {
-                for (var frameOwnerCandidate = node; frameOwnerCandidate; frameOwnerCandidate = frameOwnerCandidate.parentNode) {
-                    if (frameOwnerCandidate.baseURL) {
-                        var completeSrc = WebInspector.ParsedURL.completeURL(frameOwnerCandidate.baseURL, src);
-                        break;
-                    }
-                }
-            }
-            if (completeSrc)
-                src = completeSrc;
-
-            if (computedStyle.getPropertyValue("position") === "absolute") {
-                if (isLastStyle)
-                    doneCallback();
-                return;
-            }
-
-            if (styles.attributesStyle) {
-                var widthFound = !!styles.attributesStyle.getLiveProperty("width");
-                var heightFound = !!styles.attributesStyle.getLiveProperty("height");
-            }
-
-            var inlineStyle = styles.inlineStyle;
-            if (inlineStyle) {
-                if (inlineStyle.getPropertyValue("width") !== "")
-                    widthFound = true;
-                if (inlineStyle.getPropertyValue("height") !== "")
-                    heightFound = true;
-            }
-
-            for (var i = styles.matchedCSSRules.length - 1; i >= 0 && !(widthFound && heightFound); --i) {
-                var style = styles.matchedCSSRules[i].style;
-                if (style.getPropertyValue("width") !== "")
-                    widthFound = true;
-                if (style.getPropertyValue("height") !== "")
-                    heightFound = true;
-            }
-
-            if (!widthFound || !heightFound) {
-                if (src in urlToNoDimensionCount)
-                    ++urlToNoDimensionCount[src];
-                else
-                    urlToNoDimensionCount[src] = 1;
-            }
-
-            if (isLastStyle)
-                doneCallback();
-        }
-
-        function getStyles(nodeIds)
-        {
-            if (progress.isCanceled())
-                return;
-            var targetResult = {};
-
-            function inlineCallback(inlineStyle, attributesStyle)
-            {
-                targetResult.inlineStyle = inlineStyle;
-                targetResult.attributesStyle = attributesStyle;
-            }
-
-            function matchedCallback(result)
-            {
-                if (result)
-                    targetResult.matchedCSSRules = result.matchedCSSRules;
-            }
-
-            if (!nodeIds || !nodeIds.length)
-                doneCallback();
-
-            for (var i = 0; nodeIds && i < nodeIds.length; ++i) {
-                WebInspector.cssModel.getMatchedStylesAsync(nodeIds[i], false, false, matchedCallback);
-                WebInspector.cssModel.getInlineStylesAsync(nodeIds[i], inlineCallback);
-                WebInspector.cssModel.getComputedStyleAsync(nodeIds[i], imageStylesReady.bind(null, nodeIds[i], targetResult, i === nodeIds.length - 1));
-            }
-        }
-
-        function onDocumentAvailable(root)
-        {
-            if (progress.isCanceled())
-                return;
-            WebInspector.domAgent.querySelectorAll(root.id, "img[src]", getStyles);
-        }
-
-        if (progress.isCanceled())
-            return;
-        WebInspector.domAgent.requestDocument(onDocumentAvailable);
-    },
-
-    __proto__: WebInspector.AuditRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRule}
- */
-WebInspector.AuditRules.CssInHeadRule = function()
-{
-    WebInspector.AuditRule.call(this, "page-cssinhead", "Put CSS in the document head");
-}
-
-WebInspector.AuditRules.CssInHeadRule.prototype = {
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {!WebInspector.AuditRuleResult} result
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {!WebInspector.Progress} progress
-     */
-    doRun: function(requests, result, callback, progress)
-    {
-        function evalCallback(evalResult)
-        {
-            if (progress.isCanceled())
-                return;
-
-            if (!evalResult)
-                return callback(null);
-
-            var summary = result.addChild("");
-
-            var outputMessages = [];
-            for (var url in evalResult) {
-                var urlViolations = evalResult[url];
-                if (urlViolations[0]) {
-                    result.addFormatted("%s style block(s) in the %r body should be moved to the document head.", urlViolations[0], url);
-                    result.violationCount += urlViolations[0];
-                }
-                for (var i = 0; i < urlViolations[1].length; ++i)
-                    result.addFormatted("Link node %r should be moved to the document head in %r", urlViolations[1][i], url);
-                result.violationCount += urlViolations[1].length;
-            }
-            summary.value = String.sprintf("CSS in the document body adversely impacts rendering performance.");
-            callback(result);
-        }
-
-        function externalStylesheetsReceived(root, inlineStyleNodeIds, nodeIds)
-        {
-            if (progress.isCanceled())
-                return;
-
-            if (!nodeIds)
-                return;
-            var externalStylesheetNodeIds = nodeIds;
-            var result = null;
-            if (inlineStyleNodeIds.length || externalStylesheetNodeIds.length) {
-                var urlToViolationsArray = {};
-                var externalStylesheetHrefs = [];
-                for (var j = 0; j < externalStylesheetNodeIds.length; ++j) {
-                    var linkNode = WebInspector.domAgent.nodeForId(externalStylesheetNodeIds[j]);
-                    var completeHref = WebInspector.ParsedURL.completeURL(linkNode.ownerDocument.baseURL, linkNode.getAttribute("href"));
-                    externalStylesheetHrefs.push(completeHref || "<empty>");
-                }
-                urlToViolationsArray[root.documentURL] = [inlineStyleNodeIds.length, externalStylesheetHrefs];
-                result = urlToViolationsArray;
-            }
-            evalCallback(result);
-        }
-
-        function inlineStylesReceived(root, nodeIds)
-        {
-            if (progress.isCanceled())
-                return;
-
-            if (!nodeIds)
-                return;
-            WebInspector.domAgent.querySelectorAll(root.id, "body link[rel~='stylesheet'][href]", externalStylesheetsReceived.bind(null, root, nodeIds));
-        }
-
-        function onDocumentAvailable(root)
-        {
-            if (progress.isCanceled())
-                return;
-
-            WebInspector.domAgent.querySelectorAll(root.id, "body style", inlineStylesReceived.bind(null, root));
-        }
-
-        WebInspector.domAgent.requestDocument(onDocumentAvailable);
-    },
-
-    __proto__: WebInspector.AuditRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRule}
- */
-WebInspector.AuditRules.StylesScriptsOrderRule = function()
-{
-    WebInspector.AuditRule.call(this, "page-stylescriptorder", "Optimize the order of styles and scripts");
-}
-
-WebInspector.AuditRules.StylesScriptsOrderRule.prototype = {
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {!WebInspector.AuditRuleResult} result
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {!WebInspector.Progress} progress
-     */
-    doRun: function(requests, result, callback, progress)
-    {
-        function evalCallback(resultValue)
-        {
-            if (progress.isCanceled())
-                return;
-
-            if (!resultValue)
-                return callback(null);
-
-            var lateCssUrls = resultValue[0];
-            var cssBeforeInlineCount = resultValue[1];
-
-            var entry = result.addChild("The following external CSS files were included after an external JavaScript file in the document head. To ensure CSS files are downloaded in parallel, always include external CSS before external JavaScript.", true);
-            entry.addURLs(lateCssUrls);
-            result.violationCount += lateCssUrls.length;
-
-            if (cssBeforeInlineCount) {
-                result.addChild(String.sprintf(" %d inline script block%s found in the head between an external CSS file and another resource. To allow parallel downloading, move the inline script before the external CSS file, or after the next resource.", cssBeforeInlineCount, cssBeforeInlineCount > 1 ? "s were" : " was"));
-                result.violationCount += cssBeforeInlineCount;
-            }
-            callback(result);
-        }
-
-        function cssBeforeInlineReceived(lateStyleIds, nodeIds)
-        {
-            if (progress.isCanceled())
-                return;
-
-            if (!nodeIds)
-                return;
-
-            var cssBeforeInlineCount = nodeIds.length;
-            var result = null;
-            if (lateStyleIds.length || cssBeforeInlineCount) {
-                var lateStyleUrls = [];
-                for (var i = 0; i < lateStyleIds.length; ++i) {
-                    var lateStyleNode = WebInspector.domAgent.nodeForId(lateStyleIds[i]);
-                    var completeHref = WebInspector.ParsedURL.completeURL(lateStyleNode.ownerDocument.baseURL, lateStyleNode.getAttribute("href"));
-                    lateStyleUrls.push(completeHref || "<empty>");
-                }
-                result = [ lateStyleUrls, cssBeforeInlineCount ];
-            }
-
-            evalCallback(result);
-        }
-
-        function lateStylesReceived(root, nodeIds)
-        {
-            if (progress.isCanceled())
-                return;
-
-            if (!nodeIds)
-                return;
-
-            WebInspector.domAgent.querySelectorAll(root.id, "head link[rel~='stylesheet'][href] ~ script:not([src])", cssBeforeInlineReceived.bind(null, nodeIds));
-        }
-
-        function onDocumentAvailable(root)
-        {
-            if (progress.isCanceled())
-                return;
-
-            WebInspector.domAgent.querySelectorAll(root.id, "head script[src] ~ link[rel~='stylesheet'][href]", lateStylesReceived.bind(null, root));
-        }
-
-        WebInspector.domAgent.requestDocument(onDocumentAvailable);
-    },
-
-    __proto__: WebInspector.AuditRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRule}
- */
-WebInspector.AuditRules.CSSRuleBase = function(id, name)
-{
-    WebInspector.AuditRule.call(this, id, name);
-}
-
-WebInspector.AuditRules.CSSRuleBase.prototype = {
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {!WebInspector.AuditRuleResult} result
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {!WebInspector.Progress} progress
-     */
-    doRun: function(requests, result, callback, progress)
-    {
-        CSSAgent.getAllStyleSheets(sheetsCallback.bind(this));
-
-        function sheetsCallback(error, headers)
-        {
-            if (error)
-                return callback(null);
-
-            if (!headers.length)
-                return callback(null);
-            for (var i = 0; i < headers.length; ++i) {
-                var header = headers[i];
-                if (header.disabled)
-                    continue; // Do not check disabled stylesheets.
-
-                this._visitStyleSheet(header.styleSheetId, i === headers.length - 1 ? finishedCallback : null, result, progress);
-            }
-        }
-
-        function finishedCallback()
-        {
-            callback(result);
-        }
-    },
-
-    _visitStyleSheet: function(styleSheetId, callback, result, progress)
-    {
-        WebInspector.CSSStyleSheet.createForId(styleSheetId, sheetCallback.bind(this));
-
-        function sheetCallback(styleSheet)
-        {
-            if (progress.isCanceled())
-                return;
-
-            if (!styleSheet) {
-                if (callback)
-                    callback();
-                return;
-            }
-
-            this.visitStyleSheet(styleSheet, result);
-
-            for (var i = 0; i < styleSheet.rules.length; ++i)
-                this._visitRule(styleSheet, styleSheet.rules[i], result);
-
-            this.didVisitStyleSheet(styleSheet, result);
-
-            if (callback)
-                callback();
-        }
-    },
-
-    _visitRule: function(styleSheet, rule, result)
-    {
-        this.visitRule(styleSheet, rule, result);
-        var allProperties = rule.style.allProperties;
-        for (var i = 0; i < allProperties.length; ++i)
-            this.visitProperty(styleSheet, allProperties[i], result);
-        this.didVisitRule(styleSheet, rule, result);
-    },
-
-    visitStyleSheet: function(styleSheet, result)
-    {
-        // Subclasses can implement.
-    },
-
-    didVisitStyleSheet: function(styleSheet, result)
-    {
-        // Subclasses can implement.
-    },
-    
-    visitRule: function(styleSheet, rule, result)
-    {
-        // Subclasses can implement.
-    },
-
-    didVisitRule: function(styleSheet, rule, result)
-    {
-        // Subclasses can implement.
-    },
-    
-    visitProperty: function(styleSheet, property, result)
-    {
-        // Subclasses can implement.
-    },
-
-    __proto__: WebInspector.AuditRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRules.CSSRuleBase}
- */
-WebInspector.AuditRules.VendorPrefixedCSSProperties = function()
-{
-    WebInspector.AuditRules.CSSRuleBase.call(this, "page-vendorprefixedcss", "Use normal CSS property names instead of vendor-prefixed ones");
-    this._webkitPrefix = "-webkit-";
-}
-
-WebInspector.AuditRules.VendorPrefixedCSSProperties.supportedProperties = [
-    "background-clip", "background-origin", "background-size",
-    "border-radius", "border-bottom-left-radius", "border-bottom-right-radius", "border-top-left-radius", "border-top-right-radius",
-    "box-shadow", "box-sizing", "opacity", "text-shadow"
-].keySet();
-
-WebInspector.AuditRules.VendorPrefixedCSSProperties.prototype = {
-    didVisitStyleSheet: function(styleSheet)
-    {
-        delete this._styleSheetResult;
-    },
-
-    visitRule: function(rule)
-    {
-        this._mentionedProperties = {};
-    },
-
-    didVisitRule: function()
-    {
-        delete this._ruleResult;
-        delete this._mentionedProperties;
-    },
-
-    visitProperty: function(styleSheet, property, result)
-    {
-        if (!property.name.startsWith(this._webkitPrefix))
-            return;
-
-        var normalPropertyName = property.name.substring(this._webkitPrefix.length).toLowerCase(); // Start just after the "-webkit-" prefix.
-        if (WebInspector.AuditRules.VendorPrefixedCSSProperties.supportedProperties[normalPropertyName] && !this._mentionedProperties[normalPropertyName]) {
-            var style = property.ownerStyle;
-            var liveProperty = style.getLiveProperty(normalPropertyName);
-            if (liveProperty && !liveProperty.styleBased)
-                return; // WebCore can provide normal versions of prefixed properties automatically, so be careful to skip only normal source-based properties.
-
-            var rule = style.parentRule;
-            this._mentionedProperties[normalPropertyName] = true;
-            if (!this._styleSheetResult)
-                this._styleSheetResult = result.addChild(rule.sourceURL ? WebInspector.linkifyResourceAsNode(rule.sourceURL) : "<unknown>");
-            if (!this._ruleResult) {
-                var anchor = WebInspector.linkifyURLAsNode(rule.sourceURL, rule.selectorText);
-                anchor.preferredPanel = "resources";
-                anchor.lineNumber = rule.sourceLine;
-                this._ruleResult = this._styleSheetResult.addChild(anchor);
-            }
-            ++result.violationCount;
-            this._ruleResult.addSnippet(String.sprintf("\"" + this._webkitPrefix + "%s\" is used, but \"%s\" is supported.", normalPropertyName, normalPropertyName));
-        }
-    },
-
-    __proto__: WebInspector.AuditRules.CSSRuleBase.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRule}
- */
-WebInspector.AuditRules.CookieRuleBase = function(id, name)
-{
-    WebInspector.AuditRule.call(this, id, name);
-}
-
-WebInspector.AuditRules.CookieRuleBase.prototype = {
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {!WebInspector.AuditRuleResult} result
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {!WebInspector.Progress} progress
-     */
-    doRun: function(requests, result, callback, progress)
-    {
-        var self = this;
-        function resultCallback(receivedCookies, isAdvanced) {
-            if (progress.isCanceled())
-                return;
-
-            self.processCookies(isAdvanced ? receivedCookies : [], requests, result);
-            callback(result);
-        }
-
-        WebInspector.Cookies.getCookiesAsync(resultCallback);
-    },
-
-    mapResourceCookies: function(requestsByDomain, allCookies, callback)
-    {
-        for (var i = 0; i < allCookies.length; ++i) {
-            for (var requestDomain in requestsByDomain) {
-                if (WebInspector.Cookies.cookieDomainMatchesResourceDomain(allCookies[i].domain(), requestDomain))
-                    this._callbackForResourceCookiePairs(requestsByDomain[requestDomain], allCookies[i], callback);
-            }
-        }
-    },
-
-    _callbackForResourceCookiePairs: function(requests, cookie, callback)
-    {
-        if (!requests)
-            return;
-        for (var i = 0; i < requests.length; ++i) {
-            if (WebInspector.Cookies.cookieMatchesResourceURL(cookie, requests[i].url))
-                callback(requests[i], cookie);
-        }
-    },
-
-    __proto__: WebInspector.AuditRule.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRules.CookieRuleBase}
- */
-WebInspector.AuditRules.CookieSizeRule = function(avgBytesThreshold)
-{
-    WebInspector.AuditRules.CookieRuleBase.call(this, "http-cookiesize", "Minimize cookie size");
-    this._avgBytesThreshold = avgBytesThreshold;
-    this._maxBytesThreshold = 1000;
-}
-
-WebInspector.AuditRules.CookieSizeRule.prototype = {
-    _average: function(cookieArray)
-    {
-        var total = 0;
-        for (var i = 0; i < cookieArray.length; ++i)
-            total += cookieArray[i].size();
-        return cookieArray.length ? Math.round(total / cookieArray.length) : 0;
-    },
-
-    _max: function(cookieArray)
-    {
-        var result = 0;
-        for (var i = 0; i < cookieArray.length; ++i)
-            result = Math.max(cookieArray[i].size(), result);
-        return result;
-    },
-
-    processCookies: function(allCookies, requests, result)
-    {
-        function maxSizeSorter(a, b)
-        {
-            return b.maxCookieSize - a.maxCookieSize;
-        }
-
-        function avgSizeSorter(a, b)
-        {
-            return b.avgCookieSize - a.avgCookieSize;
-        }
-
-        var cookiesPerResourceDomain = {};
-
-        function collectorCallback(request, cookie)
-        {
-            var cookies = cookiesPerResourceDomain[request.parsedURL.host];
-            if (!cookies) {
-                cookies = [];
-                cookiesPerResourceDomain[request.parsedURL.host] = cookies;
-            }
-            cookies.push(cookie);
-        }
-
-        if (!allCookies.length)
-            return;
-
-        var sortedCookieSizes = [];
-
-        var domainToResourcesMap = WebInspector.AuditRules.getDomainToResourcesMap(requests,
-                null,
-                true);
-        var matchingResourceData = {};
-        this.mapResourceCookies(domainToResourcesMap, allCookies, collectorCallback.bind(this));
-
-        for (var requestDomain in cookiesPerResourceDomain) {
-            var cookies = cookiesPerResourceDomain[requestDomain];
-            sortedCookieSizes.push({
-                domain: requestDomain,
-                avgCookieSize: this._average(cookies),
-                maxCookieSize: this._max(cookies)
-            });
-        }
-        var avgAllCookiesSize = this._average(allCookies);
-
-        var hugeCookieDomains = [];
-        sortedCookieSizes.sort(maxSizeSorter);
-
-        for (var i = 0, len = sortedCookieSizes.length; i < len; ++i) {
-            var maxCookieSize = sortedCookieSizes[i].maxCookieSize;
-            if (maxCookieSize > this._maxBytesThreshold)
-                hugeCookieDomains.push(WebInspector.AuditRuleResult.resourceDomain(sortedCookieSizes[i].domain) + ": " + Number.bytesToString(maxCookieSize));
-        }
-
-        var bigAvgCookieDomains = [];
-        sortedCookieSizes.sort(avgSizeSorter);
-        for (var i = 0, len = sortedCookieSizes.length; i < len; ++i) {
-            var domain = sortedCookieSizes[i].domain;
-            var avgCookieSize = sortedCookieSizes[i].avgCookieSize;
-            if (avgCookieSize > this._avgBytesThreshold && avgCookieSize < this._maxBytesThreshold)
-                bigAvgCookieDomains.push(WebInspector.AuditRuleResult.resourceDomain(domain) + ": " + Number.bytesToString(avgCookieSize));
-        }
-        result.addChild(String.sprintf("The average cookie size for all requests on this page is %s", Number.bytesToString(avgAllCookiesSize)));
-
-        var message;
-        if (hugeCookieDomains.length) {
-            var entry = result.addChild("The following domains have a cookie size in excess of 1KB. This is harmful because requests with cookies larger than 1KB typically cannot fit into a single network packet.", true);
-            entry.addURLs(hugeCookieDomains);
-            result.violationCount += hugeCookieDomains.length;
-        }
-
-        if (bigAvgCookieDomains.length) {
-            var entry = result.addChild(String.sprintf("The following domains have an average cookie size in excess of %d bytes. Reducing the size of cookies for these domains can reduce the time it takes to send requests.", this._avgBytesThreshold), true);
-            entry.addURLs(bigAvgCookieDomains);
-            result.violationCount += bigAvgCookieDomains.length;
-        }
-    },
-
-    __proto__: WebInspector.AuditRules.CookieRuleBase.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.AuditRules.CookieRuleBase}
- */
-WebInspector.AuditRules.StaticCookielessRule = function(minResources)
-{
-    WebInspector.AuditRules.CookieRuleBase.call(this, "http-staticcookieless", "Serve static content from a cookieless domain");
-    this._minResources = minResources;
-}
-
-WebInspector.AuditRules.StaticCookielessRule.prototype = {
-    processCookies: function(allCookies, requests, result)
-    {
-        var domainToResourcesMap = WebInspector.AuditRules.getDomainToResourcesMap(requests,
-                [WebInspector.resourceTypes.Stylesheet,
-                 WebInspector.resourceTypes.Image],
-                true);
-        var totalStaticResources = 0;
-        for (var domain in domainToResourcesMap)
-            totalStaticResources += domainToResourcesMap[domain].length;
-        if (totalStaticResources < this._minResources)
-            return;
-        var matchingResourceData = {};
-        this.mapResourceCookies(domainToResourcesMap, allCookies, this._collectorCallback.bind(this, matchingResourceData));
-
-        var badUrls = [];
-        var cookieBytes = 0;
-        for (var url in matchingResourceData) {
-            badUrls.push(url);
-            cookieBytes += matchingResourceData[url]
-        }
-        if (badUrls.length < this._minResources)
-            return;
-
-        var entry = result.addChild(String.sprintf("%s of cookies were sent with the following static resources. Serve these static resources from a domain that does not set cookies:", Number.bytesToString(cookieBytes)), true);
-        entry.addURLs(badUrls);
-        result.violationCount = badUrls.length;
-    },
-
-    _collectorCallback: function(matchingResourceData, request, cookie)
-    {
-        matchingResourceData[request.url] = (matchingResourceData[request.url] || 0) + cookie.size();
-    },
-
-    __proto__: WebInspector.AuditRules.CookieRuleBase.prototype
-}
diff --git a/Source/WebCore/inspector/front-end/AuditsPanel.js b/Source/WebCore/inspector/front-end/AuditsPanel.js
deleted file mode 100644 (file)
index 7a9bcbc..0000000
+++ /dev/null
@@ -1,522 +0,0 @@
-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @constructor
- * @extends {WebInspector.Panel}
- */
-WebInspector.AuditsPanel = function()
-{
-    WebInspector.Panel.call(this, "audits");
-    this.registerRequiredCSS("panelEnablerView.css");
-    this.registerRequiredCSS("auditsPanel.css");
-
-    this.createSidebarViewWithTree();
-    this.auditsTreeElement = new WebInspector.SidebarSectionTreeElement("", {}, true);
-    this.sidebarTree.appendChild(this.auditsTreeElement);
-    this.auditsTreeElement.listItemElement.addStyleClass("hidden");
-
-    this.auditsItemTreeElement = new WebInspector.AuditsSidebarTreeElement(this);
-    this.auditsTreeElement.appendChild(this.auditsItemTreeElement);
-
-    this.auditResultsTreeElement = new WebInspector.SidebarSectionTreeElement(WebInspector.UIString("RESULTS"), {}, true);
-    this.sidebarTree.appendChild(this.auditResultsTreeElement);
-    this.auditResultsTreeElement.expand();
-
-    this.clearResultsButton = new WebInspector.StatusBarButton(WebInspector.UIString("Clear audit results."), "clear-status-bar-item");
-    this.clearResultsButton.addEventListener("click", this._clearButtonClicked, this);
-
-    this.viewsContainerElement = this.splitView.mainElement;
-
-    this._constructCategories();
-
-    this._auditController = new WebInspector.AuditController(this);
-    this._launcherView = new WebInspector.AuditLauncherView(this._auditController);
-    for (var id in this.categoriesById)
-        this._launcherView.addCategory(this.categoriesById[id]);
-}
-
-WebInspector.AuditsPanel.prototype = {
-    statusBarItems: function()
-    {
-        return [this.clearResultsButton.element];
-    },
-
-    /**
-     * @return {!Object.<string, !WebInspector.AuditCategory>}
-     */
-    get categoriesById()
-    {
-        return this._auditCategoriesById;
-    },
-
-    /**
-     * @param {!WebInspector.AuditCategory} category
-     */
-    addCategory: function(category)
-    {
-        this.categoriesById[category.id] = category;
-        this._launcherView.addCategory(category);
-    },
-
-    /**
-     * @param {string} id
-     * @return {WebInspector.AuditCategory}
-     */
-    getCategory: function(id)
-    {
-        return this.categoriesById[id];
-    },
-
-    _constructCategories: function()
-    {
-        this._auditCategoriesById = {};
-        for (var categoryCtorID in WebInspector.AuditCategories) {
-            var auditCategory = new WebInspector.AuditCategories[categoryCtorID]();
-            auditCategory._id = categoryCtorID;
-            this.categoriesById[categoryCtorID] = auditCategory;
-        }
-    },
-
-    /**
-     * @param {string} mainResourceURL
-     * @param {!Array.<!WebInspector.AuditCategoryResult>} results
-     */
-    auditFinishedCallback: function(mainResourceURL, results)
-    {
-        var children = this.auditResultsTreeElement.children;
-        var ordinal = 1;
-        for (var i = 0; i < children.length; ++i) {
-            if (children[i].mainResourceURL === mainResourceURL)
-                ordinal++;
-        }
-
-        var resultTreeElement = new WebInspector.AuditResultSidebarTreeElement(this, results, mainResourceURL, ordinal);
-        this.auditResultsTreeElement.appendChild(resultTreeElement);
-        resultTreeElement.revealAndSelect();
-    },
-
-    /**
-     * @param {!Array.<!WebInspector.AuditCategoryResult>} categoryResults
-     */
-    showResults: function(categoryResults)
-    {
-        if (!categoryResults._resultView)
-            categoryResults._resultView = new WebInspector.AuditResultView(categoryResults);
-
-        this.visibleView = categoryResults._resultView;
-    },
-
-    showLauncherView: function()
-    {
-        this.visibleView = this._launcherView;
-    },
-
-    get visibleView()
-    {
-        return this._visibleView;
-    },
-
-    set visibleView(x)
-    {
-        if (this._visibleView === x)
-            return;
-
-        if (this._visibleView)
-            this._visibleView.detach();
-
-        this._visibleView = x;
-
-        if (x)
-            x.show(this.viewsContainerElement);
-    },
-
-    wasShown: function()
-    {
-        WebInspector.Panel.prototype.wasShown.call(this);
-        if (!this._visibleView)
-            this.auditsItemTreeElement.select();
-    },
-
-    _clearButtonClicked: function()
-    {
-        this.auditsItemTreeElement.revealAndSelect();
-        this.auditResultsTreeElement.removeChildren();
-    },
-
-    __proto__: WebInspector.Panel.prototype
-}
-
-/**
- * @constructor
- * @param {string} displayName
- */
-WebInspector.AuditCategory = function(displayName)
-{
-    this._displayName = displayName;
-    this._rules = [];
-}
-
-WebInspector.AuditCategory.prototype = {
-    /**
-     * @return {string}
-     */
-    get id()
-    {
-        // this._id value is injected at construction time.
-        return this._id;
-    },
-
-    /**
-     * @return {string}
-     */
-    get displayName()
-    {
-        return this._displayName;
-    },
-
-    /**
-     * @param {!WebInspector.AuditRule} rule
-     * @param {!WebInspector.AuditRule.Severity} severity
-     */
-    addRule: function(rule, severity)
-    {
-        rule.severity = severity;
-        this._rules.push(rule);
-    },
-
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {function(WebInspector.AuditRuleResult)} ruleResultCallback
-     * @param {function()} categoryDoneCallback
-     * @param {!WebInspector.Progress} progress
-     */
-    run: function(requests, ruleResultCallback, categoryDoneCallback, progress)
-    {
-        this._ensureInitialized();
-        var remainingRulesCount = this._rules.length;
-        progress.setTotalWork(remainingRulesCount);
-        function callbackWrapper(result)
-        {
-            ruleResultCallback(result);
-            progress.worked();
-            if (!--remainingRulesCount)
-                categoryDoneCallback();
-        }
-        for (var i = 0; i < this._rules.length; ++i)
-            this._rules[i].run(requests, callbackWrapper, progress);
-    },
-
-    _ensureInitialized: function()
-    {
-        if (!this._initialized) {
-            if ("initialize" in this)
-                this.initialize();
-            this._initialized = true;
-        }
-    }
-}
-
-/**
- * @constructor
- * @param {string} id
- * @param {string} displayName
- */
-WebInspector.AuditRule = function(id, displayName)
-{
-    this._id = id;
-    this._displayName = displayName;
-}
-
-/**
- * @enum {string}
- */
-WebInspector.AuditRule.Severity = {
-    Info: "info",
-    Warning: "warning",
-    Severe: "severe"
-}
-
-/**
- * @type {Object.<WebInspector.AuditRule.Severity, number>}
- */
-WebInspector.AuditRule.SeverityOrder = {
-    "info": 3,
-    "warning": 2,
-    "severe": 1
-}
-
-WebInspector.AuditRule.prototype = {
-    get id()
-    {
-        return this._id;
-    },
-
-    get displayName()
-    {
-        return this._displayName;
-    },
-
-    /**
-     * @param {WebInspector.AuditRule.Severity} severity
-     */
-    set severity(severity)
-    {
-        this._severity = severity;
-    },
-
-    /**
-     * @param {!Array.<!WebInspector.NetworkRequest>} requests
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {!WebInspector.Progress} progress
-     */
-    run: function(requests, callback, progress)
-    {
-        if (progress.isCanceled())
-            return;
-
-        var result = new WebInspector.AuditRuleResult(this.displayName);
-        result.severity = this._severity;
-        this.doRun(requests, result, callback, progress);
-    },
-
-    /**
-     * @param {Array.<WebInspector.NetworkRequest>} requests
-     * @param {WebInspector.AuditRuleResult} result
-     * @param {function(WebInspector.AuditRuleResult)} callback
-     * @param {WebInspector.Progress} progress
-     */
-    doRun: function(requests, result, callback, progress)
-    {
-        throw new Error("doRun() not implemented");
-    }
-}
-
-/**
- * @constructor
- * @param {!WebInspector.AuditCategory} category
- */
-WebInspector.AuditCategoryResult = function(category)
-{
-    this.title = category.displayName;
-    this.ruleResults = [];
-}
-
-WebInspector.AuditCategoryResult.prototype = {
-    /**
-     * @param {!WebInspector.AuditCategoryResult} ruleResult
-     */
-    addRuleResult: function(ruleResult)
-    {
-        this.ruleResults.push(ruleResult);
-    }
-}
-
-/**
- * @constructor
- * @param {(string|boolean|number|Object)} value
- * @param {boolean=} expanded
- * @param {string=} className
- */
-WebInspector.AuditRuleResult = function(value, expanded, className)
-{
-    this.value = value;
-    this.className = className;
-    this.expanded = expanded;
-    this.violationCount = 0;
-    this._formatters = {
-        r: WebInspector.AuditRuleResult.linkifyDisplayName
-    };
-    var standardFormatters = Object.keys(String.standardFormatters);
-    for (var i = 0; i < standardFormatters.length; ++i)
-        this._formatters[standardFormatters[i]] = String.standardFormatters[standardFormatters[i]];
-}
-
-/**
- * @param {string} url
- * @return {!Element}
- */
-WebInspector.AuditRuleResult.linkifyDisplayName = function(url)
-{
-    return WebInspector.linkifyURLAsNode(url, WebInspector.displayNameForURL(url));
-}
-
-WebInspector.AuditRuleResult.resourceDomain = function(domain)
-{
-    return domain || WebInspector.UIString("[empty domain]");
-}
-
-WebInspector.AuditRuleResult.prototype = {
-    /**
-     * @param {(string|boolean|number|Object)} value
-     * @param {boolean=} expanded
-     * @param {string=} className
-     * @return {!WebInspector.AuditRuleResult}
-     */
-    addChild: function(value, expanded, className)
-    {
-        if (!this.children)
-            this.children = [];
-        var entry = new WebInspector.AuditRuleResult(value, expanded, className);
-        this.children.push(entry);
-        return entry;
-    },
-
-    /**
-     * @param {string} url
-     */
-    addURL: function(url)
-    {
-        this.addChild(WebInspector.AuditRuleResult.linkifyDisplayName(url));
-    },
-
-    /**
-     * @param {!Array.<string>} urls
-     */
-    addURLs: function(urls)
-    {
-        for (var i = 0; i < urls.length; ++i)
-            this.addURL(urls[i]);
-    },
-
-    /**
-     * @param {string} snippet
-     */
-    addSnippet: function(snippet)
-    {
-        this.addChild(snippet, false, "source-code");
-    },
-
-    /**
-     * @param {string} format
-     * @param {...*} vararg
-     * @return {!WebInspector.AuditRuleResult}
-     */
-    addFormatted: function(format, vararg)
-    {
-        var substitutions = Array.prototype.slice.call(arguments, 1);
-        var fragment = document.createDocumentFragment();
-
-        function append(a, b)
-        {
-            if (!(b instanceof Node))
-                b = document.createTextNode(b);
-            a.appendChild(b);
-            return a;
-        }
-
-        var formattedResult = String.format(format, substitutions, this._formatters, fragment, append).formattedResult;
-        if (formattedResult instanceof Node)
-            formattedResult.normalize();
-        return this.addChild(formattedResult);
-    }
-}
-
-/**
- * @constructor
- * @extends {WebInspector.SidebarTreeElement}
- * @param {WebInspector.AuditsPanel} panel
- */
-WebInspector.AuditsSidebarTreeElement = function(panel)
-{
-    this._panel = panel;
-    this.small = false;
-    WebInspector.SidebarTreeElement.call(this, "audits-sidebar-tree-item", WebInspector.UIString("Audits"), "", null, false);
-}
-
-WebInspector.AuditsSidebarTreeElement.prototype = {
-    onattach: function()
-    {
-        WebInspector.SidebarTreeElement.prototype.onattach.call(this);
-    },
-
-    onselect: function()
-    {
-        this._panel.showLauncherView();
-    },
-
-    get selectable()
-    {
-        return true;
-    },
-
-    refresh: function()
-    {
-        this.refreshTitles();
-    },
-
-    __proto__: WebInspector.SidebarTreeElement.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.SidebarTreeElement}
- * @param {!WebInspector.AuditsPanel} panel
- * @param {!Array.<!WebInspector.AuditCategoryResult>} results
- * @param {string} mainResourceURL
- * @param {number} ordinal
- */
-WebInspector.AuditResultSidebarTreeElement = function(panel, results, mainResourceURL, ordinal)
-{
-    this._panel = panel;
-    this.results = results;
-    this.mainResourceURL = mainResourceURL;
-    WebInspector.SidebarTreeElement.call(this, "audit-result-sidebar-tree-item", String.sprintf("%s (%d)", mainResourceURL, ordinal), "", {}, false);
-}
-
-WebInspector.AuditResultSidebarTreeElement.prototype = {
-    onselect: function()
-    {
-        this._panel.showResults(this.results);
-    },
-
-    get selectable()
-    {
-        return true;
-    },
-
-    __proto__: WebInspector.SidebarTreeElement.prototype
-}
-
-// Contributed audit rules should go into this namespace.
-WebInspector.AuditRules = {};
-
-/**
- * Contributed audit categories should go into this namespace.
- * @type {Object.<string, function(new:WebInspector.AuditCategory)>}
- */
-WebInspector.AuditCategories = {};
-
-importScript("AuditCategories.js");
-importScript("AuditController.js");
-importScript("AuditFormatters.js");
-importScript("AuditLauncherView.js");
-importScript("AuditResultView.js");
-importScript("AuditRules.js");
diff --git a/Source/WebCore/inspector/front-end/BottomUpProfileDataGridTree.js b/Source/WebCore/inspector/front-end/BottomUpProfileDataGridTree.js
deleted file mode 100644 (file)
index 13d158b..0000000
+++ /dev/null
@@ -1,292 +0,0 @@
-/*
- * Copyright (C) 2009 280 North Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-// Bottom Up Profiling shows the entire callstack backwards:
-// The root node is a representation of each individual function called, and each child of that node represents
-// a reverse-callstack showing how many of those calls came from it. So, unlike top-down, the statistics in
-// each child still represent the root node. We have to be particularly careful of recursion with this mode
-// because a root node can represent itself AND an ancestor.
-
-/**
- * @constructor
- * @extends {WebInspector.ProfileDataGridNode}
- * @param {!ProfilerAgent.CPUProfileNode} profileNode
- * @param {!WebInspector.TopDownProfileDataGridTree} owningTree
- */
-WebInspector.BottomUpProfileDataGridNode = function(profileNode, owningTree)
-{
-    WebInspector.ProfileDataGridNode.call(this, profileNode, owningTree, this._willHaveChildren(profileNode));
-
-    this._remainingNodeInfos = [];
-}
-
-WebInspector.BottomUpProfileDataGridNode.prototype = {
-    /**
-     * @param {!WebInspector.ProfileDataGridNode} profileDataGridNode
-     */
-    _takePropertiesFromProfileDataGridNode: function(profileDataGridNode)
-    {
-        this._save();
-
-        this.selfTime = profileDataGridNode.selfTime;
-        this.totalTime = profileDataGridNode.totalTime;
-        this.numberOfCalls = profileDataGridNode.numberOfCalls;
-    },
-
-    /**
-     * When focusing, we keep just the members of the callstack.
-     * @param {!WebInspector.ProfileDataGridNode} child
-     */
-    _keepOnlyChild: function(child)
-    {
-        this._save();
-
-        this.removeChildren();
-        this.appendChild(child);
-    },
-
-    _exclude: function(aCallUID)
-    {
-        if (this._remainingNodeInfos)
-            this.populate();
-
-        this._save();
-
-        var children = this.children;
-        var index = this.children.length;
-
-        while (index--)
-            children[index]._exclude(aCallUID);
-
-        var child = this.childrenByCallUID[aCallUID];
-
-        if (child)
-            this._merge(child, true);
-    },
-
-    _restore: function()
-    {
-        WebInspector.ProfileDataGridNode.prototype._restore();
-
-        if (!this.children.length)
-            this.hasChildren = this._willHaveChildren(this.profileNode);
-    },
-
-    /**
-     * @param {!WebInspector.ProfileDataGridNode} child
-     * @param {boolean} shouldAbsorb
-     */
-    _merge: function(child, shouldAbsorb)
-    {
-        this.selfTime -= child.selfTime;
-
-        WebInspector.ProfileDataGridNode.prototype._merge.call(this, child, shouldAbsorb);
-    },
-
-    _sharedPopulate: function()
-    {
-        var remainingNodeInfos = this._remainingNodeInfos;
-        var count = remainingNodeInfos.length;
-
-        for (var index = 0; index < count; ++index) {
-            var nodeInfo = remainingNodeInfos[index];
-            var ancestor = nodeInfo.ancestor;
-            var focusNode = nodeInfo.focusNode;
-            var child = this.findChild(ancestor);
-
-            // If we already have this child, then merge the data together.
-            if (child) {
-                var totalTimeAccountedFor = nodeInfo.totalTimeAccountedFor;
-
-                child.selfTime += focusNode.selfTime;
-                child.numberOfCalls += focusNode.numberOfCalls;
-
-                if (!totalTimeAccountedFor)
-                    child.totalTime += focusNode.totalTime;
-            } else {
-                // If not, add it as a true ancestor.
-                // In heavy mode, we take our visual identity from ancestor node...
-                child = new WebInspector.BottomUpProfileDataGridNode(ancestor, this.tree);
-
-                if (ancestor !== focusNode) {
-                    // but the actual statistics from the "root" node (bottom of the callstack).
-                    child.selfTime = focusNode.selfTime;
-                    child.totalTime = focusNode.totalTime;
-                    child.numberOfCalls = focusNode.numberOfCalls;
-                }
-
-                this.appendChild(child);
-            }
-
-            var parent = ancestor.parent;
-            if (parent && parent.parent) {
-                nodeInfo.ancestor = parent;
-                child._remainingNodeInfos.push(nodeInfo);
-            }
-        }
-
-        delete this._remainingNodeInfos;
-    },
-
-    _willHaveChildren: function(profileNode)
-    {
-        // In bottom up mode, our parents are our children since we display an inverted tree.
-        // However, we don't want to show the very top parent since it is redundant.
-        return !!(profileNode.parent && profileNode.parent.parent);
-    },
-
-    __proto__: WebInspector.ProfileDataGridNode.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.ProfileDataGridTree}
- * @param {WebInspector.CPUProfileView} profileView
- * @param {ProfilerAgent.CPUProfileNode} rootProfileNode
- */
-WebInspector.BottomUpProfileDataGridTree = function(profileView, rootProfileNode)
-{
-    WebInspector.ProfileDataGridTree.call(this, profileView, rootProfileNode);
-
-    // Iterate each node in pre-order.
-    var profileNodeUIDs = 0;
-    var profileNodeGroups = [[], [rootProfileNode]];
-    var visitedProfileNodesForCallUID = {};
-
-    this._remainingNodeInfos = [];
-
-    for (var profileNodeGroupIndex = 0; profileNodeGroupIndex < profileNodeGroups.length; ++profileNodeGroupIndex) {
-        var parentProfileNodes = profileNodeGroups[profileNodeGroupIndex];
-        var profileNodes = profileNodeGroups[++profileNodeGroupIndex];
-        var count = profileNodes.length;
-
-        for (var index = 0; index < count; ++index) {
-            var profileNode = profileNodes[index];
-
-            if (!profileNode.UID)
-                profileNode.UID = ++profileNodeUIDs;
-
-            if (profileNode.head && profileNode !== profileNode.head) {
-                // The total time of this ancestor is accounted for if we're in any form of recursive cycle.
-                var visitedNodes = visitedProfileNodesForCallUID[profileNode.callUID];
-                var totalTimeAccountedFor = false;
-
-                if (!visitedNodes) {
-                    visitedNodes = {}
-                    visitedProfileNodesForCallUID[profileNode.callUID] = visitedNodes;
-                } else {
-                    // The total time for this node has already been accounted for iff one of it's parents has already been visited.
-                    // We can do this check in this style because we are traversing the tree in pre-order.
-                    var parentCount = parentProfileNodes.length;
-                    for (var parentIndex = 0; parentIndex < parentCount; ++parentIndex) {
-                        if (visitedNodes[parentProfileNodes[parentIndex].UID]) {
-                            totalTimeAccountedFor = true;
-                            break;
-                        }
-                    }
-                }
-
-                visitedNodes[profileNode.UID] = true;
-
-                this._remainingNodeInfos.push({ ancestor:profileNode, focusNode:profileNode, totalTimeAccountedFor:totalTimeAccountedFor });
-            }
-
-            var children = profileNode.children;
-            if (children.length) {
-                profileNodeGroups.push(parentProfileNodes.concat([profileNode]))
-                profileNodeGroups.push(children);
-            }
-        }
-    }
-
-    // Populate the top level nodes.
-    var any = /** @type{*} */(this);
-    var node = /** @type{WebInspector.ProfileDataGridNode} */(any);
-    WebInspector.BottomUpProfileDataGridNode.prototype.populate.call(node);
-
-    return this;
-}
-
-WebInspector.BottomUpProfileDataGridTree.prototype = {
-    /**
-     * When focusing, we keep the entire callstack up to this ancestor.
-     * @param {!WebInspector.ProfileDataGridNode} profileDataGridNode
-     */
-    focus: function(profileDataGridNode)
-    {
-        if (!profileDataGridNode)
-            return;
-
-        this._save();
-
-        var currentNode = profileDataGridNode;
-        var focusNode = profileDataGridNode;
-
-        while (currentNode.parent && (currentNode instanceof WebInspector.ProfileDataGridNode)) {
-            currentNode._takePropertiesFromProfileDataGridNode(profileDataGridNode);
-
-            focusNode = currentNode;
-            currentNode = currentNode.parent;
-
-            if (currentNode instanceof WebInspector.ProfileDataGridNode)
-                currentNode._keepOnlyChild(focusNode);
-        }
-
-        this.children = [focusNode];
-        this.totalTime = profileDataGridNode.totalTime;
-    },
-
-    /**
-     * @param {!WebInspector.ProfileDataGridNode} profileDataGridNode
-     */
-    exclude: function(profileDataGridNode)
-    {
-        if (!profileDataGridNode)
-            return;
-
-        this._save();
-
-        var excludedCallUID = profileDataGridNode.callUID;
-        var excludedTopLevelChild = this.childrenByCallUID[excludedCallUID];
-
-        // If we have a top level node that is excluded, get rid of it completely (not keeping children),
-        // since bottom up data relies entirely on the root node.
-        if (excludedTopLevelChild)
-            this.children.remove(excludedTopLevelChild);
-
-        var children = this.children;
-        var count = children.length;
-
-        for (var index = 0; index < count; ++index)
-            children[index]._exclude(excludedCallUID);
-
-        if (this.lastComparator)
-            this.sort(this.lastComparator, true);
-    },
-
-    _sharedPopulate: WebInspector.BottomUpProfileDataGridNode.prototype._sharedPopulate,
-
-    __proto__: WebInspector.ProfileDataGridTree.prototype
-}
diff --git a/Source/WebCore/inspector/front-end/BreakpointManager.js b/Source/WebCore/inspector/front-end/BreakpointManager.js
deleted file mode 100644 (file)
index 747879a..0000000
+++ /dev/null
@@ -1,670 +0,0 @@
-/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @constructor
- * @extends {WebInspector.Object}
- * @param {WebInspector.Setting} breakpointStorage
- * @param {WebInspector.DebuggerModel} debuggerModel
- * @param {WebInspector.Workspace} workspace
- */
-WebInspector.BreakpointManager = function(breakpointStorage, debuggerModel, workspace)
-{
-    this._storage = new WebInspector.BreakpointManager.Storage(this, breakpointStorage);
-    this._debuggerModel = debuggerModel;
-    this._workspace = workspace;
-
-    this._breakpoints = new Map();
-    this._breakpointForDebuggerId = {};
-    this._breakpointsForUISourceCode = new Map();
-    this._sourceFilesWithRestoredBreakpoints = {};
-
-    this._debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.BreakpointResolved, this._breakpointResolved, this);
-    this._workspace.addEventListener(WebInspector.Workspace.Events.ProjectWillReset, this._projectWillReset, this);
-    this._workspace.addEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, this._uiSourceCodeAdded, this);
-}
-
-WebInspector.BreakpointManager.Events = {
-    BreakpointAdded: "breakpoint-added",
-    BreakpointRemoved: "breakpoint-removed"
-}
-
-WebInspector.BreakpointManager.sourceFileId = function(uiSourceCode)
-{
-    if (!uiSourceCode.url)
-        return "";
-    var deobfuscatedPrefix = uiSourceCode.formatted() ? "deobfuscated:" : "";
-    return deobfuscatedPrefix + uiSourceCode.uri();
-}
-
-WebInspector.BreakpointManager.prototype = {
-    /**
-     * @param {WebInspector.UISourceCode} uiSourceCode
-     */
-    _restoreBreakpoints: function(uiSourceCode)
-    {
-        var sourceFileId = WebInspector.BreakpointManager.sourceFileId(uiSourceCode);
-        if (!sourceFileId || this._sourceFilesWithRestoredBreakpoints[sourceFileId])
-            return;
-        this._sourceFilesWithRestoredBreakpoints[sourceFileId] = true;
-
-        // Erase provisional breakpoints prior to restoring them.
-        for (var debuggerId in this._breakpointForDebuggerId) {
-            var breakpoint = this._breakpointForDebuggerId[debuggerId];
-            if (breakpoint._sourceFileId !== sourceFileId)
-                continue;
-            breakpoint.remove(true);
-        }
-        this._storage._restoreBreakpoints(uiSourceCode);
-    },
-
-    /**
-     * @param {WebInspector.Event} event
-     */
-    _uiSourceCodeAdded: function(event)
-    {
-        var uiSourceCode = /** @type {WebInspector.UISourceCode} */ (event.data);
-        this._restoreBreakpoints(uiSourceCode);
-        if (uiSourceCode.contentType() === WebInspector.resourceTypes.Script || uiSourceCode.contentType() === WebInspector.resourceTypes.Document) {
-            uiSourceCode.addEventListener(WebInspector.UISourceCode.Events.SourceMappingChanged, this._uiSourceCodeMappingChanged, this);
-            uiSourceCode.addEventListener(WebInspector.UISourceCode.Events.FormattedChanged, this._uiSourceCodeFormatted, this);
-        }
-    },
-
-    /**
-     * @param {WebInspector.Event} event
-     */
-    _uiSourceCodeFormatted: function(event)
-    {
-        var uiSourceCode = /** @type {WebInspector.UISourceCode} */ (event.target);
-        this._restoreBreakpoints(uiSourceCode);
-    },
-
-    /**
-     * @param {WebInspector.UISourceCode} uiSourceCode
-     */
-    _resetBreakpoints: function(uiSourceCode)
-    {
-        var sourceFileId = WebInspector.BreakpointManager.sourceFileId(uiSourceCode);
-        var breakpoints = this._breakpoints.keys();
-        for (var i = 0; i < breakpoints.length; ++i) {
-            var breakpoint = breakpoints[i];
-            if (breakpoint._sourceFileId !== sourceFileId)
-                return;
-            if (breakpoint.enabled()) {
-                breakpoint._removeFromDebugger();
-                breakpoint._setInDebugger();
-            }
-        }
-    },
-
-    /**
-     * @param {WebInspector.Event} event
-     */
-    _uiSourceCodeMappingChanged: function(event)
-    {
-        var identityHasChanged = /** @type {boolean} */ (event.data.identityHasChanged);
-        if (!identityHasChanged)
-            return;
-        var uiSourceCode = /** @type {WebInspector.UISourceCode} */ (event.target);
-        this._resetBreakpoints(uiSourceCode);
-    },
-
-    /**
-     * @param {WebInspector.UISourceCode} uiSourceCode
-     * @param {number} lineNumber
-     * @param {string} condition
-     * @param {boolean} enabled
-     * @return {WebInspector.BreakpointManager.Breakpoint}
-     */
-    setBreakpoint: function(uiSourceCode, lineNumber, condition, enabled)
-    {
-        this._debuggerModel.setBreakpointsActive(true);
-        return this._innerSetBreakpoint(uiSourceCode, lineNumber, condition, enabled);
-    },
-
-    /**
-     * @param {WebInspector.UISourceCode} uiSourceCode
-     * @param {number} lineNumber
-     * @param {string} condition
-     * @param {boolean} enabled
-     * @return {WebInspector.BreakpointManager.Breakpoint}
-     */
-    _innerSetBreakpoint: function(uiSourceCode, lineNumber, condition, enabled)
-    {
-        var breakpoint = this.findBreakpoint(uiSourceCode, lineNumber);
-        if (breakpoint) {
-            breakpoint._updateBreakpoint(condition, enabled);
-            return breakpoint;
-        }
-        breakpoint = new WebInspector.BreakpointManager.Breakpoint(this, uiSourceCode, lineNumber, condition, enabled);
-        this._breakpoints.put(breakpoint);
-        return breakpoint;
-    },
-
-    /**
-     * @param {WebInspector.UISourceCode} uiSourceCode
-     * @param {number} lineNumber
-     * @return {?WebInspector.BreakpointManager.Breakpoint}
-     */
-    findBreakpoint: function(uiSourceCode, lineNumber)
-    {
-        var breakpoints = this._breakpointsForUISourceCode.get(uiSourceCode);
-        var lineBreakpoints = breakpoints ? breakpoints[lineNumber] : null;
-        return lineBreakpoints ? lineBreakpoints[0] : null;
-    },
-
-    /**
-     * @param {WebInspector.UISourceCode} uiSourceCode
-     * @return {Array.<WebInspector.BreakpointManager.Breakpoint>}
-     */
-    breakpointsForUISourceCode: function(uiSourceCode)
-    {
-        var result = [];
-        var breakpoints = /** @type {Array.<WebInspector.BreakpointManager.Breakpoint>} */(this._breakpoints.keys());
-        for (var i = 0; i < breakpoints.length; ++i) {
-            var breakpoint = breakpoints[i];
-            var uiLocation = breakpoint._primaryUILocation;
-            if (uiLocation.uiSourceCode === uiSourceCode)
-                result.push(breakpoint);
-        }
-        return result;
-    },
-
-    /**
-     * @return {Array.<WebInspector.BreakpointManager.Breakpoint>}
-     */
-    allBreakpoints: function()
-    {
-        var result = [];
-        var breakpoints = /** @type {Array.<WebInspector.BreakpointManager.Breakpoint>} */(this._breakpoints.keys());
-        return breakpoints;
-    },
-
-    /**
-     * @param {WebInspector.UISourceCode} uiSourceCode
-     * @return {Array.<{breakpoint: WebInspector.BreakpointManager.Breakpoint, uiLocation: WebInspector.UILocation}>}
-     */
-    breakpointLocationsForUISourceCode: function(uiSourceCode)
-    {
-        var result = [];
-        var breakpoints = /** @type {Array.<WebInspector.BreakpointManager.Breakpoint>} */(this._breakpoints.keys());
-        for (var i = 0; i < breakpoints.length; ++i) {
-            var breakpoint = breakpoints[i];
-            var uiLocations = Object.values(breakpoint._uiLocations);
-            for (var j = 0; j < uiLocations.length; ++j) {
-                var uiLocation = uiLocations[j];
-                if (uiLocation.uiSourceCode === uiSourceCode)
-                    result.push({breakpoint: breakpoint, uiLocation: uiLocations[j]});
-            }
-        }
-        return result;
-    },
-
-    /**
-     * @return {Array.<{breakpoint: WebInspector.BreakpointManager.Breakpoint, uiLocation: WebInspector.UILocation}>}
-     */
-    allBreakpointLocations: function()
-    {
-        var result = [];
-        var breakpoints = /** @type {Array.<WebInspector.BreakpointManager.Breakpoint>} */(this._breakpoints.keys());
-        for (var i = 0; i < breakpoints.length; ++i) {
-            var breakpoint = breakpoints[i];
-            var uiLocations = Object.values(breakpoint._uiLocations);
-            for (var j = 0; j < uiLocations.length; ++j)
-                result.push({breakpoint: breakpoint, uiLocation: uiLocations[j]});
-        }
-        return result;
-    },
-
-    /**
-     * @param {boolean} toggleState
-     */
-    toggleAllBreakpoints: function(toggleState)
-    {
-        var breakpoints = /** @type {Array.<WebInspector.BreakpointManager.Breakpoint>} */(this._breakpoints.keys());
-        for (var i = 0; i < breakpoints.length; ++i) {
-            var breakpoint = breakpoints[i];
-            if (breakpoint.enabled() != toggleState)
-                breakpoint.setEnabled(toggleState);
-        }
-    },
-
-    removeAllBreakpoints: function()
-    {
-        var breakpoints = /** @type {Array.<WebInspector.BreakpointManager.Breakpoint>} */(this._breakpoints.keys());
-        for (var i = 0; i < breakpoints.length; ++i)
-            breakpoints[i].remove();
-    },
-
-    reset: function()
-    {
-        // Remove all breakpoints from UI and debugger, do not update storage.
-        this._storage._muted = true;
-        this.removeAllBreakpoints();
-        delete this._storage._muted;
-
-        // Remove all provisional breakpoints from the debugger.
-        for (var debuggerId in this._breakpointForDebuggerId)
-            this._debuggerModel.removeBreakpoint(debuggerId);
-        this._breakpointForDebuggerId = {};
-        this._sourceFilesWithRestoredBreakpoints = {};
-    },
-
-    _projectWillReset: function(event)
-    {
-        var project = /** @type {WebInspector.Project} */ (event.data);
-        var uiSourceCodes = project.uiSourceCodes();
-        for (var i = 0; i < uiSourceCodes.length; ++i) {
-            var uiSourceCode = uiSourceCodes[i];
-            var breakpoints = this._breakpointsForUISourceCode.get(uiSourceCode) || [];
-            for (var lineNumber in breakpoints) {
-                var lineBreakpoints = breakpoints[lineNumber];
-                for (var j = 0; j < lineBreakpoints.length; ++j) {
-                    var breakpoint = lineBreakpoints[j];
-                    breakpoint._resetLocations();
-                }
-            }
-            this._breakpointsForUISourceCode.remove(uiSourceCode);
-
-            breakpoints = this.breakpointsForUISourceCode(uiSourceCode);
-            for (var j = 0; j < breakpoints.length; ++j) { 
-                var breakpoint = breakpoints[j];
-                this._breakpoints.remove(breakpoint);
-                delete breakpoint._primaryUILocation;
-            }
-
-            var sourceFileId = WebInspector.BreakpointManager.sourceFileId(uiSourceCode);
-            delete this._sourceFilesWithRestoredBreakpoints[sourceFileId];
-        }
-    },
-
-    _breakpointResolved: function(event)
-    {
-        var breakpointId = /** @type {DebuggerAgent.BreakpointId} */ (event.data.breakpointId);
-        var location = /** @type {WebInspector.DebuggerModel.Location} */ (event.data.location);
-        var breakpoint = this._breakpointForDebuggerId[breakpointId];
-        if (!breakpoint)
-            return;
-        if (!this._breakpoints.contains(breakpoint))
-            this._breakpoints.put(breakpoint);
-        breakpoint._addResolvedLocation(location);
-    },
-
-    /**
-     * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
-     * @param {boolean} removeFromStorage
-     */
-    _removeBreakpoint: function(breakpoint, removeFromStorage)
-    {
-        console.assert(!breakpoint._debuggerId)
-        this._breakpoints.remove(breakpoint);
-        if (removeFromStorage)
-            this._storage._removeBreakpoint(breakpoint);
-    },
-
-    /**
-     * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
-     * @param {WebInspector.UILocation} uiLocation
-     */
-    _uiLocationAdded: function(breakpoint, uiLocation)
-    {
-        var breakpoints = this._breakpointsForUISourceCode.get(uiLocation.uiSourceCode);
-        if (!breakpoints) {
-            breakpoints = {};
-            this._breakpointsForUISourceCode.put(uiLocation.uiSourceCode, breakpoints);
-        }
-
-        var lineBreakpoints = breakpoints[uiLocation.lineNumber];
-        if (!lineBreakpoints) {
-            lineBreakpoints = [];
-            breakpoints[uiLocation.lineNumber] = lineBreakpoints;
-        }
-
-        lineBreakpoints.push(breakpoint);
-        this.dispatchEventToListeners(WebInspector.BreakpointManager.Events.BreakpointAdded, {breakpoint: breakpoint, uiLocation: uiLocation});
-    },
-
-    /**
-     * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
-     * @param {WebInspector.UILocation} uiLocation
-     */
-    _uiLocationRemoved: function(breakpoint, uiLocation)
-    {
-      var breakpoints = this._breakpointsForUISourceCode.get(uiLocation.uiSourceCode);
-        if (!breakpoints)
-            return;
-
-        var lineBreakpoints = breakpoints[uiLocation.lineNumber];
-        if (!lineBreakpoints)
-            return;
-
-        lineBreakpoints.remove(breakpoint);
-        if (!lineBreakpoints.length)
-            delete breakpoints[uiLocation.lineNumber];
-        this.dispatchEventToListeners(WebInspector.BreakpointManager.Events.BreakpointRemoved, {breakpoint: breakpoint, uiLocation: uiLocation});
-    },
-
-    __proto__: WebInspector.Object.prototype
-}
-
-/**
- * @constructor
- * @param {WebInspector.BreakpointManager} breakpointManager
- * @param {WebInspector.UISourceCode} uiSourceCode
- * @param {number} lineNumber
- * @param {string} condition
- * @param {boolean} enabled
- */
-WebInspector.BreakpointManager.Breakpoint = function(breakpointManager, uiSourceCode, lineNumber, condition, enabled)
-{
-    this._breakpointManager = breakpointManager;
-    this._primaryUILocation = new WebInspector.UILocation(uiSourceCode, lineNumber, 0);
-    this._sourceFileId = WebInspector.BreakpointManager.sourceFileId(uiSourceCode);
-    /** @type {Array.<WebInspector.Script.Location>} */
-    this._liveLocations = [];
-    /** @type {Object.<string, WebInspector.UILocation>} */
-    this._uiLocations = {};
-
-    // Force breakpoint update.
-    /** @type {string} */ this._condition;
-    /** @type {boolean} */ this._enabled;
-    this._updateBreakpoint(condition, enabled);
-}
-
-WebInspector.BreakpointManager.Breakpoint.prototype = {
-    /**
-     * @return {WebInspector.UILocation}
-     */
-    primaryUILocation: function()
-    {
-        return this._primaryUILocation;
-    },
-
-    /**
-     * @param {WebInspector.DebuggerModel.Location} location
-     */
-    _addResolvedLocation: function(location)
-    {
-        this._liveLocations.push(this._breakpointManager._debuggerModel.createLiveLocation(location, this._locationUpdated.bind(this, location)));
-    },
-
-    /**
-     * @param {WebInspector.DebuggerModel.Location} location
-     * @param {WebInspector.UILocation} uiLocation
-     */
-    _locationUpdated: function(location, uiLocation)
-    {
-        var stringifiedLocation = location.scriptId + ":" + location.lineNumber + ":" + location.columnNumber;
-        var oldUILocation = /** @type {WebInspector.UILocation} */ (this._uiLocations[stringifiedLocation]);
-        if (oldUILocation)
-            this._breakpointManager._uiLocationRemoved(this, oldUILocation);
-        if (this._uiLocations[""]) {
-            delete this._uiLocations[""];
-            this._breakpointManager._uiLocationRemoved(this, this._primaryUILocation);
-        }
-        this._uiLocations[stringifiedLocation] = uiLocation;
-        this._breakpointManager._uiLocationAdded(this, uiLocation);
-    },
-
-    /**
-     * @return {boolean}
-     */
-    enabled: function()
-    {
-        return this._enabled;
-    },
-
-    /**
-     * @param {boolean} enabled
-     */
-    setEnabled: function(enabled)
-    {
-        this._updateBreakpoint(this._condition, enabled);
-    },
-
-    /**
-     * @return {string}
-     */
-    condition: function()
-    {
-        return this._condition;
-    },
-
-    /**
-     * @param {string} condition
-     */
-    setCondition: function(condition)
-    {
-        this._updateBreakpoint(condition, this._enabled);
-    },
-
-    /**
-     * @param {string} condition
-     * @param {boolean} enabled
-     */
-    _updateBreakpoint: function(condition, enabled)
-    {
-        if (this._enabled === enabled && this._condition === condition)
-            return;
-
-        if (this._enabled)
-            this._removeFromDebugger();
-
-        this._enabled = enabled;
-        this._condition = condition;
-        this._breakpointManager._storage._updateBreakpoint(this);
-
-        var scriptFile = this._primaryUILocation.uiSourceCode.scriptFile();
-        if (this._enabled && !(scriptFile && scriptFile.hasDivergedFromVM())) {
-            this._setInDebugger();
-            return;
-        }
-
-        this._fakeBreakpointAtPrimaryLocation();
-    },
-
-    /**
-     * @param {boolean=} keepInStorage
-     */
-    remove: function(keepInStorage)
-    {
-        var removeFromStorage = !keepInStorage;
-        this._resetLocations();
-        this._removeFromDebugger();
-        this._breakpointManager._removeBreakpoint(this, removeFromStorage);
-    },
-
-    _setInDebugger: function()
-    {
-        console.assert(!this._debuggerId);
-        var rawLocation = this._primaryUILocation.uiLocationToRawLocation();
-        var debuggerModelLocation = /** @type {WebInspector.DebuggerModel.Location} */ (rawLocation);
-        if (debuggerModelLocation)
-            this._breakpointManager._debuggerModel.setBreakpointByScriptLocation(debuggerModelLocation, this._condition, didSetBreakpoint.bind(this));
-        else
-            this._breakpointManager._debuggerModel.setBreakpointByURL(this._primaryUILocation.uiSourceCode.url, this._primaryUILocation.lineNumber, 0, this._condition, didSetBreakpoint.bind(this));
-
-        /**
-         * @this {WebInspector.BreakpointManager.Breakpoint}
-         * @param {?DebuggerAgent.BreakpointId} breakpointId
-         * @param {Array.<WebInspector.DebuggerModel.Location>} locations
-         */
-        function didSetBreakpoint(breakpointId, locations)
-        {
-            if (!breakpointId) {
-                this._resetLocations();
-                this._breakpointManager._removeBreakpoint(this, false);
-                return;
-            }
-
-            this._debuggerId = breakpointId;
-            this._breakpointManager._breakpointForDebuggerId[breakpointId] = this;
-
-            if (!locations.length) {
-                this._fakeBreakpointAtPrimaryLocation();
-                return;
-            }
-
-            this._resetLocations();
-            for (var i = 0; i < locations.length; ++i) {
-                var script = this._breakpointManager._debuggerModel.scriptForId(locations[i].scriptId);
-                var uiLocation = script.rawLocationToUILocation(locations[i].lineNumber, locations[i].columnNumber);
-                if (this._breakpointManager.findBreakpoint(uiLocation.uiSourceCode, uiLocation.lineNumber)) {
-                    // location clash
-                    this.remove();
-                    return;
-                }
-            }
-
-            for (var i = 0; i < locations.length; ++i)
-                this._addResolvedLocation(locations[i]);
-        }
-    },
-
-    _removeFromDebugger: function()
-    {
-        if (this._debuggerId) {
-            this._breakpointManager._debuggerModel.removeBreakpoint(this._debuggerId);
-            delete this._breakpointManager._breakpointForDebuggerId[this._debuggerId];
-            delete this._debuggerId;
-        }
-    },
-
-    _resetLocations: function()
-    {
-        for (var stringifiedLocation in this._uiLocations)
-            this._breakpointManager._uiLocationRemoved(this, this._uiLocations[stringifiedLocation]);
-
-        for (var i = 0; i < this._liveLocations.length; ++i)
-            this._liveLocations[i].dispose();
-        this._liveLocations = [];
-
-        this._uiLocations = {};
-    },
-
-    /**
-     * @return {string}
-     */
-    _breakpointStorageId: function()
-    {
-        if (!this._sourceFileId)
-            return "";
-        return this._sourceFileId + ":" + this._primaryUILocation.lineNumber;
-    },
-
-    _fakeBreakpointAtPrimaryLocation: function()
-    {
-        this._resetLocations();
-        this._uiLocations[""] = this._primaryUILocation;
-        this._breakpointManager._uiLocationAdded(this, this._primaryUILocation);
-    }
-}
-
-/**
- * @constructor
- * @param {WebInspector.BreakpointManager} breakpointManager
- * @param {WebInspector.Setting} setting
- */
-WebInspector.BreakpointManager.Storage = function(breakpointManager, setting)
-{
-    this._breakpointManager = breakpointManager;
-    this._setting = setting;
-    var breakpoints = this._setting.get();
-    /** @type {Object.<string,WebInspector.BreakpointManager.Storage.Item>} */
-    this._breakpoints = {};
-    for (var i = 0; i < breakpoints.length; ++i) {
-        var breakpoint = /** @type {WebInspector.BreakpointManager.Storage.Item} */ (breakpoints[i]);
-        this._breakpoints[breakpoint.sourceFileId + ":" + breakpoint.lineNumber] = breakpoint;
-    }
-}
-
-WebInspector.BreakpointManager.Storage.prototype = {
-    /**
-     * @param {WebInspector.UISourceCode} uiSourceCode
-     */
-    _restoreBreakpoints: function(uiSourceCode)
-    {
-        this._muted = true;
-        var sourceFileId = WebInspector.BreakpointManager.sourceFileId(uiSourceCode);
-        for (var id in this._breakpoints) {
-            var breakpoint = this._breakpoints[id];
-            if (breakpoint.sourceFileId === sourceFileId)
-                this._breakpointManager._innerSetBreakpoint(uiSourceCode, breakpoint.lineNumber, breakpoint.condition, breakpoint.enabled);
-        }
-        delete this._muted;
-    },
-
-    /**
-     * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
-     */
-    _updateBreakpoint: function(breakpoint)
-    {
-        if (this._muted || !breakpoint._breakpointStorageId())
-            return;
-        this._breakpoints[breakpoint._breakpointStorageId()] = new WebInspector.BreakpointManager.Storage.Item(breakpoint);
-        this._save();
-    },
-
-    /**
-     * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
-     */
-    _removeBreakpoint: function(breakpoint)
-    {
-        if (this._muted)
-            return;
-        delete this._breakpoints[breakpoint._breakpointStorageId()];
-        this._save();
-    },
-
-    _save: function()
-    {
-        var breakpointsArray = [];
-        for (var id in this._breakpoints)
-            breakpointsArray.push(this._breakpoints[id]);
-        this._setting.set(breakpointsArray);
-    }
-}
-
-/**
- * @constructor
- * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
- */
-WebInspector.BreakpointManager.Storage.Item = function(breakpoint)
-{
-    var primaryUILocation = breakpoint.primaryUILocation();
-    this.sourceFileId = breakpoint._sourceFileId;
-    this.lineNumber = primaryUILocation.lineNumber;
-    this.condition = breakpoint.condition();
-    this.enabled = breakpoint.enabled();
-}
-
-/** @type {WebInspector.BreakpointManager} */
-WebInspector.breakpointManager = null;
diff --git a/Source/WebCore/inspector/front-end/BreakpointsSidebarPane.js b/Source/WebCore/inspector/front-end/BreakpointsSidebarPane.js
deleted file mode 100644 (file)
index 9b77cc8..0000000
+++ /dev/null
@@ -1,679 +0,0 @@
-/*
- * Copyright (C) 2008 Apple Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @constructor
- * @param {WebInspector.BreakpointManager} breakpointManager
- * @extends {WebInspector.SidebarPane}
- */
-WebInspector.JavaScriptBreakpointsSidebarPane = function(breakpointManager, showSourceLineDelegate)
-{
-    WebInspector.SidebarPane.call(this, WebInspector.UIString("Breakpoints"));
-    this.registerRequiredCSS("breakpointsList.css");
-
-    this._breakpointManager = breakpointManager;
-    this._showSourceLineDelegate = showSourceLineDelegate;
-
-    this.listElement = document.createElement("ol");
-    this.listElement.className = "breakpoint-list";
-
-    this.emptyElement = document.createElement("div");
-    this.emptyElement.className = "info";
-    this.emptyElement.textContent = WebInspector.UIString("No Breakpoints");
-
-    this.bodyElement.appendChild(this.emptyElement);
-
-    this._items = new Map();
-    
-    var breakpointLocations = this._breakpointManager.allBreakpointLocations();
-    for (var i = 0; i < breakpointLocations.length; ++i)
-        this._addBreakpoint(breakpointLocations[i].breakpoint, breakpointLocations[i].uiLocation);
-
-    this._breakpointManager.addEventListener(WebInspector.BreakpointManager.Events.BreakpointAdded, this._breakpointAdded, this);
-    this._breakpointManager.addEventListener(WebInspector.BreakpointManager.Events.BreakpointRemoved, this._breakpointRemoved, this);
-
-    this.emptyElement.addEventListener("contextmenu", this._emptyElementContextMenu.bind(this), true);
-}
-
-WebInspector.JavaScriptBreakpointsSidebarPane.prototype = {
-    _emptyElementContextMenu: function(event)
-    {
-        var contextMenu = new WebInspector.ContextMenu(event);
-        var breakpointActive = WebInspector.debuggerModel.breakpointsActive();
-        var breakpointActiveTitle = breakpointActive ?
-            WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Deactivate breakpoints" : "Deactivate Breakpoints") :
-            WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Activate breakpoints" : "Activate Breakpoints");
-        contextMenu.appendItem(breakpointActiveTitle, WebInspector.debuggerModel.setBreakpointsActive.bind(WebInspector.debuggerModel, !breakpointActive));
-        contextMenu.show();
-    },
-
-    /**
-     * @param {WebInspector.Event} event
-     */
-    _breakpointAdded: function(event)
-    {
-        this._breakpointRemoved(event);
-
-        var breakpoint = /** @type {WebInspector.BreakpointManager.Breakpoint} */ (event.data.breakpoint);
-        var uiLocation = /** @type {WebInspector.UILocation} */ (event.data.uiLocation);
-        this._addBreakpoint(breakpoint, uiLocation);
-    },
-
-    /**
-     * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
-     * @param {WebInspector.UILocation} uiLocation
-     */
-    _addBreakpoint: function(breakpoint, uiLocation)
-    {
-        var element = document.createElement("li");
-        element.addStyleClass("cursor-pointer");
-        element.addEventListener("contextmenu", this._breakpointContextMenu.bind(this, breakpoint), true);
-        element.addEventListener("click", this._breakpointClicked.bind(this, uiLocation), false);
-
-        var checkbox = document.createElement("input");
-        checkbox.className = "checkbox-elem";
-        checkbox.type = "checkbox";
-        checkbox.checked = breakpoint.enabled();
-        checkbox.addEventListener("click", this._breakpointCheckboxClicked.bind(this, breakpoint), false);
-        element.appendChild(checkbox);
-
-        var labelElement = document.createTextNode(WebInspector.formatLinkText(uiLocation.uiSourceCode.originURL(), uiLocation.lineNumber));
-        element.appendChild(labelElement);
-
-        var snippetElement = document.createElement("div");
-        snippetElement.className = "source-text monospace";
-        element.appendChild(snippetElement);
-
-        /**
-         * @param {?string} content
-         * @param {boolean} contentEncoded
-         * @param {string} mimeType
-         */
-        function didRequestContent(content, contentEncoded, mimeType)
-        {
-            var lineEndings = content.lineEndings();
-            if (uiLocation.lineNumber < lineEndings.length)
-                snippetElement.textContent = content.substring(lineEndings[uiLocation.lineNumber - 1], lineEndings[uiLocation.lineNumber]);
-        }
-        uiLocation.uiSourceCode.requestContent(didRequestContent.bind(this));
-
-        element._data = uiLocation;
-        var currentElement = this.listElement.firstChild;
-        while (currentElement) {
-            if (currentElement._data && this._compareBreakpoints(currentElement._data, element._data) > 0)
-                break;
-            currentElement = currentElement.nextSibling;
-        }
-        this._addListElement(element, currentElement);
-
-        var breakpointItem = {};
-        breakpointItem.element = element;
-        breakpointItem.checkbox = checkbox;
-        this._items.put(breakpoint, breakpointItem);
-
-        this.expand();
-    },
-
-    /**
-     * @param {WebInspector.Event} event
-     */
-    _breakpointRemoved: function(event)
-    {
-        var breakpoint = /** @type {WebInspector.BreakpointManager.Breakpoint} */ (event.data.breakpoint);
-        var uiLocation = /** @type {WebInspector.UILocation} */ (event.data.uiLocation);
-        var breakpointItem = this._items.get(breakpoint);
-        if (!breakpointItem)
-            return;
-        this._items.remove(breakpoint);
-        this._removeListElement(breakpointItem.element);
-    },
-
-    /**
-     * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
-     */
-    highlightBreakpoint: function(breakpoint)
-    {
-        var breakpointItem = this._items.get(breakpoint);
-        if (!breakpointItem)
-            return;
-        breakpointItem.element.addStyleClass("breakpoint-hit");
-        this._highlightedBreakpointItem = breakpointItem;
-    },
-
-    clearBreakpointHighlight: function()
-    {
-        if (this._highlightedBreakpointItem) {
-            this._highlightedBreakpointItem.element.removeStyleClass("breakpoint-hit");
-            delete this._highlightedBreakpointItem;
-        }
-    },
-
-    _breakpointClicked: function(uiLocation, event)
-    {
-        this._showSourceLineDelegate(uiLocation.uiSourceCode, uiLocation.lineNumber);
-    },
-
-    /**
-     * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
-     */
-    _breakpointCheckboxClicked: function(breakpoint, event)
-    {
-        // Breakpoint element has it's own click handler.
-        event.consume();
-        breakpoint.setEnabled(event.target.checked);
-    },
-
-    /**
-     * @param {WebInspector.BreakpointManager.Breakpoint} breakpoint
-     */
-    _breakpointContextMenu: function(breakpoint, event)
-    {
-        var breakpoints = this._items.values();
-        var contextMenu = new WebInspector.ContextMenu(event);
-        contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Remove breakpoint" : "Remove Breakpoint"), breakpoint.remove.bind(breakpoint));
-        if (breakpoints.length > 1) {
-            var removeAllTitle = WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Remove all breakpoints" : "Remove All Breakpoints");
-            contextMenu.appendItem(removeAllTitle, this._break