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

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

Issue 218613013: DevTools: Decouple shortcuts from actions, introduce shortcut contexts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments, handle Dialog key events in the glasspane keydown handler 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
Index: Source/devtools/front_end/SettingsScreen.js
diff --git a/Source/devtools/front_end/SettingsScreen.js b/Source/devtools/front_end/SettingsScreen.js
index 70a2de37204e9774707ab858a47fa3cdce588e16..da1d496dd98975ba3e72197a4157dd10cd4f0718 100644
--- a/Source/devtools/front_end/SettingsScreen.js
+++ b/Source/devtools/front_end/SettingsScreen.js
@@ -662,9 +662,10 @@ WebInspector.SettingsController.SettingsScreenActionDelegate = function() { }
WebInspector.SettingsController.SettingsScreenActionDelegate.prototype = {
/**
+ * @param {!WebInspector.Context} context
* @return {boolean}
*/
- handleAction: function()
+ handleAction: function(context)
{
WebInspector.settingsController.showSettingsScreen(WebInspector.SettingsScreen.Tabs.General);
return true;

Powered by Google App Engine
This is Rietveld 408576698