/external/chromium_org/chrome/browser/ui/panels/ |
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().width(), panel5->GetRestoredBounds().width()) [all...] |
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...] |
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)
|
panel_resize_browsertest.cc | 35 gfx::Rect bounds = panel->GetBounds(); 87 gfx::Rect bounds = panel->GetBounds(); 98 EXPECT_EQ(bounds, panel->GetBounds()); 101 EXPECT_EQ(bounds, panel->GetBounds()); 112 EXPECT_EQ(bounds, panel->GetBounds()); 115 EXPECT_EQ(bounds, panel->GetBounds()); 126 EXPECT_EQ(bounds, panel->GetBounds()); 129 EXPECT_EQ(bounds, panel->GetBounds()); 140 EXPECT_EQ(bounds, panel->GetBounds()); 145 EXPECT_EQ(bounds, panel->GetBounds()); [all...] |
detached_panel_drag_handler.cc | 18 gfx::Rect new_bounds(panel->GetBounds());
|
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(),
|
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()); 129 test_panel->PressLeftMouseButtonTitlebar(panel->GetBounds().origin()); 134 test_panel->PressLeftMouseButtonTitlebar(panel->GetBounds().origin(), 142 test_panel->PressLeftMouseButtonTitlebar(panel->GetBounds().origin()); 157 EXPECT_EQ(initial_bounds, panel->GetBounds()); 166 gfx::Rect bounds = panel->GetBounds(); 193 EXPECT_EQ(initial_bounds, panel->GetBounds()); [all...] |
test_panel_collection_squeeze_observer.cc | 24 return panel->GetBounds().width() < panel->GetRestoredBounds().width();
|
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();
|
panel_browsertest.cc | 61 << ", x=" << panels[i]->GetBounds().x() 62 << ", y=" << panels[i]->GetBounds().y() 63 << ", width=" << panels[i]->GetBounds().width() 64 << ", height" << panels[i]->GetBounds().height(); 72 bounds.push_back(panels[i]->GetBounds()); 143 panels[index]->GetBounds().origin()); 187 gfx::Point hover_point(panels[index]->GetBounds().origin()); 194 panels[index]->GetBounds().y() - kFarEnoughFromHoverArea); 201 hover_point.set_y(panels[index]->GetBounds().y() + 202 panels[index]->GetBounds().height() + 5) [all...] |
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().origin() [all...] |
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...] |
display_settings_provider_win.cc | 63 return GetDesktopBarThicknessFromBounds(alignment, GetBounds(alignment)); 69 return GetDesktopBarVisibilityFromBounds(alignment, GetBounds(alignment)); 72 gfx::Rect DisplaySettingsProviderWin::GetBounds( 162 gfx::Rect bounds = GetBounds(alignment);
|
display_settings_provider_win.h | 47 gfx::Rect GetBounds(DesktopBarAlignment alignment) const;
|
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().x() == bottom_panel()->GetBounds().x() & [all...] |
panel_resize_controller.cc | 87 bounds_at_start_ = panel->GetBounds(); 100 gfx::Rect bounds = resizing_panel_->GetBounds(); 145 if (bounds != resizing_panel_->GetBounds()) {
|
docked_panel_collection.cc | 108 int x = panel->GetBounds().x(); 111 if (x > (*iter)->GetBounds().x()) 128 panels_.back()->GetBounds().x() < work_area_.x()) { 133 if ((*iter)->GetBounds().x() >= work_area_.x()) { 134 x = (*iter)->GetBounds().x(); 153 (panels_.back()->GetBounds().x() - kPanelsHorizontalSpacing); 254 gfx::Rect panel_bounds = panel->GetBounds(); 318 gfx::Rect bounds = panel->GetBounds(); 503 gfx::Rect bounds = panel->GetBounds(); 683 gfx::Rect old_bounds = panel->GetBounds(); [all...] |
/external/chromium_org/ui/base/ |
base_window.h | 53 virtual gfx::Rect GetBounds() const = 0;
|
/external/chromium_org/ash/display/ |
screen_position_controller_unittest.cc | 93 GetBounds().origin().ToString()); 95 GetBounds().size().ToString()); 97 GetBounds().origin().ToString()); 99 GetBounds().size().ToString()); 182 GetBounds().origin().ToString()); 185 GetBounds().size().ToString()); 188 GetBounds().origin().ToString()); 191 GetBounds().size().ToString());
|
/external/chromium_org/chrome/browser/ui/ash/ |
shelf_browsertest.cc | 25 const gfx::Rect old_bounds = browser()->window()->GetBounds();
|
/external/chromium_org/ui/base/touch/ |
touch_editing_controller.h | 38 virtual gfx::Rect GetBounds() = 0;
|
/external/chromium_org/chrome/browser/ui/gtk/panels/ |
panel_stack_window_gtk.cc | 87 gfx::Rect bounds = panel->GetBounds(); 105 if (panel->GetBounds() == new_bounds) 226 panel->GetBounds().x(), panel->GetBounds().y(), 1, 1); 254 panel->GetBounds().x() + 5, panel->GetBounds().y() + 5, 1, 1);
|
/external/chromium/chrome/browser/ui/views/bubble/ |
border_contents.cc | 49 bubble_border_->GetBounds(position_relative_to, local_contents_size); 101 *window_bounds = bubble_border_->GetBounds(position_relative_to, 111 *window_bounds = bubble_border_->GetBounds(position_relative_to,
|
/external/chromium_org/ash/wm/ |
boot_splash_screen_chromeos.cc | 39 root_window_->host()->GetBounds(), gfx::Point(), canvas);
|
/external/chromium_org/chrome/browser/extensions/ |
window_controller.cc | 57 bounds = window()->GetBounds();
|