Title: [106236] trunk/Source/WebCore
Revision
106236
Author
vse...@chromium.org
Date
2012-01-30 05:02:57 -0800 (Mon, 30 Jan 2012)

Log Message

Web Inspector: Change Open Resource and Go To function shortcuts in scripts panel.
https://bugs.webkit.org/show_bug.cgi?id=77321

Reviewed by Pavel Feldman.

* inspector/front-end/FilteredItemSelectionDialog.js:
(WebInspector._javascript_OutlineDialog.createShortcut):
(WebInspector.OpenResourceDialog.createShortcut):
* inspector/front-end/ScriptsPanel.js:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (106235 => 106236)


--- trunk/Source/WebCore/ChangeLog	2012-01-30 13:00:50 UTC (rev 106235)
+++ trunk/Source/WebCore/ChangeLog	2012-01-30 13:02:57 UTC (rev 106236)
@@ -1,3 +1,15 @@
+2012-01-30  Vsevolod Vlasov  <vse...@chromium.org>
+
+        Web Inspector: Change Open Resource and Go To function shortcuts in scripts panel.
+        https://bugs.webkit.org/show_bug.cgi?id=77321
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/FilteredItemSelectionDialog.js:
+        (WebInspector._javascript_OutlineDialog.createShortcut):
+        (WebInspector.OpenResourceDialog.createShortcut):
+        * inspector/front-end/ScriptsPanel.js:
+
 2012-01-30  Yury Semikhatsky  <yu...@chromium.org>
 
         Web Inspector: hide function popover in heap snapshot view before navigating to the function definition

Modified: trunk/Source/WebCore/inspector/front-end/FilteredItemSelectionDialog.js (106235 => 106236)


--- trunk/Source/WebCore/inspector/front-end/FilteredItemSelectionDialog.js	2012-01-30 13:00:50 UTC (rev 106235)
+++ trunk/Source/WebCore/inspector/front-end/FilteredItemSelectionDialog.js	2012-01-30 13:02:57 UTC (rev 106236)
@@ -515,7 +515,7 @@
 
 WebInspector._javascript_OutlineDialog.createShortcut = function()
 {
-    return WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta);
+    return WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta | WebInspector.KeyboardShortcut.Modifiers.Shift);
 }
 
 WebInspector._javascript_OutlineDialog.prototype = {
@@ -636,7 +636,7 @@
 
 WebInspector.OpenResourceDialog.createShortcut = function()
 {
-    return WebInspector.KeyboardShortcut.makeDescriptor("t", WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta | WebInspector.KeyboardShortcut.Modifiers.Shift);
+    return WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta);
 }
 
 WebInspector.OpenResourceDialog.prototype = {

Modified: trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js (106235 => 106236)


--- trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js	2012-01-30 13:00:50 UTC (rev 106235)
+++ trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js	2012-01-30 13:02:57 UTC (rev 106236)
@@ -131,12 +131,12 @@
     helpSection.addKey(evaluateInConsoleShortcut.name, WebInspector.UIString("Evaluate selection in console"));
     this.registerShortcut(evaluateInConsoleShortcut.key, this._evaluateSelectionInConsole.bind(this));
 
+    var openResourceShortcut = WebInspector.OpenResourceDialog.createShortcut();
+    helpSection.addKey(openResourceShortcut.name, WebInspector.UIString("Open Script"));
+
     var scriptOutlineShortcut = WebInspector._javascript_OutlineDialog.createShortcut();
     helpSection.addKey(scriptOutlineShortcut.name, WebInspector.UIString("Go to Function"));
 
-    var openResourceShortcut = WebInspector.OpenResourceDialog.createShortcut();
-    helpSection.addKey(openResourceShortcut.name, WebInspector.UIString("Open Script"));
-
     var panelEnablerHeading = WebInspector.UIString("You need to enable debugging before you can use the Scripts panel.");
     var panelEnablerDisclaimer = WebInspector.UIString("Enabling debugging will make scripts run slower.");
     var panelEnablerButton = WebInspector.UIString("Enable Debugging");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to