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

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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 839
840 /** 840 /**
841 * @param {string} side 841 * @param {string} side
842 */ 842 */
843 function setDockSide(side) 843 function setDockSide(side)
844 { 844 {
845 WebInspector.dockController.setDockSide(side); 845 WebInspector.dockController.setDockSide(side);
846 contextMenu.discard(); 846 contextMenu.discard();
847 } 847 }
848 848
849 contextMenu.appendAction(WebInspector.inspectorView.drawerVisible() ? We bInspector.UIString("Hide console") : WebInspector.UIString("Show console"), "ma in.toggle-drawer"); 849 contextMenu.appendAction("main.toggle-drawer", WebInspector.inspectorVie w.drawerVisible() ? WebInspector.UIString("Hide console") : WebInspector.UIStrin g("Show console"));
850 contextMenu.appendItemsAtLocation("mainMenu"); 850 contextMenu.appendItemsAtLocation("mainMenu");
851 contextMenu.show(); 851 contextMenu.show();
852 } 852 }
853 } 853 }
854 854
855 /** 855 /**
856 * @constructor 856 * @constructor
857 */ 857 */
858 WebInspector.ThrottlingIndicator = function() 858 WebInspector.ThrottlingIndicator = function()
859 { 859 {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 p.classList.add("help-section"); 939 p.classList.add("help-section");
940 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); 940 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically.");
941 } 941 }
942 942
943 WebInspector.WorkerTerminatedScreen.prototype = { 943 WebInspector.WorkerTerminatedScreen.prototype = {
944 944
945 __proto__: WebInspector.HelpScreen.prototype 945 __proto__: WebInspector.HelpScreen.prototype
946 } 946 }
947 947
948 new WebInspector.Main(); 948 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698