Lines Matching defs:font
9 #include "ui/gfx/font.h"
43 gfx::Font font;
45 CalculateTableColumnSizes(100, 0, font, font, 0, 0, columns, &model));
49 result = CalculateTableColumnSizes(100, 0, font, font, 2, 0, columns, &model);
53 result = CalculateTableColumnSizes(10, 0, font, font, 2, 0, columns, &model);
64 gfx::Font font;
66 CalculateTableColumnSizes(500, 0, font, font, 0, 0, columns, &model));
68 EXPECT_GE(result[1], WidthForContent(font, font, 0, 0, columns[1], &model));
80 gfx::Font font;
82 CalculateTableColumnSizes(500, 0, font, font, 0, 0, columns, &model));
83 EXPECT_EQ(result[0], WidthForContent(font, font, 0, 0, columns[0], &model));
84 EXPECT_EQ(result[1], WidthForContent(font, font, 0, 0, columns[1], &model));
89 CalculateTableColumnSizes(1000, 0, font, font, 0, 0, columns, &model);
90 EXPECT_EQ(result[0], WidthForContent(font, font, 0, 0, columns[0], &model));
91 EXPECT_EQ(result[1], WidthForContent(font, font, 0, 0, columns[1], &model));
96 CalculateTableColumnSizes(1000, 10, font, font, 0, 0, columns, &model);
98 WidthForContent(font, font, 0, 0, columns[0], &model) + 10);
99 EXPECT_EQ(result[1], WidthForContent(font, font, 0, 0, columns[1], &model));
105 CalculateTableColumnSizes(1000, 0, font, font, 0, 0, columns, &model);
106 result = CalculateTableColumnSizes(result[0] + result[1], 0, font, font, 0, 0,
108 EXPECT_EQ(result[0], WidthForContent(font, font, 0, 0, columns[0], &model));
109 EXPECT_EQ(result[1], WidthForContent(font, font, 0, 0, columns[1], &model));