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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js

Issue 2605253002: [DevTools] Add grow mode to ListControl. (Closed)
Patch Set: works Created 4 years 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/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js
index 05920c6884c57bc23c2744ce935c00b74e8b46ad..c1b4c09ad817ac8ec93cff0dc7086f29af16b8bb 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js
@@ -32,7 +32,7 @@ class Delegate {
var delegate = new Delegate();
var list = new UI.ListControl(delegate);
-list.setHeightMode(UI.ListHeightMode.Fixed);
+list.setMode(UI.ListMode.ViewportFixedItems);
list.element.style.height = '73px';
UI.inspectorView.element.appendChild(list.element);
@@ -139,7 +139,7 @@ dumpList();
TestRunner.addResult('Changing the item height, switching to measure');
delegate.height = 15;
-list.setHeightMode(UI.ListHeightMode.Measured);
+list.setMode(UI.ListMode.ViewportFixedItemsMeasured);
dumpList();
TestRunner.addResult('Selecting 7');

Powered by Google App Engine
This is Rietveld 408576698