Remove unused definitions of WEBKIT_VERSION_MIN_REQUIRED
[WebKit-https.git] / Source / WebInspectorUI / ChangeLog
1 2015-05-23  Dan Bernstein  <mitz@apple.com>
2
3         Remove unused definitions of WEBKIT_VERSION_MIN_REQUIRED
4         https://bugs.webkit.org/show_bug.cgi?id=145345
5
6         Reviewed by Sam Weinig.
7
8         * Configurations/Base.xcconfig:
9
10 2015-05-23  Joseph Pecoraro  <pecoraro@apple.com>
11
12         Web Inspector: Remove code related with unused style classes
13         https://bugs.webkit.org/show_bug.cgi?id=145332
14
15         Reviewed by Timothy Hatcher.
16
17         * UserInterface/Views/ConsoleMessageView.js:
18         (WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString.append):
19         (WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString):
20         The "type-string" class has no styles associated with it. So the entire span can be removed.
21
22         * UserInterface/Views/DOMTreeElement.js:
23         Both of these style classes have no styles associated with them. Remove the class names.
24
25 2015-05-23  Joseph Pecoraro  <pecoraro@apple.com>
26
27         Web Inspector: Improve native parameter lists a bit
28         https://bugs.webkit.org/show_bug.cgi?id=145338
29
30         Reviewed by Timothy Hatcher.
31
32         * UserInterface/Models/NativeFunctionParameters.js:
33         * UserInterface/Views/ObjectTreePropertyTreeElement.js:
34         (WebInspector.ObjectTreePropertyTreeElement.prototype._functionParameterString):
35
36 2015-05-23  Joseph Pecoraro  <pecoraro@apple.com>
37
38         Web Inspector: Update CSS Autocompletion properties and values
39         https://bugs.webkit.org/show_bug.cgi?id=145341
40
41         Reviewed by Timothy Hatcher.
42
43         * UserInterface/Models/CSSKeywordCompletions.js:
44
45 2015-05-22  Joseph Pecoraro  <pecoraro@apple.com>
46
47         Web Inspector: Adopt Object.setPrototypeOf
48         https://bugs.webkit.org/show_bug.cgi?id=145335
49
50         Reviewed by Timothy Hatcher.
51
52         For a case that won't easily move to ES6 classes use Object.setPrototypeOf.
53
54         * UserInterface/Protocol/InspectorBackend.js:
55         (InspectorBackend.Command.create):
56
57 2015-05-22  Joseph Pecoraro  <pecoraro@apple.com>
58
59         Web Inspector: Inline use once class names and remove some unused class names
60         https://bugs.webkit.org/show_bug.cgi?id=145334
61
62         Reviewed by Timothy Hatcher.
63
64         * UserInterface/Views/ApplicationCacheFrameContentView.js:
65         (WebInspector.ApplicationCacheFrameContentView):
66         * UserInterface/Views/BoxModelDetailsSectionRow.js:
67         (WebInspector.BoxModelDetailsSectionRow):
68         * UserInterface/Views/CSSStyleDeclarationSection.js:
69         (WebInspector.CSSStyleDeclarationSection):
70         * UserInterface/Views/CSSStyleDetailsSidebarPanel.js:
71         (WebInspector.CSSStyleDetailsSidebarPanel):
72         * UserInterface/Views/ClusterContentView.js:
73         (WebInspector.ClusterContentView):
74         * UserInterface/Views/CompletionSuggestionsView.js:
75         (WebInspector.CompletionSuggestionsView):
76         * UserInterface/Views/ConsolePrompt.js:
77         (WebInspector.ConsolePrompt):
78         * UserInterface/Views/ContentBrowser.js:
79         (WebInspector.ContentBrowser):
80         * UserInterface/Views/ContentFlowTreeElement.js:
81         (WebInspector.ContentFlowTreeElement):
82         * UserInterface/Views/ContentView.js:
83         (WebInspector.ContentView):
84         * UserInterface/Views/ContentViewContainer.js:
85         (WebInspector.ContentViewContainer):
86         * UserInterface/Views/CookieStorageContentView.js:
87         (WebInspector.CookieStorageContentView):
88         * UserInterface/Views/CookieStorageTreeElement.js:
89         (WebInspector.CookieStorageTreeElement):
90         * UserInterface/Views/DOMStorageContentView.js:
91         (WebInspector.DOMStorageContentView):
92         * UserInterface/Views/DOMTreeContentView.js:
93         (WebInspector.DOMTreeContentView):
94         * UserInterface/Views/DashboardView.js:
95         (WebInspector.DashboardView):
96         * UserInterface/Views/DatabaseTableContentView.js:
97         (WebInspector.DatabaseTableContentView):
98         * UserInterface/Views/DebuggerDashboardView.js:
99         (WebInspector.DebuggerDashboardView):
100         (WebInspector.DebuggerDashboardView.prototype._rebuildLocation):
101         * UserInterface/Views/DetailsSection.js:
102         (WebInspector.DetailsSection):
103         * UserInterface/Views/DetailsSectionSimpleRow.js:
104         * UserInterface/Views/FontResourceContentView.js:
105         (WebInspector.FontResourceContentView):
106         (WebInspector.FontResourceContentView.prototype.createMetricElement):
107         (WebInspector.FontResourceContentView.prototype.contentAvailable):
108         * UserInterface/Views/HierarchicalPathComponent.js:
109         (WebInspector.HierarchicalPathComponent):
110         (WebInspector.HierarchicalPathComponent.prototype.set selectorArrows):
111         * UserInterface/Views/IndexedDatabaseObjectStoreContentView.js:
112         * UserInterface/Views/LayoutTimelineOverviewGraph.js:
113         (WebInspector.LayoutTimelineOverviewGraph):
114         * UserInterface/Views/NetworkTimelineOverviewGraph.js:
115         (WebInspector.NetworkTimelineOverviewGraph):
116         * UserInterface/Views/OverviewTimelineView.js:
117         * UserInterface/Views/ProbeSetDetailsSection.js:
118         * UserInterface/Views/QuickConsole.js:
119         * UserInterface/Views/ReplayDashboardView.js:
120         * UserInterface/Views/ScriptContentView.js:
121         (WebInspector.ScriptContentView):
122         * UserInterface/Views/ScriptTimelineOverviewGraph.js:
123         (WebInspector.ScriptTimelineOverviewGraph):
124         * UserInterface/Views/TextContentView.js:
125         (WebInspector.TextContentView):
126         * UserInterface/Views/TimelineOverview.js:
127         (WebInspector.TimelineOverview):
128         * UserInterface/Views/TimelineOverviewGraph.js:
129         (WebInspector.TimelineOverviewGraph):
130         * UserInterface/Views/TimelineRecordBar.js:
131         (WebInspector.TimelineRecordBar):
132         * UserInterface/Views/TimelineRecordFrame.js:
133         (WebInspector.TimelineRecordFrame):
134         * UserInterface/Views/TimelineRecordingContentView.js:
135         (WebInspector.TimelineRecordingContentView):
136         * UserInterface/Views/TimelineRuler.js:
137         (WebInspector.TimelineRuler):
138         (WebInspector.TimelineRuler.prototype.set allowsTimeRangeSelection):
139
140 2015-05-22  Joseph Pecoraro  <pecoraro@apple.com>
141
142         Web Inspector: DOMTree Keyboard Shortcut 'H' to toggle element visibility is not working
143         https://bugs.webkit.org/show_bug.cgi?id=145331
144
145         Reviewed by Brian Burg.
146
147         We no longer have CSSProperty.value setters. Instead of attempting
148         to toggle and clobber inline style values on the element we:
149         
150           1. inject a <style> on the page like ".WebInspectorHide { visibility:hidden }"
151           2. toggle the WebInspectorHide class on the selected element
152
153         This approach is inspired by the original WebKit change in the
154         old inspector frontend: <https://webkit.org/b/110641>.
155
156         The old approach toggled a few properties (opacity and pointer events)
157         while the new approach uses visibility, matching other browsers.
158
159         * UserInterface/Views/DOMTreeOutline.js:
160         (WebInspector.DOMTreeOutline.prototype._hideElement.resolvedNode.injectStyleAndToggleClass):
161         (WebInspector.DOMTreeOutline.prototype._hideElement.resolvedNode):
162         (WebInspector.DOMTreeOutline.prototype._hideElement):
163         (WebInspector.DOMTreeOutline.prototype._hideElement.toggleProperties): Deleted.
164
165 2015-05-21  Joseph Pecoraro  <pecoraro@apple.com>
166
167         Web Inspector: Give Toolbar buttons an active style
168         https://bugs.webkit.org/show_bug.cgi?id=145292
169
170         Reviewed by Timothy Hatcher.
171
172         * UserInterface/Views/ButtonToolbarItem.css:
173         (.toolbar .item.button:active):
174
175 2015-05-21  Nikita Vasilyev  <nvasilyev@apple.com>
176
177         Web Inspector: Dashboard debugger information can be clipped
178         https://bugs.webkit.org/show_bug.cgi?id=144209
179
180         Reviewed by Timothy Hatcher.
181
182         * UserInterface/Views/DashboardContainerView.css:
183         (.toolbar .dashboard-container):
184         Make dashboard flexible by using vw (viewport width units).
185
186         * UserInterface/Views/DefaultDashboardView.css:
187         (.toolbar .dashboard.default):
188         Center default dashboard icons in the middle, don't spread them along the dashboard.
189
190 2015-05-21  Joseph Pecoraro  <pecoraro@apple.com>
191
192         Web Inspector: Improve the UI of the type profiler popover
193         https://bugs.webkit.org/show_bug.cgi?id=140737
194
195         Reviewed by Timothy Hatcher.
196
197         Display TypeDescriptions in a Tree similiar to ObjectTrees.
198         Currently the only information we have in a TypeDescription
199         is the property names, and not their types, so all we can
200         display in the tree are names.
201
202         * Localizations/en.lproj/localizedStrings.js:
203         * UserInterface/Controllers/TypeTokenAnnotator.js:
204         (WebInspector.TypeTokenAnnotator.prototype._insertTypeToken):
205         * UserInterface/Main.html:
206         * UserInterface/Models/ScriptSyntaxTree.js:
207         (WebInspector.ScriptSyntaxTree.prototype.updateTypes):
208         * UserInterface/Models/StructureDescription.js: Added.
209         (WebInspector.StructureDescription):
210         (WebInspector.StructureDescription.fromPayload):
211         (WebInspector.StructureDescription.prototype.get fields):
212         (WebInspector.StructureDescription.prototype.get optionalFields):
213         (WebInspector.StructureDescription.prototype.get constructorName):
214         (WebInspector.StructureDescription.prototype.get prototypeStructure):
215         (WebInspector.StructureDescription.prototype.get imprecise):
216         * UserInterface/Models/TypeDescription.js: Added.
217         (WebInspector.TypeDescription):
218         (WebInspector.TypeDescription.fromPayload):
219         (WebInspector.TypeDescription.prototype.get leastCommonAncestor):
220         (WebInspector.TypeDescription.prototype.get typeSet):
221         (WebInspector.TypeDescription.prototype.get structures):
222         (WebInspector.TypeDescription.prototype.get valid):
223         (WebInspector.TypeDescription.prototype.get truncated):
224         * UserInterface/Models/TypeSet.js:
225         (WebInspector.TypeSet):
226         (WebInspector.TypeSet.prototype.get primitiveTypeNames):
227         * UserInterface/Views/ObjectTreeView.js:
228         (WebInspector.ObjectTreeView.prototype._updateChildren):
229         * UserInterface/Views/Section.css: Removed.
230         * UserInterface/Views/Section.js: Removed.
231         * UserInterface/Views/SourceCodeTextEditor.css:
232         (.popover .expandable):
233         * UserInterface/Views/SourceCodeTextEditor.js:
234         (WebInspector.SourceCodeTextEditor):
235         (WebInspector.SourceCodeTextEditor.prototype.showPopoverForTypes):
236         (WebInspector.SourceCodeTextEditor.prototype._populateWithScriptContent):
237         (WebInspector.SourceCodeTextEditor.prototype._tokenTrackingControllerHighlightedJavaScriptTypeInformation.handler):
238         (WebInspector.SourceCodeTextEditor.prototype._tokenTrackingControllerHighlightedJavaScriptTypeInformation):
239         (WebInspector.SourceCodeTextEditor.prototype._showPopoverForObject):
240         * UserInterface/Views/TypePropertiesSection.js: Removed.
241         * UserInterface/Views/TypeTokenView.js:
242         (WebInspector.TypeTokenView):
243         (WebInspector.TypeTokenView.titleForPopover):
244         (WebInspector.TypeTokenView.prototype.update):
245         (WebInspector.TypeTokenView.prototype._setUpMouseoverHandlers):
246         (WebInspector.TypeTokenView.prototype._shouldShowPopover):
247         (WebInspector.TypeTokenView.prototype._displayTypeName):
248         * UserInterface/Views/TypeTreeElement.css: Added.
249         (.type-tree-element):
250         (.type-tree-element > .titles):
251         (.type-tree-element > .disclosure-button):
252         (.type-tree-element.parent > .disclosure-button):
253         (.type-tree-element.parent.expanded > .disclosure-button):
254         (.type-tree-element > .icon):
255         (.type-tree-element.prototype):
256         (.type-tree-element.prototype:focus):
257         (.type-tree-element.prototype + ol):
258         * UserInterface/Views/TypeTreeElement.js: Added.
259         (WebInspector.TypeTreeElement):
260         (WebInspector.TypeTreeElement.prototype.get name):
261         (WebInspector.TypeTreeElement.prototype.get isPrototype):
262         (WebInspector.TypeTreeElement.prototype.onpopulate):
263         (WebInspector.TypeTreeElement.prototype.onexpand):
264         * UserInterface/Views/TypeTreeView.css: Renamed from Source/WebInspectorUI/UserInterface/Views/PropertiesSection.js.
265         (.type-tree):
266         (.type-tree-outline):
267         (.type-tree-outline li):
268         (.type-tree-outline ol):
269         (.type-tree-outline ol.expanded):
270         (.type-tree-outline li .empty-message):
271         * UserInterface/Views/TypeTreeView.js: Added.
272         (WebInspector.TypeTreeView):
273         (WebInspector.TypeTreeView.prototype.get typeDescription):
274         (WebInspector.TypeTreeView.prototype.get element):
275         (WebInspector.TypeTreeView.prototype.get treeOutline):
276         (WebInspector.TypeTreeView.prototype._populate):
277
278 2015-05-20  Joseph Pecoraro  <pecoraro@apple.com>
279
280         Web Inspector: Fix WebInspector.StackTrace style
281         https://bugs.webkit.org/show_bug.cgi?id=145240
282
283         Reviewed by Timothy Hatcher.
284
285         * UserInterface/Models/StackTrace.js:
286         Reorder and add our usual marker comments.
287
288 2015-05-19  Joseph Pecoraro  <pecoraro@apple.com>
289
290         Web Inspector: Improve Preview for NodeList / array like collections
291         https://bugs.webkit.org/show_bug.cgi?id=145177
292
293         Reviewed by Timothy Hatcher.
294
295         * UserInterface/Views/ObjectPreviewView.js:
296         (WebInspector.ObjectPreviewView.prototype._appendPreview):
297         Show the class name for a non-basic-Array, but still hide
298         it for a basic Array.
299
300 2015-05-19  Nikita Vasilyev  <nvasilyev@apple.com>
301
302         Web Inspector: Convert stackTrace from raw payload data to an array of CallFrames
303         https://bugs.webkit.org/show_bug.cgi?id=144982
304
305         Reviewed by Joseph Pecoraro.
306
307         * UserInterface/Controllers/LogManager.js:
308         * UserInterface/Main.html:
309         * UserInterface/Models/CallFrame.js:
310         (WebInspector.CallFrame.fromPayload):
311         Consider an empty string url as a native code as it was in 
312         WebInspector.ConsoleMessageView.prototype._firstNonNativeCallFrame
313
314         * UserInterface/Models/ConsoleMessage.js:
315         (WebInspector.ConsoleMessage):
316         Convert _stackTrace from an array of payload objects to WebInspector.StackTrace model.
317
318         * UserInterface/Models/StackTrace.js: Added.
319         (WebInspector.StackTrace):
320         (WebInspector.StackTrace.prototype.get callFrames):
321         (WebInspector.StackTrace.prototype.get firstNonNativeCallFrame): Added.
322         (WebInspector.StackTrace.fromPayload):
323         * UserInterface/Test.html:
324         * UserInterface/Views/CallFrameView.js:
325         (WebInspector.CallFrameView):
326         Don't show a URL when sourceCodeLocation is missing, fix webkit.org/b/145071.
327
328         * UserInterface/Views/ConsoleMessageView.js:
329         (WebInspector.ConsoleMessageView):
330         (WebInspector.ConsoleMessageView.prototype.toClipboardString):
331         (WebInspector.ConsoleMessageView.prototype._appendLocationLink):
332         (WebInspector.ConsoleMessageView.prototype._appendStackTrace):
333         (WebInspector.ConsoleMessageView.prototype._shouldShowStackTrace):
334         (WebInspector.ConsoleMessageView.prototype._linkifyCallFrame):
335         (WebInspector.ConsoleMessageView.prototype._firstNonNativeCallFrame): Deleted.
336
337 2015-05-18  Joseph Pecoraro  <pecoraro@apple.com>
338
339         Web Inspector: Improve Reliability of Closing and Reopening Elements Tab
340         https://bugs.webkit.org/show_bug.cgi?id=145139
341
342         Reviewed by Timothy Hatcher.
343
344         * UserInterface/Views/DOMTreeElement.js:
345         (WebInspector.DOMTreeElement.prototype.highlightSearchResults):
346         (WebInspector.DOMTreeElement.prototype.hideSearchHighlights):
347         (WebInspector.DOMTreeElement.prototype.emphasizeSearchHighlight.animationEnded):
348         (WebInspector.DOMTreeElement.prototype.emphasizeSearchHighlight):
349         (WebInspector.DOMTreeElement.prototype._updateChildren):
350         (WebInspector.DOMTreeElement.prototype.adjustCollapsedRange):
351         (WebInspector.DOMTreeElement.prototype._startEditingAsHTML.dispose):
352         (WebInspector.DOMTreeElement.prototype._startEditingAsHTML):
353         (WebInspector.DOMTreeElement.prototype.updateTitle):
354         Stop using the `delete` operator.
355
356         * UserInterface/Views/DOMTreeOutline.js:
357         (WebInspector.DOMTreeOutline.prototype.setVisible):
358         Trigger an update when the outline is made visible.
359
360         * UserInterface/Views/FrameDOMTreeContentView.js:
361         (WebInspector.FrameDOMTreeContentView.prototype._rootDOMNodeAvailable):
362         Provide a reasonable default selection if there is no body or document element.
363         For example in an augmented DOM tree.
364
365 2015-05-18  Joseph Pecoraro  <pecoraro@apple.com>
366
367         Web Inspector: Tab Restoration incorrectly makes ContentViews "shown" in background tabs
368         https://bugs.webkit.org/show_bug.cgi?id=145080
369
370         Reviewed by Timothy Hatcher.
371
372         Many tabs have their own content browser / navigation sidebar. During
373         state restoration, each tab would immediately try to restore an
374         appropriate ContentView after the load / navigation. However, in doing
375         so, we weren't respecting whether or not the Tab the ContentBrowser
376         was in was hidden or not, so ContentViews in background tags were
377         still being treated as shown/visible.
378
379         This patch changes state restoration to only affect the foreground
380         tab, and be delayed on all background tabs until that tab is shown.
381         This reduces the amount of work on load and navigation to just a
382         single tab instead of all tabs. Most importantly, it avoids having
383         performing work on ContentBrowsers that are non-visible, so state
384         restoration only happens for visible ContentBrowsers.
385
386         For simplicity, in the case of a delayed tab restoration triggered
387         by the user switching tabs, we don't try twice (like we occasionally
388         do on load/reload). We could add back some hueristic here if needed.
389
390         * UserInterface/Base/Main.js:
391         (WebInspector.contentLoaded):
392         (WebInspector.activateExtraDomains):
393         (WebInspector._mainResourceDidChange):
394         (WebInspector._restoreCookieForOpenTabs):
395         * UserInterface/Views/NavigationSidebarPanel.js:
396
397         * UserInterface/Views/TabContentView.js:
398         (WebInspector.TabContentView.prototype.shown):
399         (WebInspector.TabContentView.prototype.restoreStateFromCookie):
400         (WebInspector.TabContentView.prototype.saveStateToCookie):
401         When asked to restore state, save that logic until the next time the tab is shown.
402
403         * UserInterface/Views/TextEditor.js:
404         (WebInspector.TextEditor.prototype.get visible):
405         * UserInterface/Views/SourceCodeTextEditor.js:
406         (WebInspector.SourceCodeTextEditor.prototype.editingControllerDidStartEditing):
407         (WebInspector.SourceCodeTextEditor.prototype._setTypeTokenAnnotatorEnabledState): Deleted.
408         Although this didn't actually catch the issue, it could potentially
409         catch other issues in the future. We don't want to enable the annotators
410         in a non-visible text editor, as it could be a performance issue.
411
412 2015-05-15  Matt Baker  <mattbaker@apple.com>
413
414         Web Inspector: empty timeline should not use previous timeline's zoom interval
415         https://bugs.webkit.org/show_bug.cgi?id=132754
416
417         Reviewed by Joseph Pecoraro.
418
419         When a timeline recording is started in response to a provisional load, TimelineManager should check whether
420         the main resource url is changing before loading a new timeline recording. If the main resource is changing,
421         set the selection start, selection duration, and duration-per-pixel settings of the TimelineOverview to their
422         default values.
423
424         * UserInterface/Controllers/TimelineManager.js:
425         (WebInspector.TimelineManager):
426         (WebInspector.TimelineManager.prototype.isCapturingPageReload):
427         (WebInspector.TimelineManager.prototype.capturingStopped):
428         (WebInspector.TimelineManager.prototype.pageDidLoad):
429         (WebInspector.TimelineManager.prototype._startAutoCapturing):
430         Added a property for checking whether auto capture was triggered by a page reload.
431
432         * UserInterface/Views/LinearTimelineOverview.js:
433         (WebInspector.LinearTimelineOverview):
434         Increase default selection time to 15 seconds.
435
436         * UserInterface/Views/TimelineOverview.js:
437         (WebInspector.TimelineOverview):
438         Reset selection and zoom if TimelineManager isn't capturing in response to a page reload.
439
440         (WebInspector.TimelineOverview.prototype.reset):
441         Reset selection and zoom.
442
443         (WebInspector.TimelineOverview.prototype._timeRangeSelectionChanged):
444         (WebInspector.TimelineOverview.prototype._resetSelection):
445         Added a helper function for resetting selection and zoom to their default values.
446
447 2015-05-15  Matt Baker  <mattbaker@apple.com>
448
449         Web Inspector: Timeline data grid displays wrong records after switching between Timelines/Frames mode
450         https://bugs.webkit.org/show_bug.cgi?id=145084
451
452         Reviewed by Timothy Hatcher.
453
454         Update timeline sidebar filter whenever the view mode changes.
455
456         * UserInterface/Views/TimelineSidebarPanel.js:
457         (WebInspector.TimelineSidebarPanel.prototype.treeElementForRepresentedObject.get if.get if):
458         (WebInspector.TimelineSidebarPanel.get else):
459         (WebInspector.TimelineSidebarPanel.prototype.treeElementForRepresentedObject.get if):
460         (WebInspector.TimelineSidebarPanel.prototype.treeElementForRepresentedObject):
461
462 2015-05-15  Joseph Pecoraro  <pecoraro@apple.com>
463
464         Web Inspector: Bump image format number to force image regeneration
465         https://bugs.webkit.org/show_bug.cgi?id=145074
466
467         Reviewed by Timothy Hatcher.
468
469         * UserInterface/Base/ImageUtilities.js:
470
471 2015-05-15  Joseph Pecoraro  <pecoraro@apple.com>
472
473         Web Inspector: Reduce type annotation update frequency
474         https://bugs.webkit.org/show_bug.cgi?id=145066
475
476         Reviewed by Timothy Hatcher.
477
478         * UserInterface/Controllers/TypeTokenAnnotator.js:
479         Reduce the frequency which could commonly be 16-24ms
480         to a minimum of 100ms and maximum of 2000ms.
481
482 2015-05-15  Joseph Pecoraro  <pecoraro@apple.com>
483
484         Web Inspector: Fix some possible event listener leakers in content views
485         https://bugs.webkit.org/show_bug.cgi?id=145068
486
487         Reviewed by Timothy Hatcher.
488
489         Now that some content views can be closed that weren't closable before, ensure
490         we clean up after global event listeners that may strongly reference "this".
491
492         * UserInterface/Views/DOMTreeContentView.js:
493         (WebInspector.DOMTreeContentView.prototype.closed):
494         * UserInterface/Views/DOMTreeOutline.js:
495         (WebInspector.DOMTreeOutline.prototype.close):
496         * UserInterface/Views/LayoutTimelineView.js:
497         (WebInspector.LayoutTimelineView.prototype.closed):
498         * UserInterface/Views/NetworkTimelineView.js:
499         (WebInspector.NetworkTimelineView.prototype.closed):
500         * UserInterface/Views/RenderingFrameTimelineView.js:
501         (WebInspector.RenderingFrameTimelineView.prototype.closed):
502         * UserInterface/Views/ScriptContentView.js:
503         (WebInspector.ScriptContentView.prototype.closed):
504         * UserInterface/Views/ScriptTimelineView.js:
505         (WebInspector.ScriptTimelineView.prototype.closed):
506         * UserInterface/Views/SourceCodeTextEditor.js:
507         (WebInspector.SourceCodeTextEditor.prototype.close):
508         * UserInterface/Views/TextResourceContentView.js:
509         (WebInspector.TextResourceContentView.prototype.closed):
510         * UserInterface/Views/TimelineDataGrid.js:
511         (WebInspector.TimelineDataGrid.prototype.closed):
512         (WebInspector.TimelineDataGrid.prototype.handleEvent):
513
514 2015-05-15  Joseph Pecoraro  <pecoraro@apple.com>
515
516         Web Inspector: Initiator Popovers no longer work in Layout Timeline
517         https://bugs.webkit.org/show_bug.cgi?id=145067
518
519         Reviewed by Timothy Hatcher.
520
521         * UserInterface/Views/LayoutTimelineDataGrid.js:
522         (WebInspector.LayoutTimelineDataGrid.prototype.callFramePopoverAnchorElement):
523         Update the column name, which changed in r183134.
524
525 2015-05-14  Joseph Pecoraro  <pecoraro@apple.com>
526
527         Web Inspector: Update the New Tab button disabled state after extra domains are activated
528         https://bugs.webkit.org/show_bug.cgi?id=145028
529
530         Reviewed by Timothy Hatcher.
531
532         * UserInterface/Base/Main.js:
533         (WebInspector.activateExtraDomains):
534
535 2015-05-14  Matt Baker  <mattbaker@apple.com>
536
537         Web Inspector: Current time marker is always at zero in Rendering Frames ruler
538         https://bugs.webkit.org/show_bug.cgi?id=144518
539
540         Reviewed by Timothy Hatcher.
541
542         The current and end time values for the rendering frame timeline overview should always be equal to the frame
543         number of the last record in the rendering frames timeline.
544
545         * UserInterface/Views/TimelineOverview.js:
546         (WebInspector.TimelineOverview):
547         (WebInspector.TimelineOverview.prototype.updateLayout):
548         * UserInterface/Views/TimelineRecordingContentView.js:
549         (WebInspector.TimelineRecordingContentView.prototype._updateTimes):
550         (WebInspector.TimelineRecordingContentView.prototype._recordingTimesUpdated):
551
552 2015-05-11  Brent Fulgham  <bfulgham@apple.com>
553
554         [Win] Move Windows build target to Windows 7 (or newer)
555         https://bugs.webkit.org/show_bug.cgi?id=144890
556         <rdar://problem/20707307>
557
558         Reviewed by Anders Carlsson.
559
560         Update linked SDK and minimal Windows level to be compatible with
561         Windows 7 or newer.
562
563         * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj:
564
565 2015-05-11  Timothy Hatcher  <timothy@apple.com>
566
567         Web Inspector: REGRESSION (Tabs): Issues reloading a resource with breakpoints
568         https://bugs.webkit.org/show_bug.cgi?id=144650
569
570         Fix a number of issues with Debugger tab and navigation/reloading:
571         - Close old content views in the Debugger tab when main frame navigates.
572         - Prune old resource tree elements before attempting to restore a cookie that might match an old resource.
573         - Allow breakpoint selections to be restored from a saved cookie.
574         - Fix an assert when closing a content view that isn't the current index, but is the current view.
575         - Avoid calling closed() multiple times when a ContentView is in the back/forward list more than once.
576         - Make restoreStateFromCookie properly set and use the causedByNavigation argument for a longer restore delay.
577         - Create a new cookie object per tab instead of it being cumulative from the previous cookie.
578
579         Reviewed by Brian Burg.
580
581         * UserInterface/Base/Main.js:
582         (WebInspector._mainResourceDidChange): Delay calling _restoreCookieForOpenTabs to give time for sidebars
583         and tabs to respond to the main resource change.
584         (WebInspector._restoreCookieForOpenTabs): Rename causedByReload to causedByNavigation. Nothing special about
585         reload since we restore on all navigation.
586
587         * UserInterface/Views/ContentView.js:
588         (WebInspector.ContentView): Support Breakpoint as a represented object, which happens during a cookie restore.
589         (WebInspector.ContentView.isViewable): Ditto.
590
591         * UserInterface/Views/ContentViewContainer.js:
592         (WebInspector.ContentViewContainer.prototype.closeAllContentViews): Disassociate if the view is current and not just
593         the current entry index. This matches other close functions. This fixes an assert in _disassociateFromContentView.
594         (WebInspector.ContentViewContainer.prototype._disassociateFromContentView): Don't disassociate multiple times. This
595         avoids calling the closed() function on a view more than once.
596
597         * UserInterface/Views/DebuggerSidebarPanel.js:
598         (WebInspector.DebuggerSidebarPanel.prototype.saveStateToCookie):
599         (WebInspector.DebuggerSidebarPanel.prototype._mainResourceDidChange): Renamed from _mainResourceChanged.
600         Close all content views if this is the main frame. Also prune all old resources. Doing this now avoids a flash
601         of having old and new resources in the tree caused by the default delay in NavigationSidebarPanel's _checkForOldResources.
602
603         * UserInterface/Views/NavigationSidebarPanel.js:
604         (WebInspector.NavigationSidebarPanel): Set _autoPruneOldTopLevelResourceTreeElements for later.
605         (WebInspector.NavigationSidebarPanel.prototype.get contentTreeOutlineToAutoPrune): Deleted.
606         (WebInspector.NavigationSidebarPanel.prototype.showDefaultContentView): Fix typo.
607         (WebInspector.NavigationSidebarPanel.prototype.showDefaultContentViewForTreeElement): Fix whitespace.
608         (WebInspector.NavigationSidebarPanel.prototype.pruneOldResourceTreeElements): Added. Broken out from
609         _checkForOldResources.delayedWork so it can be called manually. Also check all visible tree outlines.
610         (WebInspector.NavigationSidebarPanel.prototype._treeElementAddedOrChanged): Pass treeElement in an array.
611         (WebInspector.NavigationSidebarPanel.prototype._checkForOldResourcesIfNeeded): Added.
612         (WebInspector.NavigationSidebarPanel.prototype._checkForOldResources): Call pruneOldResourceTreeElements on a delay.
613         (WebInspector.NavigationSidebarPanel.prototype._checkForOldResources.delayedWork): Deleted.
614         (WebInspector.NavigationSidebarPanel.prototype._checkOutlinesForPendingViewStateCookie): Call _checkForOldResourcesIfNeeded.
615         (WebInspector.NavigationSidebarPanel.prototype._checkElementsForPendingViewStateCookie): Remove array folding code.
616
617         * UserInterface/Views/TabContentView.js:
618         (WebInspector.TabContentView.prototype.restoreStateFromCookie): Rename causedByReload to causedByNavigation.
619         (WebInspector.TabContentView.prototype.saveStateToCookie): Don't allow the cookie to build on the old cookie.
620
621 2015-05-11  Timothy Hatcher  <timothy@apple.com>
622
623         Web Inspector: NavigationSidebarPanel leaks some event listeners
624         https://bugs.webkit.org/show_bug.cgi?id=144523
625
626         Reviewed by Joseph Pecoraro.
627
628         * UserInterface/Views/NavigationSidebarPanel.js:
629         (WebInspector.NavigationSidebarPanel):
630         (WebInspector.NavigationSidebarPanel.prototype.closed):
631         * UserInterface/Views/ResourceSidebarPanel.js:
632         (WebInspector.ResourceSidebarPanel.prototype.closed):
633         * UserInterface/Views/SearchSidebarPanel.js:
634         (WebInspector.SearchSidebarPanel.prototype.closed):
635         * UserInterface/Views/StorageSidebarPanel.js:
636         (WebInspector.StorageSidebarPanel.prototype.closed):
637         * UserInterface/Views/TimelineSidebarPanel.js:
638         (WebInspector.TimelineSidebarPanel.prototype.closed):
639
640 2015-05-10  Nikita Vasilyev  <nvasilyev@apple.com>
641
642         Web Inspector: In the console, show function name next to the source link
643         https://bugs.webkit.org/show_bug.cgi?id=144372
644
645         Introduce CallFrameView to display counsole message source links. It looks like this:
646
647             [f] functionName - filename.js:42
648
649         Reviewed by Timothy Hatcher.
650
651         * UserInterface/Base/Main.js:
652         (WebInspector.createSourceCodeLocationLink):
653         (WebInspector.linkifyLocation):
654         (.showSourceCodeLocation):
655         (WebInspector.linkifyElement):
656         Abstract this out as it's used in WebInspector.CallFrameView and WebInspector.createSourceCodeLocationLink.
657
658         (WebInspector.sourceCodeForURL):
659         Move this code from Timeline to Main.js as it's used by Console too.
660
661         (WebInspector.linkifyURLAsNode):
662         Remove tooltipText argument as it is never used.
663
664         * UserInterface/Controllers/TimelineManager.js:
665         (WebInspector.TimelineManager.prototype._callFramesFromPayload):
666         * UserInterface/Main.html:
667         * UserInterface/Models/CallFrame.js:
668         (WebInspector.CallFrame.fromPayload):
669         Abstract this out as it's used in WebInspector.TimelineManager.prototype._callFramesFromPayload and
670         WebInspector.ConsoleMessageView._appendLocationLink.
671
672         (WebInspector.CallFrame):
673         * UserInterface/Views/CallFrameTreeElement.js:
674         (WebInspector.CallFrameTreeElement):
675         Move it to WebInspector.CallFrameView.iconForCallFrame.
676
677         * UserInterface/Views/CallFrameView.css: Added.
678         (.call-frame):
679         (.call-frame .icon):
680         (.call-frame .titles):
681         (.call-frame .title):
682         (.call-frame .source-link):
683         (.call-frame .title + .subtitle > .source-link):
684         (.call-frame .subtitle .source-link):
685         (.call-frame:focus .subtitle .source-link):
686         (.call-frame .subtitle:empty):
687         (.call-frame .subtitle):
688         (.call-frame .colon):
689         (.call-frame .title + .subtitle::before):
690         * UserInterface/Views/CallFrameView.js: Added.
691         (WebInspector.CallFrameView):
692         (WebInspector.CallFrameView.iconClassNameForCallFrame):
693         * UserInterface/Views/ConsoleMessageView.css:
694         (.console-message .console-message-location):
695         (.console-message .call-frame):
696         (.console-message .go-to-link):
697         (.console-message .go-to-link:focus):
698         (.console-message .console-message-url::before):
699         (.console-saved-variable): Deleted.
700         * UserInterface/Views/ConsoleMessageView.js:
701         (WebInspector.ConsoleMessageView.prototype._appendLocationLink):
702         * UserInterface/Views/DebuggerDashboardView.js:
703         * UserInterface/Views/Main.css:
704         (.hidden): Deleted.
705         * UserInterface/Views/ProfileNodeTreeElement.js:
706         (WebInspector.ProfileNodeTreeElement):
707         * UserInterface/Views/TimelineDataGridNode.js:
708         (WebInspector.TimelineDataGridNode.prototype.createCellContent):
709
710 2015-05-08  Tobias Reiss  <tobi+webkit@basecode.de>
711
712         Web Inspector: Styles sidebar editing with incomplete property looks poor in UI
713         https://bugs.webkit.org/show_bug.cgi?id=141692
714
715         Reviewed by Timothy Hatcher.
716
717         Add "css-rule" Formatter that breaks CSS declarations into multiple lines,
718         keeps comments and invalid styles and adds whitespace.
719
720         * Tools/PrettyPrinting/css-rule-tests/*.css: Added.
721         Add test cases.
722
723         * Tools/PrettyPrinting/index.html:
724         Enable Test setup to be able to run "css-rule" Formatter tests.
725
726         * UserInterface/Controllers/Formatter.js:
727         (Formatter.prototype._handleToken):
728         * UserInterface/Controllers/FormatterContentBuilder.js:
729         (FormatterContentBuilder.prototype.removeLastNewline):
730         (FormatterContentBuilder.prototype.removeLastWhitespace):
731         (FormatterContentBuilder.prototype._popFormattedContent):
732         (FormatterContentBuilder.prototype._popNewLine): Deleted.
733         * UserInterface/Views/CSSStyleDeclarationTextEditor.js:
734         (WebInspector.CSSStyleDeclarationTextEditor.prototype._formattedContentFromEditor):
735         (WebInspector.CSSStyleDeclarationTextEditor.prototype._resetContent.update.set this):
736         (WebInspector.CSSStyleDeclarationTextEditor.prototype._resetContent.update.get this):
737         (WebInspector.CSSStyleDeclarationTextEditor.prototype._resetContent.update):
738         (WebInspector.CSSStyleDeclarationTextEditor.prototype._resetContent):
739         (WebInspector.CSSStyleDeclarationTextEditor.prototype._resetContent.update.countNewLineCharacters): Deleted.
740         (WebInspector.CSSStyleDeclarationTextEditor.prototype._resetContent.update.else): Deleted.
741         * UserInterface/Views/CodeMirrorFormatters.js:
742
743 2015-05-07  Joseph Pecoraro  <pecoraro@apple.com>
744
745         Web Inspector: Expanding Object with only __proto__ looks poor should have a label
746         https://bugs.webkit.org/show_bug.cgi?id=144755
747
748         Reviewed by Timothy Hatcher.
749
750         Better handle cases where expanding an object has only a __proto__
751         and no other properties.
752
753         * UserInterface/Views/ObjectTreePropertyTreeElement.js:
754         (WebInspector.ObjectTreePropertyTreeElement.mode.prototype.this.children.length):
755         (WebInspector.ObjectTreePropertyTreeElement):
756         * UserInterface/Views/ObjectTreeView.css:
757         (.object-tree-outline li .empty-message):
758         * UserInterface/Views/ObjectTreeView.js:
759         (WebInspector.ObjectTreeView.createEmptyMessageElement):
760         (WebInspector.ObjectTreeView.comparePropertyDescriptors):
761         (WebInspector.ObjectTreeView.prototype._updateProperties):
762
763 2015-05-07  Joseph Pecoraro  <pecoraro@apple.com>
764
765         Web Inspector: Fix querySelector in ResourceContentView.js, caught by assertion
766         https://bugs.webkit.org/show_bug.cgi?id=144756
767
768         Reviewed by Timothy Hatcher.
769
770         * UserInterface/Views/ResourceContentView.js:
771         (WebInspector.ResourceContentView.prototype._hasContent):
772         Ensure querySelector call is using the class name correctly.
773
774 2015-05-06  Joseph Pecoraro  <pecoraro@apple.com>
775
776         Web Inspector: Docking Toolbar Buttons do not respect Docking Availability
777         https://bugs.webkit.org/show_bug.cgi?id=144714
778
779         Reviewed by Timothy Hatcher.
780
781         * UserInterface/Base/Main.js:
782         (WebInspector.contentLoaded):
783         (WebInspector.updateDockingAvailability):
784         (WebInspector._updateDockNavigationItems):
785         Update the Toolbar UI based on docking availability.
786         Assume docking is unavailable by default.
787
788         * UserInterface/Protocol/InspectorFrontendAPI.js:
789         (InspectorFrontendAPI.setDockingUnavailable):
790         Add back this API as the backend may be calling it when
791         docking availability changes. This just calls out to
792         global WebInspector functions to update the Toolbar UI.
793
794         * UserInterface/Base/Test.js:
795         (WebInspector.updateDockedState):
796         (WebInspector.updateDockingAvailability):
797         Do nothing in tests.
798
799 2015-05-06  Matt Baker  <mattbaker@apple.com>
800
801         Web Inspector: The text in the left pane overlaps the "Filter Time Events" field in the Timeline after the Web Inspector is resized
802         https://bugs.webkit.org/show_bug.cgi?id=144720
803
804         Reviewed by Timothy Hatcher.
805
806         * UserInterface/Views/FilterBar.css:
807         (.filter-bar):
808         (.filter-bar > .navigation-bar):
809         (.filter-bar > input[type="search"]):
810         (.filter-bar > .navigation-bar > .item): Deleted.
811         Filter bar now has opaque background and height updated to the ubiquitous 29px.
812
813 2015-05-06  Joseph Pecoraro  <pecoraro@apple.com>
814
815         Web Inspector: DOMStorage exception and issue with sessionStorage
816         https://bugs.webkit.org/show_bug.cgi?id=144646
817
818         Reviewed by Timothy Hatcher.
819
820         * UserInterface/Views/DOMStorageContentView.js:
821         (WebInspector.DOMStorageContentView):
822         (WebInspector.DOMStorageContentView.prototype._populate):
823         (WebInspector.DOMStorageContentView.prototype.reset): Deleted.
824         Always have the datagrid be available with a default sort.
825
826         (WebInspector.DOMStorageContentView.prototype._sortDataGrid.comparator):
827         (WebInspector.DOMStorageContentView.prototype._sortDataGrid):
828         Simplify and correct the order.
829
830         (WebInspector.DOMStorageContentView.prototype.cleanup):
831         Cleanup some uses of delete.
832
833         * UserInterface/Views/DataGrid.js:
834         (WebInspector.DataGrid.prototype.sortNodesImmediately):
835         Provide a way to sort immediately without a visible delay.
836
837         (WebInspector.DataGrid.prototype._sortNodesCallback):
838         Cleanup some dead code to simplify sorting.
839
840         (WebInspector.DataGridNode.prototype._attach):
841         When sorting, the children list does not match the child node list,
842         so ensure that placeholder nodes are added to the end.
843
844         (WebInspector.PlaceholderDataGridNode.prototype.makeNormal):
845         Cleanup some uses of delete.
846
847 2015-05-06  Joseph Pecoraro  <pecoraro@apple.com>
848
849         Web Inspector: SourceCodeTextEditor shows "undefined" instead of resource content when pausing during resource load
850         https://bugs.webkit.org/show_bug.cgi?id=144662
851
852         Reviewed by Timothy Hatcher.
853
854         * UserInterface/Protocol/InspectorBackend.js:
855         (InspectorBackend.Command.prototype.promise):
856         Start standardizing on rejecting Promises with Error objects.
857
858         * UserInterface/Views/ResourceContentView.js:
859         (WebInspector.ResourceContentView):
860         (WebInspector.ResourceContentView.prototype._protocolError):
861         When there is a protocol error, show a nice UI string for the error.
862
863         (WebInspector.ResourceContentView.prototype._contentAvailable):
864         (WebInspector.ResourceContentView.prototype._contentError):
865         (WebInspector.ResourceContentView.prototype._hasContent):
866         Whenever we hit an error case in ResourceContentView, check to make sure
867         that a subclass hasn't already populated the content view with content.
868         This can happen when a TextResourceContentView populates a Resource with
869         Script content while paused, because the Resource content would be
870         unavailable. We check that content has loaded by checking that the
871         indeterminate spinner is no longer showing.
872
873 2015-05-05  Andres Gomez  <agomez@igalia.com>
874
875         [GTK] Web Inspector: Further optimize SVG images
876         https://bugs.webkit.org/show_bug.cgi?id=144441
877
878         SVG images optimized with a combination of sed replacements, the
879         usage of the scour tool (http://www.codedread.com/scour/) and a
880         forked version of the svgo tool (https://github.com/tanty/svgo).
881
882         Also, added the class attribute to the shape elements following
883         the convention used in Apple's images.
884
885         Reviewed by Joseph Pecoraro.
886
887         * UserInterface/Images/gtk/BackArrow.svg: Optimized.
888         * UserInterface/Images/gtk/BreakpointActionAdd.svg: Optimized.
889         * UserInterface/Images/gtk/BreakpointActionRemove.svg: Optimized.
890         * UserInterface/Images/gtk/BreakpointButton.svg: Optimized.
891         * UserInterface/Images/gtk/BreakpointInactiveButton.svg: Optimized.
892         * UserInterface/Images/gtk/Breakpoints.svg: Optimized.
893         * UserInterface/Images/gtk/Checkers.svg: Optimized.
894         * UserInterface/Images/gtk/Circle.svg: Optimized.
895         * UserInterface/Images/gtk/Close.svg: Optimized.
896         * UserInterface/Images/gtk/CloseLarge.svg: Optimized.
897         * UserInterface/Images/gtk/CloseWhite.svg: Optimized.
898         * UserInterface/Images/gtk/ContentFlow.svg: Optimized.
899         * UserInterface/Images/gtk/Crosshair.svg: Optimized.
900         * UserInterface/Images/gtk/DOMCharacterData.svg: Optimized.
901         * UserInterface/Images/gtk/DOMComment.svg: Optimized.
902         * UserInterface/Images/gtk/DOMDocument.svg: Optimized.
903         * UserInterface/Images/gtk/DOMDocumentType.svg: Optimized.
904         * UserInterface/Images/gtk/DOMElement.svg: Optimized.
905         * UserInterface/Images/gtk/DOMNode.svg: Optimized.
906         * UserInterface/Images/gtk/DOMTextNode.svg: Optimized.
907         * UserInterface/Images/gtk/DisclosureTriangleSmallClosed.svg: Optimized.
908         * UserInterface/Images/gtk/DisclosureTriangleSmallOpen.svg: Optimized.
909         * UserInterface/Images/gtk/DisclosureTriangleTinyClosed.svg: Optimized.
910         * UserInterface/Images/gtk/DisclosureTriangleTinyOpen.svg: Optimized.
911         * UserInterface/Images/gtk/DockBottom.svg: Optimized.
912         * UserInterface/Images/gtk/DockRight.svg: Optimized.
913         * UserInterface/Images/gtk/DownloadArrow.svg: Optimized.
914         * UserInterface/Images/gtk/Error.svg: Optimized.
915         * UserInterface/Images/gtk/Errors.svg: Optimized.
916         * UserInterface/Images/gtk/ErrorsEnabled.svg: Optimized.
917         * UserInterface/Images/gtk/EventListener.svg: Optimized.
918         * UserInterface/Images/gtk/Exception.svg: Optimized.
919         * UserInterface/Images/gtk/Eye.svg: Optimized.
920         * UserInterface/Images/gtk/FilterFieldGlyph.svg: Optimized.
921         * UserInterface/Images/gtk/ForwardArrow.svg: Optimized.
922         * UserInterface/Images/gtk/Function.svg: Optimized.
923         * UserInterface/Images/gtk/GoToArrow.svg: Optimized.
924         * UserInterface/Images/gtk/HierarchicalNavigationItemChevron.svg: Optimized.
925         * UserInterface/Images/gtk/IndeterminateProgressSpinner1.svg: Optimized.
926         * UserInterface/Images/gtk/IndeterminateProgressSpinner10.svg: Optimized.
927         * UserInterface/Images/gtk/IndeterminateProgressSpinner11.svg: Optimized.
928         * UserInterface/Images/gtk/IndeterminateProgressSpinner12.svg: Optimized.
929         * UserInterface/Images/gtk/IndeterminateProgressSpinner2.svg: Optimized.
930         * UserInterface/Images/gtk/IndeterminateProgressSpinner3.svg: Optimized.
931         * UserInterface/Images/gtk/IndeterminateProgressSpinner4.svg: Optimized.
932         * UserInterface/Images/gtk/IndeterminateProgressSpinner5.svg: Optimized.
933         * UserInterface/Images/gtk/IndeterminateProgressSpinner6.svg: Optimized.
934         * UserInterface/Images/gtk/IndeterminateProgressSpinner7.svg: Optimized.
935         * UserInterface/Images/gtk/IndeterminateProgressSpinner8.svg: Optimized.
936         * UserInterface/Images/gtk/IndeterminateProgressSpinner9.svg: Optimized.
937         * UserInterface/Images/gtk/Issues.svg: Optimized.
938         * UserInterface/Images/gtk/IssuesEnabled.svg: Optimized.
939         * UserInterface/Images/gtk/LayerBorders.svg: Optimized.
940         * UserInterface/Images/gtk/Locked.svg: Optimized.
941         * UserInterface/Images/gtk/Logs.svg: Optimized.
942         * UserInterface/Images/gtk/Native.svg: Optimized.
943         * UserInterface/Images/gtk/NavigationItemCurleyBraces.svg: Optimized.
944         * UserInterface/Images/gtk/NavigationItemTrash.svg: Optimized.
945         * UserInterface/Images/gtk/NavigationItemTypes.svg: Optimized.
946         * UserInterface/Images/gtk/PaintFlashing.svg: Optimized.
947         * UserInterface/Images/gtk/Pause.svg: Optimized.
948         * UserInterface/Images/gtk/PausedBreakpoint.svg: Optimized.
949         * UserInterface/Images/gtk/Pencil.svg: Optimized.
950         * UserInterface/Images/gtk/Plus.svg: Optimized. Text element
951         converted into a shape.
952         * UserInterface/Images/gtk/PseudoElement.svg: Optimized.
953         * UserInterface/Images/gtk/Record.svg: Optimized.
954         * UserInterface/Images/gtk/Reflection.svg: Optimized.
955         * UserInterface/Images/gtk/ReloadFull.svg: Optimized.
956         * UserInterface/Images/gtk/ReplayPauseButton.svg: Optimized.
957         * UserInterface/Images/gtk/ReplayPlayButton.svg: Optimized.
958         * UserInterface/Images/gtk/ReplayRecordingButton.svg: Optimized.
959         * UserInterface/Images/gtk/Request.svg: Optimized.
960         * UserInterface/Images/gtk/Resources.svg: Optimized.
961         * UserInterface/Images/gtk/Response.svg: Optimized.
962         * UserInterface/Images/gtk/ResultLine.svg: Optimized.
963         * UserInterface/Images/gtk/Resume.svg: Optimized.
964         * UserInterface/Images/gtk/ShadowDOM.svg: Optimized.
965         * UserInterface/Images/gtk/SortIndicatorDownArrow.svg: Optimized.
966         * UserInterface/Images/gtk/SortIndicatorUpArrow.svg: Optimized.
967         * UserInterface/Images/gtk/SplitToggleUp.svg: Optimized.
968         * UserInterface/Images/gtk/StepInto.svg: Optimized.
969         * UserInterface/Images/gtk/StepOut.svg: Optimized.
970         * UserInterface/Images/gtk/StepOver.svg: Optimized.
971         * UserInterface/Images/gtk/Stop.svg: Optimized.
972         * UserInterface/Images/gtk/StyleRuleAuthor.svg: Optimized.
973         * UserInterface/Images/gtk/StyleRuleInherited.svg: Optimized.
974         * UserInterface/Images/gtk/StyleRuleInheritedElement.svg: Optimized.
975         * UserInterface/Images/gtk/StyleRuleInspector.svg: Optimized.
976         * UserInterface/Images/gtk/StyleRuleUser.svg: Optimized.
977         * UserInterface/Images/gtk/StyleRuleUserAgent.svg: Optimized.
978         * UserInterface/Images/gtk/TimelineRecordAnimation.svg: Optimized.
979         * UserInterface/Images/gtk/TimelineRecordConsoleProfile.svg: Optimized.
980         * UserInterface/Images/gtk/TimelineRecordEvent.svg: Optimized.
981         * UserInterface/Images/gtk/TimelineRecordLayout.svg: Optimized.
982         * UserInterface/Images/gtk/TimelineRecordPaint.svg: Optimized.
983         * UserInterface/Images/gtk/TimelineRecordProbeSampled.svg: Optimized.
984         * UserInterface/Images/gtk/TimelineRecordScriptEvaluated.svg: Optimized.
985         * UserInterface/Images/gtk/TimelineRecordStyle.svg: Optimized.
986         * UserInterface/Images/gtk/TimelineRecordTimer.svg: Optimized.
987         * UserInterface/Images/gtk/TypeBoolean.svg: Optimized.
988         * UserInterface/Images/gtk/TypeNull.svg: Optimized.
989         * UserInterface/Images/gtk/TypeNumber.svg: Optimized.
990         * UserInterface/Images/gtk/TypeObject.svg: Optimized.
991         * UserInterface/Images/gtk/TypeRegex.svg: Optimized. Removed
992         mistaken extra shape.
993         * UserInterface/Images/gtk/TypeString.svg: Optimized.
994         * UserInterface/Images/gtk/TypeSymbol.svg: Optimized. Removed
995         mistaken extra shape.
996         * UserInterface/Images/gtk/TypeUndefined.svg: Optimized.
997         * UserInterface/Images/gtk/Undock.svg: Optimized.
998         * UserInterface/Images/gtk/UpDownArrows.svg: Optimized.
999         * UserInterface/Images/gtk/UserInputPrompt.svg: Optimized.
1000         * UserInterface/Images/gtk/UserInputPromptPrevious.svg: Optimized.
1001         * UserInterface/Images/gtk/UserInputResult.svg: Optimized.
1002         * UserInterface/Images/gtk/Warning.svg: Optimized.
1003
1004 2015-05-05  Timothy Hatcher  <timothy@apple.com>
1005
1006         REGRESSION: Web Inspector: no way to navigate to a resource/source location from overview timeline view
1007         https://bugs.webkit.org/show_bug.cgi?id=144539
1008
1009         Reviewed by Brian Burg.
1010
1011         * UserInterface/Views/GeneralTreeElement.js:
1012         (WebInspector.GeneralTreeElement.prototype.set status): Call didChange() so the onchange event fires. This allows
1013         TimelineSidebarPanel to update the status element when it goes from a spinner to empty for ResourceTreeElements.
1014         (WebInspector.GeneralTreeElement.prototype.onattach): Don't call _updateStatusElement, just append it if needed.
1015         Calling _updateStatusElement caused DOMNodeFragments as status elements to be appended a second time and fail.
1016         * UserInterface/Views/NavigationSidebarPanel.js:
1017         (WebInspector.NavigationSidebarPanel.prototype.treeElementAddedOrChanged):
1018         (WebInspector.NavigationSidebarPanel.prototype._treeElementAddedOrChanged):
1019         * UserInterface/Views/NetworkTimelineView.js:
1020         (WebInspector.NetworkTimelineView.prototype.canShowContentViewForTreeElement):
1021         (WebInspector.NetworkTimelineView.prototype.showContentViewForTreeElement):
1022         (WebInspector.NetworkTimelineView.prototype.treeElementSelected):
1023         (WebInspector.NetworkTimelineView.prototype._dataGridNodeSelected):
1024         (WebInspector.NetworkTimelineView.prototype._updateTreeElementWithCloseButton): Deleted.
1025         (WebInspector.NetworkTimelineView.prototype._closeStatusButtonClicked): Deleted.
1026         * UserInterface/Views/OverviewTimelineView.js:
1027         (WebInspector.OverviewTimelineView.prototype.canShowContentViewForTreeElement):
1028         (WebInspector.OverviewTimelineView.prototype.showContentViewForTreeElement):
1029         (WebInspector.OverviewTimelineView.prototype._dataGridNodeSelected):
1030         (WebInspector.OverviewTimelineView.prototype._treeElementDeselected): Deleted.
1031         (WebInspector.OverviewTimelineView.prototype._treeElementSelected): Deleted.
1032         (WebInspector.OverviewTimelineView.prototype._updateTreeElementWithCloseButton): Deleted.
1033         (WebInspector.OverviewTimelineView.prototype._closeStatusButtonClicked): Deleted.
1034         * UserInterface/Views/RenderingFrameTimelineView.js:
1035         (WebInspector.RenderingFrameTimelineView.prototype.canShowContentViewForTreeElement):
1036         (WebInspector.RenderingFrameTimelineView.prototype.showContentViewForTreeElement):
1037         * UserInterface/Views/ResourceTimelineDataGridNode.js:
1038         (WebInspector.ResourceTimelineDataGridNode.prototype.createCellContent): Don't show a go-to arrow in the Domain column.
1039         (WebInspector.ResourceTimelineDataGridNode.prototype._goToResource): Deleted.
1040         * UserInterface/Views/ScriptTimelineView.js:
1041         (WebInspector.ScriptTimelineView.prototype.canShowContentViewForTreeElement):
1042         (WebInspector.ScriptTimelineView.prototype.showContentViewForTreeElement):
1043         (WebInspector.ScriptTimelineView.prototype.treeElementSelected):
1044         * UserInterface/Views/TimelineRecordTreeElement.js:
1045         (WebInspector.TimelineRecordTreeElement.prototype.get sourceCodeLocation):
1046         * UserInterface/Views/TimelineSidebarPanel.css:
1047         (.sidebar > .panel.navigation.timeline .item:hover:not(.selected) .status .close.status-button):
1048         (.sidebar > .panel.navigation.timeline:not(.timeline-recording-content-view-showing) .status .go-to-arrow.status-button):
1049         (.sidebar > .panel.navigation.timeline.timeline-recording-content-view-showing .status .close.status-button):
1050         * UserInterface/Views/TimelineSidebarPanel.js:
1051         (WebInspector.TimelineSidebarPanel.prototype.treeElementAddedOrChanged): Added.
1052         (WebInspector.TimelineSidebarPanel.prototype.canShowDifferentContentView):
1053         (WebInspector.TimelineSidebarPanel.prototype._treeElementGoToArrowWasClicked): Added.
1054         (WebInspector.TimelineSidebarPanel.prototype._treeElementCloseButtonClicked): Added.
1055         * UserInterface/Views/TimelineView.js:
1056         (WebInspector.TimelineView):
1057         (WebInspector.TimelineView.prototype.canShowContentViewForTreeElement):
1058         (WebInspector.TimelineView.prototype.showContentViewForTreeElement):
1059         (WebInspector.TimelineView.prototype.treeElementDeselected):
1060         (WebInspector.TimelineView.prototype.treeElementSelected):
1061         (WebInspector.TimelineView.prototype.needsLayout):
1062         (WebInspector.TimelineView.prototype._closeStatusButtonClicked): Deleted.
1063         (WebInspector.TimelineView.prototype._updateTreeElementWithCloseButton): Deleted.
1064         * UserInterface/Views/TreeElementStatusButton.css:
1065         (.item > .status > .status-button): Fix an alignment issue with close and go-to arrows being side-by-side.
1066         Does not happen in the final patch because they are mutually exclusive, but still good to fix.
1067
1068 2015-05-05  Timothy Hatcher  <timothy@apple.com>
1069
1070         Web Inspector: Fix some issues with Search tabs
1071         https://bugs.webkit.org/show_bug.cgi?id=144531
1072
1073         Reviewed by Darin Adler.
1074
1075         * UserInterface/Views/ContentView.js:
1076         (WebInspector.ContentView):
1077         (WebInspector.ContentView.isViewable):
1078         Support DOMSearchMatchObject and SourceCodeSearchMatchObject representedObjects. These are usually
1079         handled at a higher level, but cookie restoring requires ContentView to handle them.
1080
1081         * UserInterface/Views/DOMTreeContentView.js:
1082         (WebInspector.DOMTreeContentView):
1083         (WebInspector.DOMTreeContentView.prototype.selectAndRevealDOMNode):
1084         (WebInspector.DOMTreeContentView.prototype.selectLastSelectedNode):
1085         (WebInspector.DOMTreeContentView.prototype._restoreSelectedNodeAfterUpdate):
1086         Don't allow restoring the previous selected node when another not has already been selected.
1087
1088         * UserInterface/Views/SearchTabContentView.js:
1089         (WebInspector.SearchTabContentView.prototype.canShowRepresentedObject):
1090         Allow Script objects to be shown in the Search tab.
1091
1092 2015-05-05  Timothy Hatcher  <timothy@apple.com>
1093
1094         Web Inspector: Source/WebInspectorUI/UserInterface/Images/Logs.svg has unknown attribute "fille"
1095         https://bugs.webkit.org/show_bug.cgi?id=144627
1096
1097         Reviewed by Darin Adler.
1098
1099         * UserInterface/Images/Logs.svg: Change "fille" to "fill".
1100
1101 2015-05-05  Andres Gomez  <agomez@igalia.com>
1102
1103         [GTK] Web Inspector: New Images added in r183339, r183338, r183332, r183323, r182660, and r182186
1104         https://bugs.webkit.org/show_bug.cgi?id=144329
1105
1106         Reviewed by Joseph Pecoraro.
1107
1108         * UserInterface/Images/gtk/Console.svg: Added.
1109         * UserInterface/Images/gtk/Debugger.svg: Added.
1110         * UserInterface/Images/gtk/Elements.svg: Added.
1111         * UserInterface/Images/gtk/Gear.svg: Added.
1112         * UserInterface/Images/gtk/NewTab.svg: Added.
1113         * UserInterface/Images/gtk/NewTabPlus.svg: Added.
1114         * UserInterface/Images/gtk/ReloadToolbar.svg: Added.
1115         * UserInterface/Images/gtk/SearchResults.svg: Added.
1116         * UserInterface/Images/gtk/Storage.svg: Added.
1117         * UserInterface/Images/gtk/Timeline.svg: Added.
1118         * UserInterface/Images/gtk/TimelineRecordRenderingFrame.svg: Added.
1119         * UserInterface/Images/gtk/ToggleLeftSidebar.svg: Added.
1120         * UserInterface/Images/gtk/ToggleRightSidebar.svg: Added.
1121
1122 2015-05-05  Andres Gomez  <agomez@igalia.com>
1123
1124         [GTK] Web Inspector: icons for console.info() messages
1125         https://bugs.webkit.org/show_bug.cgi?id=144461
1126
1127         Reviewed by Joseph Pecoraro.
1128
1129         * UserInterface/Images/gtk/Debug.svg: Added.
1130         * UserInterface/Images/gtk/Info.svg: Added.
1131         * UserInterface/Images/gtk/Log.svg: Added.
1132
1133 2015-05-04  Joseph Pecoraro  <pecoraro@apple.com>
1134
1135         Web Inspector: Always expand initial top level DOM tree nodes when not including the root (frame views)
1136         https://bugs.webkit.org/show_bug.cgi?id=144607
1137
1138         Reviewed by Timothy Hatcher.
1139
1140         * UserInterface/Views/DOMTreeOutline.js:
1141         (WebInspector.DOMTreeOutline.prototype.update):
1142
1143 2015-05-04  Timothy Hatcher  <timothy@apple.com>
1144
1145         Web Inspector: Allow closing and reopening the Debugger tab
1146         https://bugs.webkit.org/show_bug.cgi?id=144536
1147
1148         Reviewed by Joseph Pecoraro.
1149
1150         * UserInterface/Base/Main.js:
1151         (WebInspector._updateNewTabButtonState):
1152         * UserInterface/Views/DebuggerSidebarPanel.js:
1153         (WebInspector.DebuggerSidebarPanel):
1154         (WebInspector.DebuggerSidebarPanel.prototype.closed):
1155         (WebInspector.DebuggerSidebarPanel.prototype._addIssuesForSourceCode):
1156         (WebInspector.DebuggerSidebarPanel.prototype._addResourcesRecursivelyForFrame):
1157         (WebInspector.DebuggerSidebarPanel.prototype._resourceAdded):
1158         (WebInspector.DebuggerSidebarPanel.prototype._addResource):
1159         (WebInspector.DebuggerSidebarPanel.prototype._mainResourceChanged):
1160         (WebInspector.DebuggerSidebarPanel.prototype._scriptAdded):
1161         (WebInspector.DebuggerSidebarPanel.prototype._addScript):
1162         * UserInterface/Views/DebuggerTabContentView.js:
1163         (WebInspector.DebuggerTabContentView):
1164         * UserInterface/Views/NewTabContentView.js:
1165         (WebInspector.NewTabContentView):
1166
1167 2015-05-04  Timothy Hatcher  <timothy@apple.com>
1168
1169         REGRESSION: Web Inspector: FrameTreeElement does not folders properly when loading a page
1170         https://bugs.webkit.org/show_bug.cgi?id=144535
1171
1172         Reviewed by Joseph Pecoraro.
1173
1174         * UserInterface/Views/FolderizedTreeElement.js:
1175         (WebInspector.FolderizedTreeElement.prototype.addChildForRepresentedObject): Fix an exception if not in a tree.
1176         (WebInspector.FolderizedTreeElement.prototype.prepareToPopulate):
1177         (WebInspector.FolderizedTreeElement.prototype._populateFromNewChildQueue):
1178
1179 2015-05-04  Timothy Hatcher  <timothy@apple.com>
1180
1181         Web Inspector: Allow closing and reopening the Timelines tab
1182         https://bugs.webkit.org/show_bug.cgi?id=144520
1183
1184         Reviewed by Joseph Pecoraro.
1185
1186         * UserInterface/Base/Main.js:
1187         (WebInspector._updateNewTabButtonState):
1188         * UserInterface/Controllers/TimelineManager.js:
1189         (WebInspector.TimelineManager): No need for a delay now. Call reset().
1190         (WebInspector.TimelineManager.prototype.reset):
1191         (WebInspector.TimelineManager.delayedWork): Deleted.
1192         * UserInterface/Views/ContentBrowserTabContentView.js:
1193         (WebInspector.ContentBrowserTabContentView):
1194         (WebInspector.ContentBrowserTabContentView.prototype.closed):
1195         * UserInterface/Views/LayoutTimelineView.js:
1196         (WebInspector.LayoutTimelineView.prototype.closed): Added. Fixed leak.
1197         * UserInterface/Views/NetworkTimelineView.js:
1198         (WebInspector.NetworkTimelineView.prototype.closed): Added. Fixed leak.
1199         * UserInterface/Views/NewTabContentView.js:
1200         (WebInspector.NewTabContentView): Added Timelines.
1201         * UserInterface/Views/OverviewTimelineView.js:
1202         (WebInspector.OverviewTimelineView.prototype.closed): Added. Fixed leak.
1203         * UserInterface/Views/RenderingFrameTimelineView.js:
1204         (WebInspector.RenderingFrameTimelineView.prototype.closed): Added. Fixed leak.
1205         * UserInterface/Views/ScriptTimelineView.js:
1206         (WebInspector.ScriptTimelineView.prototype.closed):
1207         * UserInterface/Views/SearchTabContentView.js:
1208         (WebInspector.SearchTabContentView.prototype.closed): Deleted. Made generic
1209         in ContentBrowserTabContentView.prototype.closed.
1210         * UserInterface/Views/TabBrowser.js:
1211         (WebInspector.TabBrowser.prototype._tabBarItemSelected): Fix a potential exception
1212         when selectedTabBarItem is null.
1213         * UserInterface/Views/TimelineSidebarPanel.js:
1214         (WebInspector.TimelineSidebarPanel):
1215         (WebInspector.TimelineSidebarPanel.prototype.closed):
1216         (WebInspector.TimelineSidebarPanel._recordingCreated): Call _addRecording.
1217         (WebInspector.TimelineSidebarPanel._addRecording): Added.
1218         * UserInterface/Views/TimelineTabContentView.js:
1219         (WebInspector.TimelineTabContentView):
1220
1221 2015-05-04  Timothy Hatcher  <timothy@apple.com>
1222
1223         Web Inspector: Switching recordings in the Timeline navigation bar is broken
1224         https://bugs.webkit.org/show_bug.cgi?id=144519
1225
1226         Reviewed by Joseph Pecoraro.
1227
1228         * UserInterface/Views/ContentBrowser.js:
1229         (WebInspector.ContentBrowser.prototype._hierarchicalPathComponentWasSelected): Use revealAndSelect
1230         on the TreeElement instead of showing the representedObject directly. This fixes an exception in
1231         TimelineRecordingContentView where it wouldn't be initialized with the TimelineSidebarPanel extra argument.
1232         * UserInterface/Views/TimelineOverview.js:
1233         (WebInspector.TimelineOverview.prototype.get visibleDuration): Fix an annoying assert. We show the view
1234         early in construction, before it is in the document. Future updateLayout calls work and fix this.
1235         * UserInterface/Views/TimelineRecordingContentView.js:
1236         (WebInspector.TimelineRecordingContentView.prototype.shown): Call _currentContentViewDidChange
1237         to trigger the sidebar to update when this recording view is shown.
1238         * UserInterface/Views/TimelineSidebarPanel.js:
1239         (WebInspector.TimelineSidebarPanel.prototype._recordingsTreeElementSelected): Moved code from here...
1240         (WebInspector.TimelineSidebarPanel.prototype._recordingSelected): ... to here. Take two different paths
1241         to state restoration here. If the view existed before, use its state. If now, use the current state that
1242         is captured by the cookie logic and explicitly restore it.
1243
1244 2015-05-03  Timothy Hatcher  <timothy@apple.com>
1245
1246         Web Inspector: Exception under ContentViewContainer _disassociateFromContentView
1247         https://bugs.webkit.org/show_bug.cgi?id=144546
1248
1249         Reviewed by Brian Burg.
1250
1251         * UserInterface/Views/ContentViewContainer.js:
1252         (WebInspector.ContentViewContainer.prototype.showContentView):
1253         Make sure to pass the ContentView to _disassociateFromContentView. Also negate the result
1254         of the _backForwardList.some(), since we don't want to dissociate if the content view is
1255         still in the back-forward list.
1256
1257 2015-05-02  Matt Baker  <mattbaker@apple.com>
1258
1259         Web Inspector: Relocate the selected range details in the Rendering Frames timeline UI
1260         https://bugs.webkit.org/show_bug.cgi?id=144346
1261
1262         This patch removes the details sidebar used by the rendering frames view, and relocates the frame selection
1263         chart the Timelines navigation sidebar.
1264
1265         Reviewed by Timothy Hatcher.
1266
1267         * Localizations/en.lproj/localizedStrings.js:
1268         * UserInterface/Base/Main.js:
1269         (WebInspector.contentLoaded):
1270         RenderingFramesDetailsSidebar is no longer used.
1271
1272         * UserInterface/Controllers/TimelineManager.js:
1273         (WebInspector.TimelineManager.prototype._loadNewRecording):
1274         Reordered timelines.
1275
1276         * UserInterface/Main.html:
1277         Removed references to deleted files.
1278
1279         * UserInterface/Views/ChartDetailsSectionLegendRow.js: Removed.
1280         No longer used. The legend is now a child element of the chart.
1281
1282         * UserInterface/Views/ChartDetailsSectionRow.css:
1283         (.details-section > .content > .group > .row.chart > .title):
1284         (.details-section > .content > .group > .row.chart > .chart-content):
1285         (.details-section > .content > .group > .row.chart > .chart-content > .legend):
1286         (.details-section > .content > .group > .row.chart > .chart-content > .legend > .legend-item):
1287         (.details-section > .content > .group > .row.chart > .chart-content > .legend > .legend-item > .label > .color-swatch):
1288         (.details-section > .content > .group > .row.chart > .chart-content > .legend > .legend-item > .label):
1289         (.details-section > .content > .group > .row.chart > .chart-content > .legend > .legend-item > .value):
1290         (.details-section > .content > .group > .row.chart > .chart-content > .legend > .legend-item > *):
1291         New chart and legend styles.
1292
1293         * UserInterface/Views/ChartDetailsSectionRow.js:
1294         (WebInspector.ChartDetailsSectionRow):
1295         (WebInspector.ChartDetailsSectionRow.prototype.set title):
1296         (WebInspector.ChartDetailsSectionRow.prototype.set innerLabel):
1297         (WebInspector.ChartDetailsSectionRow.prototype.set innerRadius):
1298         (WebInspector.ChartDetailsSectionRow.prototype.get total):
1299         (WebInspector.ChartDetailsSectionRow.set data):
1300         (WebInspector.ChartDetailsSectionRow.prototype.set data):
1301         (WebInspector.ChartDetailsSectionRow.prototype._createLegendItem):
1302         (WebInspector.ChartDetailsSectionRow.prototype._refresh):
1303
1304         A few changes have been made to the appearance and behavior of the chart. A chart title can now be set,
1305         and the legend appears to the right of the chart rather than in a separate details group.
1306
1307         The chart now has better support for adding empty data points, ensuring that a meaningful legend is shown even
1308         when no rendering frames are selected in the timeline overview graph. This ensures that the task associated
1309         with each colored frame segment is apparent, without having to make a selection or record a timeline.
1310
1311         * UserInterface/Views/RenderingFrameDetailsSidebarPanel.js: Removed.
1312         No longer used.
1313
1314         * UserInterface/Views/RenderingFrameTimelineOverviewGraph.js:
1315         Reduced maximum timeline height to increase the height of short frames.
1316
1317         * UserInterface/Views/RenderingFrameTimelineView.js:
1318         (WebInspector.RenderingFrameTimelineView.prototype.shown):
1319         (WebInspector.RenderingFrameTimelineView.prototype.hidden):
1320         RenderingFramesDetailsSidebar is no longer used.
1321
1322         * UserInterface/Views/TimelineRecordingContentView.js:
1323         (WebInspector.TimelineRecordingContentView):
1324         (WebInspector.TimelineRecordingContentView.prototype._updateTimes):
1325         (WebInspector.TimelineRecordingContentView.prototype._updateTimelineOverviewHeight):
1326         (WebInspector.TimelineRecordingContentView.prototype._timelineRemoved):
1327         (WebInspector.TimelineRecordingContentView.prototype._timeRangeSelectionChanged):
1328         (WebInspector.TimelineRecordingContentView.prototype._updateFrameSelection):
1329         Improved logic for updating the frame selection.
1330
1331         * UserInterface/Views/TimelineSidebarPanel.css:
1332         (.sidebar > .panel.navigation.timeline > .timelines-content > .details-section > div.header):
1333         (.sidebar > .panel.navigation.timeline > .timelines-content > .details-section > .content > .group > .row.chart):
1334         (.sidebar > .panel.navigation.timeline > .timelines-content > .details-section > .content > .group > .row.chart > .chart-content > .chart):
1335         (.sidebar > .panel.navigation.timeline.timeline-recording-content-view-showing > .content): Deleted.
1336         New chart styles.
1337
1338         * UserInterface/Views/TimelineSidebarPanel.js:
1339         (WebInspector.TimelineSidebarPanel):
1340         (WebInspector.TimelineSidebarPanel.prototype.shown):
1341         (WebInspector.TimelineSidebarPanel._timelineAdded.set this):
1342         (WebInspector.TimelineSidebarPanel.this._timelineTreeElementMap.get select):
1343         (WebInspector.TimelineSidebarPanel.get else):
1344         (WebInspector.TimelineSidebarPanel._refreshFrameSelectionChart.getSelectedRecords.get var):
1345         (WebInspector.TimelineSidebarPanel._refreshFrameSelectionChart.getSelectedRecords):
1346         (WebInspector.TimelineSidebarPanel.showTimelineViewForTimeline.this._timelineTreeElementMap.get select):
1347         (WebInspector.TimelineSidebarPanel.prototype.treeElementForRepresentedObject.get if.get if):
1348         (WebInspector.TimelineSidebarPanel.prototype.treeElementForRepresentedObject.get if):
1349         (WebInspector.TimelineSidebarPanel._refreshFrameSelectionChart.durationForRecordType):
1350         (WebInspector.TimelineSidebarPanel.prototype.treeElementForRepresentedObject):
1351         (WebInspector.TimelineSidebarPanel.set contentTreeOutlineLabel): Deleted.
1352         (WebInspector.TimelineSidebarPanel._recordingCreated.set this): Deleted.
1353         (WebInspector.TimelineSidebarPanel.get this): Deleted.
1354         Moved the selected frames chart to the navigation sidebar.
1355
1356         * UserInterface/Views/TimelineTabContentView.js:
1357         (WebInspector.TimelineTabContentView):
1358         RenderingFramesDetailsSidebar is no longer used.
1359
1360         * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj:
1361         * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters:
1362         Removed references to deleted files.
1363
1364 2015-05-02  Timothy Hatcher  <timothy@apple.com>
1365
1366         Web Inspector: Allow closing and reopening the Resources tab
1367         https://bugs.webkit.org/show_bug.cgi?id=144513
1368
1369         Reviewed by Joseph Pecoraro.
1370
1371         * UserInterface/Base/Main.js:
1372         (WebInspector._updateNewTabButtonState):
1373         * UserInterface/Views/NewTabContentView.js:
1374         (WebInspector.NewTabContentView):
1375         * UserInterface/Views/ResourceSidebarPanel.js:
1376         (WebInspector.ResourceSidebarPanel):
1377         (WebInspector.ResourceSidebarPanel.prototype.closed):
1378         * UserInterface/Views/ResourcesTabContentView.js:
1379         (WebInspector.ResourcesTabContentView):
1380
1381 2015-05-02  Timothy Hatcher  <timothy@apple.com>
1382
1383         Web Inspector: REGRESSION: Resources section doesn't update after changes are made to a local file
1384         https://bugs.webkit.org/show_bug.cgi?id=144512
1385
1386         The content view was being associated with the wrong represented object. This caused the code to use
1387         the old main resource when showing the frame again.
1388
1389         Reviewed by Joseph Pecoraro.
1390
1391         * UserInterface/Base/Main.js:
1392         (WebInspector._frameWasAdded.delayedWork):
1393         (WebInspector._frameWasAdded):
1394         With the changes in ResourceSidebarPanel, we need to delay showing the frame.
1395
1396         * UserInterface/Views/ContentBrowserTabContentView.js:
1397         (WebInspector.ContentBrowserTabContentView.prototype.showRepresentedObject):
1398         Avoid restoring state by calling cancelRestoringState(). Not fully related to this bug,
1399         but it was preventing testing the cases.
1400
1401         * UserInterface/Views/ContentViewContainer.js:
1402         (WebInspector.ContentViewContainer.prototype.contentViewForRepresentedObject):
1403         This fixes the bug. Don't associate the content view with the Frame, associate it with
1404         the Resource that we actually show.
1405
1406         * UserInterface/Views/NavigationSidebarPanel.js:
1407         (WebInspector.NavigationSidebarPanel.prototype.cancelRestoringState): Added.
1408
1409         * UserInterface/Views/ResourceSidebarPanel.js:
1410         (WebInspector.ResourceSidebarPanel): Remove unused _waitingForInitialMainFrame.
1411         (WebInspector.ResourceSidebarPanel.prototype.treeElementForRepresentedObject):
1412         (WebInspector.ResourceSidebarPanel.prototype._mainResourceDidChange):
1413         (WebInspector.ResourceSidebarPanel.prototype._mainFrameDidChange):
1414         (WebInspector.ResourceSidebarPanel.prototype._mainFrameMainResourceDidChange.delayedWork):
1415         (WebInspector.ResourceSidebarPanel.prototype._mainFrameMainResourceDidChange):
1416         Clean up how we show the main frame in the sidebar. This was a two step mess before.
1417
1418 2015-04-29  Timothy Hatcher  <timothy@apple.com>
1419
1420         Web Inspector: Remove FrameContentView.js
1421         https://bugs.webkit.org/show_bug.cgi?id=144415
1422
1423         Reviewed by Joseph Pecoraro.
1424
1425         * UserInterface/Images/DOMTree.svg: Removed.
1426         * UserInterface/Images/SourceCode.svg: Removed.
1427         * UserInterface/Main.html: Removed FrameContentView.js.
1428         * UserInterface/Views/FrameContentView.js: Removed.
1429         * UserInterface/Views/PathComponentIcons.css:
1430         (.source-code-icon .icon): Deleted.
1431         (.dom-tree-icon .icon): Deleted.
1432
1433         * UserInterface/Views/ResourceSidebarPanel.js:
1434         (WebInspector.ResourceSidebarPanel.prototype._mainFrameMainResourceDidChange.delayedWork):
1435         (WebInspector.ResourceSidebarPanel.prototype._mainFrameMainResourceDidChange):
1436         Simplify the code here. We don't need these checks now with tabs and the Storage tab.
1437
1438 2015-04-30  Nikita Vasilyev  <nvasilyev@apple.com>
1439
1440         REGRESSION: Web Inspector: Console message repeat count overlapped by icon
1441         https://bugs.webkit.org/show_bug.cgi?id=144344
1442
1443         Reviewed by Timothy Hatcher.
1444
1445         * UserInterface/Views/ConsoleMessageView.css:
1446         (.console-message .repeat-count):
1447
1448 2015-04-30  Jon Davis  <jond@apple.com>
1449
1450         Web Inspector: console should show an icon for console.info() messages
1451         https://bugs.webkit.org/show_bug.cgi?id=18530
1452
1453         Reviewed by Timothy Hatcher.
1454
1455         Added icons for console.log, console.info and console.debug messages.
1456
1457         Separated console.info from console.log.
1458
1459         * UserInterface/Images/Debug.svg: Added.
1460         * UserInterface/Images/Info.svg: Added.
1461         * UserInterface/Images/Log.svg: Added.
1462         New icon files.
1463
1464         * UserInterface/Models/ConsoleMessage.js:
1465         * UserInterface/Views/ConsoleMessageView.css:
1466         (.console-log-level::before):
1467         (.console-info-level::before):
1468         (.console-debug-level::before):
1469         (:matches(.console-warning-level, .console-error-level, .console-log-level, .console-info-level, .console-debug-level).console-message):
1470         (:matches(.console-warning-level, .console-error-level, .console-log-level, .console-info-level, .console-debug-level)::before):
1471         (:matches(.console-warning-level, .console-error-level, .console-log-level).console-message): Deleted.
1472         (:matches(.console-warning-level, .console-error-level, .console-log-level)::before): Deleted.
1473         Include console.info messages in layout adjustments.
1474
1475         * UserInterface/Views/ConsoleMessageView.js:
1476         (WebInspector.ConsoleMessageView):
1477         (WebInspector.ConsoleMessageView.prototype._levelString):
1478
1479 2015-04-30  Timothy Hatcher  <timothy@apple.com>
1480
1481         Web Inspector: Scope Chain sidebar should be selected immediately when paused
1482         https://bugs.webkit.org/show_bug.cgi?id=144352
1483
1484         Reviewed by Joseph Pecoraro.
1485
1486         * UserInterface/Base/Main.js:
1487         (WebInspector.showDebuggerTab): Added showScopeChainDetailsSidebarPanel argument.
1488         (WebInspector._debuggerDidPause): Pass true for showScopeChainDetailsSidebarPanel.
1489         * UserInterface/Views/ContentBrowserTabContentView.js:
1490         (WebInspector.ContentBrowserTabContentView): Wire the event to showDetailsSidebarPanels instead of
1491         _contentBrowserRepresentedObjectsDidChange, allowing subclasses to do work during the event.
1492         (WebInspector.ContentBrowserTabContentView.prototype.showDetailsSidebarPanels): Moved content of
1493         _contentBrowserRepresentedObjectsDidChange here.
1494         (WebInspector.ContentBrowserTabContentView.prototype._contentBrowserRepresentedObjectsDidChange): Deleted.
1495         * UserInterface/Views/DebuggerTabContentView.js:
1496         (WebInspector.DebuggerTabContentView.prototype.showDetailsSidebarPanels): Added. Show the scope sidebar panel
1497         if it is available and it was requested by showScopeChainDetailsSidebarPanel().
1498         (WebInspector.DebuggerTabContentView.prototype.showScopeChainDetailsSidebarPanel): Added.
1499
1500 2015-04-30  Andres Gomez  <agomez@igalia.com>
1501
1502         [GTK] Web Inspector: New Images for ObjectTreeView - Setter
1503         https://bugs.webkit.org/show_bug.cgi?id=143173
1504
1505         Reviewed by Martin Robinson.
1506
1507         * UserInterface/Images/gtk/Pencil.svg: Added.
1508
1509 2015-04-30  Andres Gomez  <agomez@igalia.com>
1510
1511         [GTK] Web Inspector: Remove some unused Images
1512         https://bugs.webkit.org/show_bug.cgi?id=144445
1513
1514         Reviewed by Carlos Garcia Campos.
1515
1516         * UserInterface/Images/gtk/BottomUpTree.svg: Removed.
1517         * UserInterface/Images/gtk/Log.png: Removed.
1518         * UserInterface/Images/gtk/Log@2x.png: Removed.
1519         * UserInterface/Images/gtk/NavigationItemAngleBrackets.svg: Removed.
1520         * UserInterface/Images/gtk/NavigationItemBrushAndRuler.svg: Removed.
1521         * UserInterface/Images/gtk/NavigationItemBug.svg: Removed.
1522         * UserInterface/Images/gtk/NavigationItemFile.svg: Removed.
1523         * UserInterface/Images/gtk/NavigationItemLayers.svg: Removed.
1524         * UserInterface/Images/gtk/NavigationItemLog.svg: Removed.
1525         * UserInterface/Images/gtk/NavigationItemProbes.svg: Removed.
1526         * UserInterface/Images/gtk/NavigationItemStopwatch.svg: Removed.
1527         * UserInterface/Images/gtk/NavigationItemStorage.svg: Removed.
1528         * UserInterface/Images/gtk/NavigationItemVariable.svg: Removed.
1529         * UserInterface/Images/gtk/Percent.svg: Removed.
1530         * UserInterface/Images/gtk/Reload.svg: Removed.
1531         * UserInterface/Images/gtk/SplitToggleDown.svg: Removed.
1532         * UserInterface/Images/gtk/Time.svg: Removed.
1533         * UserInterface/Images/gtk/Weight.svg: Removed.
1534
1535 2015-04-30  Joseph Pecoraro  <pecoraro@apple.com>
1536
1537         Web Inspector: Copy not working in Console
1538         https://bugs.webkit.org/show_bug.cgi?id=144354
1539
1540         Reviewed by Timothy Hatcher.
1541
1542         * UserInterface/Base/Main.js:
1543         (WebInspector._focusedContentView):
1544         Select the inner most content view to check if handleCopyEvent exists.
1545         Previously we were stopping at the top level TabContentView.
1546
1547 2015-04-29  Timothy Hatcher  <timothy@apple.com>
1548
1549         Web Inspector: Remove some unused Images
1550         https://bugs.webkit.org/show_bug.cgi?id=144412
1551
1552         Reviewed by Joseph Pecoraro.
1553
1554         * UserInterface/Images/BottomUpTree.svg: Removed.
1555         * UserInterface/Images/Log.png: Removed.
1556         * UserInterface/Images/Log@2x.png: Removed.
1557         * UserInterface/Images/NavigationItemAngleBrackets.svg: Removed.
1558         * UserInterface/Images/NavigationItemBrushAndRuler.svg: Removed.
1559         * UserInterface/Images/NavigationItemBug.svg: Removed.
1560         * UserInterface/Images/NavigationItemDoughnutChart.svg: Removed.
1561         * UserInterface/Images/NavigationItemFile.svg: Removed.
1562         * UserInterface/Images/NavigationItemLayers.svg: Removed.
1563         * UserInterface/Images/NavigationItemLog.svg: Removed.
1564         * UserInterface/Images/NavigationItemProbes.svg: Removed.
1565         * UserInterface/Images/NavigationItemStopwatch.svg: Removed.
1566         * UserInterface/Images/NavigationItemStorage.svg: Removed.
1567         * UserInterface/Images/NavigationItemVariable.svg: Removed.
1568         * UserInterface/Images/NetworkBarLabelCalloutLeft.svg: Removed.
1569         * UserInterface/Images/NetworkBarLabelCalloutRight.svg: Removed.
1570         * UserInterface/Images/NetworkBarLabelCalloutWhiteLeft.svg: Removed.
1571         * UserInterface/Images/NetworkBarLabelCalloutWhiteRight.svg: Removed.
1572         * UserInterface/Images/Percent.svg: Removed.
1573         * UserInterface/Images/Reload.svg: Removed.
1574         * UserInterface/Images/SplitToggleDown.svg: Removed.
1575         * UserInterface/Images/Time.svg: Removed.
1576         * UserInterface/Images/Weight.svg: Removed.
1577
1578 2015-04-29  Timothy Hatcher  <timothy@apple.com>
1579
1580         Web Inspector: Split Storage from Resources tab
1581         https://bugs.webkit.org/show_bug.cgi?id=144404
1582
1583         Reviewed by Joseph Pecoraro.
1584
1585         * Localizations/en.lproj/localizedStrings.js:
1586         * UserInterface/Base/Main.js:
1587         (WebInspector.loaded):
1588         (WebInspector.isTabTypeAllowed):
1589         (WebInspector._tabContentViewForType):
1590         (WebInspector._updateNewTabButtonState):
1591         (WebInspector.showStorageTab):
1592         (WebInspector._storageWasInspected):
1593         * UserInterface/Controllers/ApplicationCacheManager.js:
1594         (WebInspector.ApplicationCacheManager.prototype.initialize):
1595         (WebInspector.ApplicationCacheManager.prototype.get applicationCacheObjects):
1596         * UserInterface/Controllers/StorageManager.js:
1597         (WebInspector.StorageManager.prototype.get domStorageObjects):
1598         (WebInspector.StorageManager.prototype.get databases):
1599         (WebInspector.StorageManager.prototype.get indexedDatabases):
1600         (WebInspector.StorageManager.prototype.get cookieStorageObjects):
1601         * UserInterface/Images/Storage.svg: Added.
1602         * UserInterface/Main.html:
1603         * UserInterface/Views/DatabaseTableContentView.js:
1604         (WebInspector.DatabaseTableContentView.prototype._queryFinished): Clear _dataGrid,
1605         since it might have been allocated but still be empty. This avoids an exception in
1606         updateLayout next time layout is updated.
1607         * UserInterface/Views/NewTabContentView.js:
1608         (WebInspector.NewTabContentView):
1609         * UserInterface/Views/ResourceSidebarPanel.js:
1610         (WebInspector.ResourceSidebarPanel):
1611         (WebInspector.ResourceSidebarPanel.prototype._treeElementSelected):
1612         (WebInspector.ResourceSidebarPanel.prototype._domStorageObjectWasAdded): Deleted.
1613         (WebInspector.ResourceSidebarPanel.prototype._domStorageObjectWasInspected): Deleted.
1614         (WebInspector.ResourceSidebarPanel.prototype._databaseWasAdded): Deleted.
1615         (WebInspector.ResourceSidebarPanel.prototype._databaseWasInspected): Deleted.
1616         (WebInspector.ResourceSidebarPanel.prototype._indexedDatabaseWasAdded): Deleted.
1617         (WebInspector.ResourceSidebarPanel.prototype._cookieStorageObjectWasAdded): Deleted.
1618         (WebInspector.ResourceSidebarPanel.prototype._frameManifestAdded): Deleted.
1619         (WebInspector.ResourceSidebarPanel.prototype._frameManifestRemoved): Deleted.
1620         (WebInspector.ResourceSidebarPanel.prototype._addStorageChild): Deleted.
1621         (WebInspector.ResourceSidebarPanel.prototype._storageCleared): Deleted.
1622         * UserInterface/Views/ResourcesTabContentView.js:
1623         (WebInspector.ResourcesTabContentView):
1624         (WebInspector.ResourcesTabContentView.prototype.canShowRepresentedObject):
1625         * UserInterface/Views/StorageSidebarPanel.js: Added.
1626         (WebInspector.StorageSidebarPanel):
1627         (WebInspector.StorageSidebarPanel.prototype.showDefaultContentView):
1628         (WebInspector.StorageSidebarPanel.prototype.closed):
1629         (WebInspector.StorageSidebarPanel.prototype._treeElementSelected):
1630         (WebInspector.StorageSidebarPanel.prototype._domStorageObjectWasAdded):
1631         (WebInspector.StorageSidebarPanel.prototype._addDOMStorageObject):
1632         (WebInspector.StorageSidebarPanel.prototype._domStorageObjectWasInspected):
1633         (WebInspector.StorageSidebarPanel.prototype._databaseWasAdded):
1634         (WebInspector.StorageSidebarPanel.prototype._addDatabase):
1635         (WebInspector.StorageSidebarPanel.prototype._databaseWasInspected):
1636         (WebInspector.StorageSidebarPanel.prototype._indexedDatabaseWasAdded):
1637         (WebInspector.StorageSidebarPanel.prototype._addIndexedDatabase):
1638         (WebInspector.StorageSidebarPanel.prototype._cookieStorageObjectWasAdded):
1639         (WebInspector.StorageSidebarPanel.prototype._addCookieStorageObject):
1640         (WebInspector.StorageSidebarPanel.prototype._frameManifestAdded):
1641         (WebInspector.StorageSidebarPanel.prototype._addFrameManifest):
1642         (WebInspector.StorageSidebarPanel.prototype._frameManifestRemoved):
1643         (WebInspector.StorageSidebarPanel.prototype._compareTreeElements):
1644         (WebInspector.StorageSidebarPanel.prototype._addStorageChild):
1645         (WebInspector.StorageSidebarPanel.prototype._storageCleared):
1646         * UserInterface/Views/StorageTabContentView.js: Copied from Source/WebInspectorUI/UserInterface/Views/ResourcesTabContentView.js.
1647         (WebInspector.StorageTabContentView):
1648         (WebInspector.StorageTabContentView.prototype.get type):
1649         (WebInspector.StorageTabContentView.prototype.canShowRepresentedObject):
1650
1651 2015-04-29  Timothy Hatcher  <timothy@apple.com>
1652
1653         Web Inspector: Remove Legacy images and styles
1654         https://bugs.webkit.org/show_bug.cgi?id=144390
1655
1656         Reviewed by Joseph Pecoraro.
1657
1658         * UserInterface/Base/ImageUtilities.js:
1659         (.generateImage):
1660         (.generateImage.generateLegacyImage): Deleted.
1661         * UserInterface/Base/Main.js:
1662         (WebInspector.contentLoaded):
1663         (WebInspector._updateToolbarHeight):
1664         * UserInterface/Base/Platform.js:
1665         * UserInterface/Controllers/TimelineManager.js:
1666         (WebInspector.TimelineManager.prototype._loadNewRecording):
1667         * UserInterface/Images/Legacy/BackArrow.svg: Removed.
1668         * UserInterface/Images/Legacy/Breakpoints.svg: Removed.
1669         * UserInterface/Images/Legacy/Close.svg: Removed.
1670         * UserInterface/Images/Legacy/CloseLarge.svg: Removed.
1671         * UserInterface/Images/Legacy/Colors.png: Removed.
1672         * UserInterface/Images/Legacy/Colors@2x.png: Removed.
1673         * UserInterface/Images/Legacy/ColorsLarge.png: Removed.
1674         * UserInterface/Images/Legacy/ColorsLarge@2x.png: Removed.
1675         * UserInterface/Images/Legacy/DockBottom.svg: Removed.
1676         * UserInterface/Images/Legacy/DockRight.svg: Removed.
1677         * UserInterface/Images/Legacy/DownloadArrow.svg: Removed.
1678         * UserInterface/Images/Legacy/Errors.svg: Removed.
1679         * UserInterface/Images/Legacy/ErrorsEnabled.svg: Removed.
1680         * UserInterface/Images/Legacy/FilterFieldGlyph.svg: Removed.
1681         * UserInterface/Images/Legacy/FolderGeneric.png: Removed.
1682         * UserInterface/Images/Legacy/FolderGeneric@2x.png: Removed.
1683         * UserInterface/Images/Legacy/ForwardArrow.svg: Removed.
1684         * UserInterface/Images/Legacy/Issues.svg: Removed.
1685         * UserInterface/Images/Legacy/IssuesEnabled.svg: Removed.
1686         * UserInterface/Images/Legacy/LayerBorders.svg: Removed.
1687         * UserInterface/Images/Legacy/Logs.svg: Removed.
1688         * UserInterface/Images/Legacy/NavigationItemCurleyBraces.svg: Removed.
1689         * UserInterface/Images/Legacy/NavigationItemTrash.svg: Removed.
1690         * UserInterface/Images/Legacy/Network.png: Removed.
1691         * UserInterface/Images/Legacy/Network@2x.png: Removed.
1692         * UserInterface/Images/Legacy/NetworkLarge.png: Removed.
1693         * UserInterface/Images/Legacy/NetworkLarge@2x.png: Removed.
1694         * UserInterface/Images/Legacy/Pause.svg: Removed.
1695         * UserInterface/Images/Legacy/Plus.svg: Removed.
1696         * UserInterface/Images/Legacy/Recording.png: Removed.
1697         * UserInterface/Images/Legacy/Recording@2x.png: Removed.
1698         * UserInterface/Images/Legacy/RecordingHovered.png: Removed.
1699         * UserInterface/Images/Legacy/RecordingHovered@2x.png: Removed.
1700         * UserInterface/Images/Legacy/RecordingStopped.png: Removed.
1701         * UserInterface/Images/Legacy/RecordingStopped@2x.png: Removed.
1702         * UserInterface/Images/Legacy/Reload.svg: Removed.
1703         * UserInterface/Images/Legacy/Resources.svg: Removed.
1704         * UserInterface/Images/Legacy/Resume.svg: Removed.
1705         * UserInterface/Images/Legacy/ShadowDOM.svg: Removed.
1706         * UserInterface/Images/Legacy/SortIndicatorDownArrow.svg: Removed.
1707         * UserInterface/Images/Legacy/SortIndicatorUpArrow.svg: Removed.
1708         * UserInterface/Images/Legacy/SplitToggleDown.svg: Removed.
1709         * UserInterface/Images/Legacy/SplitToggleUp.svg: Removed.
1710         * UserInterface/Images/Legacy/StepInto.svg: Removed.
1711         * UserInterface/Images/Legacy/StepOut.svg: Removed.
1712         * UserInterface/Images/Legacy/StepOver.svg: Removed.
1713         * UserInterface/Images/Legacy/Time.svg: Removed.
1714         * UserInterface/Images/Legacy/Undock.svg: Removed.
1715         * UserInterface/Images/Legacy/UpDownArrows.svg: Removed.
1716         * UserInterface/Images/Legacy/Weight.svg: Removed.
1717         * UserInterface/Views/ButtonNavigationItem.css:
1718         (body.mac-platform.legacy .navigation-bar .item.button.text-only): Deleted.
1719         * UserInterface/Views/ButtonToolbarItem.css:
1720         (body.mac-platform.legacy .toolbar .item.button > .label): Deleted.
1721         * UserInterface/Views/CSSStyleDeclarationSection.css:
1722         (body.mac-platform.legacy .style-declaration-section): Deleted.
1723         (body.mac-platform.legacy .style-declaration-section + .style-declaration-section): Deleted.
1724         (body.mac-platform.legacy .style-declaration-section.last-in-group): Deleted.
1725         (body.mac-platform.legacy .style-declaration-section.last-in-group + .style-declaration-section): Deleted.
1726         (body.mac-platform.legacy .style-declaration-section.last-in-group + .style-declaration-section:matches(.last-in-group, :last-child)): Deleted.
1727         * UserInterface/Views/CSSStyleDetailsSidebarPanel.css:
1728         (body.mac-platform.legacy .sidebar > .panel.details.css-style > .content): Deleted.
1729         * UserInterface/Views/ContentBrowser.js:
1730         (WebInspector.ContentBrowser):
1731         * UserInterface/Views/ControlToolbarItem.css:
1732         (body.mac-platform.legacy .toolbar .item.control): Deleted.
1733         (body.mac-platform.legacy .toolbar .item.control:hover): Deleted.
1734         * UserInterface/Views/DOMTreeContentView.js:
1735         (WebInspector.DOMTreeContentView):
1736         * UserInterface/Views/DOMTreeOutline.css:
1737         (body.mac-platform.legacy .dom-tree-outline li.hovered:not(.selected) .selection): Deleted.
1738         (body.mac-platform.legacy .dom-tree-outline li.elements-drag-over .selection): Deleted.
1739         (body.mac-platform.legacy .dom-tree-outline:focus li.selected .selection): Deleted.
1740         * UserInterface/Views/DashboardContainerView.css:
1741         (body.mac-platform.legacy .toolbar .dashboard-container): Deleted.
1742         (body.mac-platform.legacy.window-inactive .toolbar .dashboard-container): Deleted.
1743         (body.mac-platform.legacy.window-inactive .toolbar .dashboard): Deleted.
1744         (body.mac-platform.legacy .dashboard-container .advance-arrow): Deleted.
1745         * UserInterface/Views/DataGrid.css:
1746         (body.mac-platform.legacy .data-grid:focus tr.selected td:not(:last-child)): Deleted.
1747         (body.mac-platform.legacy .data-grid:focus tr.selected): Deleted.
1748         * UserInterface/Views/DataGrid.js:
1749         (WebInspector.DataGrid.prototype.get _generateSortIndicatorImagesIfNeeded):
1750         * UserInterface/Views/DatabaseTableContentView.js:
1751         (WebInspector.DatabaseTableContentView):
1752         * UserInterface/Views/DebuggerDashboardView.js:
1753         (WebInspector.DebuggerDashboardView):
1754         * UserInterface/Views/DebuggerSidebarPanel.css:
1755         (body.mac-platform.legacy .sidebar > .panel.navigation.debugger > .content): Deleted.
1756         * UserInterface/Views/DebuggerSidebarPanel.js:
1757         * UserInterface/Views/DefaultDashboardView.css:
1758         (body.mac-platform.legacy .toolbar .dashboard.default > .item): Deleted.
1759         (body.mac-platform.legacy .toolbar .dashboard.default > .resourcesCount > img): Deleted.
1760         (body.mac-platform.legacy .toolbar .dashboard.default > .logs > img): Deleted.
1761         (body.mac-platform.legacy .toolbar .dashboard.default > .errors > img): Deleted.
1762         (body.mac-platform.legacy .toolbar .dashboard.default > .errors.enabled > img): Deleted.
1763         (body.mac-platform.legacy .toolbar .dashboard.default > .issues > img): Deleted.
1764         (body.mac-platform.legacy .toolbar .dashboard.default > .issues.enabled > img): Deleted.
1765         * UserInterface/Views/DetailsSection.css:
1766         (body.mac-platform.legacy .details-section): Deleted.
1767         (body.mac-platform.legacy .details-section .details-section): Deleted.
1768         (body.mac-platform.legacy .details-section .details-section:first-child): Deleted.
1769         (body.mac-platform.legacy .details-section > .header): Deleted.
1770         (body.mac-platform.legacy .details-section .details-section > .header): Deleted.
1771         (body.mac-platform.legacy .details-section .details-section.collapsed > .header): Deleted.
1772         (body.mac-platform.legacy .details-section:not(.collapsed) .data-grid.inline): Deleted.
1773         (body.mac-platform.legacy .details-section.computed-style-properties:not(.collapsed) > .header): Deleted.
1774         (body.mac-platform.legacy .details-section > .content > .group): Deleted.
1775         (body.mac-platform.legacy .details-section > .content > .group:nth-child(even)): Deleted.
1776         (body.mac-platform.legacy .details-section > .content > .group:matches(:nth-child(even), :last-child) > .row.simple:last-child > *): Deleted.
1777         (body.mac-platform.legacy .details-section > .content > .group > .row:matches(.empty, .text)): Deleted.
1778         * UserInterface/Views/DividerNavigationItem.css:
1779         (.navigation-bar .item.divider):
1780         (body.mac-platform.legacy .navigation-bar .item.divider): Deleted.
1781         * UserInterface/Views/FilterBar.css:
1782         (.filter-bar > input[type="search"]::-webkit-search-decoration):
1783         (body.mac-platform.legacy .filter-bar): Deleted.
1784         (body.mac-platform.legacy .filter-bar > input[type="search"]): Deleted.
1785         (body.mac-platform.legacy .filter-bar > input[type="search"]::-webkit-search-decoration): Deleted.
1786         * UserInterface/Views/FindBanner.css:
1787         (body.mac-platform.legacy .find-banner > input[type="search"]): Deleted.
1788         (body.mac-platform.legacy .find-banner > button > .glyph): Deleted.
1789         (body.mac-platform.legacy .find-banner > button.segmented.left > .glyph): Deleted.
1790         (body.mac-platform.legacy .find-banner > button.segmented.right > .glyph): Deleted.
1791         (body.mac-platform.legacy .find-banner > button.segmented): Deleted.
1792         * UserInterface/Views/FindBanner.js:
1793         (WebInspector.FindBanner.prototype._generateButtonsGlyphsIfNeeded):
1794         (WebInspector.FindBanner):
1795         * UserInterface/Views/FolderIcon.css:
1796         (.folder-icon .icon):
1797         (body.mac-platform.legacy .folder-icon .icon): Deleted.
1798         * UserInterface/Views/HierarchicalPathComponent.css:
1799         (body.mac-platform.legacy .hierarchical-path-component > .selector-arrows): Deleted.
1800         * UserInterface/Views/IndexedDatabaseObjectStoreContentView.js:
1801         (WebInspector.IndexedDatabaseObjectStoreContentView):
1802         * UserInterface/Views/LayerTreeDetailsSidebarPanel.css:
1803         (body.mac-platform.legacy .sidebar > .panel.details.layer-tree > .content): Deleted.
1804         (body.mac-platform.legacy .panel.details.layer-tree .bottom-bar): Deleted.
1805         (body.mac-platform.legacy .panel.details.layer-tree .bottom-bar > div): Deleted.
1806         (body.mac-platform.legacy .layer-tree-popover): Deleted.
1807         * UserInterface/Views/LogContentView.css:
1808         (body.mac-platform.legacy .search-bar.log-search-bar > input[type="search"]): Deleted.
1809         * UserInterface/Views/LogContentView.js:
1810         (WebInspector.LogContentView):
1811         * UserInterface/Views/Main.css:
1812         (body.mac-platform.legacy:not(.docked)): Deleted.
1813         (body.docked.bottom.mac-platform.legacy): Deleted.
1814         (body.docked.right.mac-platform.legacy): Deleted.
1815         (body.mac-platform.legacy #split-content-browser > .navigation-bar): Deleted.
1816         * UserInterface/Views/NavigationBar.css:
1817         (.navigation-bar .item):
1818         (body.mac-platform.legacy .navigation-bar): Deleted.
1819         (body.mac-platform.legacy .navigation-bar .item): Deleted.
1820         * UserInterface/Views/NavigationSidebarPanel.css:
1821         (body.mac-platform.legacy .sidebar > .panel.navigation > .content): Deleted.
1822         (body.mac-platform.legacy .sidebar > .panel.navigation > .overflow-shadow): Deleted.
1823         (body.mac-platform.legacy .sidebar > .panel.navigation > .overflow-shadow.top): Deleted.
1824         (body.mac-platform.legacy .sidebar > .panel.navigation > .empty-content-placeholder): Deleted.
1825         (body.mac-platform.legacy .navigation-sidebar-panel-content-tree-outline .item.selected): Deleted.
1826         (body.mac-platform.legacy .navigation-sidebar-panel-content-tree-outline:focus .item.selected): Deleted.
1827         (body.mac-platform.legacy.window-inactive .navigation-sidebar-panel-content-tree-outline .item.selected): Deleted.
1828         * UserInterface/Views/NavigationSidebarPanel.js:
1829         (WebInspector.NavigationSidebarPanel.prototype._updateContentOverflowShadowVisibility):
1830         (WebInspector.NavigationSidebarPanel.prototype._generateDisclosureTrianglesIfNeeded):
1831         * UserInterface/Views/Popover.js:
1832         * UserInterface/Views/ProbeDetailsSidebarPanel.css:
1833         (body.mac-platform.legacy .details-section.probe-set .options > .probe-clear-samples): Deleted.
1834         (body.mac-platform.legacy .details-section.probe-set .options > .probe-remove): Deleted.
1835         (body.mac-platform.legacy .details-section.probe-set .options > .probe-add): Deleted.
1836         * UserInterface/Views/QuickConsole.css:
1837         (body.mac-platform.legacy .quick-console): Deleted.
1838         * UserInterface/Views/RadioButtonNavigationItem.css:
1839         (.navigation-bar .item.radio.button.text-only.selected:active):
1840         (body.mac-platform.legacy .navigation-bar .item.radio.button.text-only:hover): Deleted.
1841         (body.mac-platform.legacy .navigation-bar .item.radio.button.text-only.selected): Deleted.
1842         (body.mac-platform.legacy .navigation-bar .item.radio.button.text-only.selected:active): Deleted.
1843         * UserInterface/Views/RulesStyleDetailsPanel.css:
1844         (body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .label + .style-declaration-section): Deleted.
1845         (body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule): Deleted.
1846         (body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule + .style-declaration-section): Deleted.
1847         (body.mac-platform.legacy .sidebar > .panel.details.css-style .rules .new-rule img): Deleted.
1848         * UserInterface/Views/ScopeBar.css:
1849         (.scope-bar > li.selected:active):
1850         (body.mac-platform.legacy .scope-bar > li): Deleted.
1851         (body.mac-platform.legacy .scope-bar > li:hover): Deleted.
1852         (body.mac-platform.legacy .scope-bar > li.selected): Deleted.
1853         (body.mac-platform.legacy .scope-bar > li:active): Deleted.
1854         (body.mac-platform.legacy .scope-bar > li.selected:active): Deleted.
1855         * UserInterface/Views/ScriptContentView.js:
1856         (WebInspector.ScriptContentView):
1857         * UserInterface/Views/SearchBar.css:
1858         (body.mac-platform.legacy .search-bar > input[type="search"]): Deleted.
1859         * UserInterface/Views/SearchSidebarPanel.css:
1860         (.sidebar > .panel.navigation.search > .search-bar > input[type="search"]):
1861         (body.mac-platform.legacy .sidebar > .panel.navigation.search > :matches(.content, .empty-content-placeholder)): Deleted.
1862         (body.mac-platform.legacy .sidebar > .panel.navigation.search > .search-bar): Deleted.
1863         (body.mac-platform.legacy .sidebar > .panel.navigation.search > .search-bar > input[type="search"]): Deleted.
1864         * UserInterface/Views/Sidebar.css:
1865         (body.window-inactive .sidebar.right):
1866         (body.mac-platform.legacy .sidebar): Deleted.
1867         (body.mac-platform.legacy.window-inactive .sidebar): Deleted.
1868         (body.mac-platform.legacy .sidebar.right): Deleted.
1869         * UserInterface/Views/TextContentView.js:
1870         (WebInspector.TextContentView):
1871         * UserInterface/Views/TextResourceContentView.js:
1872         (WebInspector.TextResourceContentView):
1873         * UserInterface/Views/TimelineDataGrid.css:
1874         (body.mac-platform.legacy .data-grid.timeline > .navigation-bar-container > .navigation-bar): Deleted.
1875         * UserInterface/Views/TimelineIcons.css:
1876         (body.mac-platform.legacy .network-icon .icon): Deleted.
1877         (body.mac-platform.legacy .network-icon.large .icon): Deleted.
1878         (body.mac-platform.legacy .colors-icon .icon): Deleted.
1879         (body.mac-platform.legacy .colors-icon.large .icon): Deleted.
1880         * UserInterface/Views/TimelineRecordingContentView.js:
1881         (WebInspector.TimelineRecordingContentView):
1882         * UserInterface/Views/TimelineRuler.css:
1883         (body.mac-platform.legacy .timeline-ruler > .header): Deleted.
1884         (body.mac-platform.legacy .timeline-ruler > .selection-drag): Deleted.
1885         (body.mac-platform.legacy .timeline-ruler > .selection-handle): Deleted.
1886         * UserInterface/Views/TimelineSidebarPanel.css:
1887         (.sidebar > .panel.navigation.timeline.timeline-recording-content-view-showing > .content):
1888         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar): Deleted.
1889         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph): Deleted.
1890         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.recording): Deleted.
1891         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph:hover): Deleted.
1892         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.recording:hover): Deleted.
1893         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.forced): Deleted.
1894         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-glyph.recording.forced): Deleted.
1895         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .status-bar > .record-status): Deleted.
1896         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar): Deleted.
1897         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar.timelines): Deleted.
1898         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar.timeline-events): Deleted.
1899         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content): Deleted.
1900         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content .close-button): Deleted.
1901         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content li.item.selected + li.item): Deleted.
1902         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .timelines-content :focus li.item.selected + li.item): Deleted.
1903         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > :matches(.content, .empty-content-placeholder)): Deleted.
1904         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .content .item > .status > .status-button): Deleted.
1905         * UserInterface/Views/TimelineSidebarPanel.js:
1906         (WebInspector.TimelineSidebarPanel):
1907         * UserInterface/Views/Toolbar.css:
1908         (body.mac-platform:not(.docked) .toolbar):
1909         (body.mac-platform:not(.legacy, .docked) .toolbar): Deleted.
1910         (body.mac-platform.legacy .toolbar): Deleted.
1911         (body.mac-platform.legacy.docked .toolbar): Deleted.
1912         (body.mac-platform.legacy:not(.docked) .toolbar .item.button > .label): Deleted.
1913         (body.mac-platform.legacy.window-inactive .toolbar): Deleted.
1914         * UserInterface/Views/TreeElementStatusButton.css:
1915         (body.mac-platform.legacy .item > .status > .status-button > svg .filled): Deleted.
1916         (body.mac-platform.legacy .item > .status > .status-button > svg .stroked): Deleted.
1917
1918 2015-04-29  Andres Gomez  <agomez@igalia.com>
1919
1920         [GTK] Web Inspector: Optimize SVG images
1921         https://bugs.webkit.org/show_bug.cgi?id=143476
1922
1923         SVG images optimized with a combination of sed replacements and
1924         the usage of the scour tool (http://www.codedread.com/scour/).
1925
1926         Also, modified the spelling of the license word to use the US one
1927         in the copyright files.
1928
1929         Reviewed by Martin Robinson.
1930
1931         * UserInterface/Images/gtk/BackArrow.svg:
1932         * UserInterface/Images/gtk/BottomUpTree.svg:
1933         * UserInterface/Images/gtk/BreakpointActionAdd.svg:
1934         * UserInterface/Images/gtk/BreakpointActionRemove.svg:
1935         * UserInterface/Images/gtk/BreakpointButton.svg:
1936         * UserInterface/Images/gtk/BreakpointInactiveButton.svg:
1937         * UserInterface/Images/gtk/Breakpoints.svg:
1938         * UserInterface/Images/gtk/COPYING:
1939         * UserInterface/Images/gtk/COPYING_CCBYSA3:
1940         * UserInterface/Images/gtk/Checkers.svg:
1941         * UserInterface/Images/gtk/Circle.svg:
1942         * UserInterface/Images/gtk/Close.svg:
1943         * UserInterface/Images/gtk/CloseLarge.svg:
1944         * UserInterface/Images/gtk/CloseWhite.svg:
1945         * UserInterface/Images/gtk/ContentFlow.svg:
1946         * UserInterface/Images/gtk/Crosshair.svg:
1947         * UserInterface/Images/gtk/DOMCharacterData.svg:
1948         * UserInterface/Images/gtk/DOMComment.svg:
1949         * UserInterface/Images/gtk/DOMDocument.svg:
1950         * UserInterface/Images/gtk/DOMDocumentType.svg:
1951         * UserInterface/Images/gtk/DOMElement.svg:
1952         * UserInterface/Images/gtk/DOMNode.svg:
1953         * UserInterface/Images/gtk/DOMTextNode.svg:
1954         * UserInterface/Images/gtk/DOMTree.svg:
1955         * UserInterface/Images/gtk/DisclosureTriangleSmallClosed.svg:
1956         * UserInterface/Images/gtk/DisclosureTriangleSmallOpen.svg:
1957         * UserInterface/Images/gtk/DisclosureTriangleTinyClosed.svg:
1958         * UserInterface/Images/gtk/DisclosureTriangleTinyOpen.svg:
1959         * UserInterface/Images/gtk/DockBottom.svg:
1960         * UserInterface/Images/gtk/DockRight.svg:
1961         * UserInterface/Images/gtk/DownloadArrow.svg:
1962         * UserInterface/Images/gtk/Error.svg:
1963         * UserInterface/Images/gtk/Errors.svg:
1964         * UserInterface/Images/gtk/ErrorsEnabled.svg:
1965         * UserInterface/Images/gtk/EventListener.svg:
1966         * UserInterface/Images/gtk/Exception.svg:
1967         * UserInterface/Images/gtk/Eye.svg:
1968         * UserInterface/Images/gtk/FilterFieldGlyph.svg:
1969         * UserInterface/Images/gtk/ForwardArrow.svg:
1970         * UserInterface/Images/gtk/Function.svg:
1971         * UserInterface/Images/gtk/GoToArrow.svg:
1972         * UserInterface/Images/gtk/HierarchicalNavigationItemChevron.svg:
1973         * UserInterface/Images/gtk/IndeterminateProgressSpinner1.svg:
1974         * UserInterface/Images/gtk/IndeterminateProgressSpinner10.svg:
1975         * UserInterface/Images/gtk/IndeterminateProgressSpinner11.svg:
1976         * UserInterface/Images/gtk/IndeterminateProgressSpinner12.svg:
1977         * UserInterface/Images/gtk/IndeterminateProgressSpinner2.svg:
1978         * UserInterface/Images/gtk/IndeterminateProgressSpinner3.svg:
1979         * UserInterface/Images/gtk/IndeterminateProgressSpinner4.svg:
1980         * UserInterface/Images/gtk/IndeterminateProgressSpinner5.svg:
1981         * UserInterface/Images/gtk/IndeterminateProgressSpinner6.svg:
1982         * UserInterface/Images/gtk/IndeterminateProgressSpinner7.svg:
1983         * UserInterface/Images/gtk/IndeterminateProgressSpinner8.svg:
1984         * UserInterface/Images/gtk/IndeterminateProgressSpinner9.svg:
1985         * UserInterface/Images/gtk/Issues.svg:
1986         * UserInterface/Images/gtk/IssuesEnabled.svg:
1987         * UserInterface/Images/gtk/LayerBorders.svg:
1988         * UserInterface/Images/gtk/Locked.svg:
1989         * UserInterface/Images/gtk/Logs.svg:
1990         * UserInterface/Images/gtk/Native.svg:
1991         * UserInterface/Images/gtk/NavigationItemAngleBrackets.svg:
1992         * UserInterface/Images/gtk/NavigationItemBrushAndRuler.svg:
1993         * UserInterface/Images/gtk/NavigationItemBug.svg:
1994         * UserInterface/Images/gtk/NavigationItemCurleyBraces.svg:
1995         * UserInterface/Images/gtk/NavigationItemFile.svg:
1996         * UserInterface/Images/gtk/NavigationItemLayers.svg:
1997         * UserInterface/Images/gtk/NavigationItemLog.svg:
1998         * UserInterface/Images/gtk/NavigationItemProbes.svg:
1999         * UserInterface/Images/gtk/NavigationItemStopwatch.svg:
2000         * UserInterface/Images/gtk/NavigationItemStorage.svg:
2001         * UserInterface/Images/gtk/NavigationItemTrash.svg:
2002         * UserInterface/Images/gtk/NavigationItemTypes.svg:
2003         * UserInterface/Images/gtk/NavigationItemVariable.svg:
2004         * UserInterface/Images/gtk/PaintFlashing.svg:
2005         * UserInterface/Images/gtk/Pause.svg:
2006         * UserInterface/Images/gtk/PausedBreakpoint.svg:
2007         * UserInterface/Images/gtk/Percent.svg:
2008         * UserInterface/Images/gtk/Plus.svg:
2009         * UserInterface/Images/gtk/PseudoElement.svg:
2010         * UserInterface/Images/gtk/Record.svg:
2011         * UserInterface/Images/gtk/Reflection.svg:
2012         * UserInterface/Images/gtk/Reload.svg:
2013         * UserInterface/Images/gtk/ReloadFull.svg:
2014         * UserInterface/Images/gtk/ReplayPauseButton.svg:
2015         * UserInterface/Images/gtk/ReplayPlayButton.svg:
2016         * UserInterface/Images/gtk/ReplayRecordingButton.svg:
2017         * UserInterface/Images/gtk/Request.svg:
2018         * UserInterface/Images/gtk/Resources.svg:
2019         * UserInterface/Images/gtk/Response.svg:
2020         * UserInterface/Images/gtk/ResultLine.svg:
2021         * UserInterface/Images/gtk/Resume.svg:
2022         * UserInterface/Images/gtk/ShadowDOM.svg:
2023         * UserInterface/Images/gtk/SortIndicatorDownArrow.svg:
2024         * UserInterface/Images/gtk/SortIndicatorUpArrow.svg:
2025         * UserInterface/Images/gtk/SourceCode.svg:
2026         * UserInterface/Images/gtk/SplitToggleDown.svg:
2027         * UserInterface/Images/gtk/SplitToggleUp.svg:
2028         * UserInterface/Images/gtk/StepInto.svg:
2029         * UserInterface/Images/gtk/StepOut.svg:
2030         * UserInterface/Images/gtk/StepOver.svg:
2031         * UserInterface/Images/gtk/Stop.svg:
2032         * UserInterface/Images/gtk/StyleRuleAuthor.svg:
2033         * UserInterface/Images/gtk/StyleRuleInherited.svg:
2034         * UserInterface/Images/gtk/StyleRuleInheritedElement.svg:
2035         * UserInterface/Images/gtk/StyleRuleInspector.svg:
2036         * UserInterface/Images/gtk/StyleRuleUser.svg:
2037         * UserInterface/Images/gtk/StyleRuleUserAgent.svg:
2038         * UserInterface/Images/gtk/Time.svg:
2039         * UserInterface/Images/gtk/TimelineRecordAnimation.svg:
2040         * UserInterface/Images/gtk/TimelineRecordConsoleProfile.svg:
2041         * UserInterface/Images/gtk/TimelineRecordEvent.svg:
2042         * UserInterface/Images/gtk/TimelineRecordLayout.svg:
2043         * UserInterface/Images/gtk/TimelineRecordPaint.svg:
2044         * UserInterface/Images/gtk/TimelineRecordProbeSampled.svg:
2045         * UserInterface/Images/gtk/TimelineRecordScriptEvaluated.svg:
2046         * UserInterface/Images/gtk/TimelineRecordStyle.svg:
2047         * UserInterface/Images/gtk/TimelineRecordTimer.svg:
2048         * UserInterface/Images/gtk/TypeBoolean.svg:
2049         * UserInterface/Images/gtk/TypeNull.svg:
2050         * UserInterface/Images/gtk/TypeNumber.svg:
2051         * UserInterface/Images/gtk/TypeObject.svg:
2052         * UserInterface/Images/gtk/TypeRegex.svg:
2053         * UserInterface/Images/gtk/TypeString.svg:
2054         * UserInterface/Images/gtk/TypeSymbol.svg:
2055         * UserInterface/Images/gtk/TypeUndefined.svg:
2056         * UserInterface/Images/gtk/Undock.svg:
2057         * UserInterface/Images/gtk/UpDownArrows.svg:
2058         * UserInterface/Images/gtk/UserInputPrompt.svg:
2059         * UserInterface/Images/gtk/UserInputPromptPrevious.svg:
2060         * UserInterface/Images/gtk/UserInputResult.svg:
2061         * UserInterface/Images/gtk/Warning.svg:
2062         * UserInterface/Images/gtk/Weight.svg:
2063
2064 2015-04-29  Timothy Hatcher  <timothy@apple.com>
2065
2066         Web Inspector: Navigation bar often looses last button when full
2067         https://bugs.webkit.org/show_bug.cgi?id=144385
2068
2069         Added helpers to get the subpixel width and height of an element.
2070         Adopt them in the NavigationBar layout methods to get precise widths
2071         that don't accumulate rounding errors which lead to items overflowing.
2072
2073         Reviewed by Joseph Pecoraro.
2074
2075         * UserInterface/Base/Utilities.js:
2076         (Element.prototype.realOffsetWidth): Added.
2077         (Element.prototype.realOffsetHeight): Added.
2078         * UserInterface/Views/HierarchicalPathNavigationItem.js:
2079         (WebInspector.HierarchicalPathNavigationItem.prototype.updateLayout):
2080         * UserInterface/Views/NavigationBar.js:
2081         (WebInspector.NavigationBar.prototype.updateLayout):
2082         (WebInspector.NavigationBar.prototype._calculateMinimumWidth):
2083         * UserInterface/Views/TabBar.js:
2084         (WebInspector.TabBar.prototype._handleMouseMoved):
2085         * UserInterface/Views/Toolbar.js:
2086         (WebInspector.Toolbar.prototype.customUpdateLayout.isOverflowingToolbar):
2087         (WebInspector.Toolbar.prototype.customUpdateLayout):
2088
2089 2015-04-28  Matt Baker  <mattbaker@apple.com>
2090
2091         Web Inspector: add a separate overview for the Rendering Frames timeline
2092         https://bugs.webkit.org/show_bug.cgi?id=144245
2093
2094         Reviewed by Timothy Hatcher.
2095
2096         The Timelines tab now supports two view modes, labeled "Timelines" and "Rendering Frames", with each mode
2097         having a seperate timeline overview and selected range. The Timelines mode displays the original time-based
2098         graphs (Network, Layout, and Script), and switching to the Rendering Frames mode displays a frames graph
2099         with a timeline ruler which shows frame indices.
2100
2101         If the rendering frames timeline is supported by the backend, a navigation bar is added to the timelines
2102         sidebar with controls for switching between view modes. In addition to user-triggered view mode changes, the
2103         timelines sidebar will automatically change the current view mode in response to content view changes that
2104         are triggered elsewhere in the UI (for example, when a timeline that does not belong to the current view
2105         mode is selected via the navigation path).
2106
2107         * UserInterface/Controllers/TimelineManager.js:
2108         (WebInspector.TimelineManager.prototype.get activeRecording): Deleted.
2109         (WebInspector.TimelineManager.prototype.get recordings): Deleted.
2110         Removed unused code.
2111
2112         * UserInterface/Main.html:
2113         New files.
2114
2115         * UserInterface/Models/RenderingFrameTimelineRecord.js:
2116         (WebInspector.RenderingFrameTimelineRecord):
2117         (WebInspector.RenderingFrameTimelineRecord.resetFrameIndex):
2118         (WebInspector.RenderingFrameTimelineRecord.prototype.get frameIndex):
2119         (WebInspector.RenderingFrameTimelineRecord.prototype.get frameNumber):
2120         * UserInterface/Models/TimelineRecording.js:
2121         (WebInspector.TimelineRecording.prototype.reset):
2122         Frame number is now derived from frame index.
2123
2124         * UserInterface/Views/LinearTimelineOverview.js:
2125         (WebInspector.LinearTimelineOverview):
2126         (WebInspector.LinearTimelineOverview.prototype.canShowTimeline):
2127         New overview class for time-based timeline graphs.
2128
2129         * UserInterface/Views/RenderingFrameDetailsSidebarPanel.js:
2130         (WebInspector.RenderingFrameDetailsSidebarPanel):
2131         (WebInspector.RenderingFrameDetailsSidebarPanel.prototype.updateRangeSelection):
2132         (WebInspector.RenderingFrameDetailsSidebarPanel.prototype._getSelectedRecords):
2133         Changed type of selected range from time to frame indices.
2134
2135         * UserInterface/Views/RenderingFrameTimelineOverview.js:
2136         (WebInspector.RenderingFrameTimelineOverview.this.timelineRuler.formatLabelCallback):
2137         (WebInspector.RenderingFrameTimelineOverview):
2138         (WebInspector.RenderingFrameTimelineOverview.prototype.canShowTimeline):
2139         New overview class for frame-based timeline graphs.
2140
2141         * UserInterface/Views/RenderingFrameTimelineOverviewGraph.css:
2142         (.timeline-overview > .graphs-container > .timeline-overview-graph.rendering-frame):
2143         * UserInterface/Views/RenderingFrameTimelineOverviewGraph.js:
2144         (WebInspector.RenderingFrameTimelineOverviewGraph):
2145         (WebInspector.RenderingFrameTimelineOverviewGraph.prototype._updateDividers.createDividerAtPosition.get if):
2146         Updated to use frame index ruler and removed frame combining logic.
2147
2148         * UserInterface/Views/RenderingFrameTimelineView.js:
2149         (WebInspector.RenderingFrameTimelineView):
2150         Increased column widths.
2151
2152         * UserInterface/Views/TimelineOverview.css:
2153         (.timeline-overview > .graphs-container):
2154         (body.mac-platform.legacy .timeline-overview > .graphs-container):
2155         Updated for new ruler height.
2156
2157         * UserInterface/Views/TimelineOverview.js:
2158         (WebInspector.TimelineOverview):
2159         (WebInspector.TimelineOverview.prototype.get secondsPerPixel):
2160         (WebInspector.TimelineOverview.prototype.set secondsPerPixel):
2161         (WebInspector.TimelineOverview.prototype.get visibleDuration):
2162         (WebInspector.TimelineOverview.prototype.set selectionDuration):
2163         (WebInspector.TimelineOverview.prototype.updateLayout):
2164         (WebInspector.TimelineOverview.prototype.get timelineRuler):
2165         (WebInspector.TimelineOverview.prototype.canShowTimeline):
2166         (WebInspector.TimelineOverview.prototype._handleScrollEvent):
2167         (WebInspector.TimelineOverview.prototype._handleWheelEvent):
2168         (WebInspector.TimelineOverview.prototype._timelineRemoved):
2169         (WebInspector.TimelineOverview.prototype._timeRangeSelectionChanged):
2170         (WebInspector.TimelineOverview.prototype.set currentTime): Deleted.
2171         (WebInspector.TimelineOverview.prototype.updateLayoutIfNeeded): Deleted.
2172         (WebInspector.TimelineOverview.prototype._needsLayout): Deleted.
2173         Converted to base class. Derived classes provide settings and permitted timeline types.
2174
2175         * UserInterface/Views/TimelineRecordFrame.css:
2176         (.timeline-record-frame):
2177         (.timeline-record-frame > .frame):
2178         (.timeline-record-frame > .frame > .duration):
2179         (.timeline-record-frame > .frame > .duration.timeline-record-type-network):
2180         (.timeline-record-frame > .frame > .duration.timeline-record-type-layout):
2181         (.timeline-record-frame > .frame > .duration.timeline-record-type-script):
2182         (.timeline-record-frame > .frame > .duration:last-child): Deleted.
2183         New graph frames styles.
2184
2185         * UserInterface/Views/TimelineRecordFrame.js:
2186         (WebInspector.TimelineRecordFrame):
2187         (WebInspector.TimelineRecordFrame.prototype.get record):
2188         (WebInspector.TimelineRecordFrame.prototype.set record):
2189         (WebInspector.TimelineRecordFrame.prototype._updateChildElements.createDurationElement):
2190         (WebInspector.TimelineRecordFrame.prototype.get element): Deleted.
2191         Updated to use frame index ruler.
2192         Removed dropped frames and frame combining logic.
2193
2194         * UserInterface/Views/TimelineRecordingContentView.js:
2195         (WebInspector.TimelineRecordingContentView):
2196         (WebInspector.TimelineRecordingContentView.prototype.shown):
2197         (WebInspector.TimelineRecordingContentView.prototype.hidden):
2198         (WebInspector.TimelineRecordingContentView.prototype.updateLayout):
2199         (WebInspector.TimelineRecordingContentView.prototype._currentContentViewDidChange):
2200         (WebInspector.TimelineRecordingContentView.prototype._updateTimes):
2201         (WebInspector.TimelineRecordingContentView.prototype._updateTimelineOverviewHeight):
2202         (WebInspector.TimelineRecordingContentView.prototype._getRenderingFrameTimeline):
2203         (WebInspector.TimelineRecordingContentView.prototype._timelineRemoved):
2204         (WebInspector.TimelineRecordingContentView.prototype._timelineCountChanged):
2205         (WebInspector.TimelineRecordingContentView.prototype._recordingReset):
2206         (WebInspector.TimelineRecordingContentView.prototype._timeRangeSelectionChanged):
2207         (WebInspector.TimelineRecordingContentView.prototype.get currentTimelineView): Deleted.
2208         (WebInspector.TimelineRecordingContentView.prototype.goForward): Deleted.
2209         (WebInspector.TimelineRecordingContentView.prototype.matchTreeElementAgainstCustomFilters): Deleted.
2210         (WebInspector.TimelineRecordingContentView.prototype._contentViewSupplementalRepresentedObjectsDidChange): Deleted.
2211         (WebInspector.TimelineRecordingContentView.prototype._update): Deleted.
2212         (WebInspector.TimelineRecordingContentView.prototype._debuggerPaused): Deleted.
2213         (WebInspector.TimelineRecordingContentView.prototype._debuggerResumed): Deleted.
2214         (WebInspector.TimelineRecordingContentView.prototype._recordingTimesUpdated): Deleted.
2215         Maintains two timeline overviews, switching between them based on the current content view.
2216         Updated tree element filtering to support both overview rulers.
2217
2218         * UserInterface/Views/TimelineRuler.css:
2219         (.timeline-ruler > .header):
2220         (body.mac-platform.legacy .timeline-ruler > .header):
2221         (.timeline-ruler > .header > .divider > .label):
2222         (.timeline-ruler > .selection-drag):
2223         (body.mac-platform.legacy .timeline-ruler > .selection-drag):
2224         (.timeline-ruler > .selection-handle):
2225         (body.mac-platform.legacy .timeline-ruler > .selection-handle):
2226         (.timeline-ruler > .header > .divider): Deleted.
2227         (.timeline-ruler > .selection-drag:active): Deleted.
2228         Updated for new ruler height.
2229
2230         * UserInterface/Views/TimelineRuler.js:
2231         (WebInspector.TimelineRuler):
2232         (WebInspector.TimelineRuler.prototype.set formatLabelCallback):
2233         (WebInspector.TimelineRuler.prototype.updateLayout):
2234         (WebInspector.TimelineRuler.prototype._formatDividerLabelText):
2235         (WebInspector.TimelineRuler.prototype.set allowsClippedLabels): Deleted.
2236         (WebInspector.TimelineRuler.prototype._updateSelection): Deleted.
2237         Added ability to customize label formatting.
2238
2239         * UserInterface/Views/TimelineSidebarPanel.css:
2240         (.panel.timeline .navigation-bar.timelines-view):
2241         (.sidebar > .panel.navigation.timeline > .title-bar):
2242         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar):
2243         (.sidebar > .panel.navigation.timeline > .title-bar.timelines):
2244         (.sidebar > .panel.navigation.timeline > .navigation-bar-container):
2245         (.sidebar > .panel.navigation.timeline > .navigation-bar-container > .navigation-bar):
2246         (.sidebar > .panel.navigation.timeline > .title-bar.timeline-events):
2247         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > .title-bar.timeline-events):
2248         (.sidebar > .panel.navigation.timeline > .timelines-content):
2249         (.sidebar > .panel.navigation.timeline > .empty-content-placeholder):
2250         (body.mac-platform.legacy .sidebar > .panel.navigation.timeline > :matches(.content, .empty-content-placeholder)):
2251         (.sidebar > .panel.navigation.timeline > .timelines-content li.item.selected + li.item): Deleted.
2252         (body.window-inactive .sidebar > .panel.navigation.timeline > .timelines-content li.item.selected + li.item): Deleted.
2253         Updated for new navigation bar and ruler height.
2254
2255         * UserInterface/Views/TimelineSidebarPanel.js:
2256         (WebInspector.TimelineSidebarPanel):
2257         (WebInspector.TimelineSidebarPanel.prototype.get viewMode):
2258         (WebInspector.TimelineSidebarPanel.prototype.canShowTimeline):
2259         (WebInspector.TimelineSidebarPanel.showTimelineViewForTimeline.this._timelineTreeElementMap.get select):
2260         (WebInspector.TimelineSidebarPanel.get this):
2261         (WebInspector.TimelineSidebarPanel._timelineAdded.set this):
2262         Added support for two view modes: Timelines and Rendering Frames.
2263
2264         * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj:
2265         * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters:
2266         New files.
2267
2268 2015-04-27  Timothy Hatcher  <timothy@apple.com>
2269
2270         Web Inspector: Add new tab button to make it easy to bring a closed tab back
2271         https://bugs.webkit.org/show_bug.cgi?id=144297
2272
2273         Reviewed by Joseph Pecoraro.
2274
2275         * Localizations/en.lproj/localizedStrings.js:
2276         * UserInterface/Base/Main.js:
2277         (WebInspector.contentLoaded):
2278         (WebInspector.isTabTypeAllowed):
2279         (WebInspector._tabContentViewForType):
2280         (WebInspector._rememberOpenTabs):
2281         (WebInspector._updateNewTabButtonState):
2282         (WebInspector._newTabItemClicked):
2283         (WebInspector.isNewTabWithTypeAllowed):
2284         (WebInspector.createNewTab):
2285         (WebInspector.activateExtraDomains):
2286         (WebInspector._restoreCookieForOpenTabs):
2287         (WebInspector._saveCookieForOpenTabs):
2288         (WebInspector._isTabTypeAllowed): Deleted.
2289         * UserInterface/Images/NewTab.svg: Added.
2290         * UserInterface/Images/NewTabPlus.svg:
2291         * UserInterface/Main.html:
2292         * UserInterface/Views/NewTabContentView.css: Added.
2293         (.new-tab.tab.content-view):
2294         (.new-tab.tab.content-view > .tab-item):
2295         (.new-tab.tab.content-view > .tab-item.disabled):
2296         (.new-tab.tab.content-view > .tab-item > .box):
2297         (.new-tab.tab.content-view > .tab-item:not(.disabled):active > .box):
2298         (.new-tab.tab.content-view > .tab-item > .box > img):
2299         (.new-tab.tab.content-view > .tab-item > label):
2300         * UserInterface/Views/NewTabContentView.js: Added.
2301         (WebInspector.NewTabContentView):
2302         (WebInspector.NewTabContentView.prototype.get type):
2303         (WebInspector.NewTabContentView.prototype._createNewTab):
2304         * UserInterface/Views/TabBar.css:
2305         (.tab-bar > .item:not(.disabled).selected):
2306         (.tab-bar > .item.new-tab-button:not(.disabled):hover):
2307         (.tab-bar:not(.animating) > .item:not(.selected, .disabled):hover + .item):
2308         (.tab-bar > .item.disabled > .icon):
2309         (.tab-bar > .item.new-tab-button:not(.disabled):hover > .icon):
2310         (.tab-bar > .item.selected): Deleted.
2311         (.tab-bar > .item.new-tab-button:hover): Deleted.
2312         (.tab-bar:not(.animating) > .item:not(.selected):hover + .item): Deleted.
2313         (.tab-bar > .item.new-tab-button:hover > .icon): Deleted.
2314         * UserInterface/Views/TabBar.js:
2315         (WebInspector.TabBar.prototype.set selectedTabBarItem):
2316         (WebInspector.TabBar.prototype._handleMouseDown):
2317         * UserInterface/Views/TabBarItem.js:
2318         (WebInspector.TabBarItem.prototype.get disabled):
2319         (WebInspector.TabBarItem.prototype.set disabled):
2320         * UserInterface/Views/TabBrowser.js:
2321         (WebInspector.TabBrowser):
2322         (WebInspector.TabBrowser.prototype.addTabForContentView):
2323         (WebInspector.TabBrowser.prototype.showTabForContentView):
2324         (WebInspector.TabBrowser.prototype.closeTabForContentView):
2325
2326 2015-04-27  Joseph Pecoraro  <pecoraro@apple.com>
2327
2328         Web Inspector: Cannot scroll Timeline Overview horizontally, scrollbar cannot be interacted with
2329         https://bugs.webkit.org/show_bug.cgi?id=144302
2330
2331         Reviewed by Timothy Hatcher.
2332
2333         * UserInterface/Views/TimelineOverview.css:
2334         (.timeline-overview > .scroll-container):
2335         Increase the z-index of the scroll container over anything in the
2336         overview so that it can be interacted with.
2337
2338 2015-04-27  Timothy Hatcher  <timothy@apple.com>
2339
2340         Web Inspector: Attempt to workaround exception in TimelineRuler
2341         https://bugs.webkit.org/show_bug.cgi?id=144228
2342
2343         Reviewed by Joseph Pecoraro.
2344
2345         * UserInterface/Views/TimelineRuler.js:
2346         (WebInspector.TimelineRuler.prototype.updateLayout):
2347         Use firstChild instead of a custom _labelElement property on the dividerElement.
2348
2349 2015-04-27  Timothy Hatcher  <timothy@apple.com>
2350
2351         Web Inspector: Elements tab details sidebar becomes non-expandable after using Console tab
2352         https://bugs.webkit.org/show_bug.cgi?id=144212
2353
2354         Show the DOM tree content view again on main resource change. This better matches what we did
2355         in the pre tab user interface with the DOM being off the main resource tree element.
2356
2357         Reviewed by Joseph Pecoraro.
2358
2359         * UserInterface/Views/ElementsTabContentView.js:
2360         (WebInspector.ElementsTabContentView): Listen for main resource change. Call _showDOMTreeContentView.
2361         (WebInspector.ElementsTabContentView.prototype.closed): Fix a leak and exception.
2362         The removeEventListener was wrong. Add a new removeEventListener for WebInspector.Frame.
2363         (WebInspector.ElementsTabContentView.prototype._showDOMTreeContentView): Added.
2364         (WebInspector.ElementsTabContentView.prototype._mainFrameDidChange): Call _showDOMTreeContentView.
2365         (WebInspector.ElementsTabContentView.prototype._mainResourceDidChange): Added.
2366
2367 2015-04-27  Timothy Hatcher  <timothy@apple.com>
2368
2369         Web Inspector: TabContentView closed() isn't being called when a tab is closed / removed
2370         https://bugs.webkit.org/show_bug.cgi?id=144229
2371
2372         Reviewed by Joseph Pecoraro.
2373
2374         * UserInterface/Views/ContentViewContainer.js:
2375         (WebInspector.ContentViewContainer.prototype._disassociateFromContentView):
2376         TabContentViews don't have a representedObject, so returning early and not
2377         calling closed() was not correct.
2378
2379 2015-04-26  Matt Baker  <mattbaker@apple.com>
2380
2381         Web Inspector: Cannot make Timeline time range selection clicking inside Frames Overview
2382         https://bugs.webkit.org/show_bug.cgi?id=143744
2383
2384         Reviewed by Timothy Hatcher.
2385
2386         Fixed frame rate divider element style so that it is no longer a mouse event target.
2387
2388         * UserInterface/Views/RenderingFrameTimelineOverviewGraph.css:
2389         (.timeline-overview-graph.rendering-frame > .divider):
2390
2391 2015-04-26  Timothy Hatcher  <timothy@apple.com>
2392
2393         Web Inspector: Allow Timeline tab to show resource when a go-to arrow is clicked in a recording
2394         https://bugs.webkit.org/show_bug.cgi?id=144240
2395
2396         Only support showing a resource or script if we have that represented object in the Timeline sidebar.
2397
2398         Reviewed by Darin Adler.
2399
2400         * UserInterface/Views/TimelineTabContentView.js:
2401         (WebInspector.TimelineTabContentView.prototype.canShowRepresentedObject):
2402
2403 2015-04-26  Timothy Hatcher  <timothy@apple.com>
2404
2405         Web Inspector: Don't use treeElement.revealAndSelect when showing a default content view
2406         https://bugs.webkit.org/show_bug.cgi?id=144239
2407
2408         Using revealAndSelect will end up calling WebInspector.showRepresentedObject. That is not bad
2409         is most cases, but if the select tab supports the same represented object, it can end up showing
2410         the content view in the wrong tab.
2411
2412         Reviewed by Darin Adler.
2413
2414         * UserInterface/Views/ContentBrowserTabContentView.js:
2415         (WebInspector.ContentBrowserTabContentView.prototype._revealAndSelectRepresentedObjectInNavigationSidebar):
2416         * UserInterface/Views/DebuggerSidebarPanel.js:
2417         (WebInspector.DebuggerSidebarPanel.prototype.showDefaultContentView):
2418         * UserInterface/Views/NavigationSidebarPanel.js:
2419         (WebInspector.NavigationSidebarPanel.prototype.showDefaultContentViewForTreeElement):
2420         (WebInspector.NavigationSidebarPanel.prototype._checkElementsForPendingViewStateCookie):
2421         (WebInspector.NavigationSidebarPanel):
2422         (WebInspector.NavigationSidebarPanel.prototype.showContentViewForCurrentSelection): Deleted.
2423         * UserInterface/Views/ResourceSidebarPanel.js:
2424         (WebInspector.ResourceSidebarPanel.prototype.showDefaultContentView):
2425         (WebInspector.ResourceSidebarPanel.prototype._mainFrameDidChange):
2426         (WebInspector.ResourceSidebarPanel.prototype._mainFrameMainResourceDidChange.delayedWork):
2427         (WebInspector.ResourceSidebarPanel.prototype._mainFrameMainResourceDidChange):
2428
2429 2015-04-26  Jono Wells  <jonowells@apple.com>
2430
2431         Web Inspector: Vertically misaligned text in Object Trees
2432         https://bugs.webkit.org/show_bug.cgi?id=144029
2433
2434         Reviewed by Timothy Hatcher.
2435
2436         Remove top offset for object tree property titles to fix alignment issue since applying -webkit-system-font
2437         font family to these (http://trac.webkit.org/changeset/182982).
2438
2439         * UserInterface/Views/ObjectTreePropertyTreeElement.css:
2440         (.object-tree-property > .titles):
2441
2442 2015-04-25  Joseph Pecoraro  <pecoraro@apple.com>
2443
2444         Web Inspector: Uncaught exception ReferenceError: Can't find variable: message LogContentView.js
2445         https://bugs.webkit.org/show_bug.cgi?id=144210
2446
2447         Reviewed by Timothy Hatcher.
2448
2449         * UserInterface/Views/LogContentView.js:
2450         (WebInspector.LogContentView.prototype._reappendProvisionalMessages):
2451         With recent refactorings this change was missed.
2452
2453 2015-04-25  Joseph Pecoraro  <pecoraro@apple.com>
2454
2455         Web Inspector: Uncaught exception using WebInspector.contentBrowser
2456         https://bugs.webkit.org/show_bug.cgi?id=144206
2457
2458         Reviewed by Timothy Hatcher.
2459
2460         * UserInterface/Views/TimelineSidebarPanel.js:
2461         (WebInspector.TimelineSidebarPanel.showTimelineViewForTimeline.this._timelineTreeElementMap.get select):
2462         Use the current tab's content browser since a global one no longer exists.
2463
2464 2015-04-25  Timothy Hatcher  <timothy@apple.com>
2465
2466         Update localized strings.
2467
2468         * Localizations/en.lproj/localizedStrings.js: Updated.
2469
2470 2015-04-25  Timothy Hatcher  <timothy@apple.com>
2471
2472         Web Inspector: Make JSContext debugging work with Tabs UI
2473         https://bugs.webkit.org/show_bug.cgi?id=144203
2474
2475         Reviewed by Joseph Pecoraro.
2476
2477         * UserInterface/Base/Main.js:
2478         (WebInspector.contentLoaded):
2479         (WebInspector._isTabTypeAllowed):
2480         (WebInspector.activateExtraDomains):
2481         (WebInspector._updateReloadToolbarButton):
2482         (WebInspector._updateDownloadToolbarButton):
2483
2484 2015-04-25  Timothy Hatcher  <timothy@apple.com>
2485
2486         Web Inspector: Save and restore tab state on reload and between sessions
2487         https://bugs.webkit.org/show_bug.cgi?id=144202
2488
2489         Reviewed by Joseph Pecoraro.
2490
2491         * UserInterface/Base/Main.js:
2492         (WebInspector.contentLoaded):
2493         (WebInspector._mainResourceDidChange):
2494         (WebInspector._provisionalLoadStarted):
2495         (WebInspector._restoreCookieForOpenTabs):
2496         (WebInspector._saveCookieForOpenTabs):
2497         (WebInspector._pageHidden):
2498         * UserInterface/Views/TabContentView.js:
2499         (WebInspector.TabContentView):
2500         (WebInspector.TabContentView.prototype.restoreStateFromCookie):
2501         (WebInspector.TabContentView.prototype.saveStateToCookie):
2502
2503 2015-04-25  Timothy Hatcher  <timothy@apple.com>
2504
2505         Web Inspector: Split search from ResourceSidebarPanel into a Search tab and sidebar
2506         https://bugs.webkit.org/show_bug.cgi?id=144197
2507
2508         Reviewed by Joseph Pecoraro.
2509
2510         * UserInterface/Base/Main.js:
2511         (WebInspector.contentLoaded):
2512         (WebInspector._tabContentViewForType):
2513         (WebInspector._searchTextDidChange):
2514         (WebInspector._focusSearchField):
2515         (WebInspector._domNodeWasInspected):
2516         * UserInterface/Controllers/DebuggerManager.js:
2517         (WebInspector.DebuggerManager.prototype.get knownNonResourceScripts):
2518         * UserInterface/Images/SearchResults.svg: Added.
2519         * UserInterface/Main.html:
2520         * UserInterface/Views/ResourceSidebarPanel.js:
2521         (WebInspector.ResourceSidebarPanel):
2522         (WebInspector.ResourceSidebarPanel.prototype.showDefaultContentView):
2523         (WebInspector.ResourceSidebarPanel.prototype.treeElementForRepresentedObject):
2524         (WebInspector.ResourceSidebarPanel.prototype._mainFrameDidChange):
2525         (WebInspector.ResourceSidebarPanel.prototype._scriptWasAdded):
2526         (WebInspector.ResourceSidebarPanel.prototype._treeElementSelected):
2527         (WebInspector.ResourceSidebarPanel.prototype._addStorageChild):
2528         (WebInspector.ResourceSidebarPanel.prototype._extraDomainsActivated):
2529         (WebInspector.ResourceSidebarPanel.prototype.get contentTreeOutlineToAutoPrune): Deleted.
2530         (WebInspector.ResourceSidebarPanel.prototype.performSearch.updateEmptyContentPlaceholderSoon): Deleted.
2531         (WebInspector.ResourceSidebarPanel.prototype.performSearch.updateEmptyContentPlaceholder): Deleted.
2532         (WebInspector.ResourceSidebarPanel.prototype.performSearch.forEachMatch): Deleted.
2533         (WebInspector.ResourceSidebarPanel.prototype.performSearch.resourceCallback): Deleted.
2534         (WebInspector.ResourceSidebarPanel.prototype.performSearch.resourcesCallback): Deleted.
2535         (WebInspector.ResourceSidebarPanel.prototype.performSearch.searchScripts.scriptCallback): Deleted.
2536         (WebInspector.ResourceSidebarPanel.prototype.performSearch.searchScripts): Deleted.
2537         (WebInspector.ResourceSidebarPanel.prototype.performSearch.domSearchResults): Deleted.
2538         (WebInspector.ResourceSidebarPanel.prototype.performSearch.domCallback): Deleted.
2539         (WebInspector.ResourceSidebarPanel.prototype.performSearch): Deleted.
2540         (WebInspector.ResourceSidebarPanel.prototype._showResourcesContentTreeOutline): Deleted.
2541         (WebInspector.ResourceSidebarPanel.prototype._showSearchContentTreeOutline): Deleted.
2542         (WebInspector.ResourceSidebarPanel.prototype._searchFieldChanged): Deleted.
2543         (WebInspector.ResourceSidebarPanel.prototype._searchFieldInput): Deleted.
2544         (WebInspector.ResourceSidebarPanel.prototype._searchTreeElementForResource): Deleted.
2545         (WebInspector.ResourceSidebarPanel.prototype._searchTreeElementForScript): Deleted.
2546         (WebInspector.ResourceSidebarPanel.prototype._focusSearchField): Deleted.
2547         (WebInspector.ResourceSidebarPanel.prototype._scriptsToSearch): Deleted.
2548         * UserInterface/Views/SearchBar.js:
2549         (WebInspector.SearchBar):
2550         * UserInterface/Views/SearchSidebarPanel.css: Renamed from Source/WebInspectorUI/UserInterface/Views/ResourceSidebarPanel.css.
2551         (.sidebar > .panel.navigation.search > :matches(.content, .empty-content-placeholder)):
2552         (body.mac-platform.legacy .sidebar > .panel.navigation.search > :matches(.content, .empty-content-placeholder)):
2553         (.sidebar > .panel.navigation.search > .search-bar):
2554         (body.mac-platform.legacy .sidebar > .panel.navigation.search > .search-bar):
2555         (.sidebar > .panel.navigation.search > .search-bar > input[type="search"]):
2556         (body.mac-platform.legacy .sidebar > .panel.navigation.search > .search-bar > input[type="search"]):
2557         * UserInterface/Views/SearchSidebarPanel.js: Added.
2558         (WebInspector.SearchSidebarPanel):
2559         (WebInspector.SearchSidebarPanel.prototype.closed):
2560         (WebInspector.SearchSidebarPanel.prototype.focusSearchField):
2561         (WebInspector.SearchSidebarPanel.prototype.performSearch.updateEmptyContentPlaceholderSoon):
2562         (WebInspector.SearchSidebarPanel.prototype.performSearch.updateEmptyContentPlaceholder):
2563         (WebInspector.SearchSidebarPanel.prototype.performSearch.forEachMatch):
2564         (WebInspector.SearchSidebarPanel.prototype.performSearch.resourceCallback):
2565         (WebInspector.SearchSidebarPanel.prototype.performSearch.resourcesCallback):
2566         (WebInspector.SearchSidebarPanel.prototype.performSearch.searchScripts.scriptCallback):
2567         (WebInspector.SearchSidebarPanel.prototype.performSearch.searchScripts):
2568         (WebInspector.SearchSidebarPanel.prototype.performSearch.domSearchResults):
2569         (WebInspector.SearchSidebarPanel.prototype.performSearch.domCallback):
2570         (WebInspector.SearchSidebarPanel.prototype.performSearch):
2571         (WebInspector.SearchSidebarPanel.prototype._searchFieldChanged):
2572         (WebInspector.SearchSidebarPanel.prototype._searchFieldInput):
2573         (WebInspector.SearchSidebarPanel.prototype._searchTreeElementForResource):
2574         (WebInspector.SearchSidebarPanel.prototype._searchTreeElementForScript):
2575         (WebInspector.SearchSidebarPanel.prototype._mainResourceDidChange.delayedWork):
2576         (WebInspector.SearchSidebarPanel.prototype._mainResourceDidChange):
2577         (WebInspector.SearchSidebarPanel.prototype._treeElementSelected):
2578         * UserInterface/Views/SearchTabContentView.js: Added.
2579         (WebInspector.SearchTabContentView):
2580         (WebInspector.SearchTabContentView.prototype.get type):
2581         (WebInspector.SearchTabContentView.prototype.shown):
2582         (WebInspector.SearchTabContentView.prototype.closed):
2583         (WebInspector.SearchTabContentView.prototype.canShowRepresentedObject):
2584         (WebInspector.SearchTabContentView.prototype.focusSearchField):
2585         (WebInspector.SearchTabContentView.prototype.performSearch):
2586         * UserInterface/Views/Toolbar.css:
2587         (.toolbar .item-section.center-right):
2588         (.toolbar .item-section.right):
2589         (.toolbar .search-bar):
2590         (.toolbar .search-bar > input[type="search"]):
2591         (.toolbar .search-bar > input[type="search"]::-webkit-textfield-decoration-container):
2592         (body.window-inactive .toolbar .search-bar > input[type="search"]):
2593         (.toolbar .item): Deleted.
2594
2595 2015-04-25  Timothy Hatcher  <timothy@apple.com>
2596
2597         Web Inspector: New Toolbar UI for tabs
2598         https://bugs.webkit.org/show_bug.cgi?id=144185
2599
2600         Reviewed by Joseph Pecoraro.
2601
2602         * UserInterface/Base/ImageUtilities.js:
2603         * UserInterface/Base/Main.js:
2604         (WebInspector.loaded):
2605         (WebInspector.contentLoaded):
2606         (WebInspector.updateDockedState):
2607         (WebInspector._captureDidStart):
2608         (WebInspector._debuggerDidPause):
2609         (WebInspector._debuggerDidResume):
2610         (WebInspector._mainFrameDidChange):
2611         (WebInspector._mainResourceDidChange):
2612         (WebInspector._windowKeyDown):
2613         (WebInspector._windowKeyUp):
2614         (WebInspector._pageHidden):
2615         (WebInspector._undock):
2616         (WebInspector._dockBottom):
2617         (WebInspector._dockRight):
2618         (WebInspector._updateDockNavigationItems):
2619         (WebInspector._domNodeWasInspected):
2620         (WebInspector._inspectModeStateChanged):
2621         (WebInspector._toggleInspectMode):
2622         (WebInspector._downloadWebArchive):
2623         (WebInspector._reloadPageClicked):
2624         (WebInspector._updateDownloadToolbarButton):
2625         (WebInspector.archiveMainFrame):
2626         (WebInspector.canArchiveMainFrame):
2627         * UserInterface/Images/Crosshair.svg:
2628         * UserInterface/Images/DockBottom.svg:
2629         * UserInterface/Images/DockRight.svg:
2630         * UserInterface/Images/DownloadArrow.svg:
2631         * UserInterface/Images/ReloadToolbar.svg: Added.
2632         * UserInterface/Images/Undock.svg:
2633         * UserInterface/Views/ActivateButtonToolbarItem.js:
2634         (WebInspector.ActivateButtonToolbarItem):
2635         (WebInspector.ActivateButtonToolbarItem.prototype.set label):
2636         * UserInterface/Views/ButtonToolbarItem.css:
2637         (.toolbar .item.button):
2638         (body.window-inactive .toolbar .item.button):
2639         (.toolbar.small-size .item.button > .glyph):
2640         * UserInterface/Views/ButtonToolbarItem.js:
2641         (WebInspector.ButtonToolbarItem):
2642         (WebInspector.ButtonToolbarItem.prototype.set label):
2643         * UserInterface/Views/DashboardContainerView.css:
2644         (.toolbar .dashboard-container):
2645         * UserInterface/Views/Main.css:
2646         (body.docked.bottom):
2647         * UserInterface/Views/Toolbar.css:
2648         (.toolbar):
2649         (body.mac-platform:not(.legacy, .docked) .toolbar):
2650         (.toolbar .control-section):
2651         (.toolbar .item-section):
2652         (.toolbar .item-section.left):
2653         (.toolbar .item-section.center-left):
2654         (.toolbar .item-section.center-right):
2655         (.toolbar .item-section.right):
2656         * UserInterface/Views/Toolbar.js:
2657         (WebInspector.Toolbar):
2658         (WebInspector.Toolbar.prototype.customUpdateLayout.isOverflowingToolbar):
2659         (WebInspector.Toolbar.prototype.customUpdateLayout):
2660         (WebInspector.Toolbar.prototype.addToolbarItem):
2661
2662 2015-04-25  Timothy Hatcher  <timothy@apple.com>
2663
2664         Web Inspector: Add NavigationBar to the details sidebar
2665         https://bugs.webkit.org/show_bug.cgi?id=144191
2666
2667         Reviewed by Joseph Pecoraro.
2668
2669         * UserInterface/Base/Main.js:
2670         (WebInspector.contentLoaded):
2671
2672         * UserInterface/Views/DetailsSidebarPanel.js:
2673         (WebInspector.DetailsSidebarPanel):
2674         (WebInspector.DetailsSidebarPanel.prototype.get navigationItem):
2675
2676         * UserInterface/Views/NavigationBar.js:
2677         (WebInspector.NavigationBar.prototype.removeNavigationItem):
2678         Remove unused index argument.
2679
2680         * UserInterface/Views/Sidebar.css:
2681         (.sidebar > .navigation-bar):
2682         (.sidebar.has-navigation-bar > .panel):
2683
2684         * UserInterface/Views/Sidebar.js:
2685         (WebInspector.Sidebar):
2686         (WebInspector.Sidebar.prototype.addSidebarPanel):
2687         (WebInspector.Sidebar.prototype.removeSidebarPanel):
2688         (WebInspector.Sidebar.prototype.set selectedSidebarPanel):
2689         (WebInspector.Sidebar.prototype.get minimumWidth):
2690         (WebInspector.Sidebar.prototype.set width):
2691         (WebInspector.Sidebar.prototype.set collapsed):
2692
2693 2015-04-24  Timothy Hatcher  <timothy@apple.com>
2694
2695         Web Inspector: Switch over to a tab based UI
2696         https://bugs.webkit.org/show_bug.cgi?id=144154
2697
2698         Reviewed by Joseph Pecoraro.
2699
2700         * UserInterface/Base/Main.js:
2701         (WebInspector.loaded):
2702         (WebInspector.contentLoaded):
2703         (WebInspector._tabContentViewForType):
2704         (WebInspector._rememberOpenTabs):
2705         (WebInspector._windowResized):
2706         (WebInspector._tabBrowserSizeDidChange):
2707         (WebInspector._quickConsoleDidResize):
2708         (WebInspector._sidebarWidthDidChange):
2709         (WebInspector._tabBrowserSelectedTabContentViewDidChange):
2710         (WebInspector._inspectModeStateChanged):
2711         (WebInspector._focusedContentView):
2712         * UserInterface/Main.html:
2713         * UserInterface/Views/Main.css:
2714         (#tab-browser):
2715
2716 2015-04-23  Timothy Hatcher  <timothy@apple.com>
2717
2718         Web Inspector: Remove Main.js code we don't need for Tabs
2719         https://bugs.webkit.org/show_bug.cgi?id=144126
2720
2721         Reviewed by Joseph Pecoraro.
2722
2723         * UserInterface/Base/Main.js:
2724         (WebInspector.loaded):
2725         (WebInspector.contentLoaded):
2726
2727 2015-04-23  Timothy Hatcher  <timothy@apple.com>
2728
2729         Web Inspector: Change more places that changed WebInspector.navigationSidebar.selectedSidebarPanel to tabs
2730         https://bugs.webkit.org/show_bug.cgi?id=144125
2731
2732         Reviewed by Joseph Pecoraro.
2733
2734         * UserInterface/Base/Main.js:
2735         (WebInspector.loaded):
2736         (WebInspector.toggleDetailsSidebar):
2737         (WebInspector.tabContentViewClassForRepresentedObject):
2738         (WebInspector._updateModifierKeys):
2739         (WebInspector._consoleResizerMouseDown.dockedResizerDragEnd):
2740         (WebInspector._consoleResizerMouseDown):
2741         (WebInspector.linkifyURLAsNode):
2742         (WebInspector.linkifyStringAsFragmentWithCustomLinkifier):
2743         * UserInterface/Protocol/InspectorFrontendAPI.js:
2744         (InspectorFrontendAPI.setTimelineProfilingEnabled):
2745         (InspectorFrontendAPI.showConsole):
2746         (InspectorFrontendAPI.showResources):
2747         * UserInterface/Protocol/InspectorObserver.js:
2748         (WebInspector.InspectorObserver.prototype.inspect):
2749         * UserInterface/Views/DebuggerTabContentView.js:
2750         (WebInspector.DebuggerTabContentView.prototype.canShowRepresentedObject):
2751         (WebInspector.DebuggerTabContentView.prototype.revealAndSelectBreakpoint):
2752         * UserInterface/Views/DefaultDashboardView.js:
2753         (WebInspector.DefaultDashboardView):
2754         (WebInspector.DefaultDashboardView.prototype._resourcesWasClicked):
2755         * UserInterface/Views/SourceCodeTextEditor.js:
2756         (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.revealInSidebar):
2757         * UserInterface/Views/TabBrowser.js:
2758         (WebInspector.TabBrowser.bestTabContentViewForClass):
2759
2760 2015-04-23  Timothy Hatcher  <timothy@apple.com>
2761
2762         Web Inspector: Make Console work in a tab world
2763         https://bugs.webkit.org/show_bug.cgi?id=144112
2764
2765         Reviewed by Joseph Pecoraro.
2766
2767         * UserInterface/Base/Main.js:
2768         (WebInspector.contentLoaded):
2769         (WebInspector.isShowingConsoleTab):
2770         (WebInspector.UIString):
2771         (WebInspector.toggleNavigationSidebar):
2772         (WebInspector.toggleDetailsSidebar):
2773         (WebInspector.tabContentViewClassForRepresentedObject):
2774         (WebInspector.linkifyStringAsFragment):
2775         * UserInterface/Images/Console.svg: Added.
2776         * UserInterface/Protocol/InspectorFrontendAPI.js:
2777         (InspectorFrontendAPI.showConsole):
2778         * UserInterface/Views/ConsoleTabContentView.js: Added.
2779         (WebInspector.ConsoleTabContentView):
2780         (WebInspector.ConsoleTabContentView.prototype.shown):
2781         (WebInspector.ConsoleTabContentView.prototype.showRepresentedObject):
2782         (WebInspector.ConsoleTabContentView.prototype.canShowRepresentedObject):
2783         (WebInspector.ConsoleTabContentView.prototype.get supportsSplitContentBrowser):
2784         * UserInterface/Views/DefaultDashboardView.js:
2785         (WebInspector.DefaultDashboardView.prototype._consoleItemWasClicked):
2786         * UserInterface/Views/LogContentView.js:
2787         (WebInspector.LogContentView):
2788         (WebInspector.LogContentView.prototype.get navigationItems):
2789         (WebInspector.LogContentView.prototype.shown):
2790         (WebInspector.LogContentView.prototype.didAppendConsoleMessageView):
2791         (WebInspector.LogContentView.prototype._showConsoleTab):
2792         * UserInterface/Views/LogIcon.css:
2793         (.log-icon .icon):
2794         * UserInterface/Views/Main.css:
2795         (#split-content-browser .hierarchical-path-component.log-icon .icon):
2796         (#split-content-browser .hierarchical-path-component.log-icon .title):
2797         (#split-content-browser .hierarchical-path-component.log-icon select):
2798
2799 2015-04-23  Timothy Hatcher  <timothy@apple.com>
2800
2801         Web Inspector: Make showing a content view work in the tab world
2802         https://bugs.webkit.org/show_bug.cgi?id=144110
2803
2804         Reviewed by Joseph Pecoraro.
2805
2806         * UserInterface/Base/Main.js:
2807         (WebInspector.loaded):
2808         (WebInspector.hideSplitConsole):
2809         (WebInspector.showSourceCodeLocation):
2810         (WebInspector.showOriginalUnformattedSourceCodeLocation):
2811         (WebInspector.showOriginalOrFormattedSourceCodeLocation):
2812         (WebInspector.showOriginalOrFormattedSourceCodeTextRange):
2813         (WebInspector.showResourceRequest):
2814         (WebInspector.debuggerToggleBreakpoints):
2815         (WebInspector.debuggerPauseResumeToggle):
2816         (WebInspector.debuggerStepOver):
2817         (WebInspector.debuggerStepInto):
2818         (WebInspector.debuggerStepOut):
2819         (WebInspector._focusChanged):
2820         (WebInspector._mouseWasClicked):
2821         (WebInspector._dragOver):
2822         (WebInspector._captureDidStart):
2823         (WebInspector._debuggerDidPause):
2824         (WebInspector._debuggerDidResume):
2825         (WebInspector._frameWasAdded):
2826         (WebInspector._undock):
2827         (WebInspector._updateDockNavigationItems):
2828         * UserInterface/Models/Breakpoint.js:
2829         (WebInspector.Breakpoint.prototype.appendContextMenuItems.revealOriginalSourceCodeLocation):
2830         (WebInspector.Breakpoint.prototype.appendContextMenuItems):
2831         * UserInterface/Protocol/InspectorFrontendAPI.js:
2832         (InspectorFrontendAPI.showMainResourceForFrame):
2833         * UserInterface/Views/CSSStyleDeclarationTextEditor.js:
2834         (WebInspector.CSSStyleDeclarationTextEditor.prototype.tokenTrackingControllerHighlightedRangeWasClicked):
2835         * UserInterface/Views/ComputedStyleDetailsPanel.js:
2836         (WebInspector.ComputedStyleDetailsPanel.prototype._goToRegionFlowArrowWasClicked):
2837         (WebInspector.ComputedStyleDetailsPanel.prototype._goToContentFlowArrowWasClicked):
2838         (WebInspector.ComputedStyleDetailsPanel):
2839         * UserInterface/Views/ContentBrowser.js:
2840         (WebInspector.ContentBrowser.prototype.updateHierarchicalPathForCurrentContentView):
2841         * UserInterface/Views/ContentView.js:
2842         (WebInspector.ContentView):
2843         * UserInterface/Views/DOMTreeContentView.js:
2844         (WebInspector.DOMTreeContentView.prototype.restoreFromCookie):
2845         * UserInterface/Views/DOMTreeDataGridNode.js:
2846         (WebInspector.DOMTreeDataGridNode.prototype._goToArrowWasClicked):
2847         * UserInterface/Views/DebuggerSidebarPanel.js:
2848         (WebInspector.DebuggerSidebarPanel.prototype.showDefaultContentView):
2849         (WebInspector.DebuggerSidebarPanel.prototype._addTreeElementForSourceCodeToContentTreeOutline):
2850         (WebInspector.DebuggerSidebarPanel.prototype._treeElementSelected):
2851         (WebInspector.DebuggerSidebarPanel.prototype._addIssue):
2852         (WebInspector.DebuggerSidebarPanel.prototype._handleIssueAdded):
2853         * UserInterface/Views/LayerTreeDataGridNode.js:
2854         (WebInspector.LayerTreeDataGridNode.prototype._goToArrowWasClicked):
2855         * UserInterface/Views/LayoutTimelineView.js:
2856         (WebInspector.LayoutTimelineView.prototype._treeElementSelected):
2857         * UserInterface/Views/NavigationSidebarPanel.js:
2858         (WebInspector.NavigationSidebarPanel.prototype.get contentBrowser):
2859         (WebInspector.NavigationSidebarPanel.prototype.set contentBrowser):
2860         (WebInspector.NavigationSidebarPanel.prototype._updateFilter):
2861         * UserInterface/Views/NetworkTimelineView.js:
2862         (WebInspector.NetworkTimelineView.prototype._treeElementSelected):
2863         * UserInterface/Views/ObjectTreeBaseTreeElement.js:
2864         (WebInspector.ObjectTreeBaseTreeElement.prototype._appendMenusItemsForObject):
2865         (WebInspector.ObjectTreeBaseTreeElement):
2866         * UserInterface/Views/OverviewTimelineView.js:
2867         (WebInspector.OverviewTimelineView.prototype._treeElementSelected):
2868         * UserInterface/Views/ResourceDetailsSidebarPanel.js:
2869         (WebInspector.ResourceDetailsSidebarPanel.prototype._goToRequestDataClicked):
2870         * UserInterface/Views/ResourceSidebarPanel.js:
2871         (WebInspector.ResourceSidebarPanel):
2872         (WebInspector.ResourceSidebarPanel.prototype.showDefaultContentView):
2873         (WebInspector.ResourceSidebarPanel.prototype._mainFrameDidChange):
2874         (WebInspector.ResourceSidebarPanel.prototype._mainFrameMainResourceDidChange.delayedWork):
2875         (WebInspector.ResourceSidebarPanel.prototype._mainFrameMainResourceDidChange):
2876         (WebInspector.ResourceSidebarPanel.prototype._treeElementSelected):
2877         (WebInspector.ResourceSidebarPanel.prototype._storageCleared):
2878         * UserInterface/Views/ResourceTimelineDataGridNode.js:
2879         (WebInspector.ResourceTimelineDataGridNode.prototype._goToResource):
2880         * UserInterface/Views/ScriptTimelineView.js:
2881         (WebInspector.ScriptTimelineView.prototype._treeElementSelected):
2882         * UserInterface/Views/SourceCodeTextEditor.js:
2883         (WebInspector.SourceCodeTextEditor.prototype.tokenTrackingControllerHighlightedRangeWasClicked):
2884         * UserInterface/Views/TimelineDataGrid.js:
2885         (WebInspector.TimelineDataGrid.prototype._popoverCallStackTreeElementSelected):
2886         * UserInterface/Views/TimelineSidebarPanel.js:
2887         (WebInspector.TimelineSidebarPanel):
2888         (WebInspector.TimelineSidebarPanel.prototype.shown):
2889         (WebInspector.TimelineSidebarPanel.showTimelineViewForTimeline):
2890
2891 2015-04-22  Timothy Hatcher  <timothy@apple.com>
2892
2893         Web Inspector: Make debugger keyboard shortcuts global
2894         https://bugs.webkit.org/show_bug.cgi?id=144068
2895
2896         We wont always have a DebuggerSidebarPanel to listen for the shortcuts.
2897
2898         Reviewed by Joseph Pecoraro.
2899
2900         * UserInterface/Base/Main.js:
2901         (WebInspector.contentLoaded):
2902         (WebInspector.showSourceCodeForFrame):
2903         (WebInspector.showSourceCode):
2904         * UserInterface/Controllers/DebuggerManager.js:
2905         (WebInspector.DebuggerManager.prototype.pause):
2906         * UserInterface/Views/DebuggerSidebarPanel.js:
2907         (WebInspector.DebuggerSidebarPanel.prototype.restoreStateFromCookie):
2908         (WebInspector.DebuggerSidebarPanel.prototype._debuggerDidResume):
2909         (WebInspector.DebuggerSidebarPanel.prototype._handleIssueAdded):
2910         (WebInspector.DebuggerSidebarPanel.prototype._handleIssuesCleared):
2911         (WebInspector.DebuggerSidebarPanel):
2912
2913 2015-04-22  Timothy Hatcher  <timothy@apple.com>
2914
2915         Web Inspector: Remove Reload and Download Web Archive buttons from FrameTreeElement
2916         https://bugs.webkit.org/show_bug.cgi?id=144064
2917
2918         The will be global toolbar items soon.
2919
2920         Reviewed by Joseph Pecoraro.
2921
2922         * UserInterface/Views/FrameTreeElement.js:
2923         * UserInterface/Views/ResourceTreeElement.js:
2924         (WebInspector.ResourceTreeElement.prototype._updateStatus):
2925
2926 2015-04-22  Timothy Hatcher  <timothy@apple.com>
2927
2928         Web Inspector: Remove time and weight from the dashboard
2929         https://bugs.webkit.org/show_bug.cgi?id=144063
2930
2931         These two items were the odd ones out since they are only available
2932         when recording a timeline. We will need the toolbar space soon, so make
2933         this lets us make the dashboard skinnier.
2934
2935         This also removes the exception catching in DashboardContainerView. It doesn't really
2936         help us and it makes debugging an exception harder.
2937
2938         Reviewed by Joseph Pecoraro.
2939
2940         * UserInterface/Views/DashboardContainerView.css:
2941         (.toolbar .dashboard-container):
2942         * UserInterface/Views/DashboardContainerView.js:
2943         (WebInspector.DashboardContainerView.prototype._dashboardViewForRepresentedObject):
2944         * UserInterface/Views/DefaultDashboardView.css:
2945         (body.web .toolbar.collapsed .dashboard.default > .item.resourcesCount):
2946         (body.javascript .toolbar .dashboard.default > .item.resourcesCount):
2947         * UserInterface/Views/DefaultDashboardView.js:
2948         (WebInspector.DefaultDashboardView):
2949         (WebInspector.DefaultDashboardView.prototype._updateDisplay):
2950
2951 2015-04-22  Timothy Hatcher  <timothy@apple.com>
2952
2953         Web Inspector: Remove sidebar panel shortcut and image
2954         https://bugs.webkit.org/show_bug.cgi?id=144061
2955
2956         Sidebar panels no longer need a keyboard shortcut or a toolbar image.
2957
2958         Reviewed by Joseph Pecoraro.
2959
2960         * UserInterface/Views/ApplicationCacheDetailsSidebarPanel.js:
2961         (WebInspector.ApplicationCacheDetailsSidebarPanel):
2962         * UserInterface/Views/CSSStyleDetailsSidebarPanel.js:
2963         (WebInspector.CSSStyleDetailsSidebarPanel):
2964         * UserInterface/Views/DOMDetailsSidebarPanel.js:
2965         (WebInspector.DOMDetailsSidebarPanel):
2966         * UserInterface/Views/DOMNodeDetailsSidebarPanel.js:
2967         (WebInspector.DOMNodeDetailsSidebarPanel):
2968         * UserInterface/Views/DebuggerSidebarPanel.js:
2969         * UserInterface/Views/DetailsSidebarPanel.js:
2970         (WebInspector.DetailsSidebarPanel):
2971         * UserInterface/Views/LayerTreeDetailsSidebarPanel.js:
2972         (WebInspector.LayerTreeDetailsSidebarPanel):
2973         * UserInterface/Views/NavigationSidebarPanel.js:
2974         (WebInspector.NavigationSidebarPanel):
2975         (WebInspector.NavigationSidebarPanel.prototype.restoreStateFromCookie):
2976         (WebInspector.NavigationSidebarPanel.prototype.showEmptyContentPlaceholder):
2977         (WebInspector.NavigationSidebarPanel.prototype.applyFiltersToTreeElement):
2978         (WebInspector.NavigationSidebarPanel.prototype.show):
2979         (WebInspector.NavigationSidebarPanel.prototype._updateContentOverflowShadowVisibility):
2980         * UserInterface/Views/ProbeDetailsSidebarPanel.js:
2981         (WebInspector.ProbeDetailsSidebarPanel):
2982         * UserInterface/Views/RenderingFrameDetailsSidebarPanel.js:
2983         * UserInterface/Views/ResourceDetailsSidebarPanel.js:
2984         (WebInspector.ResourceDetailsSidebarPanel):
2985         * UserInterface/Views/ResourceSidebarPanel.js:
2986         (WebInspector.ResourceSidebarPanel):
2987         * UserInterface/Views/ScopeChainDetailsSidebarPanel.js:
2988         (WebInspector.ScopeChainDetailsSidebarPanel):
2989         * UserInterface/Views/SidebarPanel.js:
2990         (WebInspector.SidebarPanel):
2991         (WebInspector.SidebarPanel.prototype.added):
2992         (WebInspector.SidebarPanel.prototype.removed):
2993         (WebInspector.SidebarPanel.prototype.visibilityDidChange):
2994         * UserInterface/Views/TimelineSidebarPanel.js:
2995         (WebInspector.TimelineSidebarPanel):
2996         (WebInspector.TimelineSidebarPanel.prototype.showTimelineViewForTimeline):
2997
2998 2015-04-22  Timothy Hatcher  <timothy@apple.com>
2999
3000         Web Inspector: Remove allowedNavigationSidebarPanels, it isn't needed
3001         https://bugs.webkit.org/show_bug.cgi?id=144056
3002
3003         Reviewed by Joseph Pecoraro.
3004
3005         * UserInterface/Views/ApplicationCacheFrameContentView.js:
3006         * UserInterface/Views/ContentView.js:
3007         * UserInterface/Views/CookieStorageContentView.js:
3008         * UserInterface/Views/DOMStorageContentView.js:
3009         * UserInterface/Views/DOMTreeContentView.js:
3010         * UserInterface/Views/DatabaseContentView.js:
3011         * UserInterface/Views/DatabaseTableContentView.js:
3012         * UserInterface/Views/FontResourceContentView.js:
3013         * UserInterface/Views/FrameDOMTreeContentView.js:
3014         * UserInterface/Views/LogContentView.js:
3015         * UserInterface/Views/ResourceClusterContentView.js:
3016         * UserInterface/Views/TimelineRecordingContentView.js:
3017
3018 2015-04-22  Timothy Hatcher  <timothy@apple.com>
3019
3020         Web Inspector: Support passing extra arguments to ContentViews during construction
3021         https://bugs.webkit.org/show_bug.cgi?id=144055
3022
3023         This allows us to pass the TimelineSidebarPanel to Timeline views since in the future
3024         there could be multiple timeline sidebars, one per tab. So the global instance will
3025         be going away.
3026
3027         This also removes the exception catching in ContentViewContainer. It doesn't really
3028         help us and it makes debugging an exception harder.
3029
3030         Reviewed by Joseph Pecoraro.
3031
3032         * UserInterface/Views/ContentBrowser.js:
3033         (WebInspector.ContentBrowser.prototype.showContentViewForRepresentedObject):
3034         (WebInspector.ContentBrowser.prototype.contentViewForRepresentedObject):
3035         * UserInterface/Views/ContentView.js:
3036         (WebInspector.ContentView):
3037         * UserInterface/Views/ContentViewContainer.js:
3038         (WebInspector.ContentViewContainer.prototype.contentViewForRepresentedObject):
3039         (WebInspector.ContentViewContainer.prototype.showContentViewForRepresentedObject):
3040         * UserInterface/Views/LayoutTimelineView.js:
3041         (WebInspector.LayoutTimelineView.prototype._dataGridFiltersDidChange):
3042         (WebInspector.LayoutTimelineView.prototype._treeElementSelected):
3043         (WebInspector.LayoutTimelineView.prototype._closeStatusButtonClicked):
3044         * UserInterface/Views/NetworkTimelineView.js:
3045         (WebInspector.NetworkTimelineView.prototype._dataGridFiltersDidChange):
3046         (WebInspector.NetworkTimelineView.prototype._treeElementSelected):
3047         (WebInspector.NetworkTimelineView.prototype._closeStatusButtonClicked):
3048         * UserInterface/Views/OverviewTimelineView.js:
3049         (WebInspector.OverviewTimelineView.prototype._treeElementSelected):
3050         (WebInspector.OverviewTimelineView.prototype._closeStatusButtonClicked):
3051         * UserInterface/Views/RenderingFrameTimelineView.js:
3052         (WebInspector.RenderingFrameTimelineView):
3053         * UserInterface/Views/ScriptTimelineView.js:
3054         (WebInspector.ScriptTimelineView):
3055         (WebInspector.ScriptTimelineView.prototype._dataGridFiltersDidChange):
3056         (WebInspector.ScriptTimelineView.prototype._treeElementSelected):
3057         (WebInspector.ScriptTimelineView.prototype._closeStatusButtonClicked):
3058         * UserInterface/Views/TimelineRecordingContentView.js:
3059         (WebInspector.TimelineRecordingContentView):
3060         (WebInspector.TimelineRecordingContentView.prototype._currentContentViewDidChange):
3061         (WebInspector.TimelineRecordingContentView.prototype._contentViewSelectionPathComponentDidChange):
3062         (WebInspector.TimelineRecordingContentView.prototype._updateTimes):
3063         (WebInspector.TimelineRecordingContentView.prototype._timeRangeSelectionChanged):
3064         * UserInterface/Views/TimelineSidebarPanel.js:
3065         * UserInterface/Views/TimelineView.js:
3066         (WebInspector.TimelineView):
3067         (WebInspector.TimelineView.prototype.get timelineSidebarPanel):
3068
3069 2015-04-18  Timothy Hatcher  <timothy@apple.com>
3070
3071         Web Inspector: Disable global keyboard shortcuts for background tabs
3072         https://bugs.webkit.org/show_bug.cgi?id=143918
3073
3074         Reviewed by Joseph Pecoraro.
3075
3076         * UserInterface/Views/ContentBrowser.js:
3077         (WebInspector.ContentBrowser):
3078         (WebInspector.ContentBrowser.prototype.shown): Added.
3079         (WebInspector.ContentBrowser.prototype.hidden): Added.
3080         Disable shortcuts on the browser and find banner.
3081
3082         * UserInterface/Views/ContentBrowserTabContentView.js:
3083         (WebInspector.ContentBrowserTabContentView.prototype.shown): Added.
3084         (WebInspector.ContentBrowserTabContentView.prototype.hidden): Added.
3085         Tell the content browser we were shown or hidden.
3086
3087         * UserInterface/Views/FindBanner.js:
3088         (WebInspector.FindBanner):
3089         (WebInspector.FindBanner.prototype.show):
3090         (WebInspector.FindBanner.prototype.enableKeyboardShortcuts): Added.
3091         (WebInspector.FindBanner.prototype.disableKeyboardShortcuts): Added.
3092         Support disabling or enabling the keyboard shortcuts.
3093
3094 2015-04-17  Timothy Hatcher  <timothy@apple.com>
3095
3096         Web Inspector: Add TabBrowser and TabContentView
3097         https://bugs.webkit.org/show_bug.cgi?id=143886
3098
3099         Reviewed by Joseph Pecoraro.
3100
3101         * UserInterface/Images/Debugger.svg: Added.
3102         * UserInterface/Images/Elements.svg: Added.
3103         * UserInterface/Images/Gear.svg: Added.
3104         * UserInterface/Images/NewTabPlus.svg: Added.
3105         * UserInterface/Images/Resources.svg:
3106         * UserInterface/Images/Timeline.svg: Added.
3107         * UserInterface/Images/ToggleLeftSidebar.svg: Added.
3108         * UserInterface/Images/ToggleRightSidebar.svg: Added.
3109
3110         * UserInterface/Views/ContentBrowserTabContentView.css: Added.
3111         (.content-browser.tab.content-view > .content-browser):
3112
3113         * UserInterface/Views/ContentBrowserTabContentView.js: Added.
3114         (WebInspector.ContentBrowserTabContentView):
3115         (WebInspector.ContentBrowserTabContentView.prototype.get contentBrowser):
3116         (WebInspector.ContentBrowserTabContentView.prototype.shown):
3117         (WebInspector.ContentBrowserTabContentView.prototype.hidden):
3118         (WebInspector.ContentBrowserTabContentView.prototype.closed):
3119         (WebInspector.ContentBrowserTabContentView.prototype.updateLayout):
3120         (WebInspector.ContentBrowserTabContentView.prototype.get managesDetailsSidebarPanels):
3121         (WebInspector.ContentBrowserTabContentView.prototype.showDetailsSidebarPanels):
3122         (WebInspector.ContentBrowserTabContentView.prototype.contentBrowserTreeElementForRepresentedObject):
3123         (WebInspector.ContentBrowserTabContentView.prototype._navigationSidebarCollapsedStateDidChange):
3124         (WebInspector.ContentBrowserTabContentView.prototype._detailsSidebarCollapsedStateDidChange):
3125         (WebInspector.ContentBrowserTabContentView.prototype._detailsSidebarPanelSelected):
3126         (WebInspector.ContentBrowserTabContentView.prototype._contentBrowserRepresentedObjectsDidChange):
3127         (WebInspector.ContentBrowserTabContentView.prototype._contentBrowserCurrentContentViewDidChange):
3128         (WebInspector.ContentBrowserTabContentView.prototype._revealAndSelectRepresentedObjectInNavigationSidebar):
3129
3130         * UserInterface/Views/DebuggerTabContentView.js: Added.
3131         (WebInspector.DebuggerTabContentView):
3132
3133         * UserInterface/Views/ElementsTabContentView.js: Added.
3134         (WebInspector.ElementsTabContentView):
3135         (WebInspector.ElementsTabContentView.prototype._mainFrameDidChange):
3136
3137         * UserInterface/Views/ResourcesTabContentView.js: Added.
3138         (WebInspector.ResourcesTabContentView):
3139
3140         * UserInterface/Views/SettingsTabContentView.js: Added.
3141         (WebInspector.SettingsTabContentView):
3142
3143         * UserInterface/Views/TabBrowser.css: Added.
3144         (.tab-browser):
3145         (.tab-browser > .tab-bar):
3146         (.tab-browser > .content-view-container):
3147         (.tab-browser > .tab-bar + .content-view-container):
3148
3149         * UserInterface/Views/TabBrowser.js: Added.
3150         (WebInspector.TabBrowser):
3151         (WebInspector.TabBrowser.prototype.get tabBar):
3152         (WebInspector.TabBrowser.prototype.get navigationSidebar):
3153         (WebInspector.TabBrowser.prototype.get detailsSidebar):
3154         (WebInspector.TabBrowser.prototype.get selectedTabContentView):
3155         (WebInspector.TabBrowser.prototype.updateLayout):
3156         (WebInspector.TabBrowser.prototype.bestTabContentViewForRepresentedObject):
3157         (WebInspector.TabBrowser.prototype.addTabForContentView):
3158         (WebInspector.TabBrowser.prototype.showTabForContentView):
3159         (WebInspector.TabBrowser.prototype.closeTabForContentView):
3160         (WebInspector.TabBrowser.prototype._tabBarItemSelected):
3161         (WebInspector.TabBrowser.prototype._sidebarPanelSelected):
3162         (WebInspector.TabBrowser.prototype._sidebarCollapsedStateDidChange):
3163         (WebInspector.TabBrowser.prototype._showNavigationSidebarPanelForTabContentView):
3164         (WebInspector.TabBrowser.prototype._showDetailsSidebarPanelsForTabContentView):
3165
3166         * UserInterface/Views/TabContentView.js: Added.
3167         (WebInspector.TabContentView):
3168         (WebInspector.TabContentView.prototype.get parentTabBrowser):
3169         (WebInspector.TabContentView.prototype.set parentTabBrowser):
3170         (WebInspector.TabContentView.prototype.get tabBarItem):
3171         (WebInspector.TabContentView.prototype.get managesDetailsSidebarPanels):
3172         (WebInspector.TabContentView.prototype.showDetailsSidebarPanels):
3173         (WebInspector.TabContentView.prototype.canShowRepresentedObject):
3174         (WebInspector.TabContentView.prototype.get navigationSidebarPanel):
3175         (WebInspector.TabContentView.prototype.get navigationSidebarCollapsedSetting):
3176         (WebInspector.TabContentView.prototype.get detailsSidebarPanels):
3177         (WebInspector.TabContentView.prototype.get detailsSidebarCollapsedSetting):
3178         (WebInspector.TabContentView.prototype.get detailsSidebarSelectedPanelSetting):
3179
3180         * UserInterface/Views/TimelineTabContentView.js: Added.
3181         (WebInspector.TimelineTabContentView):
3182
3183 2015-04-06  Timothy Hatcher  <timothy@apple.com>
3184
3185         Web Inspector: Add a WebInspector.TabBar class
3186         https://bugs.webkit.org/show_bug.cgi?id=143442
3187
3188         Reviewed by Joseph Pecoraro.
3189
3190         * UserInterface/Main.html:
3191         Added new files.
3192
3193         * UserInterface/Protocol/InspectorFrontendHostStub.js:
3194         (window.Symbol):
3195         (WebInspector.InspectorFrontendHostStub.prototype.showContextMenu):
3196         Added some stubs needed to work standalone.
3197
3198         * UserInterface/Views/TabBar.css: Added.
3199         (.tab-bar):
3200         (body.window-inactive .tab-bar):
3201         (.tab-bar > .top-border):
3202         (body.window-inactive .tab-bar > .top-border):
3203         (.tab-bar > .item):
3204         (.tab-bar > :nth-child(n + 2 of .item)):
3205         (.tab-bar > .item.pinned):
3206         (.tab-bar > .item.selected):
3207         (.tab-bar > .item.new-tab-button:hover):
3208         (.tab-bar:not(.animating) > .item:not(.selected):hover + .item):
3209         (body.window-inactive .tab-bar > .item):
3210         (body.window-inactive .tab-bar > .item.selected):
3211         (.tab-bar > .item > .close):
3212         (body:not(.window-inactive) .tab-bar:not(.single-tab) > .item:hover > .close):
3213         (.tab-bar.single-tab > .item > .close):
3214         (.tab-bar > .item > .close:hover):
3215         (.tab-bar > .item > .close:active):
3216         (.tab-bar > .item > .flex-space):
3217         (.tab-bar > .item > .flex-space:last-child):
3218         (.tab-bar > .item > .icon):
3219         (.tab-bar > .item.selected > .icon):
3220         (.tab-bar > .item.new-tab-button:hover > .icon):
3221         (.tab-bar > .item > .title):
3222         (.tab-bar > .item > .title > .content):
3223         (.tab-bar:not(.animating) > .item:not(.selected):hover > .title):
3224         (.tab-bar > .item.selected > .title):
3225         (.tab-bar.collapsed > .item):
3226         (.tab-bar.collapsed > .item > .flex-space):
3227         (.tab-bar.collapsed > .item > .close):
3228         (.tab-bar.hide-titles > .item > .title):
3229         (.tab-bar.hide-titles > .item.selected:hover > .icon):
3230         (.tab-bar.hide-titles > .item.selected:hover > .close):
3231         (.tab-bar.static-layout):
3232         (.tab-bar.static-layout > .item):
3233         (.tab-bar.animating.closing-tab > .item):
3234         (.tab-bar.animating:matches(.expanding-tabs, .inserting-tab) > .item):
3235         (.tab-bar.animating.inserting-tab > .item.being-inserted):
3236         (.tab-bar.animating.closing-tab > .item.selected):
3237         (body.window-inactive .tab-bar.animating.closing-tab > .item.selected):
3238         (.tab-bar.dragging-tab > .item.selected):
3239
3240         * UserInterface/Views/TabBar.js: Added.
3241         (WebInspector.TabBar):
3242         (WebInspector.TabBar.prototype.get newTabItem):
3243         (WebInspector.TabBar.prototype.set newTabItem):
3244         (WebInspector.TabBar.prototype.addTabBarItem):
3245         (WebInspector.TabBar.prototype.insertTabBarItem.animateTabs):
3246         (WebInspector.TabBar.prototype.insertTabBarItem.removeStyles):
3247         (WebInspector.TabBar.prototype.insertTabBarItem):
3248         (WebInspector.TabBar.prototype.insertTabBarItem.set else):
3249         (WebInspector.TabBar.prototype.insertTabBarItem.set this):
3250         (WebInspector.TabBar.animateTabs.get if):
3251         (WebInspector.TabBar.animateTabs):
3252         (WebInspector.TabBar.removeStyles):
3253         (WebInspector.TabBar.prototype.insertTabBarItem):
3254         (WebInspector.TabBar.prototype.updateLayoutSoon.update):
3255         (WebInspector.TabBar.prototype.updateLayoutSoon):
3256         (WebInspector.TabBar.prototype.updateLayout):
3257         (WebInspector.TabBar.prototype.get selectedTabBarItem):
3258         (WebInspector.TabBar.prototype.set selectedTabBarItem):
3259         (WebInspector.TabBar.prototype.get tabBarItems):
3260         (WebInspector.TabBar.prototype.get element):
3261         (WebInspector.TabBar.prototype._findTabBarItem):
3262         (WebInspector.TabBar.prototype._hasMoreThanOneNormalTab):
3263         (WebInspector.TabBar.prototype._recordTabBarItemSizesAndPositions):
3264         (WebInspector.TabBar.prototype._clearTabBarItemSizesAndPositions):
3265         (WebInspector.TabBar.prototype._finishExpandingTabsAfterClose.):