Web Inspector: separate SuggestBox from TextPrompt
[WebKit-https.git] / Source / WebCore / ChangeLog
index 0ffb7727c28b78cb082a78004cef330bf65265a5..6e477e3d4b564076adcc5818c48e4b0682439893 100644 (file)
@@ -1,3 +1,64 @@
+2013-02-12  Andrey Lushnikov  <lushnikov@chromium.org>
+
+        Web Inspector: separate SuggestBox from TextPrompt
+        https://bugs.webkit.org/show_bug.cgi?id=109430
+
+        Reviewed by Alexander Pavlov.
+
+        Create WebInspector.SuggestBoxDelegate interface and
+        refactor TextPrompt to use this interface. Separate SuggestBox into
+        WebInspector.SuggestBox namespace and put it into its own file.
+
+        No new tests: no change in behaviour.
+
+        * WebCore.gypi:
+        * WebCore.vcproj/WebCore.vcproj:
+        * inspector/compile-front-end.py:
+        * inspector/front-end/SuggestBox.js: Added.
+        (WebInspector.SuggestBoxDelegate):
+        (WebInspector.SuggestBoxDelegate.prototype.applySuggestion):
+        (WebInspector.SuggestBoxDelegate.prototype.acceptSuggestion):
+        (WebInspector.SuggestBoxDelegate.prototype.userEnteredText):
+        (WebInspector.SuggestBox):
+        (WebInspector.SuggestBox.prototype.get visible):
+        (WebInspector.SuggestBox.prototype.get hasSelection):
+        (WebInspector.SuggestBox.prototype._onscrollresize):
+        (WebInspector.SuggestBox.prototype._updateBoxPositionWithExistingAnchor):
+        (WebInspector.SuggestBox.prototype._updateBoxPosition):
+        (WebInspector.SuggestBox.prototype._onboxmousedown):
+        (WebInspector.SuggestBox.prototype.hide):
+        (WebInspector.SuggestBox.prototype.removeFromElement):
+        (WebInspector.SuggestBox.prototype._applySuggestion):
+        (WebInspector.SuggestBox.prototype.acceptSuggestion):
+        (WebInspector.SuggestBox.prototype._selectClosest):
+        (WebInspector.SuggestBox.prototype.updateSuggestions):
+        (WebInspector.SuggestBox.prototype._onItemMouseDown):
+        (WebInspector.SuggestBox.prototype._createItemElement):
+        (WebInspector.SuggestBox.prototype._updateItems):
+        (WebInspector.SuggestBox.prototype._selectItem):
+        (WebInspector.SuggestBox.prototype._canShowBox):
+        (WebInspector.SuggestBox.prototype._rememberRowCountPerViewport):
+        (WebInspector.SuggestBox.prototype._completionsReady):
+        (WebInspector.SuggestBox.prototype.upKeyPressed):
+        (WebInspector.SuggestBox.prototype.downKeyPressed):
+        (WebInspector.SuggestBox.prototype.pageUpKeyPressed):
+        (WebInspector.SuggestBox.prototype.pageDownKeyPressed):
+        (WebInspector.SuggestBox.prototype.enterKeyPressed):
+        (WebInspector.SuggestBox.prototype.tabKeyPressed):
+        * inspector/front-end/TextPrompt.js:
+        (WebInspector.TextPrompt.prototype.userEnteredText):
+        (WebInspector.TextPrompt.prototype._attachInternal):
+        (WebInspector.TextPrompt.prototype._completionsReady):
+        (WebInspector.TextPrompt.prototype.applySuggestion):
+        (WebInspector.TextPrompt.prototype._applySuggestion):
+        (WebInspector.TextPrompt.prototype.enterKeyPressed):
+        (WebInspector.TextPrompt.prototype.upKeyPressed):
+        (WebInspector.TextPrompt.prototype.downKeyPressed):
+        (WebInspector.TextPrompt.prototype.pageUpKeyPressed):
+        (WebInspector.TextPrompt.prototype.pageDownKeyPressed):
+        * inspector/front-end/WebKit.qrc:
+        * inspector/front-end/inspector.html:
+
 2013-02-12  Bruno de Oliveira Abinader  <bruno.abinader@basyskom.com>
 
         [TexMap] Apply frames-per-second debug counter to WK1.