| Index: third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js b/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js
|
| index c07024edf47b082da9b18bd02f747203a1ec0ea4..846be546a55d2722534b74b03e4cb4d09d973c28 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js
|
| @@ -31,18 +31,14 @@
|
| * @constructor
|
| * @extends {WebInspector.Object}
|
| * @implements {WebInspector.SuggestBoxDelegate}
|
| - * @param {function(!Element, !Range, boolean, function(!Array.<string>, number=))} completions
|
| - * @param {string=} stopCharacters
|
| */
|
| -WebInspector.TextPrompt = function(completions, stopCharacters)
|
| +WebInspector.TextPrompt = function()
|
| {
|
| /**
|
| * @type {!Element|undefined}
|
| */
|
| this._proxyElement;
|
| this._proxyElementDisplay = "inline-block";
|
| - this._loadCompletions = completions;
|
| - this._completionStopCharacters = stopCharacters || " =:[({;,!+-*/&|^<>.";
|
| this._autocompletionTimeout = WebInspector.TextPrompt.DefaultAutocompletionTimeout;
|
| this._title = "";
|
| this._previousText = "";
|
| @@ -60,6 +56,16 @@ WebInspector.TextPrompt.Events = {
|
|
|
| WebInspector.TextPrompt.prototype = {
|
| /**
|
| + * @param {function(!Element, !Range, boolean, function(!Array.<string>, number=))} completions
|
| + * @param {string=} stopCharacters
|
| + */
|
| + initialize: function(completions, stopCharacters)
|
| + {
|
| + this._loadCompletions = completions;
|
| + this._completionStopCharacters = stopCharacters || " =:[({;,!+-*/&|^<>.";
|
| + },
|
| +
|
| + /**
|
| * @param {number} timeout
|
| */
|
| setAutocompletionTimeout: function(timeout)
|
|
|