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

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: Move beginPath under if 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 7cc889b3f52928966ffa66d2b0756f54a6370ef7..7f1f3748b5fc8d4d38534b349f52df6ad369d243 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
@@ -1377,13 +1377,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