DevTools: Shorten openResourceHandler setting UI text

BUG=525061

Review URL: https://codereview.chromium.org/1325593002

git-svn-id: svn://svn.chromium.org/blink/trunk@201501 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 4d12d46d
......@@ -315,7 +315,7 @@ WebInspector.HandlerRegistry.OpenAnchorLocationSettingUI.prototype = {
return null;
var handlerSelector = new WebInspector.HandlerSelector(WebInspector.openAnchorLocationRegistry);
return WebInspector.SettingsUI.createCustomSetting(WebInspector.UIString("Open links in"), handlerSelector.element);
return WebInspector.SettingsUI.createCustomSetting(WebInspector.UIString("Link handling:"), handlerSelector.element);
}
}
......
......@@ -215,7 +215,7 @@ WebInspector.Main.prototype = {
new WebInspector.ContentScriptProjectDecorator();
new WebInspector.ExecutionContextSelector(WebInspector.targetManager, WebInspector.context);
var autoselectPanel = WebInspector.UIString("a panel chosen automatically");
var autoselectPanel = WebInspector.UIString("auto");
var openAnchorLocationSetting = WebInspector.settings.createSetting("openLinkHandler", autoselectPanel);
WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegistry(openAnchorLocationSetting);
WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel, function() { return false; });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment