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

Side by Side 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, 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 4 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
5 * Copyright (C) 2009 Joseph Pecoraro 5 * Copyright (C) 2009 Joseph Pecoraro
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 10 *
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 element.subtitleElement.textContent = subtitle; 1370 element.subtitleElement.textContent = subtitle;
1371 } 1371 }
1372 } 1372 }
1373 return element; 1373 return element;
1374 } 1374 }
1375 1375
1376 /** 1376 /**
1377 * @return {!Element} 1377 * @return {!Element}
1378 * @param {number} min 1378 * @param {number} min
1379 * @param {number} max 1379 * @param {number} max
1380 * @param {number} tabIndex
1380 */ 1381 */
1381 function createSliderLabel(min, max) 1382 function createSliderLabel(min, max, tabIndex)
1382 { 1383 {
1383 var element = createElement("label", "dt-slider"); 1384 var element = createElement("label", "dt-slider");
1384 element.sliderElement.min = min; 1385 element.sliderElement.min = min;
1385 element.sliderElement.max = max; 1386 element.sliderElement.max = max;
1386 element.sliderElement.step = 1; 1387 element.sliderElement.step = 1;
1388 element.sliderElement.tabIndex = tabIndex;
1387 return element; 1389 return element;
1388 } 1390 }
1389 1391
1390 /** 1392 /**
1391 * @param {!Node} node 1393 * @param {!Node} node
1392 * @param {string} cssFile 1394 * @param {string} cssFile
1393 * @suppressGlobalPropertiesCheck 1395 * @suppressGlobalPropertiesCheck
1394 */ 1396 */
1395 WebInspector.appendStyle = function(node, cssFile) 1397 WebInspector.appendStyle = function(node, cssFile)
1396 { 1398 {
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
2009 * @param {string} title 2011 * @param {string} title
2010 * @return {!Element} 2012 * @return {!Element}
2011 */ 2013 */
2012 WebInspector.linkifyDocumentationURLAsNode = function(article, title) 2014 WebInspector.linkifyDocumentationURLAsNode = function(article, title)
2013 { 2015 {
2014 return WebInspector.linkifyURLAsNode("https://developers.google.com/web/tool s/chrome-devtools/" + article, title, undefined, true); 2016 return WebInspector.linkifyURLAsNode("https://developers.google.com/web/tool s/chrome-devtools/" + article, title, undefined, true);
2015 } 2017 }
2016 2018
2017 /** @type {!WebInspector.ThemeSupport} */ 2019 /** @type {!WebInspector.ThemeSupport} */
2018 WebInspector.themeSupport; 2020 WebInspector.themeSupport;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698