Changeset 77249 in webkit
- Timestamp:
- Feb 1, 2011 6:53:15 AM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r77246 r77249 1 2011-02-01 Alexander Pavlov <apavlov@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: [Chromium] Wrongly labelled context-menu item for links in Web Inspector's side-pane 6 https://bugs.webkit.org/show_bug.cgi?id=53482 7 8 * English.lproj/localizedStrings.js: 9 * inspector/front-end/ElementsPanel.js: 10 (WebInspector.ElementsPanel.prototype.populateHrefContextMenu): 11 * inspector/front-end/inspector.js: 12 (WebInspector.resourceForURL): 13 (WebInspector.openLinkExternallyLabel): 14 1 15 2011-02-01 Anton Muhin <antonm@chromium.org> 2 16 -
trunk/Source/WebCore/inspector/front-end/ElementsPanel.js
r74185 r77249 256 256 257 257 // Add resource-related actions. 258 // Keep these consistent with those added in WebInspector.StylesSidebarPane.prototype._populateHrefContextMenu(). 259 contextMenu.appendItem(WebInspector.UIString("Open Link in New Window"), WebInspector.openResource.bind(null, resourceURL, false)); 258 contextMenu.appendItem(WebInspector.openLinkExternallyLabel(), WebInspector.openResource.bind(null, resourceURL, false)); 260 259 if (WebInspector.resourceForURL(resourceURL)) 261 260 contextMenu.appendItem(WebInspector.UIString("Open Link in Resources Panel"), WebInspector.openResource.bind(null, resourceURL, true)); -
trunk/Source/WebCore/inspector/front-end/inspector.js
r76947 r77249 450 450 { 451 451 return this.resourceTreeModel.resourceForURL(url); 452 }, 453 454 openLinkExternallyLabel: function() 455 { 456 return WebInspector.UIString("Open Link in New Window"); 452 457 } 453 458 } -
trunk/Source/WebKit/chromium/ChangeLog
r77242 r77249 1 2011-02-01 Alexander Pavlov <apavlov@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: [Chromium] Wrongly labelled context-menu item for links in Web Inspector's side-pane 6 https://bugs.webkit.org/show_bug.cgi?id=53482 7 8 * src/js/DevTools.js: 9 (WebInspector.openLinkExternallyLabel): Override to customize a context menu item label 10 1 11 2011-02-01 Darin Fisher <darin@chromium.org> 2 12 -
trunk/Source/WebKit/chromium/src/js/DevTools.js
r76597 r77249 90 90 91 91 92 /* 93 * This label must be kept consistent with that in English.lproj/localizedStrings.js 94 * 95 * http://code.google.com/p/chromium/issues/detail?id=61302 requires a custom label for Chromium, 96 * since its behavior is different. 97 */ 98 WebInspector.openLinkExternallyLabel = function() 99 { 100 return WebInspector.UIString("Open Link in New Tab"); 101 }; 102 103 92 104 /** Pending WebKit upstream by apavlov). Fixes iframe vs drag problem. */ 93 105 (function()
Note: See TracChangeset
for help on using the changeset viewer.