| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
| 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 default: | 611 default: |
| 612 return new WebInspector.ConsoleViewMessage(message, this._linkifier,
nestingLevel); | 612 return new WebInspector.ConsoleViewMessage(message, this._linkifier,
nestingLevel); |
| 613 } | 613 } |
| 614 }, | 614 }, |
| 615 | 615 |
| 616 _consoleCleared: function() | 616 _consoleCleared: function() |
| 617 { | 617 { |
| 618 this._clearCurrentSearchResultHighlight(); | 618 this._clearCurrentSearchResultHighlight(); |
| 619 this._consoleMessages = []; | 619 this._consoleMessages = []; |
| 620 this._updateMessageList(); | 620 this._updateMessageList(); |
| 621 this._prompt.hideSuggestBox(); |
| 622 this._prompt.clearAutoComplete(true); |
| 621 | 623 |
| 622 if (this._searchRegex) | 624 if (this._searchRegex) |
| 623 this._searchableView.updateSearchMatchesCount(0); | 625 this._searchableView.updateSearchMatchesCount(0); |
| 624 | 626 |
| 625 this._linkifier.reset(); | 627 this._linkifier.reset(); |
| 626 }, | 628 }, |
| 627 | 629 |
| 628 _handleContextMenuEvent: function(event) | 630 _handleContextMenuEvent: function(event) |
| 629 { | 631 { |
| 630 if (event.target.enclosingNodeOrSelfWithNodeName("a")) | 632 if (event.target.enclosingNodeOrSelfWithNodeName("a")) |
| (...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1310 /** | 1312 /** |
| 1311 * @override | 1313 * @override |
| 1312 * @return {boolean} | 1314 * @return {boolean} |
| 1313 */ | 1315 */ |
| 1314 handleAction: function() | 1316 handleAction: function() |
| 1315 { | 1317 { |
| 1316 WebInspector.console.show(); | 1318 WebInspector.console.show(); |
| 1317 return true; | 1319 return true; |
| 1318 } | 1320 } |
| 1319 } | 1321 } |
| OLD | NEW |