Lines Matching defs:icon_bounds
125 gfx::Rect icon_bounds = shelf->GetScreenBoundsOfItemIconForWindow(panel);
126 ASSERT_FALSE(icon_bounds.width() == 0 && icon_bounds.height() == 0);
129 ASSERT_LT(icon_bounds.width(), window_bounds.width());
130 ASSERT_LT(icon_bounds.height(), window_bounds.height());
137 EXPECT_LE(window_bounds.x(), icon_bounds.x());
138 EXPECT_GE(window_bounds.right(), icon_bounds.right());
142 EXPECT_LE(window_bounds.y(), icon_bounds.y());
143 EXPECT_GE(window_bounds.bottom(), icon_bounds.bottom());
168 gfx::Rect icon_bounds = shelf->GetScreenBoundsOfItemIconForWindow(panel);
169 ASSERT_FALSE(icon_bounds.IsEmpty());
173 ASSERT_FALSE(icon_bounds.IsEmpty());
194 EXPECT_NEAR(icon_bounds.CenterPoint().x(),
198 EXPECT_NEAR(icon_bounds.CenterPoint().y(),