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

Side by Side Diff: Source/devtools/front_end/components/ShortcutsScreen.js

Issue 659573005: DevTools: NetworkPanel: show link where resource timing is explained. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 view.element.className = "settings-tab-container"; // Override 69 view.element.className = "settings-tab-container"; // Override
70 view.element.createChild("header").createChild("h3").createTextChild(Web Inspector.UIString("Shortcuts")); 70 view.element.createChild("header").createChild("h3").createTextChild(Web Inspector.UIString("Shortcuts"));
71 var scrollPane = view.element.createChild("div", "help-container-wrapper "); 71 var scrollPane = view.element.createChild("div", "help-container-wrapper ");
72 var container = scrollPane.createChild("div"); 72 var container = scrollPane.createChild("div");
73 container.className = "help-content help-container"; 73 container.className = "help-content help-container";
74 for (var i = 0; i < orderedSections.length; ++i) 74 for (var i = 0; i < orderedSections.length; ++i)
75 orderedSections[i].renderSection(container); 75 orderedSections[i].renderSection(container);
76 76
77 var note = scrollPane.createChild("p", "help-footnote"); 77 var note = scrollPane.createChild("p", "help-footnote");
78 var noteLink = note.createChild("a"); 78 note.appendChild(WebInspector.createDocumentationAnchor("shortcuts", Web Inspector.UIString("Full list of keyboard shortcuts and gestures")));
79 noteLink.href = "https://developers.google.com/chrome-developer-tools/do cs/shortcuts";
80 noteLink.target = "_blank";
81 noteLink.createTextChild(WebInspector.UIString("Full list of keyboard sh ortcuts and gestures"));
82 79
83 return view; 80 return view;
84 } 81 }
85 } 82 }
86 83
87 /** 84 /**
88 * We cannot initialize it here as localized strings are not loaded yet. 85 * We cannot initialize it here as localized strings are not loaded yet.
89 * @type {!WebInspector.ShortcutsScreen} 86 * @type {!WebInspector.ShortcutsScreen}
90 */ 87 */
91 WebInspector.shortcutsScreen; 88 WebInspector.shortcutsScreen;
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 Left: [ 537 Left: [
541 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Left), 538 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Left),
542 WebInspector.KeyboardShortcut.makeDescriptor("a") 539 WebInspector.KeyboardShortcut.makeDescriptor("a")
543 ], 540 ],
544 541
545 Right: [ 542 Right: [
546 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Right), 543 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Right),
547 WebInspector.KeyboardShortcut.makeDescriptor("d") 544 WebInspector.KeyboardShortcut.makeDescriptor("d")
548 ] 545 ]
549 } 546 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/audits/AuditFormatters.js ('k') | Source/devtools/front_end/components/helpScreen.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698