Searched refs:GetBounds (Results 1 - 25 of 137) sorted by relevance

123456

/external/chromium_org/chrome/browser/ui/panels/
H A Ddocked_panel_browsertest.cc46 EXPECT_EQ(panel1->GetBounds().width(), panel1->GetRestoredBounds().width());
47 EXPECT_EQ(panel2->GetBounds().width(), panel2->GetRestoredBounds().width());
48 EXPECT_EQ(panel3->GetBounds().width(), panel3->GetRestoredBounds().width());
61 EXPECT_EQ(panel7->GetBounds().width(), panel7->GetRestoredBounds().width());
62 EXPECT_GT(panel7->GetBounds().x(), docked_collection->work_area().x());
65 EXPECT_LT(panel1->GetBounds().width(), panel1->GetRestoredBounds().width());
66 EXPECT_LT(panel2->GetBounds().width(), panel2->GetRestoredBounds().width());
67 EXPECT_LT(panel3->GetBounds().width(), panel3->GetRestoredBounds().width());
68 EXPECT_LT(panel4->GetBounds().width(), panel4->GetRestoredBounds().width());
69 EXPECT_LT(panel5->GetBounds()
[all...]
H A Dpanel_drag_browsertest.cc42 gfx::Point mouse_location(panel->GetBounds().origin());
53 gfx::Point mouse_location(panel->GetBounds().origin());
54 panel_testing->PressLeftMouseButtonTitlebar(panel->GetBounds().origin());
96 panel->GetBounds().bottom();
106 panel->GetBounds().bottom();
117 gfx::Rect bounds1 = panel1->GetBounds();
118 gfx::Rect bounds2 = panel2->GetBounds();
129 gfx::Rect bounds1 = panel1->GetBounds();
130 gfx::Rect bounds2 = panel2->GetBounds();
137 gfx::Rect bounds1 = panel1->GetBounds();
[all...]
H A Ddocked_panel_drag_handler.cc24 gfx::Rect new_bounds(panel->GetBounds());
26 int delta_x = new_bounds.x() - panel->GetBounds().x();
56 int dragging_panel_left_boundary = panel->GetBounds().x();
71 if (dragging_panel_left_boundary > current_panel->GetBounds().x() +
72 current_panel->GetBounds().width() / 2)
90 int dragging_panel_right_boundary = panel->GetBounds().x() +
91 panel->GetBounds().width() - 1;
105 if (dragging_panel_right_boundary < current_panel->GetBounds().x() +
106 current_panel->GetBounds().width() / 2)
H A Dpanel_resize_browsertest.cc36 gfx::Rect bounds = panel->GetBounds();
88 gfx::Rect bounds = panel->GetBounds();
98 EXPECT_EQ(bounds, panel->GetBounds());
101 EXPECT_EQ(bounds, panel->GetBounds());
111 EXPECT_EQ(bounds, panel->GetBounds());
114 EXPECT_EQ(bounds, panel->GetBounds());
124 EXPECT_EQ(bounds, panel->GetBounds());
127 EXPECT_EQ(bounds, panel->GetBounds());
137 EXPECT_EQ(bounds, panel->GetBounds());
142 EXPECT_EQ(bounds, panel->GetBounds());
[all...]
H A Ddetached_panel_drag_handler.cc18 gfx::Rect new_bounds(panel->GetBounds());
H A Dstacked_panel_drag_handler.cc38 gfx::Vector2d delta_origin = target_position - panel->GetBounds().origin();
79 first_non_dragging_panel->GetBounds().x() - panel->GetBounds().x(),
H A Ddetached_panel_browsertest.cc32 EXPECT_EQ(bounds.x(), panel->GetBounds().x());
36 EXPECT_EQ(bounds.y(), panel->GetBounds().y());
37 EXPECT_EQ(bounds.width(), panel->GetBounds().width());
38 EXPECT_EQ(bounds.height(), panel->GetBounds().height());
131 test_panel->PressLeftMouseButtonTitlebar(panel->GetBounds().origin());
136 test_panel->PressLeftMouseButtonTitlebar(panel->GetBounds().origin(),
144 test_panel->PressLeftMouseButtonTitlebar(panel->GetBounds().origin());
159 EXPECT_EQ(initial_bounds, panel->GetBounds());
168 gfx::Rect bounds = panel->GetBounds();
195 EXPECT_EQ(initial_bounds, panel->GetBounds());
[all...]
H A Dtest_panel_collection_squeeze_observer.cc24 return panel->GetBounds().width() < panel->GetRestoredBounds().width();
H A Ddetached_panel_collection.cc42 display_settings_provider->GetWorkAreaMatching(panel->GetBounds());
49 gfx::Rect bounds = panel->GetBounds();
91 if (panel->GetBounds().origin() == default_panel_origin_)
136 gfx::Rect bounds = panel->GetBounds();
142 if (bounds != panel->GetBounds())
200 saved_panel_placement_.position = panel->GetBounds().origin();
206 gfx::Rect new_bounds(saved_panel_placement_.panel->GetBounds());
252 gfx::Rect bounds = panel->GetBounds();
H A Dpanel_browsertest.cc63 << ", x=" << panels[i]->GetBounds().x()
64 << ", y=" << panels[i]->GetBounds().y()
65 << ", width=" << panels[i]->GetBounds().width()
66 << ", height" << panels[i]->GetBounds().height();
74 bounds.push_back(panels[i]->GetBounds());
145 panels[index]->GetBounds().origin());
189 gfx::Point hover_point(panels[index]->GetBounds().origin());
196 panels[index]->GetBounds().y() - kFarEnoughFromHoverArea);
203 hover_point.set_y(panels[index]->GetBounds().y() +
204 panels[index]->GetBounds()
[all...]
H A Dpanel_drag_controller.cc145 mouse_location - panel->GetBounds().origin();
282 gfx::Rect target_bounds(target_position, dragging_panel_->GetBounds().size());
335 gfx::Rect target_bounds(target_position, dragging_panel_->GetBounds().size());
373 target_bounds.origin() - dragging_panel_->GetBounds().origin();
435 gfx::Vector2d delta = target_position - dragging_panel_->GetBounds().origin();
439 gfx::Rect target_bounds = last_panel_to_unstack->GetBounds();
441 gfx::Rect below_panel_bounds = panel_below_last_panel_to_unstack->GetBounds();
530 gfx::Rect target_bounds(target_position, dragging_panel_->GetBounds().size());
535 gfx::Rect above_panel_bounds = above_panel->GetBounds();
543 gfx::Vector2d delta = target_position - dragging_panel_->GetBounds()
[all...]
H A Dstacked_panel_browsertest.cc66 EXPECT_EQ(panel1_expected_bounds, panel1->GetBounds());
71 EXPECT_EQ(panel2_expected_bounds, panel2->GetBounds());
76 EXPECT_EQ(panel3_expected_bounds, panel3->GetBounds());
169 EXPECT_EQ(panel1_expected_bounds, panel1->GetBounds());
174 EXPECT_EQ(panel2_expected_bounds, panel2->GetBounds());
179 EXPECT_EQ(panel3_expected_bounds, panel3->GetBounds());
227 gfx::Point panel1_origin = panel2->GetBounds().origin();
228 gfx::Point panel2_origin = panel2->GetBounds().origin();
234 EXPECT_EQ(panel1_expected_bounds, panel1->GetBounds());
239 EXPECT_EQ(panel2_expected_bounds, panel2->GetBounds());
[all...]
H A Dstacked_panel_collection.cc49 gfx::Rect top_bounds = top_panel()->GetBounds();
60 int total_height = bottom_panel()->GetBounds().bottom() - top_bounds.y();
74 gfx::Rect top_bounds = top_panel()->GetBounds();
87 gfx::Rect bounds = panel->GetBounds();
113 gfx::Rect bounds = panel->GetBounds();
174 gfx::Rect enclosing_bounds = top_panel()->GetBounds();
176 bottom_panel()->GetBounds().bottom() - enclosing_bounds.y());
199 current_panel->GetBounds().height() - panel::kTitlebarHeight;
218 int needed_space = panel->GetBounds().height();
243 top_panel()->GetBounds()
[all...]
H A Dpanel_resize_controller.cc88 bounds_at_start_ = panel->GetBounds();
101 gfx::Rect bounds = resizing_panel_->GetBounds();
146 if (bounds != resizing_panel_->GetBounds()) {
/external/chromium_org/chrome/browser/chromeos/ui/
H A Daccessibility_focus_ring.h90 gfx::Rect GetBounds() const;
H A Daccessibility_focus_ring_controller_unittest.cc55 ASSERT_EQ(AddMargin(rects[0]), rings[0].GetBounds());
67 ASSERT_EQ(AddMargin(gfx::Rect(10, 10, 60, 60)), rings[0].GetBounds());
79 ASSERT_EQ(AddMargin(gfx::Rect(10, 10, 120, 30)), rings[0].GetBounds());
92 EXPECT_EQ(gfx::Rect(0, 0, 600, 500), rings[0].GetBounds());
/external/chromium_org/ui/aura/
H A Dwindow_tree_host_ozone.cc77 gfx::Rect WindowTreeHostOzone::GetBounds() const { function in class:aura::WindowTreeHostOzone
78 return platform_window_->GetBounds();
86 return platform_window_->GetBounds().origin();
H A Dwindow_tree_host_win.cc73 gfx::Rect WindowTreeHostWin::GetBounds() const { function in class:aura::WindowTreeHostWin
74 return window_->GetBounds();
82 return window_->GetBounds().origin();
/external/chromium_org/chrome/browser/ui/ash/
H A Dshelf_browsertest.cc25 const gfx::Rect old_bounds = browser()->window()->GetBounds();
/external/chromium_org/ui/platform_window/
H A Dplatform_window.h34 virtual gfx::Rect GetBounds() = 0;
/external/chromium_org/ash/display/
H A Dscreen_position_controller_unittest.cc93 root_windows[0]->GetHost()->GetBounds().origin().ToString());
95 root_windows[0]->GetHost()->GetBounds().size().ToString());
97 root_windows[1]->GetHost()->GetBounds().origin().ToString());
99 root_windows[1]->GetHost()->GetBounds().size().ToString());
182 GetBounds().origin().ToString());
185 GetBounds().size().ToString());
188 GetBounds().origin().ToString());
191 GetBounds().size().ToString());
/external/chromium_org/ui/base/
H A Dbase_window.h53 virtual gfx::Rect GetBounds() const = 0;
/external/chromium_org/ui/views/widget/desktop_aura/
H A Dx11_desktop_window_move_client.cc31 host_->SetBounds(gfx::Rect(system_loc, host_->GetBounds().size()));
/external/chromium_org/ui/ozone/platform/dri/
H A Ddri_window_manager.cc16 return gfx::PointF(window->GetBounds().width() / 2,
17 window->GetBounds().height() / 2);
/external/chromium_org/extensions/shell/browser/
H A Dshell_native_app_window.cc35 bounds.set_origin(GetBounds().origin());
71 return GetBounds();
78 gfx::Rect ShellNativeAppWindow::GetBounds() const { function in class:extensions::ShellNativeAppWindow

Completed in 366 milliseconds

123456