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

Side by Side Diff: Source/devtools/front_end/main/Main.js

Issue 1273363002: Devtools UI: Show multiple shortcuts, show more shortcuts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 835
836 /** 836 /**
837 * @param {string} side 837 * @param {string} side
838 */ 838 */
839 function setDockSide(side) 839 function setDockSide(side)
840 { 840 {
841 WebInspector.dockController.setDockSide(side); 841 WebInspector.dockController.setDockSide(side);
842 contextMenu.discard(); 842 contextMenu.discard();
843 } 843 }
844 844
845 contextMenu.appendAction(WebInspector.inspectorView.drawerVisible() ? We bInspector.UIString("Hide console") : WebInspector.UIString("Show console"), "ma in.toggle-drawer"); 845 contextMenu.appendAction("main.toggle-drawer", WebInspector.inspectorVie w.drawerVisible() ? WebInspector.UIString("Hide console") : WebInspector.UIStrin g("Show console"));
846 contextMenu.appendItemsAtLocation("mainMenu"); 846 contextMenu.appendItemsAtLocation("mainMenu");
847 contextMenu.show(); 847 contextMenu.show();
848 } 848 }
849 } 849 }
850 850
851 /** 851 /**
852 * @constructor 852 * @constructor
853 */ 853 */
854 WebInspector.ThrottlingIndicator = function() 854 WebInspector.ThrottlingIndicator = function()
855 { 855 {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 p.classList.add("help-section"); 935 p.classList.add("help-section");
936 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); 936 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically.");
937 } 937 }
938 938
939 WebInspector.WorkerTerminatedScreen.prototype = { 939 WebInspector.WorkerTerminatedScreen.prototype = {
940 940
941 __proto__: WebInspector.HelpScreen.prototype 941 __proto__: WebInspector.HelpScreen.prototype
942 } 942 }
943 943
944 new WebInspector.Main(); 944 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698