| 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 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1173 var node = this.messagesElement.firstChild; | 1173 var node = this.messagesElement.firstChild; |
| 1174 while (node) { | 1174 while (node) { |
| 1175 if (node.classList.contains("console-message") && node.message) | 1175 if (node.classList.contains("console-message") && node.message) |
| 1176 node.message.wasShown(); | 1176 node.message.wasShown(); |
| 1177 if (node.classList.contains("console-group") && node.group) | 1177 if (node.classList.contains("console-group") && node.group) |
| 1178 node.group.wasShown(); | 1178 node.group.wasShown(); |
| 1179 node = node.nextSibling; | 1179 node = node.nextSibling; |
| 1180 } | 1180 } |
| 1181 } | 1181 } |
| 1182 } | 1182 } |
| 1183 |
| 1184 /** |
| 1185 * @constructor |
| 1186 * @implements {WebInspector.ActionDelegate} |
| 1187 */ |
| 1188 WebInspector.ConsoleView.ShowConsoleActionDelegate = function() |
| 1189 { |
| 1190 } |
| 1191 |
| 1192 WebInspector.ConsoleView.ShowConsoleActionDelegate.prototype = { |
| 1193 /** |
| 1194 * @return {boolean} |
| 1195 */ |
| 1196 handleAction: function() |
| 1197 { |
| 1198 WebInspector.console.show(); |
| 1199 return true; |
| 1200 } |
| 1201 } |
| OLD | NEW |