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

Unified Diff: Source/devtools/front_end/AdvancedSearchView.js

Issue 218613013: DevTools: Decouple shortcuts from actions, introduce shortcut contexts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased patch Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/ActionRegistry.js ('k') | Source/devtools/front_end/Context.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/AdvancedSearchView.js
diff --git a/Source/devtools/front_end/AdvancedSearchView.js b/Source/devtools/front_end/AdvancedSearchView.js
index 9d39fb73a386742827bd8d3634330e106fe191f5..64f6fd4fd74f1be027ca72c55c05fb3832b21079 100644
--- a/Source/devtools/front_end/AdvancedSearchView.js
+++ b/Source/devtools/front_end/AdvancedSearchView.js
@@ -362,13 +362,10 @@ WebInspector.AdvancedSearchView.ToggleDrawerViewActionDelegate = function()
WebInspector.AdvancedSearchView.ToggleDrawerViewActionDelegate.prototype = {
/**
- * @param {!Event} event
* @return {boolean}
*/
- handleAction: function(event)
+ handleAction: function()
{
- if (WebInspector.Dialog.currentInstance())
- return false;
var searchView = this._searchView();
if (!searchView)
return false;
« no previous file with comments | « Source/devtools/front_end/ActionRegistry.js ('k') | Source/devtools/front_end/Context.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698