Web Inspector: Remove Legacy images and styles
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Apr 2015 21:59:48 +0000 (21:59 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Apr 2015 21:59:48 +0000 (21:59 +0000)
https://bugs.webkit.org/show_bug.cgi?id=144390

Reviewed by Joseph Pecoraro.

* UserInterface/Base/ImageUtilities.js:
(.generateImage):
(.generateImage.generateLegacyImage): Deleted.
* UserInterface/Base/Main.js:
(WebInspector.contentLoaded):
(WebInspector._updateToolbarHeight):
* UserInterface/Base/Platform.js:
* UserInterface/Controllers/TimelineManager.js:
(WebInspector.TimelineManager.prototype._loadNewRecording):
* UserInterface/Images/Legacy/BackArrow.svg: Removed.
* UserInterface/Images/Legacy/Breakpoints.svg: Removed.
* UserInterface/Images/Legacy/Close.svg: Removed.
* UserInterface/Images/Legacy/CloseLarge.svg: Removed.
* UserInterface/Images/Legacy/Colors.png: Removed.
* UserInterface/Images/Legacy/Colors@2x.png: Removed.
* UserInterface/Images/Legacy/ColorsLarge.png: Removed.
* UserInterface/Images/Legacy/ColorsLarge@2x.png: Removed.
* UserInterface/Images/Legacy/DockBottom.svg: Removed.
* UserInterface/Images/Legacy/DockRight.svg: Removed.
* UserInterface/Images/Legacy/DownloadArrow.svg: Removed.
* UserInterface/Images/Legacy/Errors.svg: Removed.
* UserInterface/Images/Legacy/ErrorsEnabled.svg: Removed.
* UserInterface/Images/Legacy/FilterFieldGlyph.svg: Removed.
* UserInterface/Images/Legacy/FolderGeneric.png: Removed.
* UserInterface/Images/Legacy/FolderGeneric@2x.png: Removed.
* UserInterface/Images/Legacy/ForwardArrow.svg: Removed.
* UserInterface/Images/Legacy/Issues.svg: Removed.
* UserInterface/Images/Legacy/IssuesEnabled.svg: Removed.
* UserInterface/Images/Legacy/LayerBorders.svg: Removed.
* UserInterface/Images/Legacy/Logs.svg: Removed.
* UserInterface/Images/Legacy/NavigationItemCurleyBraces.svg: Removed.
* UserInterface/Images/Legacy/NavigationItemTrash.svg: Removed.
* UserInterface/Images/Legacy/Network.png: Removed.
* UserInterface/Images/Legacy/Network@2x.png: Removed.
* UserInterface/Images/Legacy/NetworkLarge.png: Removed.
* UserInterface/Images/Legacy/NetworkLarge@2x.png: Removed.
* UserInterface/Images/Legacy/Pause.svg: Removed.
* UserInterface/Images/Legacy/Plus.svg: Removed.
* UserInterface/Images/Legacy/Recording.png: Removed.
* UserInterface/Images/Legacy/Recording@2x.png: Removed.
* UserInterface/Images/Legacy/RecordingHovered.png: Removed.
* UserInterface/Images/Legacy/RecordingHovered@2x.png: Removed.
* UserInterface/Images/Legacy/RecordingStopped.png: Removed.
* UserInterface/Images/Legacy/RecordingStopped@2x.png: Removed.
* UserInterface/Images/Legacy/Reload.svg: Removed.
* UserInterface/Images/Legacy/Resources.svg: Removed.
* UserInterface/Images/Legacy/Resume.svg: Removed.
* UserInterface/Images/Legacy/ShadowDOM.svg: Removed.
* UserInterface/Images/Legacy/SortIndicatorDownArrow.svg: Removed.
* UserInterface/Images/Legacy/SortIndicatorUpArrow.svg: Removed.
* UserInterface/Images/Legacy/SplitToggleDown.svg: Removed.
* UserInterface/Images/Legacy/SplitToggleUp.svg: Removed.
* UserInterface/Images/Legacy/StepInto.svg: Removed.
* UserInterface/Images/Legacy/StepOut.svg: Removed.
* UserInterface/Images/Legacy/StepOver.svg: Removed.
* UserInterface/Images/Legacy/Time.svg: Removed.
* UserInterface/Images/Legacy/Undock.svg: Removed.
* UserInterface/Images/Legacy/UpDownArrows.svg: Removed.
* UserInterface/Images/Legacy/Weight.svg: Removed.
* UserInterface/Views/ButtonNavigationItem.css:
(body.mac-platform.legacy .navigation-bar .item.button.text-only): Deleted.
* UserInterface/Views/ButtonToolbarItem.css:
(body.mac-platform.legacy .toolbar .item.button > .label): Deleted.
* UserInterface/Views/CSSStyleDeclarationSection.css:
(body.mac-platform.legacy .style-declaration-section): Deleted.
(body.mac-platform.legacy .style-declaration-section + .style-declaration-section): Deleted.
(body.mac-platform.legacy .style-declaration-section.last-in-group): Deleted.
(body.mac-platform.legacy .style-declaration-section.last-in-group + .style-declaration-section): Deleted.
(body.mac-platform.legacy .style-declaration-section.last-in-group + .style-declaration-section:matches(.last-in-group, :last-child)): Deleted.
* UserInterface/Views/CSSStyleDetailsSidebarPanel.css:
(body.mac-platform.legacy .sidebar > .panel.details.css-style > .content): Deleted.
* UserInterface/Views/ContentBrowser.js:
(WebInspector.ContentBrowser):
* UserInterface/Views/ControlToolbarItem.css:
(body.mac-platform.legacy .toolbar .item.control): Deleted.
(body.mac-platform.legacy .toolbar .item.control:hover): Deleted.
* UserInterface/Views/DOMTreeContentView.js:
(WebInspector.DOMTreeContentView):
* UserInterface/Views/DOMTreeOutline.css:
(body.mac-platform.legacy .dom-tree-outline li.hovered:not(.selected) .selection): Deleted.
(body.mac-platform.legacy .dom-tree-outline li.elements-drag-over .selection): Deleted.
(body.mac-platform.legacy .dom-tree-outline:focus li.selected .selection): Deleted.
* UserInterface/Views/DashboardContainerView.css:
(body.mac-platform.legacy .toolbar .dashboard-container): Deleted.
(body.mac-platform.legacy.window-inactive .toolbar .dashboard-container): Deleted.
(body.mac-platform.legacy.window-inactive .toolbar .dashboard): Deleted.
(body.mac-platform.legacy .dashboard-container .advance-arrow): Deleted.
* UserInterface/Views/DataGrid.css:
(body.mac-platform.legacy .data-grid:focus tr.selected td:not(:last-child)): Deleted.
(body.mac-platform.legacy .data-grid:focus tr.selected): Deleted.
* UserInterface/Views/DataGrid.js:
(WebInspector.DataGrid.prototype.get _generateSortIndicatorImagesIfNeeded):
* UserInterface/Views/DatabaseTableContentView.js:
(WebInspector.DatabaseTableContentView):
* UserInterface/Views/DebuggerDashboardView.js:
(WebInspector.DebuggerDashboardView):
* UserInterface/Views/DebuggerSidebarPanel.css:
(body.mac-platform.legacy .sidebar > .panel.navigation.debugger > .content): Deleted.
* UserInterface/Views/DebuggerSidebarPanel.js:
* UserInterface/Views/DefaultDashboardView.css:
(body.mac-platform.legacy .toolbar .dashboard.default > .item): Deleted.
(body.mac-platform.legacy .toolbar .dashboard.default > .resourcesCount > img): Deleted.
(body.mac-platform.legacy .toolbar .dashboard.default > .logs > img): Deleted.
(body.mac-platform.legacy .toolbar .dashboard.default > .errors > img): Deleted.
(body.mac-platform.legacy .toolbar .dashboard.default > .errors.enabled > img): Deleted.
(body.mac-platform.legacy .toolbar .dashboard.default > .issues > img): Deleted.
(body.mac-platform.legacy .toolbar .dashboard.default > .issues.enabled > img): Deleted.
* UserInterface/Views/DetailsSection.css:
(body.mac-platform.legacy .details-section): Deleted.
(body.mac-platform.legacy .details-section .details-section): Deleted.
(body.mac-platform.legacy .details-section .details-section:first-child): Deleted.
(body.mac-platform.legacy .details-section > .header): Deleted.
(body.mac-platform.legacy .details-section .details-section > .header): Deleted.
(body.mac-platform.legacy .details-section .details-section.collapsed > .header): Deleted.
(body.mac-platform.legacy .details-section:not(.collapsed) .data-grid.inline): Deleted.
(body.mac-platform.legacy .details-section.computed-style-properties:not(.collapsed) > .header): Deleted.
(body.mac-platform.legacy .details-section > .content > .group): Deleted.
(body.mac-platform.legacy .details-section > .content > .group:nth-child(even)): Deleted.
(body.mac-platform.legacy .details-section > .content > .group:matches(:nth-child(even), :last-child) > .row.simple:last-child > *): Deleted.
(body.mac-platform.legacy .details-section > .content > .group > .row:matches(.empty, .text)): Deleted.
* UserInterface/Views/DividerNavigationItem.css:
(.navigation-bar .item.divider):
(body.mac-platform.legacy .navigation-bar .item.divider): Deleted.
* UserInterface/Views/FilterBar.css:
(.filter-bar > input[type="search"]::-webkit-search-decoration):
(body.mac-platform.legacy .filter-bar): Deleted.
(body.mac-platform.legacy .filter-bar > input[type="search"]): Deleted.
(body.mac-platform.legacy .filter-bar > input[type="search"]::-webkit-search-decoration): Deleted.
* UserInterface/Views/FindBanner.css:
(body.mac-platform.legacy .find-banner > input[type="search"]): Deleted.
(body.mac-platform.legacy .find-banner > button > .glyph): Deleted.
(body.mac-platform.legacy .find-banner > button.segmented.left > .glyph): Deleted.
(body.mac-platform.legacy .find-banner > button.segmented.right > .glyph): Deleted.
(body.mac-platform.legacy .find-banner > button.segmented): Deleted.
* UserInterface/Views/FindBanner.js:
(WebInspector.FindBanner.prototype._generateButtonsGlyphsIfNeeded):
(WebInspector.FindBanner):
* UserInterface/Views/FolderIcon.css:
(.folder-icon .icon):
(body.mac-platform.legacy .folder-icon .icon): Deleted.
* UserInterface/Views/HierarchicalPathComponent.css:
(body.mac-platform.legacy .hierarchical-path-component > .selector-arrows): Deleted.
* UserInterface/Views/IndexedDatabaseObjectStoreContentView.js:
(WebInspector.IndexedDatabaseObjectStoreContentView):
* UserInterface/Views/LayerTreeDetailsSidebarPanel.css:
(body.mac-platform.legacy .sidebar > .panel.details.layer-tree > .content): Deleted.
(body.mac-platform.legacy .panel.details.layer-tree .bottom-bar): Deleted.
(body.mac-platform.legacy .panel.details.layer-tree .bottom-bar > div): Deleted.
(body.mac-platform.legacy .layer-tree-popover): Deleted.
* UserInterface/Views/LogContentView.css:
(body.mac-platform.legacy .search-bar.log-search-bar > input[type="search"]): Deleted.
* UserInterface/Views/LogContentView.js:
(WebInspector.LogContentView):
* UserInterface/Views/Main.css:
(body.mac-platform.legacy:not(.docked)): Deleted.
(body.docked.bottom.mac-platform.legacy): Deleted.
(body.docked.right.mac-platform.legacy): Deleted.
(body.mac-platform.legacy #split-content-browser > .navigation-bar): Deleted.
* UserInterface/Views/NavigationBar.css:
(.navigation-bar .item):
(body.mac-platform.legacy .navigation-bar): Deleted.
(body.mac-platform.legacy .navigation-bar .item): Deleted.
* UserInterface/Views/NavigationSidebarPanel.css:
(body.mac-platform.legacy .sidebar > .panel.navigation > .content): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation > .overflow-shadow): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation > .overflow-shadow.top): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation > .empty-content-placeholder): Deleted.
(body.mac-platform.legacy .navigation-sidebar-panel-content-tree-outline .item.selected): Deleted.
(body.mac-platform.legacy .navigation-sidebar-panel-content-tree-outline:focus .item.selected): Deleted.
(body.mac-platform.legacy.window-inactive .navigation-sidebar-panel-content-tree-outline .item.selected): Deleted.
* UserInterface/Views/NavigationSidebarPanel.js:
(WebInspector.NavigationSidebarPanel.prototype._updateContentOverflowShadowVisibility):
(WebInspector.NavigationSidebarPanel.prototype._generateDisclosureTrianglesIfNeeded):
* UserInterface/Views/Popover.js:
* UserInterface/Views/ProbeDetailsSidebarPanel.css:
(body.mac-platform.legacy .details-section.probe-set .options > .probe-clear-samples): Deleted.
(body.mac-platform.legacy .details-section.probe-set .options > .probe-remove): Deleted.
(body.mac-platform.legacy .details-section.probe-set .options > .probe-add): Deleted.
* UserInterface/Views/QuickConsole.css:
(body.mac-platform.legacy .quick-console): Deleted.
* UserInterface/Views/RadioButtonNavigationItem.css:
(.navigation-bar .item.radio.button.text-only.selected:active):
(body.mac-platform.legacy .navigation-bar .item.radio.button.text-only:hover): Deleted.
(body.mac-platform.legacy .navigation-bar .item.radio.button.text-only.selected): Deleted.
(body.mac-platform.legacy .navigation-bar .item.radio.button.text-only.selected:active): Deleted.
* UserInterface/Views/RulesStyleDetailsPanel.css:
(body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .label + .style-declaration-section): Deleted.
(body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule): Deleted.
(body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule + .style-declaration-section): Deleted.
(body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule img): Deleted.
* UserInterface/Views/ScopeBar.css:
(.scope-bar > li.selected:active):
(body.mac-platform.legacy .scope-bar > li): Deleted.
(body.mac-platform.legacy .scope-bar > li:hover): Deleted.
(body.mac-platform.legacy .scope-bar > li.selected): Deleted.
(body.mac-platform.legacy .scope-bar > li:active): Deleted.
(body.mac-platform.legacy .scope-bar > li.selected:active): Deleted.
* UserInterface/Views/ScriptContentView.js:
(WebInspector.ScriptContentView):
* UserInterface/Views/SearchBar.css:
(body.mac-platform.legacy .search-bar > input[type="search"]): Deleted.
* UserInterface/Views/SearchSidebarPanel.css:
(.sidebar > .panel.navigation.search > .search-bar > input[type="search"]):
(body.mac-platform.legacy .sidebar > .panel.navigation.search > :matches(.content, .empty-content-placeholder)): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.search > .search-bar): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.search > .search-bar > input[type="search"]): Deleted.
* UserInterface/Views/Sidebar.css:
(body.window-inactive .sidebar.right):
(body.mac-platform.legacy .sidebar): Deleted.
(body.mac-platform.legacy.window-inactive .sidebar): Deleted.
(body.mac-platform.legacy .sidebar.right): Deleted.
* UserInterface/Views/TextContentView.js:
(WebInspector.TextContentView):
* UserInterface/Views/TextResourceContentView.js:
(WebInspector.TextResourceContentView):
* UserInterface/Views/TimelineDataGrid.css:
(body.mac-platform.legacy .data-grid.timeline > .navigation-bar-container > .navigation-bar): Deleted.
* UserInterface/Views/TimelineIcons.css:
(body.mac-platform.legacy .network-icon .icon): Deleted.
(body.mac-platform.legacy .network-icon.large .icon): Deleted.
(body.mac-platform.legacy .colors-icon .icon): Deleted.
(body.mac-platform.legacy .colors-icon.large .icon): Deleted.
* UserInterface/Views/TimelineRecordingContentView.js:
(WebInspector.TimelineRecordingContentView):
* UserInterface/Views/TimelineRuler.css:
(body.mac-platform.legacy .timeline-ruler > .header): Deleted.
(body.mac-platform.legacy .timeline-ruler > .selection-drag): Deleted.
(body.mac-platform.legacy .timeline-ruler > .selection-handle): Deleted.
* UserInterface/Views/TimelineSidebarPanel.css:
(.sidebar > .panel.navigation.timeline.timeline-recording-content-view-showing > .content):
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.recording): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph:hover): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.recording:hover): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.forced): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.recording.forced): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-status): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar.timelines): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar.timeline-events): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content .close-button): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content li.item.selected + li.item): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content :focus li.item.selected + li.item): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > :matches(.content, .empty-content-placeholder)): Deleted.
(body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .content .item > .status > .status-button): Deleted.
* UserInterface/Views/TimelineSidebarPanel.js:
(WebInspector.TimelineSidebarPanel):
* UserInterface/Views/Toolbar.css:
(body.mac-platform:not(.docked) .toolbar):
(body.mac-platform:not(.legacy, .docked) .toolbar): Deleted.
(body.mac-platform.legacy .toolbar): Deleted.
(body.mac-platform.legacy.docked .toolbar): Deleted.
(body.mac-platform.legacy:not(.docked) .toolbar .item.button > .label): Deleted.
(body.mac-platform.legacy.window-inactive .toolbar): Deleted.
* UserInterface/Views/TreeElementStatusButton.css:
(body.mac-platform.legacy .item > .status > .status-button > svg .filled): Deleted.
(body.mac-platform.legacy .item > .status > .status-button > svg .stroked): Deleted.

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

110 files changed:
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Base/ImageUtilities.js
Source/WebInspectorUI/UserInterface/Base/Main.js
Source/WebInspectorUI/UserInterface/Base/Platform.js
Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js
Source/WebInspectorUI/UserInterface/Images/Legacy/BackArrow.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Breakpoints.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Close.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/CloseLarge.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Colors.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Colors@2x.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/ColorsLarge.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/ColorsLarge@2x.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/DockBottom.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/DockRight.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/DownloadArrow.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Errors.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/ErrorsEnabled.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/FilterFieldGlyph.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/FolderGeneric.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/FolderGeneric@2x.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/ForwardArrow.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Issues.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/IssuesEnabled.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/LayerBorders.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Logs.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/NavigationItemCurleyBraces.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/NavigationItemTrash.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Network.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Network@2x.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/NetworkLarge.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/NetworkLarge@2x.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Pause.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Plus.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Recording.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Recording@2x.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingHovered.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingHovered@2x.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingStopped.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingStopped@2x.png [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Reload.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Resources.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Resume.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/ShadowDOM.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/SortIndicatorDownArrow.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/SortIndicatorUpArrow.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/SplitToggleDown.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/SplitToggleUp.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/StepInto.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/StepOut.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/StepOver.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Time.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Undock.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/UpDownArrows.svg [deleted file]
Source/WebInspectorUI/UserInterface/Images/Legacy/Weight.svg [deleted file]
Source/WebInspectorUI/UserInterface/Views/ButtonNavigationItem.css
Source/WebInspectorUI/UserInterface/Views/ButtonToolbarItem.css
Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css
Source/WebInspectorUI/UserInterface/Views/CSSStyleDetailsSidebarPanel.css
Source/WebInspectorUI/UserInterface/Views/ContentBrowser.js
Source/WebInspectorUI/UserInterface/Views/ControlToolbarItem.css
Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.js
Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css
Source/WebInspectorUI/UserInterface/Views/DashboardContainerView.css
Source/WebInspectorUI/UserInterface/Views/DataGrid.css
Source/WebInspectorUI/UserInterface/Views/DataGrid.js
Source/WebInspectorUI/UserInterface/Views/DatabaseTableContentView.js
Source/WebInspectorUI/UserInterface/Views/DebuggerDashboardView.js
Source/WebInspectorUI/UserInterface/Views/DebuggerSidebarPanel.css
Source/WebInspectorUI/UserInterface/Views/DebuggerSidebarPanel.js
Source/WebInspectorUI/UserInterface/Views/DefaultDashboardView.css
Source/WebInspectorUI/UserInterface/Views/DetailsSection.css
Source/WebInspectorUI/UserInterface/Views/DividerNavigationItem.css
Source/WebInspectorUI/UserInterface/Views/FilterBar.css
Source/WebInspectorUI/UserInterface/Views/FindBanner.css
Source/WebInspectorUI/UserInterface/Views/FindBanner.js
Source/WebInspectorUI/UserInterface/Views/FolderIcon.css
Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css
Source/WebInspectorUI/UserInterface/Views/IndexedDatabaseObjectStoreContentView.js
Source/WebInspectorUI/UserInterface/Views/LayerTreeDetailsSidebarPanel.css
Source/WebInspectorUI/UserInterface/Views/LogContentView.css
Source/WebInspectorUI/UserInterface/Views/LogContentView.js
Source/WebInspectorUI/UserInterface/Views/Main.css
Source/WebInspectorUI/UserInterface/Views/NavigationBar.css
Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.css
Source/WebInspectorUI/UserInterface/Views/NavigationSidebarPanel.js
Source/WebInspectorUI/UserInterface/Views/NetworkTimelineView.js
Source/WebInspectorUI/UserInterface/Views/OverviewTimelineView.js
Source/WebInspectorUI/UserInterface/Views/Popover.js
Source/WebInspectorUI/UserInterface/Views/ProbeDetailsSidebarPanel.css
Source/WebInspectorUI/UserInterface/Views/QuickConsole.css
Source/WebInspectorUI/UserInterface/Views/RadioButtonNavigationItem.css
Source/WebInspectorUI/UserInterface/Views/RulesStyleDetailsPanel.css
Source/WebInspectorUI/UserInterface/Views/ScopeBar.css
Source/WebInspectorUI/UserInterface/Views/ScriptContentView.js
Source/WebInspectorUI/UserInterface/Views/SearchBar.css
Source/WebInspectorUI/UserInterface/Views/SearchSidebarPanel.css
Source/WebInspectorUI/UserInterface/Views/Sidebar.css
Source/WebInspectorUI/UserInterface/Views/TabBrowser.js
Source/WebInspectorUI/UserInterface/Views/TextContentView.js
Source/WebInspectorUI/UserInterface/Views/TextResourceContentView.js
Source/WebInspectorUI/UserInterface/Views/TimelineDataGrid.css
Source/WebInspectorUI/UserInterface/Views/TimelineIcons.css
Source/WebInspectorUI/UserInterface/Views/TimelineRecordingContentView.js
Source/WebInspectorUI/UserInterface/Views/TimelineRuler.css
Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.css
Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.js
Source/WebInspectorUI/UserInterface/Views/TimelineView.js
Source/WebInspectorUI/UserInterface/Views/Toolbar.css
Source/WebInspectorUI/UserInterface/Views/TreeElementStatusButton.css

index 66f2bd0..2db82fc 100644 (file)
@@ -1,3 +1,270 @@
+2015-04-29  Timothy Hatcher  <timothy@apple.com>
+
+        Web Inspector: Remove Legacy images and styles
+        https://bugs.webkit.org/show_bug.cgi?id=144390
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Base/ImageUtilities.js:
+        (.generateImage):
+        (.generateImage.generateLegacyImage): Deleted.
+        * UserInterface/Base/Main.js:
+        (WebInspector.contentLoaded):
+        (WebInspector._updateToolbarHeight):
+        * UserInterface/Base/Platform.js:
+        * UserInterface/Controllers/TimelineManager.js:
+        (WebInspector.TimelineManager.prototype._loadNewRecording):
+        * UserInterface/Images/Legacy/BackArrow.svg: Removed.
+        * UserInterface/Images/Legacy/Breakpoints.svg: Removed.
+        * UserInterface/Images/Legacy/Close.svg: Removed.
+        * UserInterface/Images/Legacy/CloseLarge.svg: Removed.
+        * UserInterface/Images/Legacy/Colors.png: Removed.
+        * UserInterface/Images/Legacy/Colors@2x.png: Removed.
+        * UserInterface/Images/Legacy/ColorsLarge.png: Removed.
+        * UserInterface/Images/Legacy/ColorsLarge@2x.png: Removed.
+        * UserInterface/Images/Legacy/DockBottom.svg: Removed.
+        * UserInterface/Images/Legacy/DockRight.svg: Removed.
+        * UserInterface/Images/Legacy/DownloadArrow.svg: Removed.
+        * UserInterface/Images/Legacy/Errors.svg: Removed.
+        * UserInterface/Images/Legacy/ErrorsEnabled.svg: Removed.
+        * UserInterface/Images/Legacy/FilterFieldGlyph.svg: Removed.
+        * UserInterface/Images/Legacy/FolderGeneric.png: Removed.
+        * UserInterface/Images/Legacy/FolderGeneric@2x.png: Removed.
+        * UserInterface/Images/Legacy/ForwardArrow.svg: Removed.
+        * UserInterface/Images/Legacy/Issues.svg: Removed.
+        * UserInterface/Images/Legacy/IssuesEnabled.svg: Removed.
+        * UserInterface/Images/Legacy/LayerBorders.svg: Removed.
+        * UserInterface/Images/Legacy/Logs.svg: Removed.
+        * UserInterface/Images/Legacy/NavigationItemCurleyBraces.svg: Removed.
+        * UserInterface/Images/Legacy/NavigationItemTrash.svg: Removed.
+        * UserInterface/Images/Legacy/Network.png: Removed.
+        * UserInterface/Images/Legacy/Network@2x.png: Removed.
+        * UserInterface/Images/Legacy/NetworkLarge.png: Removed.
+        * UserInterface/Images/Legacy/NetworkLarge@2x.png: Removed.
+        * UserInterface/Images/Legacy/Pause.svg: Removed.
+        * UserInterface/Images/Legacy/Plus.svg: Removed.
+        * UserInterface/Images/Legacy/Recording.png: Removed.
+        * UserInterface/Images/Legacy/Recording@2x.png: Removed.
+        * UserInterface/Images/Legacy/RecordingHovered.png: Removed.
+        * UserInterface/Images/Legacy/RecordingHovered@2x.png: Removed.
+        * UserInterface/Images/Legacy/RecordingStopped.png: Removed.
+        * UserInterface/Images/Legacy/RecordingStopped@2x.png: Removed.
+        * UserInterface/Images/Legacy/Reload.svg: Removed.
+        * UserInterface/Images/Legacy/Resources.svg: Removed.
+        * UserInterface/Images/Legacy/Resume.svg: Removed.
+        * UserInterface/Images/Legacy/ShadowDOM.svg: Removed.
+        * UserInterface/Images/Legacy/SortIndicatorDownArrow.svg: Removed.
+        * UserInterface/Images/Legacy/SortIndicatorUpArrow.svg: Removed.
+        * UserInterface/Images/Legacy/SplitToggleDown.svg: Removed.
+        * UserInterface/Images/Legacy/SplitToggleUp.svg: Removed.
+        * UserInterface/Images/Legacy/StepInto.svg: Removed.
+        * UserInterface/Images/Legacy/StepOut.svg: Removed.
+        * UserInterface/Images/Legacy/StepOver.svg: Removed.
+        * UserInterface/Images/Legacy/Time.svg: Removed.
+        * UserInterface/Images/Legacy/Undock.svg: Removed.
+        * UserInterface/Images/Legacy/UpDownArrows.svg: Removed.
+        * UserInterface/Images/Legacy/Weight.svg: Removed.
+        * UserInterface/Views/ButtonNavigationItem.css:
+        (body.mac-platform.legacy .navigation-bar .item.button.text-only): Deleted.
+        * UserInterface/Views/ButtonToolbarItem.css:
+        (body.mac-platform.legacy .toolbar .item.button > .label): Deleted.
+        * UserInterface/Views/CSSStyleDeclarationSection.css:
+        (body.mac-platform.legacy .style-declaration-section): Deleted.
+        (body.mac-platform.legacy .style-declaration-section + .style-declaration-section): Deleted.
+        (body.mac-platform.legacy .style-declaration-section.last-in-group): Deleted.
+        (body.mac-platform.legacy .style-declaration-section.last-in-group + .style-declaration-section): Deleted.
+        (body.mac-platform.legacy .style-declaration-section.last-in-group + .style-declaration-section:matches(.last-in-group, :last-child)): Deleted.
+        * UserInterface/Views/CSSStyleDetailsSidebarPanel.css:
+        (body.mac-platform.legacy .sidebar > .panel.details.css-style > .content): Deleted.
+        * UserInterface/Views/ContentBrowser.js:
+        (WebInspector.ContentBrowser):
+        * UserInterface/Views/ControlToolbarItem.css:
+        (body.mac-platform.legacy .toolbar .item.control): Deleted.
+        (body.mac-platform.legacy .toolbar .item.control:hover): Deleted.
+        * UserInterface/Views/DOMTreeContentView.js:
+        (WebInspector.DOMTreeContentView):
+        * UserInterface/Views/DOMTreeOutline.css:
+        (body.mac-platform.legacy .dom-tree-outline li.hovered:not(.selected) .selection): Deleted.
+        (body.mac-platform.legacy .dom-tree-outline li.elements-drag-over .selection): Deleted.
+        (body.mac-platform.legacy .dom-tree-outline:focus li.selected .selection): Deleted.
+        * UserInterface/Views/DashboardContainerView.css:
+        (body.mac-platform.legacy .toolbar .dashboard-container): Deleted.
+        (body.mac-platform.legacy.window-inactive .toolbar .dashboard-container): Deleted.
+        (body.mac-platform.legacy.window-inactive .toolbar .dashboard): Deleted.
+        (body.mac-platform.legacy .dashboard-container .advance-arrow): Deleted.
+        * UserInterface/Views/DataGrid.css:
+        (body.mac-platform.legacy .data-grid:focus tr.selected td:not(:last-child)): Deleted.
+        (body.mac-platform.legacy .data-grid:focus tr.selected): Deleted.
+        * UserInterface/Views/DataGrid.js:
+        (WebInspector.DataGrid.prototype.get _generateSortIndicatorImagesIfNeeded):
+        * UserInterface/Views/DatabaseTableContentView.js:
+        (WebInspector.DatabaseTableContentView):
+        * UserInterface/Views/DebuggerDashboardView.js:
+        (WebInspector.DebuggerDashboardView):
+        * UserInterface/Views/DebuggerSidebarPanel.css:
+        (body.mac-platform.legacy .sidebar > .panel.navigation.debugger > .content): Deleted.
+        * UserInterface/Views/DebuggerSidebarPanel.js:
+        * UserInterface/Views/DefaultDashboardView.css:
+        (body.mac-platform.legacy .toolbar .dashboard.default > .item): Deleted.
+        (body.mac-platform.legacy .toolbar .dashboard.default > .resourcesCount > img): Deleted.
+        (body.mac-platform.legacy .toolbar .dashboard.default > .logs > img): Deleted.
+        (body.mac-platform.legacy .toolbar .dashboard.default > .errors > img): Deleted.
+        (body.mac-platform.legacy .toolbar .dashboard.default > .errors.enabled > img): Deleted.
+        (body.mac-platform.legacy .toolbar .dashboard.default > .issues > img): Deleted.
+        (body.mac-platform.legacy .toolbar .dashboard.default > .issues.enabled > img): Deleted.
+        * UserInterface/Views/DetailsSection.css:
+        (body.mac-platform.legacy .details-section): Deleted.
+        (body.mac-platform.legacy .details-section .details-section): Deleted.
+        (body.mac-platform.legacy .details-section .details-section:first-child): Deleted.
+        (body.mac-platform.legacy .details-section > .header): Deleted.
+        (body.mac-platform.legacy .details-section .details-section > .header): Deleted.
+        (body.mac-platform.legacy .details-section .details-section.collapsed > .header): Deleted.
+        (body.mac-platform.legacy .details-section:not(.collapsed) .data-grid.inline): Deleted.
+        (body.mac-platform.legacy .details-section.computed-style-properties:not(.collapsed) > .header): Deleted.
+        (body.mac-platform.legacy .details-section > .content > .group): Deleted.
+        (body.mac-platform.legacy .details-section > .content > .group:nth-child(even)): Deleted.
+        (body.mac-platform.legacy .details-section > .content > .group:matches(:nth-child(even), :last-child) > .row.simple:last-child > *): Deleted.
+        (body.mac-platform.legacy .details-section > .content > .group > .row:matches(.empty, .text)): Deleted.
+        * UserInterface/Views/DividerNavigationItem.css:
+        (.navigation-bar .item.divider):
+        (body.mac-platform.legacy .navigation-bar .item.divider): Deleted.
+        * UserInterface/Views/FilterBar.css:
+        (.filter-bar > input[type="search"]::-webkit-search-decoration):
+        (body.mac-platform.legacy .filter-bar): Deleted.
+        (body.mac-platform.legacy .filter-bar > input[type="search"]): Deleted.
+        (body.mac-platform.legacy .filter-bar > input[type="search"]::-webkit-search-decoration): Deleted.
+        * UserInterface/Views/FindBanner.css:
+        (body.mac-platform.legacy .find-banner > input[type="search"]): Deleted.
+        (body.mac-platform.legacy .find-banner > button > .glyph): Deleted.
+        (body.mac-platform.legacy .find-banner > button.segmented.left > .glyph): Deleted.
+        (body.mac-platform.legacy .find-banner > button.segmented.right > .glyph): Deleted.
+        (body.mac-platform.legacy .find-banner > button.segmented): Deleted.
+        * UserInterface/Views/FindBanner.js:
+        (WebInspector.FindBanner.prototype._generateButtonsGlyphsIfNeeded):
+        (WebInspector.FindBanner):
+        * UserInterface/Views/FolderIcon.css:
+        (.folder-icon .icon):
+        (body.mac-platform.legacy .folder-icon .icon): Deleted.
+        * UserInterface/Views/HierarchicalPathComponent.css:
+        (body.mac-platform.legacy .hierarchical-path-component > .selector-arrows): Deleted.
+        * UserInterface/Views/IndexedDatabaseObjectStoreContentView.js:
+        (WebInspector.IndexedDatabaseObjectStoreContentView):
+        * UserInterface/Views/LayerTreeDetailsSidebarPanel.css:
+        (body.mac-platform.legacy .sidebar > .panel.details.layer-tree > .content): Deleted.
+        (body.mac-platform.legacy .panel.details.layer-tree .bottom-bar): Deleted.
+        (body.mac-platform.legacy .panel.details.layer-tree .bottom-bar > div): Deleted.
+        (body.mac-platform.legacy .layer-tree-popover): Deleted.
+        * UserInterface/Views/LogContentView.css:
+        (body.mac-platform.legacy .search-bar.log-search-bar > input[type="search"]): Deleted.
+        * UserInterface/Views/LogContentView.js:
+        (WebInspector.LogContentView):
+        * UserInterface/Views/Main.css:
+        (body.mac-platform.legacy:not(.docked)): Deleted.
+        (body.docked.bottom.mac-platform.legacy): Deleted.
+        (body.docked.right.mac-platform.legacy): Deleted.
+        (body.mac-platform.legacy #split-content-browser > .navigation-bar): Deleted.
+        * UserInterface/Views/NavigationBar.css:
+        (.navigation-bar .item):
+        (body.mac-platform.legacy .navigation-bar): Deleted.
+        (body.mac-platform.legacy .navigation-bar .item): Deleted.
+        * UserInterface/Views/NavigationSidebarPanel.css:
+        (body.mac-platform.legacy .sidebar > .panel.navigation > .content): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation > .overflow-shadow): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation > .overflow-shadow.top): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation > .empty-content-placeholder): Deleted.
+        (body.mac-platform.legacy .navigation-sidebar-panel-content-tree-outline .item.selected): Deleted.
+        (body.mac-platform.legacy .navigation-sidebar-panel-content-tree-outline:focus .item.selected): Deleted.
+        (body.mac-platform.legacy.window-inactive .navigation-sidebar-panel-content-tree-outline .item.selected): Deleted.
+        * UserInterface/Views/NavigationSidebarPanel.js:
+        (WebInspector.NavigationSidebarPanel.prototype._updateContentOverflowShadowVisibility):
+        (WebInspector.NavigationSidebarPanel.prototype._generateDisclosureTrianglesIfNeeded):
+        * UserInterface/Views/Popover.js:
+        * UserInterface/Views/ProbeDetailsSidebarPanel.css:
+        (body.mac-platform.legacy .details-section.probe-set .options > .probe-clear-samples): Deleted.
+        (body.mac-platform.legacy .details-section.probe-set .options > .probe-remove): Deleted.
+        (body.mac-platform.legacy .details-section.probe-set .options > .probe-add): Deleted.
+        * UserInterface/Views/QuickConsole.css:
+        (body.mac-platform.legacy .quick-console): Deleted.
+        * UserInterface/Views/RadioButtonNavigationItem.css:
+        (.navigation-bar .item.radio.button.text-only.selected:active):
+        (body.mac-platform.legacy .navigation-bar .item.radio.button.text-only:hover): Deleted.
+        (body.mac-platform.legacy .navigation-bar .item.radio.button.text-only.selected): Deleted.
+        (body.mac-platform.legacy .navigation-bar .item.radio.button.text-only.selected:active): Deleted.
+        * UserInterface/Views/RulesStyleDetailsPanel.css:
+        (body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .label + .style-declaration-section): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule + .style-declaration-section): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule img): Deleted.
+        * UserInterface/Views/ScopeBar.css:
+        (.scope-bar > li.selected:active):
+        (body.mac-platform.legacy .scope-bar > li): Deleted.
+        (body.mac-platform.legacy .scope-bar > li:hover): Deleted.
+        (body.mac-platform.legacy .scope-bar > li.selected): Deleted.
+        (body.mac-platform.legacy .scope-bar > li:active): Deleted.
+        (body.mac-platform.legacy .scope-bar > li.selected:active): Deleted.
+        * UserInterface/Views/ScriptContentView.js:
+        (WebInspector.ScriptContentView):
+        * UserInterface/Views/SearchBar.css:
+        (body.mac-platform.legacy .search-bar > input[type="search"]): Deleted.
+        * UserInterface/Views/SearchSidebarPanel.css:
+        (.sidebar > .panel.navigation.search > .search-bar > input[type="search"]):
+        (body.mac-platform.legacy .sidebar > .panel.navigation.search > :matches(.content, .empty-content-placeholder)): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.search > .search-bar): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.search > .search-bar > input[type="search"]): Deleted.
+        * UserInterface/Views/Sidebar.css:
+        (body.window-inactive .sidebar.right):
+        (body.mac-platform.legacy .sidebar): Deleted.
+        (body.mac-platform.legacy.window-inactive .sidebar): Deleted.
+        (body.mac-platform.legacy .sidebar.right): Deleted.
+        * UserInterface/Views/TextContentView.js:
+        (WebInspector.TextContentView):
+        * UserInterface/Views/TextResourceContentView.js:
+        (WebInspector.TextResourceContentView):
+        * UserInterface/Views/TimelineDataGrid.css:
+        (body.mac-platform.legacy .data-grid.timeline > .navigation-bar-container > .navigation-bar): Deleted.
+        * UserInterface/Views/TimelineIcons.css:
+        (body.mac-platform.legacy .network-icon .icon): Deleted.
+        (body.mac-platform.legacy .network-icon.large .icon): Deleted.
+        (body.mac-platform.legacy .colors-icon .icon): Deleted.
+        (body.mac-platform.legacy .colors-icon.large .icon): Deleted.
+        * UserInterface/Views/TimelineRecordingContentView.js:
+        (WebInspector.TimelineRecordingContentView):
+        * UserInterface/Views/TimelineRuler.css:
+        (body.mac-platform.legacy .timeline-ruler > .header): Deleted.
+        (body.mac-platform.legacy .timeline-ruler > .selection-drag): Deleted.
+        (body.mac-platform.legacy .timeline-ruler > .selection-handle): Deleted.
+        * UserInterface/Views/TimelineSidebarPanel.css:
+        (.sidebar > .panel.navigation.timeline.timeline-recording-content-view-showing > .content):
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.recording): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph:hover): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.recording:hover): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.forced): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.recording.forced): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-status): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar.timelines): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar.timeline-events): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content .close-button): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content li.item.selected + li.item): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content :focus li.item.selected + li.item): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > :matches(.content, .empty-content-placeholder)): Deleted.
+        (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .content .item > .status > .status-button): Deleted.
+        * UserInterface/Views/TimelineSidebarPanel.js:
+        (WebInspector.TimelineSidebarPanel):
+        * UserInterface/Views/Toolbar.css:
+        (body.mac-platform:not(.docked) .toolbar):
+        (body.mac-platform:not(.legacy, .docked) .toolbar): Deleted.
+        (body.mac-platform.legacy .toolbar): Deleted.
+        (body.mac-platform.legacy.docked .toolbar): Deleted.
+        (body.mac-platform.legacy:not(.docked) .toolbar .item.button > .label): Deleted.
+        (body.mac-platform.legacy.window-inactive .toolbar): Deleted.
+        * UserInterface/Views/TreeElementStatusButton.css:
+        (body.mac-platform.legacy .item > .status > .status-button > svg .filled): Deleted.
+        (body.mac-platform.legacy .item > .status > .status-button > svg .stroked): Deleted.
+
 2015-04-29  Andres Gomez  <agomez@igalia.com>
 
         [GTK] Web Inspector: Optimize SVG images
index 6cd83be..e363e3e 100644 (file)
@@ -111,13 +111,6 @@ function _prefetchCachedImagesAndUpdate()
     }, _logSQLTransactionError);
 }
 
-function platformImagePath(fileName)
-{
-    if (WebInspector.Platform.isLegacyMacOS)
-        return "Images/Legacy/" + fileName;
-    return "Images/" + fileName;
-}
-
 function saveImageToStorage(storageKey, context, width, height, imageVersion)
 {
     console.assert(storageKey);
@@ -498,148 +491,39 @@ function generateEmbossedImages(src, width, height, states, canvasIdentifierCall
 
     function generateImage(state)
     {
-        function generateModernImage()
-        {
-            const context = document.getCSSCanvasContext("2d", canvasIdentifierCallback(state), scaledWidth, scaledHeight);
-            context.save();
-            context.scale(scaleFactor, scaleFactor);
-
-            context.clearRect(0, 0, width, height);
-
-            var gradient = context.createLinearGradient(0, 0, 0, height);
-            if (state === states.Active) {
-                gradient.addColorStop(0, "rgb(65, 65, 65)");
-                gradient.addColorStop(1, "rgb(70, 70, 70)");
-            } else if (state === states.Focus) {
-                gradient.addColorStop(0, "rgb(0, 123, 247)");
-                gradient.addColorStop(1, "rgb(0, 128, 252)");
-            } else if (state === states.ActiveFocus) {
-                gradient.addColorStop(0, "rgb(0, 62, 210)");
-                gradient.addColorStop(1, "rgb(0, 67, 215)");
-            } else {
-                gradient.addColorStop(0, "rgb(75, 75, 75)");
-                gradient.addColorStop(1, "rgb(80, 80, 80)");
-            }
-
-            context.fillStyle = gradient;
-            context.fillRect(0, 0, width, height);
-
-            // Apply the mask to keep just the inner shape of the glyph.
-            _applyImageMask(context, image);
-
-            if (!ignoreCache) {
-                const storageKey = storageKeyPrefix + canvasIdentifierCallback(state);
-                saveImageToStorage(storageKey, context, scaledWidth, scaledHeight, imageVersion);
-            }
+        const context = document.getCSSCanvasContext("2d", canvasIdentifierCallback(state), scaledWidth, scaledHeight);
+        context.save();
+        context.scale(scaleFactor, scaleFactor);
 
-            context.restore();
+        context.clearRect(0, 0, width, height);
+
+        var gradient = context.createLinearGradient(0, 0, 0, height);
+        if (state === states.Active) {
+            gradient.addColorStop(0, "rgb(65, 65, 65)");
+            gradient.addColorStop(1, "rgb(70, 70, 70)");
+        } else if (state === states.Focus) {
+            gradient.addColorStop(0, "rgb(0, 123, 247)");
+            gradient.addColorStop(1, "rgb(0, 128, 252)");
+        } else if (state === states.ActiveFocus) {
+            gradient.addColorStop(0, "rgb(0, 62, 210)");
+            gradient.addColorStop(1, "rgb(0, 67, 215)");
+        } else {
+            gradient.addColorStop(0, "rgb(75, 75, 75)");
+            gradient.addColorStop(1, "rgb(80, 80, 80)");
         }
 
-        function generateLegacyImage()
-        {
-            const depth = 1 * scaleFactor;
-            const shadowDepth = depth;
-            const shadowBlur = depth - 1;
-            const glowBlur = 2;
-
-            const context = document.getCSSCanvasContext("2d", canvasIdentifierCallback(state), scaledWidth, scaledHeight);
-            context.save();
-            context.scale(scaleFactor, scaleFactor);
+        context.fillStyle = gradient;
+        context.fillRect(0, 0, width, height);
 
-            context.clearRect(0, 0, width, height);
+        // Apply the mask to keep just the inner shape of the glyph.
+        _applyImageMask(context, image);
 
-            if (depth > 0) {
-                // Use scratch canvas so we can apply the draw the white drop shadow
-                // to the whole glyph at the end.
-
-                var scratchCanvas = document.createElement("canvas");
-                scratchCanvas.width = scaledWidth;
-                scratchCanvas.height = scaledHeight;
-
-                var scratchContext = scratchCanvas.getContext("2d");
-                scratchContext.scale(scaleFactor, scaleFactor);
-            } else
-                var scratchContext = context;
-
-            var gradient = scratchContext.createLinearGradient(0, 0, 0, height);
-            if (state === states.Active) {
-                gradient.addColorStop(0, "rgb(60, 60, 60)");
-                gradient.addColorStop(1, "rgb(100, 100, 100)");
-            } else if (state === states.Focus) {
-                gradient.addColorStop(0, "rgb(50, 135, 200)");
-                gradient.addColorStop(1, "rgb(60, 155, 225)");
-            } else if (state === states.ActiveFocus) {
-                gradient.addColorStop(0, "rgb(30, 115, 185)");
-                gradient.addColorStop(1, "rgb(40, 135, 200)");
-            } else {
-                gradient.addColorStop(0, "rgb(90, 90, 90)");
-                gradient.addColorStop(1, "rgb(145, 145, 145)");
-            }
-
-            scratchContext.fillStyle = gradient;
-            scratchContext.fillRect(0, 0, width, height);
-
-            if (depth > 0) {
-                // Invert the image to use as a reverse image mask for the inner shadows.
-                // Pass in the color to use for the opaque areas to prevent "black halos"
-                // later when applying the final image mask.
-
-                if (state === states.Active)
-                    var invertedImage = _invertMaskImage(image, 60, 60, 60);
-                else if (state === states.Focus)
-                    var invertedImage = _invertMaskImage(image, 45, 145, 210);
-                else if (state === states.ActiveFocus)
-                    var invertedImage = _invertMaskImage(image, 35, 125, 195);
-                else
-                    var invertedImage = _invertMaskImage(image, 90, 90, 90);
-
-                if (state === states.Focus) {
-                    // Double draw the blurry inner shadow to get the right effect.
-                    _drawImageShadow(scratchContext, 0, 0, shadowDepth, "rgb(10, 95, 150)", invertedImage);
-                    _drawImageShadow(scratchContext, 0, 0, shadowDepth, "rgb(10, 95, 150)", invertedImage);
-
-                    // Draw the inner shadow.
-                    _drawImageShadow(scratchContext, 0, shadowDepth, shadowBlur, "rgb(0, 80, 170)", invertedImage);
-                } else if (state === states.ActiveFocus) {
-                    // Double draw the blurry inner shadow to get the right effect.
-                    _drawImageShadow(scratchContext, 0, 0, shadowDepth, "rgb(0, 80, 100)", invertedImage);
-                    _drawImageShadow(scratchContext, 0, 0, shadowDepth, "rgb(0, 80, 100)", invertedImage);
-
-                    // Draw the inner shadow.
-                    _drawImageShadow(scratchContext, 0, shadowDepth, shadowBlur, "rgb(0, 65, 150)", invertedImage);
-                } else {
-                    // Double draw the blurry inner shadow to get the right effect.
-                    _drawImageShadow(scratchContext, 0, 0, shadowDepth, "rgba(0, 0, 0, 1)", invertedImage);
-                    _drawImageShadow(scratchContext, 0, 0, shadowDepth, "rgba(0, 0, 0, 1)", invertedImage);
-
-                    // Draw the inner shadow.
-                    _drawImageShadow(scratchContext, 0, shadowDepth, shadowBlur, "rgba(0, 0, 0, 0.6)", invertedImage);
-                }
-            }
-
-            // Apply the mask to keep just the inner shape of the glyph.
-            _applyImageMask(scratchContext, image);
-
-            // Draw the white drop shadow.
-            if (depth > 0)
-                _drawImageShadow(context, 0, shadowDepth, shadowBlur, "rgba(255, 255, 255, 0.6)", scratchCanvas);
-
-            // Draw a subtle glow for the focus states.
-            if (state === states.Focus || state === states.ActiveFocus)
-                _drawImageShadow(context, 0, 0, glowBlur, "rgba(20, 100, 220, 0.4)", scratchCanvas);
-
-            if (!ignoreCache) {
-                const storageKey = storageKeyPrefix + canvasIdentifierCallback(state);
-                saveImageToStorage(storageKey, context, scaledWidth, scaledHeight, imageVersion);
-            }
-
-            context.restore();
+        if (!ignoreCache) {
+            const storageKey = storageKeyPrefix + canvasIdentifierCallback(state);
+            saveImageToStorage(storageKey, context, scaledWidth, scaledHeight, imageVersion);
         }
 
-        if (WebInspector.Platform.isLegacyMacOS)
-            generateLegacyImage();
-        else
-            generateModernImage();
+        context.restore();
     }
 
     function _drawImageShadow(context, xOffset, yOffset, blur, color, image) {
index 99214e3..07f2c0b 100644 (file)
@@ -184,8 +184,6 @@ WebInspector.contentLoaded = function()
     document.body.classList.add(WebInspector.Platform.name + "-platform");
     if (WebInspector.Platform.isNightlyBuild)
         document.body.classList.add("nightly-build");
-    if (WebInspector.Platform.isLegacyMacOS)
-        document.body.classList.add("legacy");
     if (WebInspector.Platform.version.name)
         document.body.classList.add(WebInspector.Platform.version.name);
 
@@ -254,7 +252,7 @@ WebInspector.contentLoaded = function()
     this.stepIntoAlternateKeyboardShortcut = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.CommandOrControl, WebInspector.KeyboardShortcut.Key.Semicolon, this.debuggerStepInto.bind(this));
     this.stepOutAlternateKeyboardShortcut = new WebInspector.KeyboardShortcut(WebInspector.KeyboardShortcut.Modifier.Shift | WebInspector.KeyboardShortcut.Modifier.CommandOrControl, WebInspector.KeyboardShortcut.Key.Semicolon, this.debuggerStepOut.bind(this));
 
-    this._closeToolbarButton = new WebInspector.ControlToolbarItem("dock-close", WebInspector.UIString("Close"), platformImagePath("Close.svg"), 16, 14);
+    this._closeToolbarButton = new WebInspector.ControlToolbarItem("dock-close", WebInspector.UIString("Close"), "Images/Close.svg", 16, 14);
     this._closeToolbarButton.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this.close, this);
 
     this._undockToolbarButton = new WebInspector.ButtonToolbarItem("undock", WebInspector.UIString("Detach into separate window"), null, "Images/Undock.svg");
@@ -1232,7 +1230,7 @@ WebInspector._sidebarWidthDidChange = function(event)
 
 WebInspector._updateToolbarHeight = function()
 {
-    if (WebInspector.Platform.isLegacyMacOS)
+    if (WebInspector.Platform.name === "mac" && WebInspector.Platform.version.release < 10)
         InspectorFrontendHost.setToolbarHeight(this.toolbar.element.offsetHeight);
 };
 
index 67782b3..39d4995 100644 (file)
@@ -25,7 +25,6 @@
 
 WebInspector.Platform = {
     name: InspectorFrontendHost.platform(),
-    isLegacyMacOS: false,
     isNightlyBuild: false,
     version: {
         base: 0,
@@ -51,12 +50,10 @@ WebInspector.Platform = {
             case "9":
                 WebInspector.Platform.version.name = "mavericks";
                 WebInspector.Platform.version.release = 9;
-                WebInspector.Platform.isLegacyMacOS = true;
                 break;
             case "8":
                 WebInspector.Platform.version.name = "mountain-lion";
                 WebInspector.Platform.version.release = 8;
-                WebInspector.Platform.isLegacyMacOS = true;
                 break;
             default:
                 WebInspector.Platform.version.name = "unknown-mac";
index 190dc72..335a850 100644 (file)
@@ -442,7 +442,6 @@ WebInspector.TimelineManager = class TimelineManager extends WebInspector.Object
         if (oldRecording)
             oldRecording.unloaded();
 
-        this._legacyFirstRecordedTimestamp = NaN;
         this._activeRecording = newRecording;
         this.dispatchEventToListeners(WebInspector.TimelineManager.Event.RecordingLoaded, {oldRecording});
     }
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/BackArrow.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/BackArrow.svg
deleted file mode 100644 (file)
index e1f590e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9">
-    <path d="M 9 0 L 0.484375 4.484375 L 9 9 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Breakpoints.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Breakpoints.svg
deleted file mode 100644 (file)
index f6549e1..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 2 12 L 2 4 L 10.988281 4 L 15 8 L 10.988281 12 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Close.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Close.svg
deleted file mode 100644 (file)
index 3bceef1..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 14">
-    <path class="filled" d="M 12.949219 10.535156 L 11.535156 11.949219 L 8 8.414062 L 4.464844 11.949219 L 3.050781 10.535156 L 6.585938 7 L 3.050781 3.464844 L 4.464844 2.050781 L 8 5.585938 L 11.535156 2.050781 L 12.949219 3.464844 L 9.414062 7 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/CloseLarge.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/CloseLarge.svg
deleted file mode 100644 (file)
index 54c280a..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2014 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path class="stroked" fill="none" stroke="black" stroke-width="2" stroke-linecap="square" d="M 1.5 2.5 L 12.5 13.5 M 1.5 13.5 L 12.5 2.5"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Colors.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/Colors.png
deleted file mode 100644 (file)
index 2fc3736..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/Colors.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Colors@2x.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/Colors@2x.png
deleted file mode 100644 (file)
index 7b33f43..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/Colors@2x.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/ColorsLarge.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/ColorsLarge.png
deleted file mode 100644 (file)
index 3698f98..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/ColorsLarge.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/ColorsLarge@2x.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/ColorsLarge@2x.png
deleted file mode 100644 (file)
index 82e6241..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/ColorsLarge@2x.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/DockBottom.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/DockBottom.svg
deleted file mode 100644 (file)
index 0e025ae..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 14">
-    <path d="M 4.007812 1 L 11.992188 1 C 13.097656 1 14 1.898438 14 3.007812 L 14 10.992188 C 14 12.097656 13.101562 13 11.992188 13 L 4.007812 13 C 2.902344 13 2 12.101562 2 10.992188 L 2 3.007812 C 2 1.902344 2.898438 1 4.007812 1 Z M 4.996094 7 C 4.445312 7 4 7.441406 4 8.007812 L 4 9.992188 C 4 10.546875 4.453125 11 4.996094 11 L 11.003906 11 C 11.554688 11 12 10.558594 12 9.992188 L 12 8.007812 C 12 7.453125 11.546875 7 11.003906 7 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/DockRight.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/DockRight.svg
deleted file mode 100644 (file)
index 1b25295..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 14">
-    <path d="M 4.007812 1 L 11.992188 1 C 13.097656 1 14 1.898438 14 3.007812 L 14 10.992188 C 14 12.097656 13.101562 13 11.992188 13 L 4.007812 13 C 2.902344 13 2 12.101562 2 10.992188 L 2 3.007812 C 2 1.902344 2.898438 1 4.007812 1 Z M 9.007812 3 C 8.453125 3 8 3.453125 8 3.996094 L 8 10.003906 C 8 10.554688 8.441406 11 9.007812 11 L 10.992188 11 C 11.546875 11 12 10.546875 12 10.003906 L 12 3.996094 C 12 3.445312 11.558594 3 10.992188 3 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/DownloadArrow.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/DownloadArrow.svg
deleted file mode 100644 (file)
index e77afb0..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path class="filled" d="M 8.5 14 L 3.5 8 L 7 8 L 7 2 L 10 2 L 10 8 L 13.5 8 Z M 8.5 14"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Errors.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Errors.svg
deleted file mode 100644 (file)
index 4c8bd3f..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 8 9.848 c -0.666 0 -1.206 0.54 -1.206 1.205 c 0 0.666 0.54 1.205 1.206 1.205 s 1.204 -0.539 1.204 -1.205 C 9.204 10.388 8.666 9.848 8 9.848 z M 8.875 4.489 c 0 -0.483 -0.392 -0.875 -0.875 -0.875 S 7.125 4.005 7.125 4.489 v 3.5 c 0 0.483 0.392 0.875 0.875 0.875 s 0.875 -0.392 0.875 -0.875 V 4.489 z M 13.984 10.516 l -3.516 3.499 l -4.962 -0.012 l -3.5 -3.517 L 2.02 5.524 l 3.517 -3.5 l 4.962 0.012 l 3.499 3.517 L 13.984 10.516 z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/ErrorsEnabled.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/ErrorsEnabled.svg
deleted file mode 100644 (file)
index 801f871..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path fill="rgb(201, 55, 57)" d="M 8 9.848 c -0.666 0 -1.206 0.54 -1.206 1.205 c 0 0.666 0.54 1.205 1.206 1.205 s 1.204 -0.539 1.204 -1.205 C 9.204 10.388 8.666 9.848 8 9.848 z M 8.875 4.489 c 0 -0.483 -0.392 -0.875 -0.875 -0.875 S 7.125 4.005 7.125 4.489 v 3.5 c 0 0.483 0.392 0.875 0.875 0.875 s 0.875 -0.392 0.875 -0.875 V 4.489 z M 13.984 10.516 l -3.516 3.499 l -4.962 -0.012 l -3.5 -3.517 L 2.02 5.524 l 3.517 -3.5 l 4.962 0.012 l 3.499 3.517 L 13.984 10.516 z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/FilterFieldGlyph.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/FilterFieldGlyph.svg
deleted file mode 100644 (file)
index 6abdec6..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13">
-    <path fill="rgb(134, 134, 134)" d="M 6.5 12 C 3.460938 12 1 9.539062 1 6.5 C 1 3.460938 3.460938 1 6.5 1 C 9.539062 1 12 3.460938 12 6.5 C 12 9.539062 9.539062 12 6.5 12 Z M 2.449219 6.53125 C 2.449219 8.769531 4.261719 10.582031 6.5 10.582031 C 8.738281 10.582031 10.550781 8.769531 10.550781 6.53125 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/FolderGeneric.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/FolderGeneric.png
deleted file mode 100644 (file)
index 80d51b3..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/FolderGeneric.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/FolderGeneric@2x.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/FolderGeneric@2x.png
deleted file mode 100644 (file)
index 0d91e20..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/FolderGeneric@2x.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/ForwardArrow.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/ForwardArrow.svg
deleted file mode 100644 (file)
index c16bc65..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9">
-    <path d="M 0 0 L 8.515625 4.484375 L 0 9 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Issues.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Issues.svg
deleted file mode 100644 (file)
index 71fa50c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 8 10.335 c -0.703 0 -1.272 0.57 -1.272 1.274 c 0 0.702 0.57 1.271 1.272 1.271 c 0.702 0 1.272 -0.569 1.272 -1.271 C 9.272 10.905 8.702 10.335 8 10.335 z M 8.909 4.708 C 8.909 4.206 8.501 3.8 8 3.8 S 7.091 4.206 7.091 4.708 v 3.633 c 0 0.501 0.408 0.909 0.909 0.909 s 0.909 -0.408 0.909 -0.909 V 4.708 z M 14.142 13.278 c -0.349 0.507 -1.068 0.68 -1.541 0.68 c -0.298 0 -8.912 0 -9.201 0 c -0.474 0 -1.193 -0.173 -1.541 -0.68 c -0.329 -0.477 -0.148 -1.309 0.105 -1.76 c 1.416 -2.53 2.793 -5.417 4.797 -9.186 C 7.411 1.112 8.686 1.201 9.27 2.315 c 1.398 2.674 3.351 6.673 4.767 9.203 C 14.289 11.97 14.47 12.802 14.142 13.278 z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/IssuesEnabled.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/IssuesEnabled.svg
deleted file mode 100644 (file)
index 8d77d5f..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path fill="rgb(224, 164, 4)" d="M 8 10.335 c -0.703 0 -1.272 0.57 -1.272 1.274 c 0 0.702 0.57 1.271 1.272 1.271 c 0.702 0 1.272 -0.569 1.272 -1.271 C 9.272 10.905 8.702 10.335 8 10.335 z M 8.909 4.708 C 8.909 4.206 8.501 3.8 8 3.8 S 7.091 4.206 7.091 4.708 v 3.633 c 0 0.501 0.408 0.909 0.909 0.909 s 0.909 -0.408 0.909 -0.909 V 4.708 z M 14.142 13.278 c -0.349 0.507 -1.068 0.68 -1.541 0.68 c -0.298 0 -8.912 0 -9.201 0 c -0.474 0 -1.193 -0.173 -1.541 -0.68 c -0.329 -0.477 -0.148 -1.309 0.105 -1.76 c 1.416 -2.53 2.793 -5.417 4.797 -9.186 C 7.411 1.112 8.686 1.201 9.27 2.315 c 1.398 2.674 3.351 6.673 4.767 9.203 C 14.289 11.97 14.47 12.802 14.142 13.278 z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/LayerBorders.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/LayerBorders.svg
deleted file mode 100644 (file)
index 86d5874..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path fill-opacity="0.45" stroke="black" stroke-width="1" d="M 9 0 L 3 0 L 0 3 L 12 3 Z" transform="matrix(1, 0, 0, 1, 2, 3.5)"/>
-    <path d="M 3.5 8 L 2 10 L 14 10 L 12.5 8 Z"/>
-    <path d="M 4.25 11 L 3 13 L 13 13 L 11.75 11 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Logs.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Logs.svg
deleted file mode 100644 (file)
index fe77868..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 10.999 2 h -6 c -1.649 0 -3 1.35 -3 3 v 5 c 0 1.65 1.351 3 3 3 v 3 l 3 -3 h 3 c 1.649 0 3 -1.35 3 -3 V 5 C 13.999 3.35 12.648 2 10.999 2 M 10.999 10 h -6 V 9 h 6 V 10 z M 10.999 8 h -6 V 7 h 6 V 8 z M 10.999 6 h -6 V 5 h 6 V 6 z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/NavigationItemCurleyBraces.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/NavigationItemCurleyBraces.svg
deleted file mode 100644 (file)
index b931cf5..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 5.410156 3.832031 C 5.289062 3.957031 5.226562 4.203125 5.21875 4.566406 C 5.191406 5.570312 5.160156 6.046875 5.121094 6.347656 C 5.078125 6.648438 4.988281 6.9375 4.839844 7.210938 C 4.695312 7.488281 4.421875 7.75 4.023438 8 C 4.402344 8.226562 4.675781 8.496094 4.847656 8.8125 C 5.019531 9.128906 5.121094 9.578125 5.148438 10.171875 L 5.242188 11.820312 C 5.28125 11.996094 5.375 12.128906 5.515625 12.21875 C 5.660156 12.308594 6.25 12.355469 6.765625 12.355469 L 6.765625 14.042969 L 6.4375 14.042969 C 5.757812 14.042969 4.800781 13.964844 4.429688 13.8125 C 4.0625 13.660156 3.796875 13.410156 3.628906 13.0625 C 3.464844 12.714844 3.382812 12.152344 3.382812 11.375 C 3.382812 10.523438 3.351562 9.976562 3.292969 9.738281 C 3.234375 9.496094 3.121094 9.277344 2.949219 9.078125 C 2.78125 8.878906 2.480469 8.878906 2.011719 8.863281 L 2.011719 7.140625 C 2.472656 7.136719 2.800781 7.109375 3.035156 6.84375 C 3.265625 6.574219 3.382812 5.976562 3.382812 5.046875 C 3.382812 4.339844 3.410156 3.8125 3.460938 3.472656 C 3.515625 3.132812 3.644531 2.84375 3.847656 2.613281 C 4.050781 2.382812 4.3125 2.21875 4.632812 2.117188 C 4.953125 2.011719 5.847656 1.960938 6.4375 1.960938 L 6.773438 1.960938 L 6.773438 3.644531 C 6.15625 3.644531 5.53125 3.707031 5.410156 3.832031 Z M 13.050781 9.078125 C 12.878906 9.277344 12.765625 9.496094 12.707031 9.738281 C 12.648438 9.976562 12.617188 10.523438 12.617188 11.375 C 12.617188 12.152344 12.535156 12.714844 12.371094 13.0625 C 12.203125 13.410156 11.9375 13.660156 11.570312 13.8125 C 11.199219 13.964844 10.242188 14.042969 9.5625 14.042969 L 9.234375 14.042969 L 9.234375 12.355469 C 9.75 12.355469 10.339844 12.308594 10.484375 12.21875 C 10.625 12.128906 10.71875 11.996094 10.757812 11.820312 L 10.851562 10.171875 C 10.878906 9.578125 10.980469 9.128906 11.152344 8.8125 C 11.324219 8.496094 11.597656 8.226562 11.976562 8 C 11.578125 7.75 11.304688 7.488281 11.160156 7.210938 C 11.011719 6.9375 10.921875 6.648438 10.878906 6.347656 C 10.839844 6.046875 10.808594 5.570312 10.78125 4.566406 C 10.773438 4.203125 10.710938 3.957031 10.589844 3.832031 C 10.46875 3.707031 9.84375 3.644531 9.226562 3.644531 L 9.226562 1.960938 L 9.5625 1.960938 C 10.152344 1.960938 11.046875 2.011719 11.367188 2.117188 C 11.6875 2.21875 11.949219 2.382812 12.152344 2.613281 C 12.355469 2.84375 12.484375 3.132812 12.539062 3.472656 C 12.589844 3.8125 12.617188 4.339844 12.617188 5.046875 C 12.617188 5.976562 12.734375 6.574219 12.964844 6.84375 C 13.199219 7.109375 13.527344 7.136719 13.988281 7.140625 L 13.988281 8.863281 C 13.519531 8.878906 13.21875 8.878906 13.050781 9.078125 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/NavigationItemTrash.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/NavigationItemTrash.svg
deleted file mode 100644 (file)
index 27d6ecc..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 9.988281 10 L 9.988281 6.007812 L 8.613281 6.015625 L 8.621094 10 Z M 7.335938 6.007812 L 6 6.007812 L 6 10 L 7.335938 10 Z M 11.007812 10.105469 C 11.007812 10.105469 11.03125 11.007812 10.1875 11.007812 L 5.804688 11.007812 C 5.035156 11.007812 4.984375 10.105469 4.984375 10.105469 L 4.984375 5 L 11.007812 5 Z M 14 3 L 2 3 L 2 5 L 3.003906 5 L 3 11.320312 C 3 11.320312 3.003906 12.996094 4.546875 12.996094 L 11.457031 12.996094 C 11.457031 12.996094 13 13.117188 13 11.414062 C 13 9.746094 12.996094 5.175781 12.996094 5 L 14 5 Z M 6.867188 2.007812 L 9.183594 2.007812 C 9.757812 2.007812 9.90625 2.789062 10 2.996094 L 11 2.996094 C 10.953125 2.617188 10.792969 1 9.183594 1 C 8.425781 1 8.355469 1.003906 8.511719 1.007812 L 9.214844 1.019531 C 9.214844 1.019531 8.699219 1.011719 8.511719 1.007812 L 7.988281 1 L 6.867188 1 C 5.21875 1 5.039062 2.617188 5 2.996094 L 6 2.996094 C 6.097656 2.789062 6.292969 2.007812 6.867188 2.007812"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Network.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/Network.png
deleted file mode 100644 (file)
index 2e36c3d..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/Network.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Network@2x.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/Network@2x.png
deleted file mode 100644 (file)
index 3b14316..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/Network@2x.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/NetworkLarge.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/NetworkLarge.png
deleted file mode 100644 (file)
index 3b14316..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/NetworkLarge.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/NetworkLarge@2x.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/NetworkLarge@2x.png
deleted file mode 100644 (file)
index 0987e10..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/NetworkLarge@2x.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Pause.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Pause.svg
deleted file mode 100644 (file)
index bebdb34..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 7 12 L 4 12 L 4 4 L 7 4 Z"/>
-    <path d="M 12 12 L 9 12 L 9 4 L 12 4 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Plus.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Plus.svg
deleted file mode 100644 (file)
index b9eb429..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13">
-    <path fill="white" d="M 5 2 L 8 2 L 8 6 L 12 6 L 12 9 L 8 9 L 8 13 L 5 13 L 5 9 L 1 9 L 1 6 L 5 6 Z"/>
-    <path d="M 5 1 L 8 1 L 8 5 L 12 5 L 12 8 L 8 8 L 8 12 L 5 12 L 5 8 L 1 8 L 1 5 L 5 5 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Recording.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/Recording.png
deleted file mode 100644 (file)
index 2797486..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/Recording.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Recording@2x.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/Recording@2x.png
deleted file mode 100644 (file)
index 7b8177d..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/Recording@2x.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingHovered.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingHovered.png
deleted file mode 100644 (file)
index e20e0d8..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingHovered.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingHovered@2x.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingHovered@2x.png
deleted file mode 100644 (file)
index 7602abb..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingHovered@2x.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingStopped.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingStopped.png
deleted file mode 100644 (file)
index eb51116..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingStopped.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingStopped@2x.png b/Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingStopped@2x.png
deleted file mode 100644 (file)
index 6227c30..0000000
Binary files a/Source/WebInspectorUI/UserInterface/Images/Legacy/RecordingStopped@2x.png and /dev/null differ
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Reload.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Reload.svg
deleted file mode 100644 (file)
index b5de046..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path class="filled" d="M 11.3333594 8.19978872 C 11.3373138 8.13355217 11.3392924 8.06721247 11.3392924 8.00085802 L 13.5 8.00085802 C 13.5 8.11015036 13.4967412 8.21941842 13.4902278 8.32851658 C 13.3092357 11.3601207 10.7044904 13.671017 7.67237326 13.4900575 C 4.64025461 13.309098 2.32895216 10.7048051 2.50994432 7.67319946 C 2.6855607 4.73163777 5.14309162 2.46860779 8 2.50032937 L 8 0.3 L 11.0969295 2.13000381 L 13.5 3.55 L 8 6.8 L 8 4.66165014 C 6.25756644 4.65173653 4.94768721 5.89954424 4.84179688 7.67319965 C 4.731911 9.51378018 5.96019866 11.2236643 7.80111758 11.333532 C 9.64203807 11.4433997 11.2234734 10.0403708 11.3333594 8.19978872 Z M 11.3333594 8.19978872"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Resources.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Resources.svg
deleted file mode 100644 (file)
index 76619bc..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 9.518 2 H 3 v 12 h 10 V 5 L 9.518 2 z M 11.002 12 H 5 V 4 h 3.517 l 2.485 2.455 V 12 z M 8 7 h 2 L 8 5 C 8 5 7.999 7 8 7"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Resume.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Resume.svg
deleted file mode 100644 (file)
index 8942136..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 5 12 L 3 12 L 3 4 L 5 4 Z"/>
-    <path d="M 7 12 L 7 4 L 14.226562 8 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/ShadowDOM.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/ShadowDOM.svg
deleted file mode 100644 (file)
index 08f0808..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path fill="rgba(0, 0, 0, 0.5)" d="M 7.953125 13.664062 L 6.523438 14.617188 L 2.792969 8.960938 L 6.523438 3.378906 L 7.953125 4.335938 L 4.820312 8.960938 Z M 11.332031 14.617188 L 9.902344 13.664062 L 13.035156 8.960938 L 9.90625 4.335938 L 11.332031 3.378906 L 15.066406 8.960938 Z"/>
-    <path d="M 6.097656 12.261719 L 4.667969 13.214844 L 0.933594 7.554688 L 4.667969 1.976562 L 6.09375 2.933594 L 2.964844 7.554688 Z M 9.476562 13.214844 L 8.046875 12.261719 L 11.179688 7.554688 L 8.046875 2.933594 L 9.476562 1.976562 L 13.207031 7.554688 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/SortIndicatorDownArrow.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/SortIndicatorDownArrow.svg
deleted file mode 100644 (file)
index e8cc9b3..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 8">
-    <path d="M 1.027344 1 L 4.527344 7.46875 L 7.996094 1 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/SortIndicatorUpArrow.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/SortIndicatorUpArrow.svg
deleted file mode 100644 (file)
index 10c72ee..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 8">
-    <path d="M 1.027344 7 L 4.527344 0.53125 L 7.996094 7 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/SplitToggleDown.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/SplitToggleDown.svg
deleted file mode 100644 (file)
index 777a006..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 2.675781 3.003906 L 7.992188 7.996094 L 13.300781 3.003906 L 12.046875 1.339844 L 7.992188 4.488281 L 3.933594 1.339844 Z M 2.675781 8.472656 L 7.992188 13.449219 L 13.300781 8.472656 L 12.046875 6.808594 L 7.992188 9.945312 L 3.96875 6.808594 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/SplitToggleUp.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/SplitToggleUp.svg
deleted file mode 100644 (file)
index bd38025..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 2.675781 11.996094 L 7.992188 7.003906 L 13.300781 11.996094 L 12.046875 13.660156 L 7.992188 10.511719 L 3.933594 13.660156 Z M 2.675781 6.527344 L 7.992188 1.550781 L 13.300781 6.527344 L 12.046875 8.191406 L 7.992188 5.054688 L 3.96875 8.191406 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/StepInto.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/StepInto.svg
deleted file mode 100644 (file)
index 13772cb..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 9.5 6 L 9.5 2 L 6.5 2 L 6.5 6 L 4 6 L 8 10 L 12 6 Z"/>
-    <path d="M 12 13 C 12 13.550781 11.550781 14 11 14 L 5 14 C 4.449219 14 4 13.550781 4 13 L 4 12 C 4 11.449219 4.449219 11 5 11 L 11 11 C 11.550781 11 12 11.449219 12 12 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/StepOut.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/StepOut.svg
deleted file mode 100644 (file)
index 869cc7d..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 9.5 6 L 9.5 10 L 6.5 10 L 6.5 6 L 4 6 L 8 2 L 12 6 Z"/>
-    <path d="M 12 13 C 12 13.550781 11.550781 14 11 14 L 5 14 C 4.449219 14 4 13.550781 4 13 L 4 12 C 4 11.449219 4.449219 11 5 11 L 11 11 C 11.550781 11 12 11.449219 12 12 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/StepOver.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/StepOver.svg
deleted file mode 100644 (file)
index b2983b8..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 12.65625 4.960938 L 12.65625 6.933594 C 11.023438 4.941406 9.324219 3.550781 7.023438 3.816406 C 4.542969 4.105469 2.421875 6.441406 1.382812 9.125 L 2.882812 9.574219 C 3.734375 7.375 5.492188 6.292969 7.171875 6.117188 C 8.816406 5.945312 9.914062 6.71875 11.304688 8.644531 L 9.160156 8.648438 L 9.160156 10 L 14 10 L 14 4.960938 Z"/>
-    <path d="M 12 13 C 12 13.550781 11.550781 14 11 14 L 5 14 C 4.449219 14 4 13.550781 4 13 L 4 12 C 4 11.449219 4.449219 11 5 11 L 11 11 C 11.550781 11 12 11.449219 12 12 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Time.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Time.svg
deleted file mode 100644 (file)
index f392326..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 8 1.5 C 4.409 1.5 1.5 4.41 1.5 8 s 2.909 6.5 6.5 6.5 c 3.59 0 6.5 -2.91 6.5 -6.5 S 11.59 1.5 8 1.5 M 8 12.5 c -2.486 0 -4.5 -2.015 -4.5 -4.5 c 0 -2.485 2.014 -4.5 4.5 -4.5 c 2.485 0 4.5 2.015 4.5 4.5 C 12.499 10.485 10.484 12.5 8 12.5"/>
-    <polygon points="8.999 7.604 8.999 4 7 4 7 8.563 9.484 10.646 10.754 9.074"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Undock.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Undock.svg
deleted file mode 100644 (file)
index 6ca0cab..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 14">
-    <path d="M 3 1 L 9 1 C 10.113281 1 11 1.894531 11 3 L 11 4 L 5.992188 4 C 4.890625 4 4 4.894531 4 5.996094 L 4 9 L 3 9 C 1.886719 9 1 8.105469 1 7 L 1 3 C 1 1.886719 1.894531 1 3 1 Z"/>
-    <path d="M 7 5 L 13 5 C 14.113281 5 15 5.894531 15 7 L 15 11 C 15 12.113281 14.105469 13 13 13 L 7 13 C 5.886719 13 5 12.105469 5 11 L 5 7 C 5 5.886719 5.894531 5 7 5 Z M 7.992188 7 C 7.445312 7 7 7.441406 7 8.007812 L 7 9.992188 C 7 10.546875 7.449219 11 7.992188 11 L 12.007812 11 C 12.554688 11 13 10.558594 13 9.992188 L 13 8.007812 C 13 7.453125 12.550781 7 12.007812 7 Z"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/UpDownArrows.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/UpDownArrows.svg
deleted file mode 100644 (file)
index 223183e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 12">
-    <path stroke="black" d="M 2.55 7.02976032 L 4.03977126 9.61011984 L 1.06022874 9.61011984 L 2.55 7.02976032 Z M 2.55 7.02976032" transform="translate(2.55, 8.75) rotate(-180) translate(-2.55, -8.75)"/>
-    <path stroke="black" d="M 2.55 1.5 L 4.06554446 4.125 L 1.03445554 4.125 L 2.55 1.5 Z M 2.55 1.5"/>
-</svg>
diff --git a/Source/WebInspectorUI/UserInterface/Images/Legacy/Weight.svg b/Source/WebInspectorUI/UserInterface/Images/Legacy/Weight.svg
deleted file mode 100644 (file)
index 5546a4e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright © 2013 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
-    <path d="M 14 14 L 2 14 L 4 5 L 5.55000905 5 C 5.51721456 4.83843954 5.5 4.67123011 5.5 4.5 C 5.5 3.11928806 6.61928806 2 8 2 C 9.38071194 2 10.5 3.11928806 10.5 4.5 C 10.5 4.67123011 10.4827854 4.83843954 10.4499909 5 L 12 5 Z M 5.42102596 7.00000003 L 4.50620499 12.0000001 L 11.5142954 12.0000001 L 10.6140088 7.00000003 Z M 8 5.5 C 8.55228478 5.5 9 5.05228478 9 4.5 C 9 3.94771522 8.55228478 3.5 8 3.5 C 7.44771522 3.5 7 3.94771522 7 4.5 C 7 5.05228478 7.44771522 5.5 8 5.5 Z M 8 5.5"/>
-</svg>
index d3da9a1..e28dbb1 100644 (file)
     justify-content: center;
 }
 
-body.mac-platform.legacy .navigation-bar .item.button.text-only {
-    padding: 0 10px;
-    margin: 0;
-
-    text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
-    line-height: 20px;
-    border: none;
-    text-align: inherit;
-    height: 28px;
-}
-
 .navigation-bar .item.button > .glyph {
     width: 100%;
     height: 100%;
index dc19816..50a24f7 100644 (file)
@@ -78,11 +78,6 @@ body.window-inactive .toolbar .item.button {
     color: rgb(80, 80, 80);
 }
 
-body.mac-platform.legacy .toolbar .item.button > .label {
-    text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
-    color: rgb(60, 60, 60);
-}
-
 .toolbar.label-only .item.activate.button.activated > .label {
     color: rgb(35, 125, 195);
 }
index b6c4ce7..ebacffa 100644 (file)
     border-bottom: 1px solid rgb(179, 179, 179);
 }
 
-body.mac-platform.legacy .style-declaration-section {
-    border-bottom: none;
-}
-
-body.mac-platform.legacy .style-declaration-section + .style-declaration-section {
-    border-top: 1px solid rgb(179, 179, 179);
-}
-
 .style-declaration-section.last-in-group {
     margin-bottom: 15px;
 
     border-bottom: 1px solid rgb(179, 179, 179);
 }
 
-body.mac-platform.legacy .style-declaration-section.last-in-group {
-    box-shadow: rgba(0, 0, 0, 0.3) 0 2px 2px 0;
-}
-
 .style-declaration-section.last-in-group + .style-declaration-section {
     margin-top: 15px;
 
     border-top: 1px solid rgb(179, 179, 179);
 }
 
-body.mac-platform.legacy .style-declaration-section.last-in-group + .style-declaration-section {
-    box-shadow: rgba(0, 0, 0, 0.3) 0 0 2px 0;
-    border-top: none;
-}
-
-body.mac-platform.legacy .style-declaration-section:first-child,
-body.mac-platform.legacy div:not(.style-declaration-section) + .style-declaration-section,
-body.mac-platform.legacy .style-declaration-section.last-in-group + .style-declaration-section:matches(.last-in-group, :last-child) {
-    box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px 1px;
-}
-
 .style-declaration-section:last-child {
     margin-bottom: 0 !important;
 }
index 723e90b..fcc3b8d 100644 (file)
     overflow-x: hidden;
 }
 
-body.mac-platform.legacy .sidebar > .panel.details.css-style > .content {
-    top: 22px;
-}
-
 .sidebar > .panel.details.css-style > .content > .pseudo-classes {
     padding: 10px;
     border-bottom: 1px solid rgb(179, 179, 179);
index 7210168..d1d1b24 100644 (file)
@@ -57,21 +57,12 @@ WebInspector.ContentBrowser = function(element, delegate, disableBackForward)
         this._backKeyboardShortcut.disabled = true;
         this._forwardKeyboardShortcut.disabled = true;
 
-        var forwardArrow, backArrow;
-        if (WebInspector.Platform.isLegacyMacOS) {
-            forwardArrow = {src: "Images/Legacy/ForwardArrow.svg", width: 9, height: 9};
-            backArrow = {src: "Images/Legacy/BackArrow.svg", width: 9, height: 9};
-        } else {
-            forwardArrow = {src: "Images/ForwardArrow.svg", width: 8, height: 13};
-            backArrow = {src: "Images/BackArrow.svg", width: 8, height: 13};
-        }
-
-        this._backButtonNavigationItem = new WebInspector.ButtonNavigationItem("back", WebInspector.UIString("Back (%s)").format(this._backKeyboardShortcut.displayName), backArrow.src, backArrow.width, backArrow.height);
+        this._backButtonNavigationItem = new WebInspector.ButtonNavigationItem("back", WebInspector.UIString("Back (%s)").format(this._backKeyboardShortcut.displayName), "Images/BackArrow.svg", 8, 13);
         this._backButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._backButtonClicked, this);
         this._backButtonNavigationItem.enabled = false;
         this._navigationBar.addNavigationItem(this._backButtonNavigationItem);
 
-        this._forwardButtonNavigationItem = new WebInspector.ButtonNavigationItem("forward", WebInspector.UIString("Forward (%s)").format(this._forwardKeyboardShortcut.displayName), forwardArrow.src, forwardArrow.width, forwardArrow.height);
+        this._forwardButtonNavigationItem = new WebInspector.ButtonNavigationItem("forward", WebInspector.UIString("Forward (%s)").format(this._forwardKeyboardShortcut.displayName), "Images/ForwardArrow.svg", 8, 13);
         this._forwardButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._forwardButtonClicked, this);
         this._forwardButtonNavigationItem.enabled = false;
         this._navigationBar.addNavigationItem(this._forwardButtonNavigationItem);
index c3d47c3..bcee1da 100644 (file)
     opacity: 0.7;
 }
 
-body.mac-platform.legacy .toolbar .item.control {
-    opacity: 0.5;
-}
-
 .toolbar.small-size .item.control {
     padding: 2px;
 }
@@ -48,10 +44,6 @@ body.mac-platform.legacy .toolbar .item.control {
     opacity: 0.9;
 }
 
-body.mac-platform.legacy .toolbar .item.control:hover {
-    opacity: 0.8;
-}
-
 .toolbar .item.control:active {
     opacity: 1;
 }
index be28b21..0afbcaf 100644 (file)
@@ -29,16 +29,7 @@ WebInspector.DOMTreeContentView = function(representedObject)
 
     WebInspector.ContentView.call(this, representedObject);
 
-    var layerBordersImage, shadowDOMImage;
-    if (WebInspector.Platform.isLegacyMacOS) {
-        layerBordersImage = {src: "Images/Legacy/LayerBorders.svg", width: 16, height: 16};
-        shadowDOMImage = {src: "Images/Legacy/ShadowDOM.svg", width: 16, height: 16};
-    } else {
-        layerBordersImage = {src: "Images/LayerBorders.svg", width: 13, height: 13};
-        shadowDOMImage = {src: "Images/ShadowDOM.svg", width: 13, height: 13};
-    }
-
-    this._compositingBordersButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("layer-borders", WebInspector.UIString("Show compositing borders"), WebInspector.UIString("Hide compositing borders"), layerBordersImage.src, layerBordersImage.width, layerBordersImage.height);
+    this._compositingBordersButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("layer-borders", WebInspector.UIString("Show compositing borders"), WebInspector.UIString("Hide compositing borders"), "Images/LayerBorders.svg", 13, 13);
     this._compositingBordersButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._toggleCompositingBorders, this);
     this._compositingBordersButtonNavigationItem.enabled = !!PageAgent.getCompositingBordersVisible;
 
@@ -49,7 +40,7 @@ WebInspector.DOMTreeContentView = function(representedObject)
     this._paintFlashingButtonNavigationItem.activated = PageAgent.setShowPaintRects && WebInspector.showPaintRectsSetting.value;
 
     WebInspector.showShadowDOMSetting.addEventListener(WebInspector.Setting.Event.Changed, this._showShadowDOMSettingChanged, this);
-    this._showsShadowDOMButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("shows-shadow-DOM", WebInspector.UIString("Show shadow DOM nodes"), WebInspector.UIString("Hide shadow DOM nodes"), shadowDOMImage.src, shadowDOMImage.width, shadowDOMImage.height);
+    this._showsShadowDOMButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("shows-shadow-DOM", WebInspector.UIString("Show shadow DOM nodes"), WebInspector.UIString("Hide shadow DOM nodes"), "Images/ShadowDOM.svg", 13, 13);
     this._showsShadowDOMButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._toggleShowsShadowDOMSetting, this);
     this._showShadowDOMSettingChanged();
 
index 5139144..8f30ef1 100644 (file)
     border-radius: 5px;
 }
 
-body.mac-platform.legacy .dom-tree-outline li.hovered:not(.selected) .selection {
-    background-color: rgba(56, 121, 217, 0.1);
-}
-
 .dom-tree-outline li .selection {
     display: none;
     position: absolute;
@@ -72,18 +68,10 @@ body.mac-platform.legacy .dom-tree-outline li.hovered:not(.selected) .selection
     border-top: 2px solid rgb(0, 128, 252);
 }
 
-body.mac-platform.legacy .dom-tree-outline li.elements-drag-over .selection {
-    border-top: 2px solid rgb(56, 121, 217);
-}
-
 .dom-tree-outline:focus li.selected .selection {
     background-color: rgb(0, 128, 252);
 }
 
-body.mac-platform.legacy .dom-tree-outline:focus li.selected .selection {
-    background-color: rgb(56, 121, 217);
-}
-
 .dom-tree-outline ol {
     list-style-type: none;
     padding-left: 1.2em;
index eb59234..194fb31 100644 (file)
     overflow: hidden;
 }
 
-body.mac-platform.legacy .toolbar .dashboard-container {
-    border: 1px solid rgb(163, 163, 163);
-    background-color: transparent;
-    box-shadow: rgba(255, 255, 255, 0.45) 0 0px 0;
-}
-
 body.window-inactive .toolbar .dashboard-container {
     border: 1px solid rgb(220, 220, 220);
     background-color: rgb(246, 246, 246);
     box-shadow: none;
 }
 
-body.mac-platform.legacy.window-inactive .toolbar .dashboard-container {
-    border: 1px solid rgb(196, 196, 196);
-    background-image: none;
-    background-color: rgb(239, 239, 239);
-    box-shadow: rgba(255, 255, 255, 0.45) 0 1px 0;
-}
-
 .toolbar.collapsed .dashboard-container {
     width: 175px;
 }
@@ -99,18 +86,6 @@ body.window-inactive .toolbar .dashboard {
     box-shadow: none;
 }
 
-body.mac-platform.legacy .toolbar .dashboard,
-body.mac-platform.legacy.window-inactive .toolbar .dashboard {
-    background-image: linear-gradient(to bottom, rgba(0, 128, 255, 0), rgba(0, 128, 255, 0.075)),
-        linear-gradient(to right, rgba(0, 0, 0, 0.09), transparent, rgba(0, 0, 0, 0.09)),
-        linear-gradient(to bottom, rgb(240, 244, 251), rgb(250, 253, 255));
-    background-size: 100% 6px, auto, auto;
-    background-position: bottom, center, center;
-    background-repeat: no-repeat;
-    background-color: transparent;
-    box-shadow: none;
-}
-
 .toolbar .dashboard.visible {
     z-index: 1; /* Establish a stacking context. */
 }
@@ -172,10 +147,6 @@ body.mac-platform.legacy.window-inactive .toolbar .dashboard {
     transition-duration: 0.2s;
 }
 
-body.mac-platform.legacy .dashboard-container .advance-arrow {
-    background-image: url(../Images/Legacy/UpDownArrows.svg);
-}
-
 .dashboard-container .advance-arrow:hover {
     opacity: 0.8;
 }
index 79ab83c..3a397c4 100644 (file)
     border-right-color: rgb(0, 102, 204);
 }
 
-body.mac-platform.legacy .data-grid:focus tr.selected td:not(:last-child) {
-    border-right-color: rgb(53, 109, 189);
-}
-
 .data-grid :matches(th, td) > div {
     white-space: nowrap;
     text-overflow: ellipsis;
@@ -252,10 +248,6 @@ body.mac-platform.legacy .data-grid:focus tr.selected td:not(:last-child) {
     color: white !important;
 }
 
-body.mac-platform.legacy .data-grid:focus tr.selected {
-    background-color: rgb(56, 121, 217) !important;
-}
-
 .data-grid tr:not(.parent) td.disclosure {
     text-indent: 10px;
 }
index c57e6f9..52759ab 100644 (file)
@@ -1098,24 +1098,12 @@ WebInspector.DataGrid.prototype = {
 
         WebInspector.DataGrid._generatedSortIndicatorImages = true;
 
-        var specifications = {};
-
-        if (WebInspector.Platform.isLegacyMacOS) {
-            specifications["arrow"] = {
-                fillColor: [81, 81, 81],
-                shadowColor: [255, 255, 255, 0.5],
-                shadowOffsetX: 0,
-                shadowOffsetY: 1,
-                shadowBlur: 0
-            };
-        } else {
-            specifications["arrow"] = {
-                fillColor: [81, 81, 81],
-            };
-        }
+        var specifications = {arrow: {
+            fillColor: [81, 81, 81],
+        }};
 
-        generateColoredImagesForCSS(platformImagePath("SortIndicatorDownArrow.svg"), specifications, 9, 8, "data-grid-sort-indicator-down-");
-        generateColoredImagesForCSS(platformImagePath("SortIndicatorUpArrow.svg"), specifications, 9, 8, "data-grid-sort-indicator-up-");
+        generateColoredImagesForCSS("Images/SortIndicatorDownArrow.svg", specifications, 9, 8, "data-grid-sort-indicator-down-");
+        generateColoredImagesForCSS("Images/SortIndicatorUpArrow.svg", specifications, 9, 8, "data-grid-sort-indicator-up-");
     },
 
     _mouseDownInDataTable: function(event)
index 86841e0..950b6d7 100644 (file)
@@ -29,16 +29,7 @@ WebInspector.DatabaseTableContentView = function(representedObject)
 
     this.element.classList.add(WebInspector.DatabaseTableContentView.StyleClassName);
 
-    var refreshSource, refreshSize;
-    if (WebInspector.Platform.isLegacyMacOS) {
-        refreshSource = "Images/Legacy/Reload.svg";
-        refreshSize = 16;
-    } else {
-        refreshSource = "Images/ReloadFull.svg";
-        refreshSize = 13;
-    }
-
-    this._refreshButtonNavigationItem = new WebInspector.ButtonNavigationItem("database-table-refresh", WebInspector.UIString("Refresh"), refreshSource, refreshSize, refreshSize);
+    this._refreshButtonNavigationItem = new WebInspector.ButtonNavigationItem("database-table-refresh", WebInspector.UIString("Refresh"), "Images/ReloadFull.svg", 13, 13);
     this._refreshButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._refreshButtonClicked, this);
 
     this.update();
index 438aa49..98e4ad1 100644 (file)
@@ -34,14 +34,8 @@ WebInspector.DebuggerDashboardView = class DebuggerDashboardView extends WebInsp
         this._navigationBar = new WebInspector.NavigationBar;
         this.element.appendChild(this._navigationBar.element);
 
-        var resumeImage;
-        if (WebInspector.Platform.isLegacyMacOS)
-            resumeImage = {src: "Images/Legacy/Resume.svg", width: 16, height: 16};
-        else
-            resumeImage = {src: "Images/Resume.svg", width: 15, height: 15};
-
         var tooltip = WebInspector.UIString("Continue script execution (%s or %s)").format(WebInspector.pauseOrResumeKeyboardShortcut.displayName, WebInspector.pauseOrResumeAlternateKeyboardShortcut.displayName);
-        this._debuggerResumeButtonItem = new WebInspector.ActivateButtonNavigationItem("debugger-dashboard-pause", tooltip, tooltip, resumeImage.src, resumeImage.width, resumeImage.height, true);
+        this._debuggerResumeButtonItem = new WebInspector.ActivateButtonNavigationItem("debugger-dashboard-pause", tooltip, tooltip, "Images/Resume.svg", 15, 15, true);
         this._debuggerResumeButtonItem.activated = true;
         this._debuggerResumeButtonItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._resumeButtonClicked, this);
         this._navigationBar.addNavigationItem(this._debuggerResumeButtonItem);
index 2ecafda..fee654c 100644 (file)
     top: 29px;
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation.debugger > .content {
-    top: 22px;
-}
-
 .sidebar > .panel.navigation.debugger > .navigation-bar {
     position: absolute;
     top: 0;
index 6b62832..84b67a5 100644 (file)
@@ -48,14 +48,12 @@ WebInspector.DebuggerSidebarPanel = class DebuggerSidebarPanel extends WebInspec
         this._navigationBar = new WebInspector.NavigationBar;
         this.element.appendChild(this._navigationBar.element);
 
-        var imageSize = WebInspector.Platform.isLegacyMacOS ? 16 : 15;
-
-        var breakpointsImage = {src: platformImagePath("Breakpoints.svg"), width: imageSize, height: imageSize};
-        var pauseImage = {src: platformImagePath("Pause.svg"), width: imageSize, height: imageSize};
-        var resumeImage = {src: platformImagePath("Resume.svg"), width: imageSize, height: imageSize};
-        var stepOverImage = {src: platformImagePath("StepOver.svg"), width: imageSize, height: imageSize};
-        var stepIntoImage = {src: platformImagePath("StepInto.svg"), width: imageSize, height: imageSize};
-        var stepOutImage = {src: platformImagePath("StepOut.svg"), width: imageSize, height: imageSize};
+        var breakpointsImage = {src: "Images/Breakpoints.svg", width: 15, height: 15};
+        var pauseImage = {src: "Images/Pause.svg", width: 15, height: 15};
+        var resumeImage = {src: "Images/Resume.svg", width: 15, height: 15};
+        var stepOverImage = {src: "Images/StepOver.svg", width: 15, height: 15};
+        var stepIntoImage = {src: "Images/StepInto.svg", width: 15, height: 15};
+        var stepOutImage = {src: "Images/StepOut.svg", width: 15, height: 15};
 
         var toolTip = WebInspector.UIString("Enable all breakpoints (%s)").format(WebInspector.toggleBreakpointsKeyboardShortcut.displayName);
         var altToolTip = WebInspector.UIString("Disable all breakpoints (%s)").format(WebInspector.toggleBreakpointsKeyboardShortcut.displayName);
@@ -127,8 +125,8 @@ WebInspector.DebuggerSidebarPanel = class DebuggerSidebarPanel extends WebInspec
             return false;
         };
 
-        this.filterBar.addFilterBarButton("debugger-show-resources-with-breakpoints-only", showResourcesWithBreakpointsOnlyFilterFunction, true, WebInspector.UIString("Show only resources with breakpoints."), WebInspector.UIString("Show resources with and without breakpoints."), platformImagePath("Breakpoints.svg"), 15, 15);
-        this.filterBar.addFilterBarButton("debugger-show-resources-with-issues-only", showResourcesWithIssuesOnlyFilterFunction, true, WebInspector.UIString("Show only resources with issues."), WebInspector.UIString("Show resources with and without issues."), platformImagePath("Errors.svg"), 15, 15);
+        this.filterBar.addFilterBarButton("debugger-show-resources-with-breakpoints-only", showResourcesWithBreakpointsOnlyFilterFunction, true, WebInspector.UIString("Show only resources with breakpoints."), WebInspector.UIString("Show resources with and without breakpoints."), "Images/Breakpoints.svg", 15, 15);
+        this.filterBar.addFilterBarButton("debugger-show-resources-with-issues-only", showResourcesWithIssuesOnlyFilterFunction, true, WebInspector.UIString("Show only resources with issues."), WebInspector.UIString("Show resources with and without issues."), "Images/Errors.svg", 15, 15);
 
         this._breakpointsContentTreeOutline = this.contentTreeOutline;
         this._breakpointsContentTreeOutline.onselect = this._treeElementSelected.bind(this);
index 1bfcbb2..407c2ed 100644 (file)
@@ -53,11 +53,6 @@ body.javascript .toolbar .dashboard.default > .item.resourcesCount {
     border: 1px solid transparent;
 }
 
-body.mac-platform.legacy .toolbar .dashboard.default > .item {
-    font-family: -webkit-system-font, sans-serif;
-    font-weight: bold;
-}
-
 .toolbar .dashboard.default > .item.enabled:hover {
     border: 1px solid rgba(0, 0, 0, 0.1);
 }
@@ -119,22 +114,6 @@ body.mac-platform.legacy .toolbar .dashboard.default > .item {
     opacity: 0.9;
 }
 
-body.mac-platform.legacy .toolbar .dashboard.default > .resourcesCount > img {
-    content: url(../Images/Legacy/Resources.svg);
-}
-
-body.mac-platform.legacy .toolbar .dashboard.default > .logs > img {
-    content: url(../Images/Legacy/Logs.svg);
-}
-
-body.mac-platform.legacy .toolbar .dashboard.default > .errors > img {
-    content: url(../Images/Legacy/Errors.svg);
-}
-
-body.mac-platform.legacy .toolbar .dashboard.default > .errors.enabled > img {
-    content: url(../Images/Legacy/ErrorsEnabled.svg);
-}
-
 .toolbar .dashboard.default > .errors.enabled:hover > img {
     opacity: 1;
 }
@@ -156,14 +135,6 @@ body.mac-platform.legacy .toolbar .dashboard.default > .errors.enabled > img {
     opacity: 0.9;
 }
 
-body.mac-platform.legacy .toolbar .dashboard.default > .issues > img {
-    content: url(../Images/Legacy/Issues.svg);
-}
-
-body.mac-platform.legacy .toolbar .dashboard.default > .issues.enabled > img {
-    content: url(../Images/Legacy/IssuesEnabled.svg);
-}
-
 .toolbar .dashboard.default > .issues.enabled:hover > img {
     opacity: 1;
 }
index 3db0488..03bca3b 100644 (file)
     border-bottom: 1px solid rgb(179, 179, 179);
 }
 
-body.mac-platform.legacy .details-section {
-    margin-top: -1px;
-    margin-bottom: -1px;
-
-    border-bottom: none;
-    background-color: transparent;
-}
-
 .details-section .details-section {
     background-color: rgb(255, 255, 255);
 }
 
-body.mac-platform.legacy .details-section .details-section {
-    background-color: transparent;
-}
-
 .details-section .details-section:last-child {
     border-bottom: none;
 }
@@ -53,10 +41,6 @@ body.mac-platform.legacy .details-section .details-section {
     border-top: 1px solid rgb(179, 179, 179);
 }
 
-body.mac-platform.legacy .details-section .details-section:first-child {
-    border-top: none;
-}
-
 .details-section > .header {
     position: -webkit-sticky;
     top: -1px;
@@ -78,17 +62,6 @@ body.mac-platform.legacy .details-section .details-section:first-child {
     z-index: 200;
 }
 
-body.mac-platform.legacy .details-section > .header {
-    border-bottom: 1px solid rgb(179, 179, 179);
-    box-shadow: inset rgba(255, 255, 255, 0.2) 0 1px 0;
-    background-color: transparent;
-    background-image: linear-gradient(to bottom, rgb(238, 240, 244), rgb(224, 226, 230));
-
-    border-top: 1px solid rgb(179, 179, 179);
-
-    text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
-}
-
 .details-section .details-section > .header {
     top: 21px;
     background-color: rgb(255, 255, 255);
@@ -101,28 +74,10 @@ body.mac-platform.legacy .details-section > .header {
     border-bottom: 1px solid rgb(222, 222, 222);
 }
 
-body.mac-platform.legacy .details-section .details-section > .header {
-    background-color: transparent;
-    background-image: linear-gradient(to bottom, rgb(250, 250, 250), rgb(240, 240, 240));
-    box-shadow: none;
-}
-
-body.mac-platform.legacy .details-section .details-section.collapsed > .header {
-    box-shadow: none;
-}
-
-body.mac-platform.legacy .details-section:not(.collapsed) .data-grid.inline {
-    border-top: none;
-}
-
 .details-section.computed-style-properties:not(.collapsed) > .header {
     background-color: rgb(255, 255, 255);
 }
 
-body.mac-platform.legacy .details-section.computed-style-properties:not(.collapsed) > .header {
-    background-color: transparent;
-}
-
 .details-section > .header::before {
     display: block;
     float: left;
@@ -193,10 +148,6 @@ body.mac-platform.legacy .details-section.computed-style-properties:not(.collaps
     border-bottom: 1px solid rgb(179, 179, 179);
 }
 
-body.mac-platform.legacy .details-section > .content > .group {
-    border-bottom: none;
-}
-
 .details-section > .content > .group:last-child {
     border-bottom: none;
 }
@@ -205,19 +156,10 @@ body.mac-platform.legacy .details-section > .content > .group {
     background-color: rgb(233, 233, 233);
 }
 
-body.mac-platform.legacy .details-section > .content > .group:nth-child(even) {
-    background-color: rgb(222, 222, 222);
-}
-
 .details-section > .content > .group:nth-child(even) > .row:matches(.simple:first-child > *, :not(.simple):first-child) {
     border-top: 1px solid rgb(179, 179, 179);
 }
 
-body.mac-platform.legacy .details-section > .content > .group:matches(:nth-child(even), :last-child) > .row:not(.simple):last-child,
-body.mac-platform.legacy .details-section > .content > .group:matches(:nth-child(even), :last-child) > .row.simple:last-child > * {
-    border-bottom: 1px solid rgb(179, 179, 179);
-}
-
 .details-section > .content > .group > .row.simple {
     display: table-row;
 }
@@ -292,10 +234,6 @@ body.mac-platform.legacy .details-section > .content > .group:matches(:nth-child
     color: gray;
 }
 
-body.mac-platform.legacy .details-section > .content > .group > .row:matches(.empty, .text) {
-    padding: 6px;
-}
-
 .details-section > .content > .group > .row.text {
     -webkit-user-select: text;
 }
index 8015c97..b9cafef 100644 (file)
@@ -31,7 +31,3 @@
     background-repeat: no-repeat;
     background-position: center;
 }
-
-body.mac-platform.legacy .navigation-bar .item.divider {
-    background-size: 100% 13px;
-}
index 3553edd..2edf6c6 100644 (file)
     overflow: hidden;
 }
 
-body.mac-platform.legacy .filter-bar {
-    height: 21px;
-}
-
 .filter-bar > .navigation-bar > .item {
     padding: 0 0 3px 8px;
 }
@@ -59,15 +55,6 @@ body.mac-platform.legacy .filter-bar {
     height: 22px;
 }
 
-body.mac-platform.legacy .filter-bar > input[type="search"] {
-    border: 1px solid rgba(0, 0, 0, 0.35);
-    border-radius: 10px;
-    box-shadow: inset rgba(0, 0, 0, 0.1) 0 1px 0;
-
-    height: 19px;
-    transition: background-color 200ms ease-in-out;
-}
-
 .filter-bar > input[type="search"]::-webkit-input-placeholder {
     color: rgba(0, 0, 0, 0.35);
 }
@@ -87,7 +74,3 @@ body.mac-platform.legacy .filter-bar > input[type="search"] {
 
     -webkit-appearance: none;
 }
-
-body.mac-platform.legacy .filter-bar > input[type="search"]::-webkit-search-decoration {
-    background-image: url(../Images/Legacy/FilterFieldGlyph.svg);
-}
index 954dcbb..b1e7569 100644 (file)
@@ -93,10 +93,6 @@ body.window-inactive .find-banner {
     background-color: white;
 }
 
-body.mac-platform.legacy .find-banner > input[type="search"] {
-    box-shadow: inset rgba(0, 0, 0, 0.1) 0 1px 0;
-}
-
 .find-banner > button {
     margin: 1px 4px;
 
@@ -129,10 +125,6 @@ body.mac-platform.legacy .find-banner > input[type="search"] {
     height: 11px;
 }
 
-body.mac-platform.legacy .find-banner > button > .glyph {
-    height: 7px;
-}
-
 .find-banner > button:disabled > .glyph {
     opacity: 0.65;
 }
@@ -164,10 +156,6 @@ body.mac-platform.legacy .find-banner > button > .glyph {
     background-repeat: no-repeat;
 }
 
-body.mac-platform.legacy .find-banner > button.segmented.left > .glyph {
-    background-size: 7px 7px;
-}
-
 .find-banner > button.segmented.left:active:not(:disabled) > .glyph {
     background-image: -webkit-canvas(find-banner-previous-arrow-normal-active);
 }
@@ -188,10 +176,6 @@ body.mac-platform.legacy .find-banner > button.segmented.left > .glyph {
     background-repeat: no-repeat;
 }
 
-body.mac-platform.legacy .find-banner > button.segmented.right > .glyph {
-    background-size: 7px 7px;
-}
-
 .find-banner > button.segmented.right:active:not(:disabled) > .glyph {
     background-image: -webkit-canvas(find-banner-next-arrow-normal-active);
 }
@@ -202,11 +186,6 @@ body.mac-platform.legacy .find-banner > button.segmented.right > .glyph {
     padding-bottom: 2px;
 }
 
-body.mac-platform.legacy .find-banner > button.segmented {
-    padding-top: 2px;
-    padding-bottom: 3px;
-}
-
 .find-banner > button.segmented:active {
     z-index: 100;
     position: relative;
index 6bb4eec..abad750 100644 (file)
@@ -325,17 +325,8 @@ WebInspector.FindBanner = class FindBanner extends WebInspector.Object
         specifications["normal"] = {fillColor: [81, 81, 81]};
         specifications["normal-active"] = {fillColor: [37, 37, 37]};
 
-        var forwardArrow, backArrow;
-        if (WebInspector.Platform.isLegacyMacOS) {
-            forwardArrow = {src: "Images/Legacy/ForwardArrow.svg", width: 7, height: 7};
-            backArrow = {src: "Images/Legacy/BackArrow.svg", width: 7, height: 7};
-        } else {
-            forwardArrow = {src: "Images/ForwardArrow.svg", width: 7, height: 11};
-            backArrow = {src: "Images/BackArrow.svg", width: 7, height: 11};
-        }
-
-        generateColoredImagesForCSS(backArrow.src, specifications, backArrow.width, backArrow.height, "find-banner-previous-arrow-");
-        generateColoredImagesForCSS(forwardArrow.src, specifications, forwardArrow.width, forwardArrow.height, "find-banner-next-arrow-");
+        generateColoredImagesForCSS("Images/BackArrow.svg", specifications, 7, 11, "find-banner-previous-arrow-");
+        generateColoredImagesForCSS("Images/ForwardArrow.svg", specifications, 7, 11, "find-banner-next-arrow-");
     }
 };
 
index 9e7feb6..351da2f 100644 (file)
@@ -26,7 +26,3 @@
 .folder-icon .icon {
     content: -webkit-image-set(url(../Images/FolderGeneric.png) 1x, url(../Images/FolderGeneric@2x.png) 2x);
 }
-
-body.mac-platform.legacy .folder-icon .icon {
-    content: -webkit-image-set(url(../Images/Legacy/FolderGeneric.png) 1x, url(../Images/Legacy/FolderGeneric@2x.png) 2x);
-}
index 15ccb3f..60b832f 100644 (file)
     content: url(../Images/UpDownArrows.svg);
 }
 
-body.mac-platform.legacy .hierarchical-path-component > .selector-arrows {
-    content: url(../Images/Legacy/UpDownArrows.svg);
-}
-
 .hierarchical-path-component > .title {
     display: flex;
     flex: 1;
index 145c910..bb7caf0 100644 (file)
@@ -73,16 +73,7 @@ WebInspector.IndexedDatabaseObjectStoreContentView = function(objectStoreOrIndex
 
     this._fetchMoreData();
 
-    var refreshSource, refreshSize;
-    if (WebInspector.Platform.isLegacyMacOS) {
-        refreshSource = "Images/Legacy/Reload.svg";
-        refreshSize = 16;
-    } else {
-        refreshSource = "Images/ReloadFull.svg";
-        refreshSize = 13;
-    }
-
-    this._refreshButtonNavigationItem = new WebInspector.ButtonNavigationItem("indexed-database-object-store-refresh", WebInspector.UIString("Refresh"), refreshSource, refreshSize, refreshSize);
+    this._refreshButtonNavigationItem = new WebInspector.ButtonNavigationItem("indexed-database-object-store-refresh", WebInspector.UIString("Refresh"), "Images/ReloadFull.svg", 13, 13);
     this._refreshButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._refreshButtonClicked, this);
 };
 
index 308b553..da9e7f9 100644 (file)
     bottom: 28px;
 }
 
-body.mac-platform.legacy .sidebar > .panel.details.layer-tree > .content {
-    bottom: 22px;
-}
-
 .panel.details.layer-tree .data-grid {
     border-right: none;
     border-left: none;
@@ -66,10 +62,6 @@ body.mac-platform.legacy .sidebar > .panel.details.layer-tree > .content {
     background-color: white;
 }
 
-body.mac-platform.legacy .panel.details.layer-tree .bottom-bar {
-    height: 23px;
-}
-
 .panel.details.layer-tree .bottom-bar > div {
     padding: 4px 6px;
 
@@ -83,11 +75,6 @@ body.mac-platform.legacy .panel.details.layer-tree .bottom-bar {
     flex: 1;
 }
 
-body.mac-platform.legacy .panel.details.layer-tree .bottom-bar > div {
-    line-height: inherit;
-    text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
-}
-
 .panel.details.layer-tree .layers-memory-label {
     justify-content: flex-end;
 }
@@ -96,10 +83,6 @@ body.mac-platform.legacy .panel.details.layer-tree .bottom-bar > div {
     padding: 5px;
 }
 
-body.mac-platform.legacy .layer-tree-popover {
-    text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
-}
-
 .layer-tree-popover p {
     margin: 0;
 }
index 4cedfc9..f5d1f60 100644 (file)
     padding-left: 4px;
 }
 
-body.mac-platform.legacy .search-bar.log-search-bar > input[type="search"] {
-    padding-left: 0;
-}
-
 .search-in-progress .console-item.filtered-out-by-search {
     display: none;
 }
index 60b09be..78e0308 100644 (file)
@@ -68,19 +68,13 @@ WebInspector.LogContentView = function(representedObject)
     this._scopeBar = new WebInspector.ScopeBar("log-scope-bar", scopeBarItems, scopeBarItems[0]);
     this._scopeBar.addEventListener(WebInspector.ScopeBar.Event.SelectionChanged, this._scopeBarSelectionDidChange, this);
 
-    var trashImage;
-    if (WebInspector.Platform.isLegacyMacOS)
-        trashImage = {src: "Images/Legacy/NavigationItemTrash.svg", width: 16, height: 16};
-    else
-        trashImage = {src: "Images/NavigationItemTrash.svg", width: 15, height: 15};
-
-    this._clearLogNavigationItem = new WebInspector.ButtonNavigationItem("clear-log", WebInspector.UIString("Clear log (%s or %s)").format(this._logViewController.messagesClearKeyboardShortcut.displayName, this._logViewController.messagesAlternateClearKeyboardShortcut.displayName), trashImage.src, trashImage.width, trashImage.height);
+    this._clearLogNavigationItem = new WebInspector.ButtonNavigationItem("clear-log", WebInspector.UIString("Clear log (%s or %s)").format(this._logViewController.messagesClearKeyboardShortcut.displayName, this._logViewController.messagesAlternateClearKeyboardShortcut.displayName), "Images/NavigationItemTrash.svg", 15, 15);
     this._clearLogNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._clearLog, this);
 
     this._clearLogOnReloadSetting = new WebInspector.Setting("clear-log-on-reload", true);
 
     var toolTip = WebInspector.UIString("Show console tab");
-    this._showConsoleTabNavigationItem = new WebInspector.ButtonNavigationItem("show-tab", toolTip, platformImagePath("SplitToggleUp.svg"), 16, 16);
+    this._showConsoleTabNavigationItem = new WebInspector.ButtonNavigationItem("show-tab", toolTip, "Images/SplitToggleUp.svg", 16, 16);
     this._showConsoleTabNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._showConsoleTab, this);
 
     this.messagesElement.addEventListener("contextmenu", this._handleContextMenuEvent.bind(this), false);
index 119451f..5d8a9bc 100644 (file)
@@ -57,10 +57,6 @@ body {
     tab-size: 4; /* FIXME: This should be controlled by a setting. <rdar://problem/10593948> */
 }
 
-body.mac-platform.legacy:not(.docked) {
-    background-color: transparent;
-}
-
 body.docked.bottom {
     border-top: 1px solid rgb(200, 200, 200);
 }
@@ -77,14 +73,6 @@ body.window-inactive.docked.right {
     border-left-color: rgb(219, 219, 219);
 }
 
-body.docked.bottom.mac-platform.legacy {
-    border-top-color: rgb(85, 85, 85);
-}
-
-body.docked.right.mac-platform.legacy {
-    border-left-color: rgb(85, 85, 85);
-}
-
 #docked-resizer {
     display: none;
 
@@ -166,10 +154,6 @@ body.window-inactive #split-content-browser {
     background-color: rgb(242, 242, 242);
 }
 
-body.mac-platform.legacy #split-content-browser > .navigation-bar {
-    background-image: linear-gradient(to bottom, rgb(248, 248, 248), rgb(226, 226, 226));
-}
-
 #split-content-browser > .navigation-bar .item:not(.flexible-space) {
     cursor: default;
 }
index fdadc80..3a3224b 100644 (file)
@@ -43,10 +43,6 @@ body.window-inactive .navigation-bar {
     border-bottom-color: rgb(219, 219, 219);
 }
 
-body.mac-platform.legacy .navigation-bar {
-    height: 22px;
-}
-
 .navigation-bar .item {
     display: flex;
     align-items: center;
@@ -55,7 +51,3 @@ body.mac-platform.legacy .navigation-bar {
     height: 28px;
     outline: none;
 }
-
-body.mac-platform.legacy .navigation-bar .item {
-    height: 21px;
-}
index d5d3eeb..fd0d460 100644 (file)
     bottom: 28px;
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation > .content {
-    bottom: 22px;
-}
-
 .sidebar > .panel.navigation > .filter-bar {
     position: absolute;
     bottom: 0;
@@ -52,29 +48,11 @@ body.mac-platform.legacy .sidebar > .panel.navigation > .content {
     border-bottom: 1px solid rgb(179, 179, 179);
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation > .overflow-shadow {
-    border-bottom: none;
-
-    background-image: -webkit-radial-gradient(center, ellipse closest-side, rgba(0, 0, 0, 0.2) 25%, transparent),
-        linear-gradient(to right, rgba(0, 0, 0, 0.0125), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.0125));
-    background-size: 125% 15px, 100% 1px;
-    background-position: top center, bottom center;
-    background-repeat: no-repeat;
-
-    height: 5px;
-    bottom: 22px;
-}
-
 .sidebar > .panel.navigation > .overflow-shadow.top {
     top: 28px;
     bottom: initial;
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation > .overflow-shadow.top {
-    top: 21px;
-    background-position: bottom center, top center;
-}
-
 .sidebar > .panel.navigation > .empty-content-placeholder {
     position: absolute;
     top: 0;
@@ -88,10 +66,6 @@ body.mac-platform.legacy .sidebar > .panel.navigation > .overflow-shadow.top {
     align-items: center;
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation > .empty-content-placeholder {
-    bottom: 21px;
-}
-
 .sidebar > .panel.navigation > .empty-content-placeholder > .message {
     display: inline-block;
     white-space: nowrap;
@@ -224,36 +198,15 @@ body.mac-platform.legacy .sidebar > .panel.navigation > .empty-content-placehold
     background-color: rgb(212, 212, 212);
 }
 
-body.mac-platform.legacy .navigation-sidebar-panel-content-tree-outline .item.selected {
-    border-top: 1px solid rgb(162, 177, 201);
-
-    background-color: transparent;
-    background-image: linear-gradient(to bottom, rgb(175, 190, 213), rgb(130, 151, 182));
-    background-origin: padding;
-    background-clip: padding;
-}
-
 .navigation-sidebar-panel-content-tree-outline:focus .item.selected {
     color: white;
     background-color: rgb(0, 128, 252);
 }
 
-body.mac-platform.legacy .navigation-sidebar-panel-content-tree-outline:focus .item.selected {
-    background-color: transparent;
-    border-top: 1px solid rgb(148, 174, 193);
-    background-image: linear-gradient(to bottom, rgb(154, 180, 203), rgb(112, 139, 176));
-}
-
 body.window-inactive .navigation-sidebar-panel-content-tree-outline .item.selected {
     background-color: rgb(212, 212, 212);
 }
 
-body.mac-platform.legacy.window-inactive .navigation-sidebar-panel-content-tree-outline .item.selected {
-    background-color: transparent;
-    border-top: 1px solid rgb(168, 168, 168);
-    background-image: linear-gradient(to bottom, rgb(194, 194, 194), rgb(158, 158, 158));
-}
-
 .navigation-sidebar-panel-content-tree-outline .item .titles {
     position: relative;
     top: 5px;
index 652d99e..38bc81c 100644 (file)
@@ -420,11 +420,7 @@ WebInspector.NavigationSidebarPanel = class NavigationSidebarPanel extends WebIn
             return;
         }
 
-        if (WebInspector.Platform.isLegacyMacOS)
-            var edgeThreshold = 10;
-        else
-            var edgeThreshold = 1;
-
+        var edgeThreshold = 1;
         var scrollTop = this.contentElement.scrollTop;
 
         var topCoverage = Math.min(scrollTop, edgeThreshold);
@@ -557,32 +553,13 @@ WebInspector.NavigationSidebarPanel = class NavigationSidebarPanel extends WebIn
         WebInspector.NavigationSidebarPanel._generatedDisclosureTriangles = true;
 
         var specifications = {};
+        specifications[WebInspector.NavigationSidebarPanel.DisclosureTriangleNormalCanvasIdentifierSuffix] = {
+            fillColor: [140, 140, 140]
+        };
 
-        if (WebInspector.Platform.isLegacyMacOS) {
-            specifications[WebInspector.NavigationSidebarPanel.DisclosureTriangleNormalCanvasIdentifierSuffix] = {
-                fillColor: [112, 126, 139],
-                shadowColor: [255, 255, 255, 0.8],
-                shadowOffsetX: 0,
-                shadowOffsetY: 1,
-                shadowBlur: 0
-            };
-
-            specifications[WebInspector.NavigationSidebarPanel.DisclosureTriangleSelectedCanvasIdentifierSuffix] = {
-                fillColor: [255, 255, 255],
-                shadowColor: [61, 91, 110, 0.8],
-                shadowOffsetX: 0,
-                shadowOffsetY: 1,
-                shadowBlur: 2
-            };
-        } else {
-            specifications[WebInspector.NavigationSidebarPanel.DisclosureTriangleNormalCanvasIdentifierSuffix] = {
-                fillColor: [140, 140, 140]
-            };
-
-            specifications[WebInspector.NavigationSidebarPanel.DisclosureTriangleSelectedCanvasIdentifierSuffix] = {
-                fillColor: [255, 255, 255]
-            };
-        }
+        specifications[WebInspector.NavigationSidebarPanel.DisclosureTriangleSelectedCanvasIdentifierSuffix] = {
+            fillColor: [255, 255, 255]
+        };
 
         generateColoredImagesForCSS("Images/DisclosureTriangleSmallOpen.svg", specifications, 13, 13, WebInspector.NavigationSidebarPanel.DisclosureTriangleOpenCanvasIdentifier);
         generateColoredImagesForCSS("Images/DisclosureTriangleSmallClosed.svg", specifications, 13, 13, WebInspector.NavigationSidebarPanel.DisclosureTriangleClosedCanvasIdentifier);
index 6878629..2997749 100644 (file)
@@ -224,7 +224,7 @@ WebInspector.NetworkTimelineView.prototype = {
             return;
         }
 
-        wrappedSVGDocument(platformImagePath("Close.svg"), null, WebInspector.UIString("Close resource view"), function(element) {
+        wrappedSVGDocument("Images/Close.svg", null, WebInspector.UIString("Close resource view"), function(element) {
             this._closeStatusButton = new WebInspector.TreeElementStatusButton(element);
             this._closeStatusButton.addEventListener(WebInspector.TreeElementStatusButton.Event.Clicked, this._closeStatusButtonClicked, this);
             if (treeElement === this.navigationSidebarTreeOutline.selectedTreeElement)
index e04f9c3..8b59a6d 100644 (file)
@@ -367,7 +367,7 @@ WebInspector.OverviewTimelineView.prototype = {
             return;
         }
 
-        wrappedSVGDocument(platformImagePath("Close.svg"), null, WebInspector.UIString("Close resource view"), function(element) {
+        wrappedSVGDocument("Images/Close.svg", null, WebInspector.UIString("Close resource view"), function(element) {
             this._closeStatusButton = new WebInspector.TreeElementStatusButton(element);
             this._closeStatusButton.addEventListener(WebInspector.TreeElementStatusButton.Event.Clicked, this._closeStatusButtonClicked, this);
             if (treeElement === this.navigationSidebarTreeOutline.selectedTreeElement)
index c587b2a..80785d0 100644 (file)
@@ -200,7 +200,7 @@ WebInspector.Popover = class Popover extends WebInspector.Object
             this._preferredSize = new WebInspector.Size(Math.ceil(popoverBounds.width), Math.ceil(popoverBounds.height));
         }
 
-        var titleBarOffset = WebInspector.Platform.name === "mac" && !WebInspector.Platform.isLegacyMacOS ? 22 : 0;
+        var titleBarOffset = WebInspector.Platform.name === "mac" && WebInspector.Platform.version.release >= 10 ? 22 : 0;
         var containerFrame = new WebInspector.Rect(0, titleBarOffset, window.innerWidth, window.innerHeight - titleBarOffset);
         // The frame of the window with a little inset to make sure we have room for shadows.
         containerFrame = containerFrame.inset(WebInspector.Popover.ShadowEdgeInsets);
index 5d3daaf..cdbcd7f 100644 (file)
     height: 13px;
 }
 
-body.mac-platform.legacy .details-section.probe-set .options > .probe-clear-samples {
-    content: url(../Images/Legacy/NavigationItemTrash.svg);
-    height: 16px;
-}
-
-body.mac-platform.legacy .details-section.probe-set .options > .probe-remove {
-    content: url(../Images/Legacy/CloseLarge.svg);
-}
-
-body.mac-platform.legacy .details-section.probe-set .options > .probe-add {
-    content: url(../Images/Legacy/Plus.svg);
-    height: 11px;
-}
-
 .details-section.probe-set .options > input {
     height: 12px;
     width: 40px;
index 4426103..7276cae 100644 (file)
     font-family: Menlo, monospace;
 }
 
-body.mac-platform.legacy .quick-console {
-    padding: 0;
-}
-
 body.window-inactive .quick-console {
     border-top-color: rgb(219, 219, 219);
 }
index 13b36ce..2f2eb14 100644 (file)
     background-color: rgba(34, 131, 246, 0.5);
 }
 
-body.mac-platform.legacy .navigation-bar .item.radio.button.text-only:hover {
-    color: rgb(0, 0, 0);
-    background-color: transparent;
-}
-
 .navigation-bar .item.radio.button.text-only.selected {
     color: white;
     background-color: rgba(34, 131, 246, 1);
 }
 
-body.mac-platform.legacy .navigation-bar .item.radio.button.text-only.selected {
-    color: rgb(0, 0, 0);
-    font-weight: bold;
-
-    background-repeat: no-repeat;
-    background-color: transparent;
-    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.09) 12%, rgba(0, 0, 0, 0.06) 12%, transparent), linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent),
-        linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent);
-    background-size: 100% 100%, 1px 100%, 1px 100%;
-    background-position: left top, left top, right top;
-}
-
 .navigation-bar .item.radio.button.text-only:active {
     color: white;
     background-color: rgba(34, 131, 246, 0.55);
@@ -66,9 +49,3 @@ body.mac-platform.legacy .navigation-bar .item.radio.button.text-only.selected {
 .navigation-bar .item.radio.button.text-only.selected:active {
     background-color: rgba(31, 105, 238, 1);
 }
-
-body.mac-platform.legacy .navigation-bar .item.radio.button.text-only:active,
-body.mac-platform.legacy .navigation-bar .item.radio.button.text-only.selected:active {
-    color: rgb(0, 0, 0);
-    background-color: transparent;
-}
index 8af3140..ebde685 100644 (file)
     border-top: 1px solid rgb(179, 179, 179);
 }
 
-body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .label + .style-declaration-section {
-    border-top: none;
-}
-
 .sidebar > .panel.details.css-style .rules .new-rule {
     font-size: 12px;
 
@@ -56,20 +52,10 @@ body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .label + .st
     opacity: 0.5;
 }
 
-body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule {
-    text-shadow: white 0 1px 0;
-    border-bottom: none;
-    font-weight: bold;
-}
-
 .sidebar > .panel.details.css-style .rules .new-rule + .style-declaration-section {
     border-top: 1px solid rgb(179, 179, 179);
 }
 
-body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule + .style-declaration-section {
-    border-top: none;
-}
-
 .sidebar > .panel.details.css-style .rules .new-rule img {
     content: url(../Images/Plus.svg);
 
@@ -81,10 +67,6 @@ body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule +
     margin-right: 6px;
 }
 
-body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule img {
-    content: url(../Images/Legacy/Plus.svg);
-}
-
 .sidebar > .panel.details.css-style .rules .new-rule:hover {
     opacity: 0.6;
 }
index 72f2ac1..5f8aca9 100644 (file)
     text-align: center;
 }
 
-body.mac-platform.legacy .scope-bar > li {
-    font-weight: bold;
-    padding: 0 8px 3px;
-    border-radius: 9px;
-
-    transition: 200ms ease-in-out;
-    transition-property: background-color, border-color;
-}
-
 .scope-bar > li:matches(.selected, :active) {
     transition-duration: 75ms;
 }
@@ -59,38 +50,16 @@ body.mac-platform.legacy .scope-bar > li {
     background-color: rgba(34, 131, 246, 0.5);
 }
 
-body.mac-platform.legacy .scope-bar > li:hover {
-    color: inherit;
-    border-color: rgba(0, 0, 0, 0.15);
-    background-color: transparent;
-}
-
 .scope-bar > li.selected {
     color: white;
     background-color: rgba(34, 131, 246, 1);
 }
 
-body.mac-platform.legacy .scope-bar > li.selected {
-    color: inherit;
-    background-color: rgba(0, 0, 0, 0.06);
-    border-color: rgba(0, 0, 0, 0.30);
-}
-
 .scope-bar > li:active {
     color: white;
     background-color: rgba(34, 131, 246, 0.55);
 }
 
-body.mac-platform.legacy .scope-bar > li:active {
-    color: inherit;
-    background-color: rgba(0, 0, 0, 0.16);
-    border-color: rgba(0, 0, 0, 0.40);
-}
-
 .scope-bar > li.selected:active {
     background-color: rgba(31, 105, 238, 1);
 }
-
-body.mac-platform.legacy .scope-bar > li.selected:active {
-    background-color: rgba(0, 0, 0, 0.16);
-}
index f3a7abd..0c43cd4 100644 (file)
@@ -48,15 +48,9 @@ WebInspector.ScriptContentView = function(script)
     this._textEditor.addEventListener(WebInspector.SourceCodeTextEditor.Event.ContentWillPopulate, this._contentWillPopulate, this);
     this._textEditor.addEventListener(WebInspector.SourceCodeTextEditor.Event.ContentDidPopulate, this._contentDidPopulate, this);
 
-    var curleyBracesImage;
-    if (WebInspector.Platform.isLegacyMacOS)
-        curleyBracesImage = {src: "Images/Legacy/NavigationItemCurleyBraces.svg", width: 16, height: 16};
-    else
-        curleyBracesImage = {src: "Images/NavigationItemCurleyBraces.svg", width: 13, height: 13};
-
     var toolTip = WebInspector.UIString("Pretty print");
     var activatedToolTip = WebInspector.UIString("Original formatting");
-    this._prettyPrintButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("pretty-print", toolTip, activatedToolTip, curleyBracesImage.src, curleyBracesImage.width, curleyBracesImage.height);
+    this._prettyPrintButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("pretty-print", toolTip, activatedToolTip, "Images/NavigationItemCurleyBraces.svg", 13, 13);
     this._prettyPrintButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._togglePrettyPrint, this);
     this._prettyPrintButtonNavigationItem.enabled = false; // Enabled when the text editor is populated with content.
 
index beddd76..66acd59 100644 (file)
     height: 22px;
 }
 
-body.mac-platform.legacy .search-bar > input[type="search"] {
-    border: 1px solid rgba(0, 0, 0, 0.35);
-    border-radius: 10px;
-    box-shadow: inset rgba(0, 0, 0, 0.1) 0 1px 0;
-    height: 19px;
-    transition: background-color 200ms ease-in-out;
-}
-
 .search-bar > input[type="search"]::-webkit-input-placeholder {
     color: rgba(0, 0, 0, 0.35);
 }
index b96cf5c..aeca4d5 100644 (file)
     top: 28px;
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation.search > :matches(.content, .empty-content-placeholder) {
-    top: 21px;
-}
-
 .sidebar > .panel.navigation.search > .search-bar {
     position: absolute;
     top: 0;
@@ -47,10 +43,6 @@ body.mac-platform.legacy .sidebar > .panel.navigation.search > :matches(.content
     overflow: hidden;
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation.search > .search-bar {
-    height: 21px;
-}
-
 .sidebar > .panel.navigation.search > .search-bar > input[type="search"] {
     display: flex;
     flex: 1;
@@ -58,8 +50,3 @@ body.mac-platform.legacy .sidebar > .panel.navigation.search > .search-bar {
     margin: 3px 6px;
     padding-left: 4px;
 }
-
-body.mac-platform.legacy .sidebar > .panel.navigation.search > .search-bar > input[type="search"] {
-    margin: 1px 6px;
-    padding-left: 0;
-}
index c836879..87c3f3f 100644 (file)
     background-color: rgb(242, 242, 242);
 }
 
-body.mac-platform.legacy .sidebar {
-    background-color: rgb(227, 231, 235);
-}
-
 .sidebar.collapsed {
     width: 0 !important;
     border: none !important;
 }
 
-body.mac-platform.legacy.window-inactive .sidebar {
-    background-color: rgb(231, 231, 231);
-}
-
 .sidebar > .navigation-bar {
     position: absolute;
     top: 0;
@@ -99,7 +91,3 @@ body.window-inactive .sidebar.left {
 body.window-inactive .sidebar.right {
     border-left-color: rgb(219, 219, 219);
 }
-
-body.mac-platform.legacy .sidebar.right {
-    background-color: rgb(231, 231, 231);
-}
index cda01f8..16c89f0 100644 (file)
@@ -50,7 +50,7 @@ WebInspector.TabBrowser = class TabBrowser extends WebInspector.Object
         this._contentViewContainer = new WebInspector.ContentViewContainer;
         this._element.appendChild(this._contentViewContainer.element);
 
-        this._tabBar.newTabItem = new WebInspector.TabBarItem(platformImagePath("NewTabPlus.svg"), WebInspector.UIString("Create a new tab"), true);
+        this._tabBar.newTabItem = new WebInspector.TabBarItem("Images/NewTabPlus.svg", WebInspector.UIString("Create a new tab"), true);
 
         this._tabBar.addEventListener(WebInspector.TabBar.Event.TabBarItemSelected, this._tabBarItemSelected, this);
         this._tabBar.addEventListener(WebInspector.TabBar.Event.TabBarItemRemoved, this._tabBarItemRemoved, this);
index d1c5627..9818024 100644 (file)
@@ -39,15 +39,9 @@ WebInspector.TextContentView = function(string, mimeType)
     this._textEditor.mimeType = mimeType;
     this._textEditor.string = string;
 
-    var curleyBracesImage;
-    if (WebInspector.Platform.isLegacyMacOS)
-        curleyBracesImage = {src: "Images/Legacy/NavigationItemCurleyBraces.svg", width: 16, height: 16};
-    else
-        curleyBracesImage = {src: "Images/NavigationItemCurleyBraces.svg", width: 13, height: 13};
-
     var toolTip = WebInspector.UIString("Pretty print");
     var activatedToolTip = WebInspector.UIString("Original formatting");
-    this._prettyPrintButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("pretty-print", toolTip, activatedToolTip, curleyBracesImage.src, curleyBracesImage.width, curleyBracesImage.height);
+    this._prettyPrintButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("pretty-print", toolTip, activatedToolTip, "Images/NavigationItemCurleyBraces.svg", 13, 13);
     this._prettyPrintButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._togglePrettyPrint, this);
     this._prettyPrintButtonNavigationItem.enabled = this._textEditor.canBeFormatted();
 
index 774b0a0..bcb8687 100644 (file)
@@ -40,15 +40,9 @@ WebInspector.TextResourceContentView = function(resource)
     WebInspector.probeManager.addEventListener(WebInspector.ProbeManager.Event.ProbeSetAdded, this._probeSetsChanged, this);
     WebInspector.probeManager.addEventListener(WebInspector.ProbeManager.Event.ProbeSetRemoved, this._probeSetsChanged, this);
 
-    var curleyBracesImage;
-    if (WebInspector.Platform.isLegacyMacOS)
-        curleyBracesImage = {src: "Images/Legacy/NavigationItemCurleyBraces.svg", width: 16, height: 16};
-    else
-        curleyBracesImage = {src: "Images/NavigationItemCurleyBraces.svg", width: 13, height: 13};
-
     var toolTip = WebInspector.UIString("Pretty print");
     var activatedToolTip = WebInspector.UIString("Original formatting");
-    this._prettyPrintButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("pretty-print", toolTip, activatedToolTip, curleyBracesImage.src, curleyBracesImage.width, curleyBracesImage.height);
+    this._prettyPrintButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("pretty-print", toolTip, activatedToolTip, "Images/NavigationItemCurleyBraces.svg", 13, 13);
     this._prettyPrintButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._togglePrettyPrint, this);
     this._prettyPrintButtonNavigationItem.enabled = false; // Enabled when the text editor is populated with content.
 
index 72b42c7..56712f8 100644 (file)
     background-color: white;
 }
 
-body.mac-platform.legacy .data-grid.timeline > .navigation-bar-container > .navigation-bar {
-    top: 10px;
-    height: 22px;
-}
-
 .timeline-data-grid-tree-outline {
     position: relative;
     padding: 0;
index 58983d6..3c5543a 100644 (file)
     content: -webkit-image-set(url(../Images/NetworkLarge.png) 1x, url(../Images/NetworkLarge@2x.png) 2x);
 }
 
-body.mac-platform.legacy .network-icon .icon {
-    content: -webkit-image-set(url(../Images/Legacy/Network.png) 1x, url(../Images/Legacy/Network@2x.png) 2x);
-}
-
-body.mac-platform.legacy .network-icon.large .icon {
-    content: -webkit-image-set(url(../Images/Legacy/NetworkLarge.png) 1x, url(../Images/Legacy/NetworkLarge@2x.png) 2x);
-}
-
 .colors-icon .icon {
     content: -webkit-image-set(url(../Images/Colors.png) 1x, url(../Images/Colors@2x.png) 2x);
 }
@@ -47,14 +39,6 @@ body.mac-platform.legacy .network-icon.large .icon {
     content: -webkit-image-set(url(../Images/ColorsLarge.png) 1x, url(../Images/ColorsLarge@2x.png) 2x);
 }
 
-body.mac-platform.legacy .colors-icon .icon {
-    content: -webkit-image-set(url(../Images/Legacy/Colors.png) 1x, url(../Images/Legacy/Colors@2x.png) 2x);
-}
-
-body.mac-platform.legacy .colors-icon.large .icon {
-    content: -webkit-image-set(url(../Images/Legacy/ColorsLarge.png) 1x, url(../Images/Legacy/ColorsLarge@2x.png) 2x);
-}
-
 .script-icon .icon {
     content: -webkit-image-set(url(../Images/Script.png) 1x, url(../Images/Script@2x.png) 2x);
 }
index 4a779fe..b455325 100644 (file)
@@ -49,13 +49,7 @@ WebInspector.TimelineRecordingContentView = function(recording, extraArguments)
     this._contentViewContainer.addEventListener(WebInspector.ContentViewContainer.Event.CurrentContentViewDidChange, this._currentContentViewDidChange, this);
     this.element.appendChild(this._contentViewContainer.element);
 
-    var trashImage;
-    if (WebInspector.Platform.isLegacyMacOS)
-        trashImage = {src: "Images/Legacy/NavigationItemTrash.svg", width: 16, height: 16};
-    else
-        trashImage = {src: "Images/NavigationItemTrash.svg", width: 15, height: 15};
-
-    this._clearTimelineNavigationItem = new WebInspector.ButtonNavigationItem("clear-timeline", WebInspector.UIString("Clear Timeline"), trashImage.src, trashImage.width, trashImage.height);
+    this._clearTimelineNavigationItem = new WebInspector.ButtonNavigationItem("clear-timeline", WebInspector.UIString("Clear Timeline"), "Images/NavigationItemTrash.svg", 15, 15);
     this._clearTimelineNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._clearTimeline, this);
 
     this._overviewTimelineView = new WebInspector.OverviewTimelineView(recording, {timelineSidebarPanel: this._timelineSidebarPanel});
index 5ad0646..f59b5db 100644 (file)
     height: 29px;
 }
 
-body.mac-platform.legacy .timeline-ruler > .header {
-    height: 22px;
-}
-
 .timeline-ruler > .header > .divider {
     position: absolute;
     width: 1px;
@@ -138,10 +134,6 @@ body.mac-platform.legacy .timeline-ruler > .header {
     pointer-events: all;
 }
 
-body.mac-platform.legacy .timeline-ruler > .selection-drag {
-    height: 22px;
-}
-
 .timeline-ruler > .selection-drag:active {
     cursor: -webkit-grabbing;
 }
@@ -159,10 +151,6 @@ body.mac-platform.legacy .timeline-ruler > .selection-drag {
     z-index: 15;
 }
 
-body.mac-platform.legacy .timeline-ruler > .selection-handle {
-    height: 21px;
-}
-
 .timeline-ruler > .selection-handle.left {
     -webkit-transform: translateX(-4px);
 }
index bc51c9f..ab0b7ca 100644 (file)
     border-bottom: 1px solid rgb(179, 179, 179);
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar {
-    height: 22px;
-}
-
 .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph {
     position: absolute;
     top: 3px;
@@ -69,34 +65,6 @@ body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar {
     background-image: url(../Images/Stop.svg);
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph {
-    top: 0;
-
-    background-image: -webkit-image-set(url(../Images/Legacy/RecordingStopped.png) 1x, url(../Images/Legacy/RecordingStopped@2x.png) 2x);
-    background-size: 21px 21px;
-}
-
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.recording {
-    background-image: -webkit-image-set(url(../Images/Legacy/Recording.png) 1x, url(../Images/Legacy/Recording@2x.png) 2x);
-}
-
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph:hover {
-    background-image: -webkit-image-set(url(../Images/Legacy/RecordingHovered.png) 1x, url(../Images/Legacy/RecordingHovered@2x.png) 2x);
-    -webkit-filter: none;
-}
-
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.recording:hover {
-    background-image: -webkit-image-set(url(../Images/Legacy/RecordingStopped.png) 1x, url(../Images/Legacy/RecordingStopped@2x.png) 2x);
-}
-
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.forced {
-    background-image: -webkit-image-set(url(../Images/Legacy/RecordingStopped.png) 1x, url(../Images/Legacy/RecordingStopped@2x.png) 2x) !important;
-}
-
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.recording.forced {
-    background-image: -webkit-image-set(url(../Images/Legacy/Recording.png) 1x, url(../Images/Legacy/Recording@2x.png) 2x) !important;
-}
-
 .sidebar > .panel.navigation.timeline > .status-bar > .record-status {
     position: absolute;
     top: 3px;
@@ -112,10 +80,6 @@ body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .
     text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-status {
-    top: 0;
-}
-
 .panel.timeline .navigation-bar.timelines-view {
     justify-content: flex-end;
 }
@@ -143,14 +107,6 @@ body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .
     overflow: hidden;
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar {
-    height: 22px;
-
-    background-color: transparent;
-    background-image: linear-gradient(to bottom, rgb(238, 240, 244), rgb(224, 226, 230));
-    text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
-}
-
 .sidebar > .panel.navigation.timeline > .title-bar.timelines {
     top: 29px;
     padding: 8px 9px;
@@ -171,20 +127,12 @@ body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar {
     align-content: center;
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar.timelines {
-    top: 22px;
-}
-
 .sidebar > .panel.navigation.timeline > .title-bar.timeline-events {
     height: 23px;
     border-top: 1px solid rgb(179, 179, 179);
     top: 166px;
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar.timeline-events {
-    top: 159px;
-}
-
 .sidebar > .panel.navigation.timeline > .timelines-content {
     position: absolute;
     top: 58px;
@@ -203,16 +151,6 @@ body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar.time
     visibility: hidden;
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content {
-    top: 44px;
-}
-
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content .close-button {
-    margin-top: 2px;
-    width: 12px;
-    height: 12px;
-}
-
 .sidebar > .panel.navigation.timeline > .timelines-content li.item .icon {
     width: 24px;
     height: 24px;
@@ -244,31 +182,13 @@ body.window-inactive .sidebar > .panel.navigation.timeline > .timelines-content
     border-top-color: rgb(0, 128, 252);
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content li.item.selected + li.item {
-    border-top-color: rgb(120, 139, 168);
-}
-
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content :focus li.item.selected + li.item {
-    border-top-color: rgb(107, 130, 164);
-}
-
 .sidebar > .panel.navigation.timeline > .content,
 .sidebar > .panel.navigation.timeline > .empty-content-placeholder {
     top: 189px;
 }
 
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > :matches(.content, .empty-content-placeholder) {
-    top: 182px;
-}
-
 .sidebar > .panel.navigation.timeline.timeline-recording-content-view-showing > .content {
  /* This hides the scrollbar. The view shows a scrollbar, we don't need two. */
     padding-right: 16px;
     right: -16px;
 }
-
-body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .content .item > .status > .status-button {
-    width: 12px;
-    height: 12px;
-    margin-top: 2px;
-}
index b4c20e8..c596a8f 100644 (file)
@@ -114,18 +114,9 @@ WebInspector.TimelineSidebarPanel = class TimelineSidebarPanel extends WebInspec
         this._replayCaptureButtonItem.enabled = true;
         this._replayNavigationBar.addNavigationItem(this._replayCaptureButtonItem);
 
-        var pauseImage, resumeImage;
-        if (WebInspector.Platform.isLegacyMacOS) {
-            pauseImage = {src: "Images/Legacy/Pause.svg", width: 16, height: 16};
-            resumeImage = {src: "Images/Legacy/Resume.svg", width: 16, height: 16};
-        } else {
-            pauseImage = {src: "Images/Pause.svg", width: 15, height: 15};
-            resumeImage = {src: "Images/Resume.svg", width: 15, height: 15};
-        }
-
         toolTip = WebInspector.UIString("Start Playback");
         altToolTip = WebInspector.UIString("Pause Playback");
-        this._replayPauseResumeButtonItem = new WebInspector.ToggleButtonNavigationItem("replay-pause-resume", toolTip, altToolTip, resumeImage.src, pauseImage.src, pauseImage.width, pauseImage.height, true);
+        this._replayPauseResumeButtonItem = new WebInspector.ToggleButtonNavigationItem("replay-pause-resume", toolTip, altToolTip, "Images/Resume.svg", "Images/Pause.svg", 15, 15, true);
         this._replayPauseResumeButtonItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._replayPauseResumeButtonClicked, this);
         this._replayPauseResumeButtonItem.enabled = false;
         this._replayNavigationBar.addNavigationItem(this._replayPauseResumeButtonItem);
@@ -489,7 +480,7 @@ WebInspector.TimelineSidebarPanel = class TimelineSidebarPanel extends WebInspec
 
         var timelineTreeElement = new WebInspector.GeneralTreeElement([timeline.iconClassName, WebInspector.TimelineSidebarPanel.LargeIconStyleClass], timeline.displayName, null, timeline);
         var tooltip = WebInspector.UIString("Close %s timeline view").format(timeline.displayName);
-        wrappedSVGDocument(platformImagePath("CloseLarge.svg"), WebInspector.TimelineSidebarPanel.CloseButtonStyleClass, tooltip, function(element) {
+        wrappedSVGDocument("Images/CloseLarge.svg", WebInspector.TimelineSidebarPanel.CloseButtonStyleClass, tooltip, function(element) {
             var button = new WebInspector.TreeElementStatusButton(element);
             button.addEventListener(WebInspector.TreeElementStatusButton.Event.Clicked, this.showTimelineOverview, this);
             timelineTreeElement.status = button.element;
index a1581b4..61cb68e 100644 (file)
@@ -267,7 +267,7 @@ WebInspector.TimelineView.prototype = {
             return;
         }
 
-        wrappedSVGDocument(platformImagePath("Close.svg"), null, WebInspector.UIString("Close resource view"), function(element) {
+        wrappedSVGDocument("Images/Close.svg", null, WebInspector.UIString("Close resource view"), function(element) {
             this._closeStatusButton = new WebInspector.TreeElementStatusButton(element);
             this._closeStatusButton.addEventListener(WebInspector.TreeElementStatusButton.Event.Clicked, this._closeStatusButtonClicked, this);
             if (treeElement === this.navigationSidebarTreeOutline.selectedTreeElement)
index 51457b1..28c2de6 100644 (file)
@@ -44,36 +44,11 @@ body.window-inactive .toolbar {
     background-color: rgb(246, 246, 246);
 }
 
-body.mac-platform:not(.legacy, .docked) .toolbar {
+body.mac-platform:not(.docked) .toolbar {
     padding-top: 21px;
     height: 54px;
 }
 
-body.mac-platform.legacy .toolbar {
-    box-shadow: none;
-    background-image: none;
-    background-color: transparent;
-    border-bottom-color: rgb(85, 85, 85);
-}
-
-body.mac-platform.legacy.docked .toolbar {
-    background-image: linear-gradient(to bottom, rgb(216, 216, 216), rgb(190, 190, 190));
-    box-shadow: inset rgba(255, 255, 255, 0.1) 0 1px 0, inset rgba(0, 0, 0, 0.02) 0 -1px 0;
-}
-
-body.mac-platform.legacy:not(.docked) .toolbar .item.button > .label {
- /* We need to disable sub-pixel antialiasing in the toolbar when not docked because the
-    toolbar is transparent and so is the WebView. */
-    -webkit-font-smoothing: antialiased;
-
- /* Compensate for the text not being sub-pixel antialiased by adding a small stroke. */
-    -webkit-text-stroke: 0.2px;
-}
-
-body.mac-platform.legacy.window-inactive .toolbar {
-    border-bottom-color: rgb(128, 128, 128);
-}
-
 .toolbar .control-section {
     display: flex;
 
index 01feafa..62f853c 100644 (file)
     fill: rgb(128, 128, 128);
 }
 
-body.mac-platform.legacy .item > .status > .status-button > svg .filled {
-    fill: rgb(64, 64, 64);
-}
-
 :focus .item.selected > .status > .status-button > svg .filled {
     fill: white !important;
 }
@@ -45,10 +41,6 @@ body.mac-platform.legacy .item > .status > .status-button > svg .filled {
     stroke: rgb(128, 128, 128);
 }
 
-body.mac-platform.legacy .item > .status > .status-button > svg .stroked {
-    stroke: rgb(64, 64, 64);
-}
-
 :focus .item.selected > .status > .status-button > svg .stroked {
     stroke: white !important;
 }