Home
last modified time | relevance | path

Searched refs:expected_bounds (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/tabs/
Dstacked_tab_strip_layout_unittest.cc26 const std::string expected_bounds; member
48 PrepareChildViewsFromString(data.expected_bounds); in CreateLayout()
53 PrepareChildViewsFromString(data.expected_bounds); in CreateLayout()
172 EXPECT_EQ(test_data[i].expected_bounds, BoundsString()) << " at " << i; in TEST_F()
258 EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << in TEST_F()
280 SetBoundsFromString(test_data[i].expected_bounds); in TEST_F()
342 EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << in TEST_F()
394 EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << in TEST_F()
426 EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << in TEST_F()
447 EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << in TEST_F()
[all …]
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_screen_position_client_unittest.cc80 gfx::Rect expected_bounds(expected_origin, gfx::Size(500, 400)); in TEST_F() local
82 EXPECT_EQ(expected_bounds.ToString(), actual_bounds.ToString()); in TEST_F()
/external/chromium_org/chrome/browser/prefs/
Dpref_service_browsertest.cc53 gfx::Rect expected_bounds(gfx::Rect(20, 30, 400, 500)); in IN_PROC_BROWSER_TEST_F() local
54 ASSERT_EQ(expected_bounds.ToString(), bounds.ToString()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/renderer/
Dpaint_aggregator_unittest.cc40 gfx::Rect expected_bounds = gfx::UnionRects(r1, r2); in TEST() local
49 EXPECT_EQ(expected_bounds, update.GetPaintBounds()); in TEST()
64 gfx::Rect expected_bounds = gfx::UnionRects(r1, r2); in TEST() local
73 EXPECT_EQ(expected_bounds, update.paint_rects[0]); in TEST()
/external/chromium_org/ppapi/tests/
Dtest_paint_aggregator.cc70 pp::Rect expected_bounds = r1.Union(r2); in TestDoubleDisjointInvalidation() local
76 ASSERT_TRUE(expected_bounds == greg.GetPendingUpdate().paint_bounds); in TestDoubleDisjointInvalidation()
89 pp::Rect expected_bounds = r1.Union(r2); in TestSingleScroll() local
95 ASSERT_TRUE(expected_bounds == greg.GetPendingUpdate().paint_bounds); in TestSingleScroll()
/external/chromium_org/ash/wm/
Dtoplevel_window_event_handler_unittest.cc546 gfx::Rect expected_bounds(old_bounds); in TEST_F() local
547 expected_bounds.Offset(gfx::Vector2d(100, 0)); in TEST_F()
548 EXPECT_EQ(expected_bounds.ToString(), target->bounds().ToString()); in TEST_F()
571 gfx::Rect expected_bounds(old_bounds); in TEST_F() local
572 expected_bounds.Offset(gfx::Vector2d(-100, 0)); in TEST_F()
573 EXPECT_EQ(expected_bounds.ToString(), target->bounds().ToString()); in TEST_F()
Dsystem_gesture_event_filter_unittest.cc630 gfx::Rect expected_bounds(snap_sizer.target_bounds()); in TEST_P() local
631 EXPECT_EQ(expected_bounds.ToString(), in TEST_P()
662 gfx::Rect expected_bounds(snap_sizer.target_bounds()); in TEST_P() local
663 EXPECT_EQ(expected_bounds.ToString(), in TEST_P()
/external/chromium_org/chrome/browser/ui/panels/
Dpanel_browsertest.cc131 std::vector<gfx::Rect> expected_bounds = test_begin_bounds; in TestMinimizeRestore() local
144 EXPECT_EQ(expected_bounds, GetAllPanelBounds()); in TestMinimizeRestore()
149 EXPECT_EQ(expected_bounds, GetAllPanelBounds()); in TestMinimizeRestore()
156 expected_bounds[index].set_height(panel::kMinimizedPanelHeight); in TestMinimizeRestore()
157 expected_bounds[index].set_y( in TestMinimizeRestore()
161 EXPECT_EQ(expected_bounds, GetAllPanelBounds()); in TestMinimizeRestore()
169 std::vector<gfx::Rect> minimized_bounds = expected_bounds; in TestMinimizeRestore()
234 expected_bounds[index].set_height( in TestMinimizeRestore()
236 expected_bounds[index].set_y(test_begin_bounds[index].y()); in TestMinimizeRestore()
238 EXPECT_EQ(expected_bounds, GetAllPanelBounds()); in TestMinimizeRestore()
Dpanel_drag_browsertest.cc1500 gfx::Rect expected_bounds(drag_to_location, panel_size); in IN_PROC_BROWSER_TEST_F() local
1501 EXPECT_EQ(expected_bounds, panel->GetBounds()); in IN_PROC_BROWSER_TEST_F()
1527 gfx::Rect expected_bounds(drag_to_location, initial_panel_bounds.size()); in IN_PROC_BROWSER_TEST_F() local
1528 EXPECT_EQ(expected_bounds, panel->GetBounds()); in IN_PROC_BROWSER_TEST_F()
2993 gfx::Rect expected_bounds(initial_bounds); in IN_PROC_BROWSER_TEST_F() local
2994 EXPECT_EQ(expected_bounds, panel->GetBounds()); in IN_PROC_BROWSER_TEST_F()
3002 expected_bounds.set_x(primary_work_area.right() - panel->GetBounds().width()); in IN_PROC_BROWSER_TEST_F()
3003 EXPECT_EQ(expected_bounds, panel->GetBounds()); in IN_PROC_BROWSER_TEST_F()
3011 expected_bounds.set_origin(primary_work_area.origin()); in IN_PROC_BROWSER_TEST_F()
3012 EXPECT_EQ(expected_bounds, panel->GetBounds()); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/ash/wm/workspace/
Dworkspace_window_resizer_unittest.cc613 gfx::Rect expected_bounds(snap_sizer.target_bounds()); in TEST_F() local
621 EXPECT_EQ(expected_bounds.ToString(), window_->bounds().ToString()); in TEST_F()
630 gfx::Rect expected_bounds(snap_sizer.target_bounds()); in TEST_F() local
637 EXPECT_EQ(expected_bounds.ToString(), window_->bounds().ToString()); in TEST_F()