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

Side by Side Diff: Source/devtools/front_end/ui/ShortcutRegistry.js

Issue 311193002: DevTools: Implement debugger pause-resume through an action (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comment Created 6 years, 6 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
« no previous file with comments | « Source/devtools/front_end/sources/module.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @constructor 6 * @constructor
7 * @param {!WebInspector.ActionRegistry} actionRegistry 7 * @param {!WebInspector.ActionRegistry} actionRegistry
8 */ 8 */
9 WebInspector.ShortcutRegistry = function(actionRegistry) 9 WebInspector.ShortcutRegistry = function(actionRegistry)
10 { 10 {
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 var platforms = platformsString.split(","); 194 var platforms = platformsString.split(",");
195 var isMatch = false; 195 var isMatch = false;
196 var currentPlatform = WebInspector.platform(); 196 var currentPlatform = WebInspector.platform();
197 for (var i = 0; !isMatch && i < platforms.length; ++i) 197 for (var i = 0; !isMatch && i < platforms.length; ++i)
198 isMatch = platforms[i] === currentPlatform; 198 isMatch = platforms[i] === currentPlatform;
199 return isMatch; 199 return isMatch;
200 } 200 }
201 } 201 }
202 } 202 }
203 203
204 /**
205 * @constructor
206 */
207 WebInspector.ShortcutRegistry.ForwardedShortcut = function()
208 {
209 }
210
211 WebInspector.ShortcutRegistry.ForwardedShortcut.instance = new WebInspector.Shor tcutRegistry.ForwardedShortcut();
212
204 /** @type {!WebInspector.ShortcutRegistry} */ 213 /** @type {!WebInspector.ShortcutRegistry} */
205 WebInspector.shortcutRegistry; 214 WebInspector.shortcutRegistry;
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sources/module.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698