| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * @constructor | 8 * @constructor |
| 9 * @extends {WebInspector.FilteredListWidget.Delegate} | 9 * @extends {WebInspector.FilteredListWidget.Delegate} |
| 10 * @param {!WebInspector.UISourceCode} uiSourceCode | 10 * @param {!WebInspector.UISourceCode} uiSourceCode |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 */ | 108 */ |
| 109 selectItem: function(itemIndex, promptValue) | 109 selectItem: function(itemIndex, promptValue) |
| 110 { | 110 { |
| 111 if (itemIndex === null) | 111 if (itemIndex === null) |
| 112 return; | 112 return; |
| 113 var lineNumber = this._functionItems[itemIndex].line; | 113 var lineNumber = this._functionItems[itemIndex].line; |
| 114 if (!isNaN(lineNumber) && lineNumber >= 0) | 114 if (!isNaN(lineNumber) && lineNumber >= 0) |
| 115 this._selectItemCallback(lineNumber, this._functionItems[itemIndex].
column); | 115 this._selectItemCallback(lineNumber, this._functionItems[itemIndex].
column); |
| 116 }, | 116 }, |
| 117 | 117 |
| 118 /** |
| 119 * @override |
| 120 */ |
| 118 dispose: function() | 121 dispose: function() |
| 119 { | 122 { |
| 120 }, | 123 }, |
| 121 | 124 |
| 122 __proto__: WebInspector.FilteredListWidget.Delegate.prototype | 125 __proto__: WebInspector.FilteredListWidget.Delegate.prototype |
| 123 }; | 126 }; |
| 124 | 127 |
| 125 /** | 128 /** |
| 126 * @typedef {{isLastChunk: boolean, chunk: !Array.<!{selectorText: string, lineN
umber: number, columnNumber: number}>}} | 129 * @typedef {{isLastChunk: boolean, chunk: !Array.<!{selectorText: string, lineN
umber: number, columnNumber: number}>}} |
| 127 */ | 130 */ |
| 128 WebInspector.JavaScriptOutlineDialog.MessageEventData; | 131 WebInspector.JavaScriptOutlineDialog.MessageEventData; |
| OLD | NEW |