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

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 patch 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
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 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1158 WebInspector.SourcesPanel.UILocationRevealer.prototype = { 1158 WebInspector.SourcesPanel.UILocationRevealer.prototype = {
1159 /** 1159 /**
1160 * @param {!Object} uiLocation 1160 * @param {!Object} uiLocation
1161 */ 1161 */
1162 reveal: function(uiLocation) 1162 reveal: function(uiLocation)
1163 { 1163 {
1164 if (uiLocation instanceof WebInspector.UILocation) 1164 if (uiLocation instanceof WebInspector.UILocation)
1165 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorVie w.panel("sources")).showUILocation(uiLocation); 1165 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorVie w.panel("sources")).showUILocation(uiLocation);
1166 } 1166 }
1167 } 1167 }
1168
1169 /**
1170 * @interface
1171 */
1172 WebInspector.SourcesPanel.EditorAction = function()
pfeldman 2014/03/24 16:54:22 Poor merge
apavlov 2014/03/25 10:03:45 Done.
1173 {
1174 }
1175
1176 WebInspector.SourcesPanel.EditorAction.prototype = {
1177 /**
1178 * @param {!WebInspector.SourcesPanel} panel
1179 * @return {!Element}
1180 */
1181 button: function(panel) { }
1182 }
1183
1184 /**
1185 * @constructor
1186 * @implements {WebInspector.ActionDelegate}
1187 */
1188 WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate = function() {}
1189
1190 WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate.prototype = {
1191 /**
1192 * @param {!KeyboardEvent=} event
1193 * @return {boolean}
1194 */
1195 handleAction: function(event)
1196 {
1197 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorView.sh owPanel("sources")).showGoToSourceDialog();
1198 return true;
1199 }
1200 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698