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

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: Rebased Created 6 years, 9 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/SettingsScreen.js ('k') | Source/devtools/front_end/modules.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 WebInspector.SourcesPanel.UILocationRevealer.prototype = { 1214 WebInspector.SourcesPanel.UILocationRevealer.prototype = {
1215 /** 1215 /**
1216 * @param {!Object} uiLocation 1216 * @param {!Object} uiLocation
1217 */ 1217 */
1218 reveal: function(uiLocation) 1218 reveal: function(uiLocation)
1219 { 1219 {
1220 if (uiLocation instanceof WebInspector.UILocation) 1220 if (uiLocation instanceof WebInspector.UILocation)
1221 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorVie w.panel("sources")).showUILocation(uiLocation); 1221 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorVie w.panel("sources")).showUILocation(uiLocation);
1222 } 1222 }
1223 } 1223 }
1224
1225 /**
1226 * @constructor
1227 * @implements {WebInspector.ActionDelegate}
1228 */
1229 WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate = function() {}
1230
1231 WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate.prototype = {
1232 /**
1233 * @return {boolean}
1234 */
1235 handleAction: function()
1236 {
1237 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorView.sh owPanel("sources")).showGoToSourceDialog();
1238 return true;
1239 }
1240 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/SettingsScreen.js ('k') | Source/devtools/front_end/modules.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698