Home | History | Annotate | Download | only in aura

Lines Matching full:bounds

511   // We can override the hit test bounds of the parent to make the parent grab
1081 // The |child| window's screen bounds should move along with the |viewport|.
1347 // entire bounds of the container. This test verifies that
1348 // GetEventHandlerForPoint() skips w12 even though its bounds contain the event,
1362 gfx::Point target_point = w111->bounds().CenterPoint();
1489 gfx::Point()).bounds());
1500 root_window()->bounds().size().ToString());
1504 gfx::Point()).bounds().ToString());
1631 EXPECT_EQ("0,0 100x100", w1->bounds().ToString());
1640 EXPECT_EQ("0,0 100x100", w1->bounds().ToString());
1644 // the current bounds are still (0, 0, 100, 100), but the target bounds are
1652 EXPECT_EQ("0,0 100x100", w1->bounds().ToString());
1655 // Confirm that the target bounds are reached.
1661 EXPECT_EQ("0,0 100x100", w1->bounds().ToString());
1921 EXPECT_EQ("0,0 100x100", w.bounds().ToString());
1922 EXPECT_EQ("0,0 100x100", layer->bounds().ToString());
2039 // Move bounds.
2239 // We need animations to start in order to observe the bounds changes.
2254 // Animations should stop and the bounds should be as set before the |child|
2257 EXPECT_EQ(new_bounds.ToString(), child.bounds().ToString());
2349 // Verifies the delegate is notified when the actual bounds of the layer
2371 // Bounds shouldn't immediately have changed.
2372 EXPECT_EQ("0,0 100x100", window->bounds().ToString());
2381 EXPECT_NE("0,0 100x100", window->bounds().ToString());
2384 // Verifies the delegate is notified when the actual bounds of the layer
2411 // Layer delegate is NULL but we should still get bounds changed notification.
2423 // No bounds changed notification at the end of animation since layer
2426 EXPECT_NE("0,0 100x100", window->layer()->bounds().ToString());
2722 // Verifies bounds of layerless windows are correctly updated when adding
2769 // Ensure bounds are what we expect.
2770 EXPECT_EQ("1,2 100x100", w1ll->bounds().ToString());
2771 EXPECT_EQ("3,4 100x100", w11ll->bounds().ToString());
2772 EXPECT_EQ("5,6 100x100", w111->bounds().ToString());
2773 EXPECT_EQ("7,8 100x100", w12->bounds().ToString());
2774 EXPECT_EQ("9,10 100x100", w121->bounds().ToString());
2776 // Bounds of layers are relative to the nearest ancestor with a layer.
2777 EXPECT_EQ("8,10 100x100", w12->layer()->bounds().ToString());
2778 EXPECT_EQ("9,12 100x100", w111->layer()->bounds().ToString());
2779 EXPECT_EQ("9,10 100x100", w121->layer()->bounds().ToString());
2787 // Verify bounds haven't changed again.
2788 EXPECT_EQ("1,2 100x100", w1ll->bounds().ToString());
2789 EXPECT_EQ("3,4 100x100", w11ll->bounds().ToString());
2790 EXPECT_EQ("5,6 100x100", w111->bounds().ToString());
2791 EXPECT_EQ("7,8 100x100", w12->bounds().ToString());
2792 EXPECT_EQ("9,10 100x100", w121->bounds().ToString());
2794 // Bounds of layers should now match that of windows.
2795 EXPECT_EQ("7,8 100x100", w12->layer()->bounds().ToString());
2796 EXPECT_EQ("5,6 100x100", w111->layer()->bounds().ToString());
2797 EXPECT_EQ("9,10 100x100", w121->layer()->bounds().ToString());
2802 // Verifies bounds of layerless windows are correctly updated when bounds
2845 EXPECT_EQ("7,8 11x12", w111->bounds().ToString());
2847 EXPECT_EQ("11,14 11x12", w111->layer()->bounds().ToString());
2851 EXPECT_EQ("5,6 100x100", w111->bounds().ToString());
2853 EXPECT_EQ("9,12 100x100", w111->layer()->bounds().ToString());
2855 // Setting the bounds of a layerless window needs to adjust the bounds of
2858 EXPECT_EQ("5,6 100x100", w11ll->bounds().ToString());
2860 EXPECT_EQ("5,6 100x100", w111->bounds().ToString());
2862 EXPECT_EQ("11,14 100x100", w111->layer()->bounds().ToString());
2867 EXPECT_EQ("7,8 11x12", w111->bounds().ToString());
2869 EXPECT_EQ("7,8 11x12", w111->layer()->bounds().ToString());