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

Unified Diff: Source/devtools/front_end/sources/WorkspaceMappingTip.js

Issue 659403006: DevTools: do not consider ? a shortcut while editing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/sources/WorkspaceMappingTip.js
diff --git a/Source/devtools/front_end/sources/WorkspaceMappingTip.js b/Source/devtools/front_end/sources/WorkspaceMappingTip.js
index 19a68b4f44d1773d56c8d1c914bfdfdc128b4e56..7d067dd92b8a056ad2f77da006aebd1b618129d1 100644
--- a/Source/devtools/front_end/sources/WorkspaceMappingTip.js
+++ b/Source/devtools/front_end/sources/WorkspaceMappingTip.js
@@ -48,17 +48,17 @@ WebInspector.WorkspaceMappingTip.prototype = {
var hasMappings = !!uiSourceCode.url;
if (hasMappings)
return;
- }
- var networkProjects = this._workspace.projectsForType(WebInspector.projectTypes.Network);
- networkProjects = networkProjects.concat(this._workspace.projectsForType(WebInspector.projectTypes.ContentScripts));
- for (var i = 0; i < networkProjects.length; ++i) {
- var name = uiSourceCode.name();
- var networkUiSourceCodes = networkProjects[i].uiSourceCodes();
- for (var j = 0; j < networkUiSourceCodes.length; ++j) {
- if (networkUiSourceCodes[j].name() === name) {
- this._createMappingInfobar(uiSourceCode, false);
- return;
+ var networkProjects = this._workspace.projectsForType(WebInspector.projectTypes.Network);
+ networkProjects = networkProjects.concat(this._workspace.projectsForType(WebInspector.projectTypes.ContentScripts));
+ for (var i = 0; i < networkProjects.length; ++i) {
+ var name = uiSourceCode.name();
+ var networkUiSourceCodes = networkProjects[i].uiSourceCodes();
+ for (var j = 0; j < networkUiSourceCodes.length; ++j) {
+ if (networkUiSourceCodes[j].name() === name) {
+ this._createMappingInfobar(uiSourceCode, false);
+ return;
+ }
}
}
}
« no previous file with comments | « Source/devtools/front_end/source_frame/CodeMirrorTextEditor.js ('k') | Source/devtools/front_end/ui/ShortcutRegistry.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698