| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1214 WebInspector.SourcesPanel.UILocationRevealer.prototype = { | 1214 WebInspector.SourcesPanel.UILocationRevealer.prototype = { |
| 1215 /** | 1215 /** |
| 1216 * @param {!Object} uiLocation | 1216 * @param {!Object} uiLocation |
| 1217 */ | 1217 */ |
| 1218 reveal: function(uiLocation) | 1218 reveal: function(uiLocation) |
| 1219 { | 1219 { |
| 1220 if (uiLocation instanceof WebInspector.UILocation) | 1220 if (uiLocation instanceof WebInspector.UILocation) |
| 1221 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorVie
w.panel("sources")).showUILocation(uiLocation); | 1221 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorVie
w.panel("sources")).showUILocation(uiLocation); |
| 1222 } | 1222 } |
| 1223 } | 1223 } |
| 1224 |
| 1225 /** |
| 1226 * @constructor |
| 1227 * @implements {WebInspector.ActionDelegate} |
| 1228 */ |
| 1229 WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate = function() {} |
| 1230 |
| 1231 WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate.prototype = { |
| 1232 /** |
| 1233 * @return {boolean} |
| 1234 */ |
| 1235 handleAction: function() |
| 1236 { |
| 1237 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorView.sh
owPanel("sources")).showGoToSourceDialog(); |
| 1238 return true; |
| 1239 } |
| 1240 } |
| OLD | NEW |