| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 /** | 4 /** |
| 5 * @unrestricted | 5 * @unrestricted |
| 6 */ | 6 */ |
| 7 QuickOpen.CommandMenu = class { | 7 QuickOpen.CommandMenu = class { |
| 8 constructor() { | 8 constructor() { |
| 9 this._commands = []; | 9 this._commands = []; |
| 10 this._loadCommands(); | 10 this._loadCommands(); |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 * @unrestricted | 301 * @unrestricted |
| 302 */ | 302 */ |
| 303 QuickOpen.CommandMenu.ShowActionDelegate = class { | 303 QuickOpen.CommandMenu.ShowActionDelegate = class { |
| 304 /** | 304 /** |
| 305 * @override | 305 * @override |
| 306 * @param {!UI.Context} context | 306 * @param {!UI.Context} context |
| 307 * @param {string} actionId | 307 * @param {string} actionId |
| 308 * @return {boolean} | 308 * @return {boolean} |
| 309 */ | 309 */ |
| 310 handleAction(context, actionId) { | 310 handleAction(context, actionId) { |
| 311 new QuickOpen.FilteredListWidget(new QuickOpen.CommandMenuProvider()).showAs
Dialog(); | 311 QuickOpen.QuickOpen.show('>'); |
| 312 InspectorFrontendHost.bringToFront(); | |
| 313 return true; | 312 return true; |
| 314 } | 313 } |
| 315 }; | 314 }; |
| OLD | NEW |