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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js

Issue 2741683002: Devtools: Move CommandMenu into QuickOpen dialog (Closed)
Patch Set: Move CommandMenu into QuickOpen dialog Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/quick_open/module.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 };
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/quick_open/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698