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

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, 3 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 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 834
835 /** 835 /**
836 * @param {string} side 836 * @param {string} side
837 */ 837 */
838 function setDockSide(side) 838 function setDockSide(side)
839 { 839 {
840 WebInspector.dockController.setDockSide(side); 840 WebInspector.dockController.setDockSide(side);
841 contextMenu.discard(); 841 contextMenu.discard();
842 } 842 }
843 843
844 contextMenu.appendAction(WebInspector.inspectorView.drawerVisible() ? We bInspector.UIString("Hide console") : WebInspector.UIString("Show console"), "ma in.toggle-drawer"); 844 contextMenu.appendAction("main.toggle-drawer", WebInspector.inspectorVie w.drawerVisible() ? WebInspector.UIString("Hide console") : WebInspector.UIStrin g("Show console"));
845 contextMenu.appendItemsAtLocation("mainMenu"); 845 contextMenu.appendItemsAtLocation("mainMenu");
846 contextMenu.show(); 846 contextMenu.show();
847 } 847 }
848 } 848 }
849 849
850 /** 850 /**
851 * @constructor 851 * @constructor
852 */ 852 */
853 WebInspector.ThrottlingIndicator = function() 853 WebInspector.ThrottlingIndicator = function()
854 { 854 {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 p.classList.add("help-section"); 934 p.classList.add("help-section");
935 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); 935 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically.");
936 } 936 }
937 937
938 WebInspector.WorkerTerminatedScreen.prototype = { 938 WebInspector.WorkerTerminatedScreen.prototype = {
939 939
940 __proto__: WebInspector.HelpScreen.prototype 940 __proto__: WebInspector.HelpScreen.prototype
941 } 941 }
942 942
943 new WebInspector.Main(); 943 new WebInspector.Main();
OLDNEW
« no previous file with comments | « Source/devtools/front_end/console/module.json ('k') | Source/devtools/front_end/profiler/ProfilesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698