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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js

Issue 2292583002: DevTools: Create 2D slider for shadow-editor offset (Closed)
Patch Set: Created 4 years, 4 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
Index: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
index afc621e66eac605b51e4860db4ea843fd01f9d77..c06a916b93ff758c13a810dba2a98f573f3ebf96 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
@@ -1371,13 +1371,15 @@ function createCheckboxLabel(title, checked, subtitle)
* @return {!Element}
* @param {number} min
* @param {number} max
+ * @param {number} tabIndex
*/
-function createSliderLabel(min, max)
+function createSliderLabel(min, max, tabIndex)
{
var element = createElement("label", "dt-slider");
element.sliderElement.min = min;
element.sliderElement.max = max;
element.sliderElement.step = 1;
+ element.sliderElement.tabIndex = tabIndex;
return element;
}

Powered by Google App Engine
This is Rietveld 408576698