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

Unified Diff: Source/devtools/front_end/components/HandlerRegistry.js

Issue 1066573002: DevTools: migrate from ui-setting to settings extension point. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments addressed Created 5 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/Runtime.js ('k') | Source/devtools/front_end/components/module.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/components/HandlerRegistry.js
diff --git a/Source/devtools/front_end/components/HandlerRegistry.js b/Source/devtools/front_end/components/HandlerRegistry.js
index 52eeaed9670630d2d72a06cb94c7e8129b293597..9952c813eb8cbea36c2f0e3820ce16f9107c0157 100644
--- a/Source/devtools/front_end/components/HandlerRegistry.js
+++ b/Source/devtools/front_end/components/HandlerRegistry.js
@@ -298,14 +298,13 @@ WebInspector.HandlerRegistry.LinkHandler.prototype = {
/**
* @constructor
- * @extends {WebInspector.UISettingDelegate}
+ * @implements {WebInspector.SettingUI}
*/
-WebInspector.HandlerRegistry.OpenAnchorLocationSettingDelegate = function()
+WebInspector.HandlerRegistry.OpenAnchorLocationSettingUI = function()
{
- WebInspector.UISettingDelegate.call(this);
}
-WebInspector.HandlerRegistry.OpenAnchorLocationSettingDelegate.prototype = {
+WebInspector.HandlerRegistry.OpenAnchorLocationSettingUI.prototype = {
/**
* @override
* @return {?Element}
@@ -317,9 +316,7 @@ WebInspector.HandlerRegistry.OpenAnchorLocationSettingDelegate.prototype = {
var handlerSelector = new WebInspector.HandlerSelector(WebInspector.openAnchorLocationRegistry);
return WebInspector.SettingsUI.createCustomSetting(WebInspector.UIString("Open links in"), handlerSelector.element);
- },
-
- __proto__: WebInspector.UISettingDelegate.prototype
+ }
}
/**
« no previous file with comments | « Source/devtools/front_end/Runtime.js ('k') | Source/devtools/front_end/components/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698