OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Apple Inc. All rights reserved. | 3 * Copyright (C) 2010 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 removeAttribute: function(line, name) { }, | 268 removeAttribute: function(line, name) { }, |
269 | 269 |
270 wasShown: function() { }, | 270 wasShown: function() { }, |
271 | 271 |
272 willHide: function() { }, | 272 willHide: function() { }, |
273 | 273 |
274 /** | 274 /** |
275 * @param {?WebInspector.CompletionDictionary} dictionary | 275 * @param {?WebInspector.CompletionDictionary} dictionary |
276 */ | 276 */ |
277 setCompletionDictionary: function(dictionary) { }, | 277 setCompletionDictionary: function(dictionary) { }, |
| 278 |
| 279 /** |
| 280 * @param {number} lineNumber |
| 281 * @param {number} columnNumber |
| 282 * @return {?WebInspector.TextEditorPositionHandle} |
| 283 */ |
| 284 textEditorPositionHandle: function(lineNumber, columnNumber) { } |
278 } | 285 } |
279 | 286 |
280 /** | 287 /** |
| 288 * @interface |
| 289 */ |
| 290 WebInspector.TextEditorPositionHandle = function() |
| 291 { |
| 292 } |
| 293 |
| 294 WebInspector.TextEditorPositionHandle.prototype = { |
| 295 /** |
| 296 * @return {?{lineNumber: number, columnNumber: number}} |
| 297 */ |
| 298 resolve: function() { }, |
| 299 |
| 300 /** |
| 301 * @param {!WebInspector.TextEditorPositionHandle} positionHandle |
| 302 * @return {boolean} |
| 303 */ |
| 304 equal: function(positionHandle) { } |
| 305 } |
| 306 |
| 307 /** |
281 * @interface | 308 * @interface |
282 */ | 309 */ |
283 WebInspector.TextEditorDelegate = function() | 310 WebInspector.TextEditorDelegate = function() |
284 { | 311 { |
285 } | 312 } |
286 | 313 |
287 WebInspector.TextEditorDelegate.prototype = { | 314 WebInspector.TextEditorDelegate.prototype = { |
288 /** | 315 /** |
289 * @param {!WebInspector.TextRange} oldRange | 316 * @param {!WebInspector.TextRange} oldRange |
290 * @param {!WebInspector.TextRange} newRange | 317 * @param {!WebInspector.TextRange} newRange |
(...skipping 22 matching lines...) Expand all Loading... |
313 * @param {!WebInspector.ContextMenu} contextMenu | 340 * @param {!WebInspector.ContextMenu} contextMenu |
314 * @param {number} lineNumber | 341 * @param {number} lineNumber |
315 */ | 342 */ |
316 populateTextAreaContextMenu: function(contextMenu, lineNumber) { }, | 343 populateTextAreaContextMenu: function(contextMenu, lineNumber) { }, |
317 | 344 |
318 /** | 345 /** |
319 * @param {string} hrefValue | 346 * @param {string} hrefValue |
320 * @param {boolean} isExternal | 347 * @param {boolean} isExternal |
321 * @return {!Element} | 348 * @return {!Element} |
322 */ | 349 */ |
323 createLink: function(hrefValue, isExternal) { } | 350 createLink: function(hrefValue, isExternal) { }, |
| 351 |
| 352 /** |
| 353 * @param {?WebInspector.TextRange} from |
| 354 * @param {?WebInspector.TextRange} to |
| 355 */ |
| 356 onJumpToPosition: function(from, to) { } |
324 } | 357 } |
OLD | NEW |