/external/chromium_org/content/test/ |
content_browser_test_utils_mac.mm | 15 NSRect new_bounds = NSRectFromCGRect(bounds.ToCGRect()); 17 new_bounds.origin.y = 19 new_bounds.origin.y - new_bounds.size.height; 22 [window setFrame:new_bounds display:NO];
|
/external/chromium_org/chrome/browser/ui/panels/ |
detached_panel_drag_handler.cc | 18 gfx::Rect new_bounds(panel->GetBounds()); 19 new_bounds.set_origin(target_position); 20 panel->SetPanelBoundsInstantly(new_bounds);
|
docked_panel_drag_handler.cc | 24 gfx::Rect new_bounds(panel->GetBounds()); 25 new_bounds.set_x(target_position.x()); 26 int delta_x = new_bounds.x() - panel->GetBounds().x(); 29 if (new_bounds.bottom() != bottom) { 30 new_bounds.set_y(target_position.y()); 31 if (new_bounds.bottom() > bottom) 32 new_bounds.set_y(bottom - new_bounds.height()); 34 panel->SetPanelBoundsInstantly(new_bounds);
|
/external/chromium_org/cc/resources/ |
picture_layer_tiling_set_unittest.cc | 165 void SyncTilings(gfx::Size new_bounds, 174 *source_.get(), new_bounds, invalidation, minimum_scale); 176 void SyncTilings(gfx::Size new_bounds) { 178 SyncTilings(new_bounds, invalidation, 0.f); 180 void SyncTilings(gfx::Size new_bounds, const Region& invalidation) { 181 SyncTilings(new_bounds, invalidation, 0.f); 183 void SyncTilings(gfx::Size new_bounds, float minimum_scale) { 185 SyncTilings(new_bounds, invalidation, minimum_scale); 188 void VerifyTargetEqualsSource(gfx::Size new_bounds) const { 189 ASSERT_FALSE(new_bounds.IsEmpty()) 263 gfx::Size new_bounds; local [all...] |
/external/chromium_org/chrome/browser/automation/ |
testing_automation_provider_mac.mm | 77 NSRect new_bounds = NSRectFromCGRect(bounds.ToCGRect()); 80 new_bounds.origin.y = 82 new_bounds.origin.y - new_bounds.size.height; 85 [window setFrame:new_bounds display:NO];
|
/external/chromium_org/ash/wm/ |
window_resizer.cc | 201 gfx::Rect new_bounds(origin, size); 214 new_bounds.right() < work_area.x() + kMinimumOnScreenArea) { 215 int delta = work_area.x() + kMinimumOnScreenArea - new_bounds.right(); 216 new_bounds.set_width(new_bounds.width() + delta); 217 } else if (new_bounds.x() > work_area.right() - kMinimumOnScreenArea) { 218 int width = new_bounds.right() - work_area.right() + 220 new_bounds.set_x(work_area.right() - kMinimumOnScreenArea); 221 new_bounds.set_width(width); 226 new_bounds.y() > work_area.bottom() - kMinimumOnScreenArea) [all...] |
window_animations.h | 43 // Animate a cross-fade of |window| from its current bounds to |new_bounds|. 45 const gfx::Rect& new_bounds); 56 // and |new_bounds| of the window. 58 const gfx::Rect& new_bounds);
|
resize_shadow_controller.cc | 46 const gfx::Rect& new_bounds) { 49 shadow->Layout(new_bounds);
|
custom_frame_view_ash_unittest.cc | 674 gfx::Rect new_bounds = widget->GetWindowBoundsInScreen(); local 675 EXPECT_EQ(0, new_bounds.x()); 676 EXPECT_EQ(0, new_bounds.y()); 681 new_bounds = widget->GetWindowBoundsInScreen(); 682 EXPECT_EQ(new_bounds.x(), initial_bounds.x()); 683 EXPECT_EQ(new_bounds.y(), initial_bounds.x()); 684 EXPECT_EQ(new_bounds.width(), initial_bounds.width()); 685 EXPECT_EQ(new_bounds.height(), initial_bounds.height()); 706 gfx::Rect new_bounds = widget->GetWindowBoundsInScreen(); local 707 EXPECT_EQ(0, new_bounds.x()) 742 gfx::Rect new_bounds = widget->GetWindowBoundsInScreen(); local 771 gfx::Rect new_bounds = widget->GetWindowBoundsInScreen(); local [all...] |
window_animations.cc | 323 const gfx::Rect new_bounds(window->bounds()); 324 const bool old_on_top = (old_bounds.width() > new_bounds.width()); 327 const base::TimeDelta duration = GetCrossFadeDuration(old_bounds, new_bounds); 339 float scale_x = static_cast<float>(new_bounds.width()) / 341 float scale_y = static_cast<float>(new_bounds.height()) / 343 out_transform.Translate(new_bounds.x() - old_bounds.x(), 344 new_bounds.y() - old_bounds.y()); 360 static_cast<float>(new_bounds.width()); 362 static_cast<float>(new_bounds.height()); 363 in_transform.Translate(old_bounds.x() - new_bounds.x() [all...] |
system_background_controller.cc | 48 const gfx::Rect& new_bounds) {
|
system_background_controller.h | 43 const gfx::Rect& new_bounds) OVERRIDE;
|
/external/chromium_org/ash/wm/dock/ |
docked_window_layout_manager_observer.h | 22 virtual void OnDockBoundsChanging(const gfx::Rect& new_bounds) = 0;
|
/external/chromium_org/ui/keyboard/ |
keyboard_controller_observer.h | 21 virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) = 0;
|
/external/chromium_org/chrome/browser/ui/ash/ |
shelf_browsertest.cc | 26 const gfx::Rect new_bounds( 31 browser()->window()->SetBounds(new_bounds);
|
/external/chromium_org/ui/views/controls/menu/ |
display_change_listener_aura.cc | 26 const gfx::Rect& new_bounds) OVERRIDE; 52 const gfx::Rect& new_bounds) {
|
/external/chromium/chrome/browser/automation/ |
testing_automation_provider_mac.mm | 110 NSRect new_bounds = NSRectFromCGRect(bounds.ToCGRect()); 113 new_bounds.origin.y = 115 new_bounds.origin.y - new_bounds.size.height; 118 [window setFrame:new_bounds display:NO];
|
/external/chromium_org/apps/ |
shell_window_geometry_cache_unittest.cc | 134 gfx::Rect new_bounds; local 138 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state)); 139 ASSERT_EQ(bounds, new_bounds); 152 gfx::Rect new_bounds; local 156 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state)); 157 ASSERT_TRUE(new_bounds.IsEmpty()); 170 gfx::Rect new_bounds; local 174 extension_id, kWindowId, &new_bounds, &new_screen_bounds, &new_state)); 175 ASSERT_TRUE(new_bounds.IsEmpty()); 188 gfx::Rect new_bounds; local 214 gfx::Rect new_bounds; local [all...] |
/external/chromium_org/ui/aura/test/ |
test_screen.cc | 56 gfx::Rect new_bounds = gfx::ToNearestRect( local 58 display_.SetScaleAndBounds(display_.device_scale_factor(), new_bounds); 97 Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) { 99 display_.SetSize(new_bounds.size());
|
/external/chromium_org/ui/message_center/views/ |
toast_contents_view.cc | 125 void ToastContentsView::SetBoundsInstantly(gfx::Rect new_bounds) { 126 if (new_bounds == bounds()) 129 origin_ = new_bounds.origin(); 132 GetWidget()->SetBounds(new_bounds); 135 void ToastContentsView::SetBoundsWithAnimation(gfx::Rect new_bounds) { 136 if (new_bounds == bounds()) 139 origin_ = new_bounds.origin(); 148 animated_bounds_end_ = new_bounds;
|
/external/chromium_org/chrome/browser/extensions/api/app_window/ |
app_window_apitest.cc | 69 gfx::Rect new_bounds(100, 200, 300, 400); 70 new_bounds.Inset(-window->GetBaseWindow()->GetFrameInsets()); 71 window->GetBaseWindow()->SetBounds(new_bounds);
|
/external/chromium/chrome/browser/ui/panels/ |
panel_manager.cc | 155 gfx::Rect new_bounds(active_panels_[dragging_panel_index_]->bounds()); 156 new_bounds.set_x(new_bounds.x() + delta_x); 157 active_panels_[dragging_panel_index_]->SetBounds(new_bounds); 274 gfx::Rect new_bounds((*iter)->bounds()); 275 ComputeBoundsForNextPanel(&new_bounds, false); 276 if (new_bounds != (*iter)->bounds()) 277 (*iter)->SetBounds(new_bounds);
|
/external/chromium_org/chrome/browser/ui/cocoa/panels/ |
panel_stack_window_cocoa.mm | 150 Panel* panel, const gfx::Rect& new_bounds) { 154 if (panel->GetBounds() == new_bounds) 163 new_bounds); 205 gfx::Rect new_bounds = iter->first->GetBounds(); 208 if (old_bounds.width() != new_bounds.width() || 209 old_bounds.height() != new_bounds.height()) { 216 delta = new_bounds.origin() - old_bounds.origin(); 217 } else if (!(delta == new_bounds.origin() - old_bounds.origin())) {
|
/external/chromium_org/content/browser/web_contents/aura/ |
image_window_delegate.cc | 39 const gfx::Rect& new_bounds) { 40 window_size_ = new_bounds.size();
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
autocheckout_bubble_views.h | 43 const gfx::Rect& new_bounds) OVERRIDE;
|