Changeset 57590 in webkit
- Timestamp:
- Apr 14, 2010 11:18:34 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r57578 r57590 1 2010-04-14 Alexander Pavlov <apavlov@chromium.org> 2 3 Reviewed by Joseph Pecoraro. 4 5 Web Inspector: Ctrl-L (Clear History) does nothing on Windows 6 https://bugs.webkit.org/show_bug.cgi?id=37579 7 8 * inspector/front-end/ConsoleView.js: 9 (WebInspector.ConsoleView): 10 1 11 2010-04-14 Anton Muhin <antonm@chromium.org> 2 12 -
trunk/WebCore/inspector/front-end/ConsoleView.js
r57405 r57590 94 94 95 95 var shortcut; 96 97 shortcut = WebInspector.KeyboardShortcut.makeKey("k", WebInspector.KeyboardShortcut.Modifiers.Meta); 98 // This case requires a separate bound function as its isMacOnly property should not be shared among different shortcut handlers. 99 this._shortcuts[shortcut] = this.requestClearMessages.bind(this); 100 this._shortcuts[shortcut].isMacOnly = true; 101 96 102 var clearConsoleHandler = this.requestClearMessages.bind(this); 97 98 shortcut = WebInspector.KeyboardShortcut.makeKey("k", WebInspector.KeyboardShortcut.Modifiers.Meta);99 this._shortcuts[shortcut] = clearConsoleHandler;100 this._shortcuts[shortcut].isMacOnly = true;101 103 shortcut = WebInspector.KeyboardShortcut.makeKey("l", WebInspector.KeyboardShortcut.Modifiers.Ctrl); 102 104 this._shortcuts[shortcut] = clearConsoleHandler;
Note: See TracChangeset
for help on using the changeset viewer.