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

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

Issue 2626143004: DevTools: move from Common module - Geometry and CSSShadowModel (Closed)
Patch Set: minimize test diff Created 3 years, 11 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/TabbedPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
index 64313e21f74f2f3aeee400765ba48a39bc011b4a..5cc3500b8836651b514b9bbb49d4297b2c7eb082 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js
@@ -453,16 +453,16 @@ UI.TabbedPane = class extends UI.VBox {
/**
* @override
- * @return {!Constraints}
+ * @return {!UI.Constraints}
*/
calculateConstraints() {
var constraints = super.calculateConstraints();
- var minContentConstraints = new Constraints(new Size(0, 0), new Size(50, 50));
+ var minContentConstraints = new UI.Constraints(new UI.Size(0, 0), new UI.Size(50, 50));
constraints = constraints.widthToMax(minContentConstraints).heightToMax(minContentConstraints);
if (this._verticalTabLayout)
- constraints = constraints.addWidth(new Constraints(new Size(120, 0)));
+ constraints = constraints.addWidth(new UI.Constraints(new UI.Size(120, 0)));
else
- constraints = constraints.addHeight(new Constraints(new Size(0, 30)));
+ constraints = constraints.addHeight(new UI.Constraints(new UI.Size(0, 30)));
return constraints;
}

Powered by Google App Engine
This is Rietveld 408576698