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

Unified Diff: Source/devtools/front_end/ui/SettingsUI.js

Issue 340513003: DevTools: Add JSDoc for static methods, fix JSDoc types and induced errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased patch Created 6 years, 6 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/timeline/TimelineView.js ('k') | Source/devtools/front_end/ui/SidebarPane.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/SettingsUI.js
diff --git a/Source/devtools/front_end/ui/SettingsUI.js b/Source/devtools/front_end/ui/SettingsUI.js
index 34e59af77c7ef6bb14cdbaa3d6db51499a5cf1cb..d91997a138a482124a6bf4c3545db1afd4531acf 100644
--- a/Source/devtools/front_end/ui/SettingsUI.js
+++ b/Source/devtools/front_end/ui/SettingsUI.js
@@ -89,6 +89,7 @@ WebInspector.SettingsUI.bindCheckbox = function(input, setting)
* @param {string=} width
* @param {function(string):?string=} validatorCallback
* @param {boolean=} instant
+ * @return {!Element}
*/
WebInspector.SettingsUI.createSettingInputField = function(label, setting, numeric, maxLength, width, validatorCallback, instant)
{
@@ -170,6 +171,7 @@ WebInspector.SettingsUI.createSettingInputField = function(label, setting, numer
* @param {string=} width
* @param {!WebInspector.Setting=} toggleSetting
* @param {string=} defaultText
+ * @return {!Element}
*/
WebInspector.SettingsUI.createSettingLabel = function(label, setting, maxLength, width, toggleSetting, defaultText)
{
@@ -200,6 +202,11 @@ WebInspector.SettingsUI.createSettingLabel = function(label, setting, maxLength,
return p;
}
+/**
+ * @param {string} name
+ * @param {!Element} element
+ * @return {!Element}
+ */
WebInspector.SettingsUI.createCustomSetting = function(name, element)
{
var p = document.createElement("p");
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineView.js ('k') | Source/devtools/front_end/ui/SidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698