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

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

Issue 170273003: DevTools: Implement extensions-based shortcut bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 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 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after
1848 { 1848 {
1849 } 1849 }
1850 1850
1851 WebInspector.SourcesPanel.EditorAction.prototype = { 1851 WebInspector.SourcesPanel.EditorAction.prototype = {
1852 /** 1852 /**
1853 * @param {!WebInspector.SourcesPanel} panel 1853 * @param {!WebInspector.SourcesPanel} panel
1854 * @return {!Element} 1854 * @return {!Element}
1855 */ 1855 */
1856 button: function(panel) { } 1856 button: function(panel) { }
1857 } 1857 }
1858
1859 /**
1860 * @constructor
1861 * @implements {WebInspector.ActionDelegate}
1862 */
1863 WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate = function() {}
1864
1865 WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate.prototype = {
1866 /**
1867 * @param {!KeyboardEvent=} event
1868 * @return {boolean}
1869 */
1870 handleAction: function(event)
1871 {
1872 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.showPanel("sourc es")).showGoToSourceDialog();
1873 return true;
1874 }
1875 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698