/external/chromium_org/chrome/browser/ui/panels/ |
H A D | docked_panel_browsertest.cc | 46 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 D | panel_drag_browsertest.cc | 42 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 D | docked_panel_drag_handler.cc | 24 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 D | panel_resize_browsertest.cc | 36 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 D | detached_panel_drag_handler.cc | 18 gfx::Rect new_bounds(panel->GetBounds());
|
H A D | stacked_panel_drag_handler.cc | 38 gfx::Vector2d delta_origin = target_position - panel->GetBounds().origin(); 79 first_non_dragging_panel->GetBounds().x() - panel->GetBounds().x(),
|
H A D | detached_panel_browsertest.cc | 32 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 D | test_panel_collection_squeeze_observer.cc | 24 return panel->GetBounds().width() < panel->GetRestoredBounds().width();
|
H A D | detached_panel_collection.cc | 42 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 D | panel_browsertest.cc | 63 << ", 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 D | panel_drag_controller.cc | 145 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 D | stacked_panel_browsertest.cc | 66 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 D | stacked_panel_collection.cc | 49 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 D | panel_resize_controller.cc | 88 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 D | accessibility_focus_ring.h | 90 gfx::Rect GetBounds() const;
|
H A D | accessibility_focus_ring_controller_unittest.cc | 55 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 D | window_tree_host_ozone.cc | 77 gfx::Rect WindowTreeHostOzone::GetBounds() const { function in class:aura::WindowTreeHostOzone 78 return platform_window_->GetBounds(); 86 return platform_window_->GetBounds().origin();
|
H A D | window_tree_host_win.cc | 73 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 D | shelf_browsertest.cc | 25 const gfx::Rect old_bounds = browser()->window()->GetBounds();
|
/external/chromium_org/ui/platform_window/ |
H A D | platform_window.h | 34 virtual gfx::Rect GetBounds() = 0;
|
/external/chromium_org/ash/display/ |
H A D | screen_position_controller_unittest.cc | 93 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 D | base_window.h | 53 virtual gfx::Rect GetBounds() const = 0;
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
H A D | x11_desktop_window_move_client.cc | 31 host_->SetBounds(gfx::Rect(system_loc, host_->GetBounds().size()));
|
/external/chromium_org/ui/ozone/platform/dri/ |
H A D | dri_window_manager.cc | 16 return gfx::PointF(window->GetBounds().width() / 2, 17 window->GetBounds().height() / 2);
|
/external/chromium_org/extensions/shell/browser/ |
H A D | shell_native_app_window.cc | 35 bounds.set_origin(GetBounds().origin()); 71 return GetBounds(); 78 gfx::Rect ShellNativeAppWindow::GetBounds() const { function in class:extensions::ShellNativeAppWindow
|