Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: inspector/front-end/ResourcesPanel.js

Issue 542055: DevTools: injected script per context(WebCore part) (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « inspector/front-end/PropertiesSidebarPane.js ('k') | inspector/front-end/ScriptsPanel.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « inspector/front-end/PropertiesSidebarPane.js ('k') | inspector/front-end/ScriptsPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698