Changeset 49315 in webkit
- Timestamp:
- Oct 8, 2009, 1:57:26 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r49314 r49315 1 2009-10-08 Patrick Mueller <Patrick_Mueller@us.ibm.com> 2 3 Reviewed by Timothy Hatcher. 4 5 unselectable resources in resource panel 6 https://bugs.webkit.org/show_bug.cgi?id=30079 7 8 manual test added 9 10 Also changed the way DnD for resources in the Resources panel is 11 handled. 12 13 * inspector/front-end/ResourcesPanel.js: 14 (WebInspector.ResourceSidebarTreeElement.prototype.onattach): 15 (WebInspector.ResourceSidebarTreeElement.prototype.ondragstart): 16 * manual-tests/inspector/duplicate-resource-urls.html: Added. 17 1 18 2009-10-08 Brian Weinstein <bweinstein@apple.com> 2 19 -
trunk/WebCore/inspector/front-end/ResourcesPanel.js
r49072 r49315 1270 1270 WebInspector.SidebarTreeElement.prototype.onattach.call(this); 1271 1271 1272 var link = document.createElement("a");1273 link.href = this.resource.url;1274 link.className = "invisible";1275 while (this._listItemNode.firstChild)1276 link.appendChild(this._listItemNode.firstChild);1277 this._listItemNode.appendChild(link);1278 1272 this._listItemNode.addStyleClass("resources-category-" + this.resource.category.name); 1273 this._listItemNode.draggable = true; 1274 1275 // FIXME: should actually add handler to parent, to be resolved via 1276 // https://bugs.webkit.org/show_bug.cgi?id=30227 1277 this._listItemNode.addEventListener("dragstart", this.ondragstart.bind(this), false); 1279 1278 }, 1280 1279 … … 1287 1286 { 1288 1287 InjectedScriptAccess.openInInspectedWindow(this.resource.url, function() {}); 1288 }, 1289 1290 ondragstart: function(event) { 1291 event.dataTransfer.setData("text/plain", this.resource.url); 1292 event.dataTransfer.setData("text/uri-list", this.resource.url + "\r\n"); 1293 event.dataTransfer.effectAllowed = "copy"; 1294 return true; 1289 1295 }, 1290 1296 -
trunk/WebCore/inspector/front-end/inspector.css
r49310 r49315 827 827 } 828 828 829 .invisible {830 color: inherit;831 text-decoration: none;832 }833 834 829 .webkit-line-gutter-backdrop { 835 830 /* Keep this in sync with view-source.css (.webkit-line-gutter-backdrop) */
Note:
See TracChangeset
for help on using the changeset viewer.