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

Side by Side Diff: Source/devtools/front_end/TextEditor.js

Issue 218613013: DevTools: Decouple shortcuts from actions, introduce shortcut contexts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments - take 1 Created 6 years, 8 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2010 Apple 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 */ 324 */
325 selectionChanged: function(textRange) { }, 325 selectionChanged: function(textRange) { },
326 326
327 /** 327 /**
328 * @param {number} lineNumber 328 * @param {number} lineNumber
329 */ 329 */
330 scrollChanged: function(lineNumber) { }, 330 scrollChanged: function(lineNumber) { },
331 331
332 editorFocused: function() { }, 332 editorFocused: function() { },
333 333
334 editorBlurred: function() { },
335
334 /** 336 /**
335 * @param {!WebInspector.ContextMenu} contextMenu 337 * @param {!WebInspector.ContextMenu} contextMenu
336 * @param {number} lineNumber 338 * @param {number} lineNumber
337 */ 339 */
338 populateLineGutterContextMenu: function(contextMenu, lineNumber) { }, 340 populateLineGutterContextMenu: function(contextMenu, lineNumber) { },
339 341
340 /** 342 /**
341 * @param {!WebInspector.ContextMenu} contextMenu 343 * @param {!WebInspector.ContextMenu} contextMenu
342 * @param {number} lineNumber 344 * @param {number} lineNumber
343 */ 345 */
(...skipping 18 matching lines...) Expand all
362 */ 364 */
363 WebInspector.TokenizerFactory = function() { } 365 WebInspector.TokenizerFactory = function() { }
364 366
365 WebInspector.TokenizerFactory.prototype = { 367 WebInspector.TokenizerFactory.prototype = {
366 /** 368 /**
367 * @param {string} mimeType 369 * @param {string} mimeType
368 * @return {function(string, function(string, ?string, number, number))} 370 * @return {function(string, function(string, ?string, number, number))}
369 */ 371 */
370 createTokenizer: function(mimeType) { } 372 createTokenizer: function(mimeType) { }
371 } 373 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698