Replace svg/clip-path pixel tests by reference tests
https://bugs.webkit.org/show_bug.cgi?id=129177

Patch by Dirk Schulze <krit@webkit.org> on 2014-02-21
Rubber-stamped by Ryosuke Niwa.

This patch removes all pixel tests.

* platform/efl/svg/clip-path/clip-in-mask-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-childs-clipped-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-clipped-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-clipped-nonzero-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-css-transform-1-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-css-transform-2-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-objectBoundingBox-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-on-clipped-use-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-on-g-and-child-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-on-g-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-on-svg-and-child-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-on-svg-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-pixelation-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-text-and-stroke-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-text-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-transform-2-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-tspan-and-stroke-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-use-as-child-expected.png: Removed.
* platform/efl/svg/clip-path/clip-path-userSpaceOnUse-expected.png: Removed.
* platform/efl/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png: Removed.
* platform/efl/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt: Removed.
* platform/efl/svg/clip-path/deep-nested-clip-in-mask-expected.png: Removed.
* platform/efl/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png: Removed.
* platform/efl/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png: Removed.
* platform/efl/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png: Removed.
* platform/efl/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-in-mask-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-child-clipped-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-childs-clipped-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-clipped-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-clipped-nonzero-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-css-transform-1-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-css-transform-2-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-evenodd-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-evenodd-nonzero-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-nonzero-evenodd-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-nonzero-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-objectBoundingBox-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-on-clipped-use-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-on-g-and-child-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-on-g-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-on-svg-and-child-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-on-svg-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-pixelation-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-text-and-shape-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-text-and-stroke-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-text-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-transform-2-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-tspan-and-stroke-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-use-as-child-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-userSpaceOnUse-expected.png: Removed.
* platform/gtk/svg/clip-path/clip-path-with-text-clipped-expected.png: Removed.
* platform/gtk/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png: Removed.
* platform/gtk/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt: Removed.
* platform/gtk/svg/clip-path/deep-nested-clip-in-mask-expected.png: Removed.
* platform/gtk/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png: Removed.
* platform/gtk/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png: Removed.
* platform/gtk/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png: Removed.
* platform/gtk/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png: Removed.
* platform/mac/svg/clip-path/clip-in-clip-expected.png: Removed.
* platform/mac/svg/clip-path/clip-in-mask-expected.png: Removed.
* platform/mac/svg/clip-path/clip-in-mask-objectBoundingBox-expected.png: Removed.
* platform/mac/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-child-clipped-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-childs-clipped-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-clipped-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-clipped-no-content-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-clipped-nonzero-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-css-transform-1-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-css-transform-2-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-evenodd-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-evenodd-nonzero-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-nonzero-evenodd-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-nonzero-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-objectBoundingBox-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-on-clipped-use-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-on-g-and-child-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-on-g-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-on-svg-and-child-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-on-svg-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-pixelation-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-pixelation-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-recursive-call-by-child-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-recursive-call-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-text-and-shape-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-text-and-shape-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-text-and-stroke-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-text-and-stroke-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-text-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-text-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-transform-1-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-transform-2-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-tspan-and-stroke-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-tspan-and-stroke-expected.txt: Removed.
* platform/mac/svg/clip-path/clip-path-use-as-child-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-use-as-child2-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-use-as-child3-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-use-as-child4-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-use-as-child5-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-userSpaceOnUse-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-with-container-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-with-different-unittypes-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-with-different-unittypes2-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-with-invisibile-child-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-with-text-clipped-expected.png: Removed.
* platform/mac/svg/clip-path/clip-path-with-text-clipped-expected.txt: Removed.
* platform/mac/svg/clip-path/clipper-placement-issue-expected.png: Removed.
* platform/mac/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png: Removed.
* platform/mac/svg/clip-path/deep-nested-clip-in-mask-expected.png: Removed.
* platform/mac/svg/clip-path/deep-nested-clip-in-mask-expected.txt: Removed.
* platform/mac/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png: Removed.
* platform/mac/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt: Removed.
* platform/mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png: Removed.
* platform/mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png: Removed.
* platform/mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png: Removed.
* svg/clip-path/clip-in-clip-expected.png: Removed.
* svg/clip-path/clip-in-clip-expected.txt: Removed.
* svg/clip-path/clip-in-clip.svg: Removed.
* svg/clip-path/clip-in-mask-expected.txt: Removed.
* svg/clip-path/clip-in-mask-objectBoundingBox-expected.txt: Removed.
* svg/clip-path/clip-in-mask-objectBoundingBox.svg: Removed.
* svg/clip-path/clip-in-mask-userSpaceOnUse-expected.txt: Removed.
* svg/clip-path/clip-in-mask-userSpaceOnUse.svg: Removed.
* svg/clip-path/clip-in-mask.svg: Removed.
* svg/clip-path/clip-path-child-clipped-expected.txt: Removed.
* svg/clip-path/clip-path-child-clipped.svg: Removed.
* svg/clip-path/clip-path-childs-clipped-expected.txt: Removed.
* svg/clip-path/clip-path-childs-clipped.svg: Removed.
* svg/clip-path/clip-path-clipped-evenodd-twice-expected.txt: Removed.
* svg/clip-path/clip-path-clipped-evenodd-twice.svg: Removed.
* svg/clip-path/clip-path-clipped-expected.txt: Removed.
* svg/clip-path/clip-path-clipped-no-content-expected.png: Removed.
* svg/clip-path/clip-path-clipped-no-content-expected.txt: Removed.
* svg/clip-path/clip-path-clipped-no-content.svg: Removed.
* svg/clip-path/clip-path-clipped-nonzero-expected.txt: Removed.
* svg/clip-path/clip-path-clipped-nonzero.svg: Removed.
* svg/clip-path/clip-path-clipped.svg: Removed.
* svg/clip-path/clip-path-css-transform-1-expected.txt: Removed.
* svg/clip-path/clip-path-css-transform-1.svg: Removed.
* svg/clip-path/clip-path-css-transform-2-expected.txt: Removed.
* svg/clip-path/clip-path-css-transform-2.svg: Removed.
* svg/clip-path/clip-path-evenodd-expected.txt: Removed.
* svg/clip-path/clip-path-evenodd-nonzero-expected.txt: Removed.
* svg/clip-path/clip-path-evenodd-nonzero.svg: Removed.
* svg/clip-path/clip-path-evenodd.svg: Removed.
* svg/clip-path/clip-path-nonzero-evenodd-expected.txt: Removed.
* svg/clip-path/clip-path-nonzero-evenodd.svg: Removed.
* svg/clip-path/clip-path-nonzero-expected.txt: Removed.
* svg/clip-path/clip-path-nonzero.svg: Removed.
* svg/clip-path/clip-path-objectBoundingBox-expected.txt: Removed.
* svg/clip-path/clip-path-objectBoundingBox.svg: Removed.
* svg/clip-path/clip-path-on-clipped-use-expected.txt: Removed.
* svg/clip-path/clip-path-on-clipped-use.svg: Removed.
* svg/clip-path/clip-path-on-g-and-child-expected.txt: Removed.
* svg/clip-path/clip-path-on-g-and-child.svg: Removed.
* svg/clip-path/clip-path-on-g-expected.txt: Removed.
* svg/clip-path/clip-path-on-g.svg: Removed.
* svg/clip-path/clip-path-on-svg-and-child-expected.txt: Removed.
* svg/clip-path/clip-path-on-svg-and-child.svg: Removed.
* svg/clip-path/clip-path-on-svg-expected.txt: Removed.
* svg/clip-path/clip-path-on-svg.svg: Removed.
* svg/clip-path/clip-path-pixelation-expected.txt: Removed.
* svg/clip-path/clip-path-pixelation.svg: Removed.
* svg/clip-path/clip-path-recursive-call-by-child-expected.png: Removed.
* svg/clip-path/clip-path-recursive-call-by-child-expected.txt: Removed.
* svg/clip-path/clip-path-recursive-call-by-child.svg: Removed.
* svg/clip-path/clip-path-recursive-call-expected.png: Removed.
* svg/clip-path/clip-path-recursive-call-expected.txt: Removed.
* svg/clip-path/clip-path-recursive-call.svg: Removed.
* svg/clip-path/clip-path-text-and-shape-expected.txt: Removed.
* svg/clip-path/clip-path-text-and-shape.svg: Removed.
* svg/clip-path/clip-path-text-and-stroke-expected.txt: Removed.
* svg/clip-path/clip-path-text-and-stroke.svg: Removed.
* svg/clip-path/clip-path-text-expected.txt: Removed.
* svg/clip-path/clip-path-text.svg: Removed.
* svg/clip-path/clip-path-transform-1-expected.txt: Removed.
* svg/clip-path/clip-path-transform-1.svg: Removed.
* svg/clip-path/clip-path-transform-2-expected.txt: Removed.
* svg/clip-path/clip-path-transform-2.svg: Removed.
* svg/clip-path/clip-path-tspan-and-stroke-expected.txt: Removed.
* svg/clip-path/clip-path-tspan-and-stroke.svg: Removed.
* svg/clip-path/clip-path-use-as-child-expected.txt: Removed.
* svg/clip-path/clip-path-use-as-child.svg: Removed.
* svg/clip-path/clip-path-use-as-child2-expected.png: Removed.
* svg/clip-path/clip-path-use-as-child2-expected.txt: Removed.
* svg/clip-path/clip-path-use-as-child2.svg: Removed.
* svg/clip-path/clip-path-use-as-child3-expected.png: Removed.
* svg/clip-path/clip-path-use-as-child3-expected.txt: Removed.
* svg/clip-path/clip-path-use-as-child3.svg: Removed.
* svg/clip-path/clip-path-use-as-child4-expected.png: Removed.
* svg/clip-path/clip-path-use-as-child4-expected.txt: Removed.
* svg/clip-path/clip-path-use-as-child4.svg: Removed.
* svg/clip-path/clip-path-use-as-child5-expected.png: Removed.
* svg/clip-path/clip-path-use-as-child5-expected.txt: Removed.
* svg/clip-path/clip-path-use-as-child5.svg: Removed.
* svg/clip-path/clip-path-userSpaceOnUse-expected.txt: Removed.
* svg/clip-path/clip-path-userSpaceOnUse.svg: Removed.
* svg/clip-path/clip-path-with-container-expected.png: Removed.
* svg/clip-path/clip-path-with-container-expected.txt: Removed.
* svg/clip-path/clip-path-with-container.svg: Removed.
* svg/clip-path/clip-path-with-different-unittypes-expected.png: Removed.
* svg/clip-path/clip-path-with-different-unittypes-expected.txt: Removed.
* svg/clip-path/clip-path-with-different-unittypes.svg: Removed.
* svg/clip-path/clip-path-with-different-unittypes2-expected.png: Removed.
* svg/clip-path/clip-path-with-different-unittypes2-expected.txt: Removed.
* svg/clip-path/clip-path-with-different-unittypes2.svg: Removed.
* svg/clip-path/clip-path-with-invisibile-child-expected.png: Removed.
* svg/clip-path/clip-path-with-invisibile-child-expected.txt: Removed.
* svg/clip-path/clip-path-with-invisibile-child.svg: Removed.
* svg/clip-path/clip-path-with-text-clipped-expected.txt: Removed.
* svg/clip-path/clip-path-with-text-clipped.svg: Removed.
* svg/clip-path/clipper-placement-issue-expected.png: Removed.
* svg/clip-path/clipper-placement-issue-expected.txt: Removed.
* svg/clip-path/clipper-placement-issue.svg: Removed.
* svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt: Removed.
* svg/clip-path/deep-nested-clip-in-mask-different-unitTypes.svg: Removed.
* svg/clip-path/deep-nested-clip-in-mask-expected.txt: Removed.
* svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt: Removed.
* svg/clip-path/deep-nested-clip-in-mask-panning.svg: Removed.
* svg/clip-path/deep-nested-clip-in-mask.svg: Removed.
* svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt: Removed.
* svg/clip-path/nested-clip-in-mask-image-based-clipping.svg: Removed.
* svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt: Removed.
* svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping.svg: Removed.
* svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt: Removed.
* svg/clip-path/nested-clip-in-mask-path-based-clipping.svg: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: allow drag-to-adjust on angle input of gradients editor
https://bugs.webkit.org/show_bug.cgi?id=129095

Reviewed by Timothy Hatcher.

Rename CodeMirrorDragToAlterNumberController to CodeMirrorDragToAdjustNumberController and move
the core logic of a drag-to-adjust behavior out of it to a new generic class DragToAdjustController.
We use this new class from CodeMirrorGradientEditingController to provide drag-to-adjust behavior
in the angle input field of the gradient editor and also as a supporting object for the CodeMirror-
specific class.

* UserInterface/CodeMirrorDragToAdjustNumberController.css: Renamed from Source/WebInspectorUI/UserInterface/CodeMirrorDragToAlterNumberController.css.
(.CodeMirror.drag-to-adjust .CodeMirror-lines):

* UserInterface/CodeMirrorDragToAdjustNumberController.js: Added.
Removed the UI logic and use the new DragToAdjustController as a supporting object instead. We implement
the various DragToAdjustController delegate methods in order to customize its behavior to work within the
context of a CodeMirror editor, specifically to prevent activation when the editor is read-only and to
prevent adjustment when the hovered token isn't a number.

(WebInspector.CodeMirrorDragToAdjustNumberController):
(WebInspector.CodeMirrorDragToAdjustNumberController.prototype.get enabled):
(WebInspector.CodeMirrorDragToAdjustNumberController.prototype.set enabled):
(WebInspector.CodeMirrorDragToAdjustNumberController.prototype.dragToAdjustControllerActiveStateChanged):
(WebInspector.CodeMirrorDragToAdjustNumberController.prototype.dragToAdjustControllerCanBeActivated):
(WebInspector.CodeMirrorDragToAdjustNumberController.prototype.dragToAdjustControllerCanBeAdjusted):
(WebInspector.CodeMirrorDragToAdjustNumberController.prototype.dragToAdjustControllerWasAdjustedByAmount):
(WebInspector.CodeMirrorDragToAdjustNumberController.prototype.dragToAdjustControllerDidReset):
(WebInspector.CodeMirrorDragToAdjustNumberController.prototype.dragToAdjustControllerCanAdjustObjectAtPoint):

* UserInterface/CodeMirrorGradientEditingController.css:
(.gradient-editing-controller > label.drag-to-adjust > input):

* UserInterface/CodeMirrorGradientEditingController.js:
Adopt the new DragToAdjustController to make the angle input field value adjustable by dragging.

(WebInspector.CodeMirrorGradientEditingController.prototype.popoverWillPresent):
(WebInspector.CodeMirrorGradientEditingController.prototype.dragToAdjustControllerWasAdjustedByAmount):
(WebInspector.CodeMirrorGradientEditingController.prototype._handleInputEvent):
(WebInspector.CodeMirrorGradientEditingController.prototype._angleInputValueDidChange):

* UserInterface/DragToAdjustController.js: Renamed from Source/WebInspectorUI/UserInterface/CodeMirrorDragToAlterNumberController.js.
New DragToAdjustController class exposing only the core UI logic of a drag-to-adjust behavior in the context
of a DOM element, exposing a few delegation methods to customize the controller's behavior:

- dragToAdjustControllerActiveStateChanged() notifies that the .active property has changed, allowing bringup
and cleanup work to be performed.

- dragToAdjustControllerDidReset() notifies that the various tracking states of the controller have been reset
allowing other state objects used by clients to be cleared.

- dragToAdjustControllerCanBeActivated() is used to check whether the controller may enter the active state upon
first hovering the target element.

- dragToAdjustControllerCanBeAdjusted() is used to check whether adjustment can be performed at the moment when
the user actually is about to engage in a drag-to-adjust interaction.

- dragToAdjustControllerCanAdjustObjectAtPoint() is used to check whether the object at the provided point (mouse
location) is an adjustable value.

- dragToAdjustControllerWasAdjustedByAmount() notifies that there is a new amount to add to the current value
following a drag-to-adjust interaction.

(WebInspector.DragToAdjustController):
(WebInspector.DragToAdjustController.prototype.get element):
(WebInspector.DragToAdjustController.prototype.set element):
(WebInspector.DragToAdjustController.prototype.set enabled):
(WebInspector.DragToAdjustController.prototype.get active):
(WebInspector.DragToAdjustController.prototype.set active):
(WebInspector.DragToAdjustController.prototype.reset):
(WebInspector.DragToAdjustController.prototype.handleEvent):
(WebInspector.DragToAdjustController.prototype._setDragging):
(WebInspector.DragToAdjustController.prototype._setTracksMouseClickAndDrag):
(WebInspector.DragToAdjustController.prototype._modifiersDidChange):
(WebInspector.DragToAdjustController.prototype._mouseMoved):
(WebInspector.DragToAdjustController.prototype._mouseWasPressed):
(WebInspector.DragToAdjustController.prototype._mouseWasDragged):
(WebInspector.DragToAdjustController.prototype._mouseWasReleased):

* UserInterface/Main.html:
Link in new source files.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add inspection user interface for IndexedDB.

https://bugs.webkit.org/show_bug.cgi?id=129162

Reviewed by Joseph Pecoraro.

Source/WebInspectorUI:

* Localizations/en.lproj/localizedStrings.js: Updated.
* UserInterface/ContentView.js:
(WebInspector.ContentView):
(WebInspector.ContentView.isViewable):
* UserInterface/IndexedDatabase.js: Added.
(WebInspector.IndexedDatabase):
(WebInspector.IndexedDatabase.prototype.get name):
(WebInspector.IndexedDatabase.prototype.get securityOrigin):
(WebInspector.IndexedDatabase.prototype.get host):
(WebInspector.IndexedDatabase.prototype.get version):
(WebInspector.IndexedDatabase.prototype.get objectStores):
(WebInspector.IndexedDatabase.prototype.saveIdentityToCookie):
* UserInterface/IndexedDatabaseEntryDataGridNode.js: Added.
(WebInspector.IndexedDatabaseEntryDataGridNode):
(WebInspector.IndexedDatabaseEntryDataGridNode.prototype.get entry):
(WebInspector.IndexedDatabaseEntryDataGridNode.prototype.createCellContent):
* UserInterface/IndexedDatabaseHostTreeElement.js: Added.
(WebInspector.IndexedDatabaseHostTreeElement):
(WebInspector.IndexedDatabaseHostTreeElement.prototype.get name):
(WebInspector.IndexedDatabaseHostTreeElement.prototype.get categoryName):
* UserInterface/IndexedDatabaseObjectStore.js: Added.
(WebInspector.IndexedDatabaseObjectStore):
(WebInspector.IndexedDatabaseObjectStore.prototype.get name):
(WebInspector.IndexedDatabaseObjectStore.prototype.get keyPath):
(WebInspector.IndexedDatabaseObjectStore.prototype.get autoIncrement):
(WebInspector.IndexedDatabaseObjectStore.prototype.get parentDatabase):
(WebInspector.IndexedDatabaseObjectStore.prototype.get indexes):
(WebInspector.IndexedDatabaseObjectStore.prototype.saveIdentityToCookie):
(WebInspector.IndexedDatabaseObjectStore.prototype.establishRelationship):
* UserInterface/IndexedDatabaseObjectStoreContentView.css: Added.
(.content-view.indexed-database-object-store > .data-grid):
(.content-view.indexed-database-object-store > .data-grid td .section .header):
(.content-view.indexed-database-object-store > .data-grid td .section .header::before):
(.content-view.indexed-database-object-store > .data-grid td .section .header .title):
(.content-view.indexed-database-object-store > .data-grid table.data):
(.content-view.indexed-database-object-store > .data-grid table.data tr:nth-child(even)):
(.content-view.indexed-database-object-store > .data-grid table.data tr:nth-child(odd)):
(.content-view.indexed-database-object-store > .data-grid table.data tr.filler):
(.content-view.indexed-database-object-store > .data-grid :focus tr.selected td .section .header::before):
(.content-view.indexed-database-object-store > .data-grid :focus tr.selected td .section.expanded .header::before):
(.content-view.indexed-database-object-store > .data-grid :focus tr.selected td .properties-tree li.parent::before):
(.content-view.indexed-database-object-store > .data-grid :focus tr.selected td .properties-tree li.parent.expanded::before):
(.content-view.indexed-database-object-store > .data-grid :focus tr.selected td .properties-tree li *):
* UserInterface/IndexedDatabaseObjectStoreContentView.js: Added.
(WebInspector.IndexedDatabaseObjectStoreContentView.displayKeyPath):
(WebInspector.IndexedDatabaseObjectStoreContentView):
(WebInspector.IndexedDatabaseObjectStoreContentView.prototype.closed):
(WebInspector.IndexedDatabaseObjectStoreContentView.prototype.saveToCookie):
(WebInspector.IndexedDatabaseObjectStoreContentView.prototype.updateLayout):
(WebInspector.IndexedDatabaseObjectStoreContentView.prototype._reset):
(WebInspector.IndexedDatabaseObjectStoreContentView.prototype._dataGridScrolled):
(WebInspector.IndexedDatabaseObjectStoreContentView.prototype._fetchMoreData.processEntries):
(WebInspector.IndexedDatabaseObjectStoreContentView.prototype._fetchMoreData):
* UserInterface/IndexedDatabaseObjectStoreIndex.js: Added.
(WebInspector.IndexedDatabaseObjectStoreIndex):
(WebInspector.IndexedDatabaseObjectStoreIndex.prototype.get name):
(WebInspector.IndexedDatabaseObjectStoreIndex.prototype.get keyPath):
(WebInspector.IndexedDatabaseObjectStoreIndex.prototype.get unique):
(WebInspector.IndexedDatabaseObjectStoreIndex.prototype.get multiEntry):
(WebInspector.IndexedDatabaseObjectStoreIndex.prototype.get parentObjectStore):
(WebInspector.IndexedDatabaseObjectStoreIndex.prototype.saveIdentityToCookie):
(WebInspector.IndexedDatabaseObjectStoreIndex.prototype.establishRelationship):
* UserInterface/IndexedDatabaseObjectStoreIndexTreeElement.js: Added.
(WebInspector.IndexedDatabaseObjectStoreIndexTreeElement):
(WebInspector.IndexedDatabaseObjectStoreIndexTreeElement.prototype.get objectStoreIndex):
* UserInterface/IndexedDatabaseObjectStoreTreeElement.js: Added.
(WebInspector.IndexedDatabaseObjectStoreTreeElement):
(WebInspector.IndexedDatabaseObjectStoreTreeElement.prototype.get objectStore):
(WebInspector.IndexedDatabaseObjectStoreTreeElement.prototype.oncollapse):
(WebInspector.IndexedDatabaseObjectStoreTreeElement.prototype.onpopulate):
* UserInterface/IndexedDatabaseTreeElement.js: Added.
(WebInspector.IndexedDatabaseTreeElement):
(WebInspector.IndexedDatabaseTreeElement.prototype.get indexedDatabase):
(WebInspector.IndexedDatabaseTreeElement.prototype.oncollapse):
(WebInspector.IndexedDatabaseTreeElement.prototype.onpopulate):
* UserInterface/Main.html:
* UserInterface/Main.js:
(WebInspector.sidebarPanelForRepresentedObject):
* UserInterface/ResourceSidebarPanel.js:
(WebInspector.ResourceSidebarPanel):
(WebInspector.ResourceSidebarPanel.prototype._treeElementSelected):
(WebInspector.ResourceSidebarPanel.prototype._indexedDatabaseWasAdded):
(WebInspector.ResourceSidebarPanel.prototype._storageCleared):
* UserInterface/StorageManager.js:
(WebInspector.StorageManager):
(WebInspector.StorageManager.prototype.initialize):
(WebInspector.StorageManager.prototype.processData):
(WebInspector.StorageManager.prototype.requestIndexedDatabaseData):
(WebInspector.StorageManager.prototype._mainResourceDidChange):
(WebInspector.StorageManager.prototype._addIndexedDBDatabasesIfNeeded.processDatabaseNames):
(WebInspector.StorageManager.prototype._addIndexedDBDatabasesIfNeeded.processDatabase):
(WebInspector.StorageManager.prototype._addIndexedDBDatabasesIfNeeded):
(WebInspector.StorageManager.prototype._addIndexedDBDatabasesIfNeeded.processObjectStore):
(WebInspector.StorageManager.prototype._addIndexedDBDatabasesIfNeeded.processObjectStoreIndex):
(WebInspector.StorageManager.prototype._securityOriginDidChange):
* UserInterface/URLUtilities.js:
(parseSecurityOrigin):

LayoutTests:

* http/tests/inspector-protocol/resources/InspectorTest.js:
(InspectorTest.initializeInspectorModels): Add IndexedDatabase models and StorageManager.
* inspector-protocol/indexeddb/basics-expected.txt: Added.
* inspector-protocol/indexeddb/basics.html: Added.

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