| 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) 2008, 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> |
| 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 966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 977 this.updateErrorsAndWarnings(); | 977 this.updateErrorsAndWarnings(); |
| 978 }, | 978 }, |
| 979 | 979 |
| 980 onselect: function() | 980 onselect: function() |
| 981 { | 981 { |
| 982 WebInspector.panels.resources.showResource(this.resource); | 982 WebInspector.panels.resources.showResource(this.resource); |
| 983 }, | 983 }, |
| 984 | 984 |
| 985 ondblclick: function(event) | 985 ondblclick: function(event) |
| 986 { | 986 { |
| 987 InjectedScriptAccess.openInInspectedWindow(this.resource.url, function()
{}); | 987 InjectedScriptAccess.getDefault().openInInspectedWindow(this.resource.ur
l, function() {}); |
| 988 }, | 988 }, |
| 989 | 989 |
| 990 ondragstart: function(event) { | 990 ondragstart: function(event) { |
| 991 event.dataTransfer.setData("text/plain", this.resource.url); | 991 event.dataTransfer.setData("text/plain", this.resource.url); |
| 992 event.dataTransfer.setData("text/uri-list", this.resource.url + "\r\n"); | 992 event.dataTransfer.setData("text/uri-list", this.resource.url + "\r\n"); |
| 993 event.dataTransfer.effectAllowed = "copy"; | 993 event.dataTransfer.effectAllowed = "copy"; |
| 994 return true; | 994 return true; |
| 995 }, | 995 }, |
| 996 | 996 |
| 997 get mainTitle() | 997 get mainTitle() |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1237 this._labelLeftElement.textContent = labels.left; | 1237 this._labelLeftElement.textContent = labels.left; |
| 1238 this._labelRightElement.textContent = labels.right; | 1238 this._labelRightElement.textContent = labels.right; |
| 1239 | 1239 |
| 1240 var tooltip = (labels.tooltip || ""); | 1240 var tooltip = (labels.tooltip || ""); |
| 1241 this._barLeftElement.title = tooltip; | 1241 this._barLeftElement.title = tooltip; |
| 1242 this._labelLeftElement.title = tooltip; | 1242 this._labelLeftElement.title = tooltip; |
| 1243 this._labelRightElement.title = tooltip; | 1243 this._labelRightElement.title = tooltip; |
| 1244 this._barRightElement.title = tooltip; | 1244 this._barRightElement.title = tooltip; |
| 1245 } | 1245 } |
| 1246 } | 1246 } |
| OLD | NEW |