Lines Matching defs:factors
10 // Fetch a vector of preset zoom factors, including a custom value that we
13 std::vector<double> factors =
16 // Expect at least 10 zoom factors.
17 EXPECT_GE(factors.size(), 10U);
20 EXPECT_DOUBLE_EQ(factors.front(), content::kMinimumZoomFactor);
21 EXPECT_DOUBLE_EQ(factors.back(), content::kMaximumZoomFactor);
32 for (i = factors.begin(); i != factors.end(); ++i) {
80 std::vector<double> factors = chrome_page_zoom::PresetZoomFactors(too_low);
81 EXPECT_FALSE(content::ZoomValuesEqual(factors.front(), too_low));
84 factors = chrome_page_zoom::PresetZoomFactors(too_high);
85 EXPECT_FALSE(content::ZoomValuesEqual(factors.back(), too_high));