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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/KeyboardShortcut.js

Issue 2895733002: DevTools: remove unused UI related code (Closed)
Patch Set: Created 3 years, 7 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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 if (typeof descriptor === 'object' && descriptor['code']) { 280 if (typeof descriptor === 'object' && descriptor['code']) {
281 var name = typeof descriptor['name'] === 'string' ? descriptor['name'] : k ey; 281 var name = typeof descriptor['name'] === 'string' ? descriptor['name'] : k ey;
282 UI.KeyboardShortcut.KeyBindings[name] = descriptor; 282 UI.KeyboardShortcut.KeyBindings[name] = descriptor;
283 } 283 }
284 } 284 }
285 })(); 285 })();
286 286
287 287
288 /** @typedef {!{key: number, name: string}} */ 288 /** @typedef {!{key: number, name: string}} */
289 UI.KeyboardShortcut.Descriptor; 289 UI.KeyboardShortcut.Descriptor;
290
291
292 UI.KeyboardShortcut.SelectAll = UI.KeyboardShortcut.makeKey('a', UI.KeyboardShor tcut.Modifiers.CtrlOrMeta);
luoe 2017/05/22 17:50:47 Added, no longer used: https://chromium.googlesour
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698