/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/widget/ |
H A D | desktop_widget_unittest.cc | 140 gfx::Rect widget_bounds(widget1.GetWindowBoundsInScreen()); in TEST_F() local 144 gfx::Rect(widget_bounds.width() * 3 / 4, widget_bounds.height() * 3 / 4, in TEST_F() 145 widget_bounds.width() / 2, widget_bounds.height() / 2); in TEST_F() 155 widget_bounds.right() - widget_bounds.width() / 2, in TEST_F() 156 widget_bounds.bottom() - widget_bounds.height() / 2); in TEST_F() 159 gfx::Size(widget_bounds.width() / 2, widget_bounds.height() / 2)); in TEST_F()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/widget/ |
H A D | desktop_widget_unittest.cc | 140 gfx::Rect widget_bounds(widget1.GetWindowBoundsInScreen()); in TEST_F() local 144 gfx::Rect(widget_bounds.width() * 3 / 4, widget_bounds.height() * 3 / 4, in TEST_F() 145 widget_bounds.width() / 2, widget_bounds.height() / 2); in TEST_F() 155 widget_bounds.right() - widget_bounds.width() / 2, in TEST_F() 156 widget_bounds.bottom() - widget_bounds.height() / 2); in TEST_F() 159 gfx::Size(widget_bounds.width() / 2, widget_bounds.height() / 2)); in TEST_F()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/ |
H A D | find_bar_host.cc | 304 gfx::Rect widget_bounds; local 305 GetWidgetBounds(&widget_bounds); 306 if (widget_bounds.IsEmpty()) 315 std::min(prefsize.width(), widget_bounds.width() + insets.width())); 318 if (widget_bounds.height() < prefsize.height() - insets.height()) 324 int x = widget_bounds.x() - insets.left(); 326 x += widget_bounds.width() - prefsize.width() + insets.width(); 327 int y = widget_bounds.y() - insets.top(); 340 return GetLocationForFindBarView(view_location, widget_bounds,
|
H A D | exclusive_access_bubble_views.cc | 257 gfx::Rect widget_bounds = bubble_view_context_->GetClientAreaBoundsInScreen(); in GetPopupRect() local 258 int x = widget_bounds.x() + (widget_bounds.width() - size.width()) / 2; in GetPopupRect() 260 int top_container_bottom = widget_bounds.y(); in GetPopupRect()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/accessibility/ |
H A D | caption_bubble_controller_views_browsertest.cc | 300 EXPECT_EQ(20, widget_bounds.x() - contents_bounds.x()); in IN_PROC_BROWSER_TEST_F() 301 EXPECT_EQ(20, contents_bounds.right() - widget_bounds.right()); in IN_PROC_BROWSER_TEST_F() 323 widget_bounds = GetCaptionWidget()->GetClientAreaBoundsInScreen(); in IN_PROC_BROWSER_TEST_F() 324 EXPECT_EQ(200, widget_bounds.x()); in IN_PROC_BROWSER_TEST_F() 325 EXPECT_EQ(300, widget_bounds.y()); in IN_PROC_BROWSER_TEST_F() 331 widget_bounds = GetCaptionWidget()->GetClientAreaBoundsInScreen(); in IN_PROC_BROWSER_TEST_F() 332 EXPECT_EQ(150, widget_bounds.x()); in IN_PROC_BROWSER_TEST_F() 333 EXPECT_EQ(250, widget_bounds.y()); in IN_PROC_BROWSER_TEST_F() 370 EXPECT_TRUE(contents_bounds.Contains(widget_bounds)); in IN_PROC_BROWSER_TEST_F() 375 EXPECT_EQ(150, widget_bounds.x()); in IN_PROC_BROWSER_TEST_F() [all …]
|
H A D | caption_bubble.cc | 258 gfx::Rect widget_bounds = GetWidget()->GetWindowBoundsInScreen(); in OnWidgetBoundsChanged() local 260 if (latest_bounds_ == widget_bounds && latest_anchor_bounds_ == anchor_rect) { in OnWidgetBoundsChanged() 282 if (!bounds_rect.Contains(widget_bounds)) { in OnWidgetBoundsChanged() 283 widget_bounds.AdjustToFit(bounds_rect); in OnWidgetBoundsChanged() 287 ratio_in_parent_x_ = (widget_bounds.CenterPoint().x() - anchor_rect.x()) / in OnWidgetBoundsChanged() 289 ratio_in_parent_y_ = (widget_bounds.CenterPoint().y() - anchor_rect.y()) / in OnWidgetBoundsChanged()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/clipboard/ |
H A D | clipboard_nudge.cc | 188 gfx::Rect widget_bounds; in CalculateAndSetWidgetBounds() local 197 widget_bounds = in CalculateAndSetWidgetBounds() 203 widget_bounds.set_x(display_bounds.right() - nudge_width - kNudgeMargin); in CalculateAndSetWidgetBounds() 209 widget_bounds.set_y(hotseat_widget->GetTargetBounds().y() - nudge_height - in CalculateAndSetWidgetBounds() 225 widget_->SetBounds(widget_bounds); in CalculateAndSetWidgetBounds()
|
H A D | clipboard_nudge_controller.cc | 177 gfx::Rect widget_bounds = layer->bounds(); in StartFadeAnimation() local 181 widget_bounds.width() * (1.0f - kNudgeFadeAnimationScale) / 2.0f; in StartFadeAnimation() 183 widget_bounds.height() * (1.0f - kNudgeFadeAnimationScale) / 2.0f; in StartFadeAnimation()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/wm/overview/ |
H A D | rounded_label_widget.cc | 103 gfx::Rect widget_bounds = bounds; in GetBoundsCenteredIn() local 104 widget_bounds.ClampToCenteredSize(contents_view->GetPreferredSize()); in GetBoundsCenteredIn() 105 return widget_bounds; in GetBoundsCenteredIn()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/examples/ |
H A D | examples_skia_gold_pixel_diff.cc | 25 gfx::Rect widget_bounds = widget->GetRootView()->bounds(); in CompareScreenshot() local 31 widget->GetNativeWindow(), widget_bounds, in CompareScreenshot()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/wm/gestures/back_gesture/ |
H A D | back_gesture_affordance.cc | 360 const gfx::Rect widget_bounds = in CreateAffordanceWidget() local 362 affordance_widget_->SetBounds(widget_bounds); in CreateAffordanceWidget() 375 kMaxBurstRippleRadius - widget_bounds.x(), in CreateAffordanceWidget() 377 widget_bounds.height()); in CreateAffordanceWidget() 382 widget_bounds.height()); in CreateAffordanceWidget()
|
H A D | back_gesture_contextual_nudge.cc | 104 gfx::Rect widget_bounds; in CreateWidget() local 106 widget_bounds = gfx::Rect(display_bounds.right(), display_bounds.y(), in CreateWidget() 109 widget_bounds = in CreateWidget() 113 widget->SetBounds(widget_bounds); in CreateWidget()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/shelf/ |
H A D | shelf_widget_unittest.cc | 361 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); in TEST_F() local 362 EXPECT_TRUE(widget_bounds.Intersects(shelf_bounds)); in TEST_F() 371 gfx::Point event_location(widget_bounds.x() + 5, shelf_bounds.y() + 1); in TEST_F() 387 gfx::Point event_location(shelf_bounds.right() - 1, widget_bounds.y() + 5); in TEST_F() 407 widget_bounds = widget->GetWindowBoundsInScreen(); in TEST_F() 408 EXPECT_TRUE(widget_bounds.Intersects(shelf_bounds)); in TEST_F() 412 gfx::Point event_location(widget_bounds.x() + 5, shelf_bounds.y() + 1); in TEST_F()
|
H A D | shelf_widget.cc | 378 const gfx::Rect widget_bounds = GetWidget()->GetLayer()->bounds(); in OnBoundsChanged() local 380 gfx::Rect(gfx::Point(widget_bounds.x(), widget_bounds.bottom()), in OnBoundsChanged() 381 gfx::Size(widget_bounds.width(), in OnBoundsChanged()
|
H A D | shelf_layout_manager_unittest.cc | 2742 const gfx::Rect widget_bounds = test_case.widget->GetWindowBoundsInScreen(); in TEST_F() local 2746 gfx::Point start(widget_bounds.CenterPoint().x(), shelf_widget_bottom); in TEST_F() 2787 StartScroll(gfx::Point(widget_bounds.x(), shelf_widget_bottom)); in TEST_F() 2805 StartScroll(gfx::Point(widget_bounds.right(), shelf_widget_bottom)); in TEST_F()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/controls/scrollbar/ |
H A D | scroll_bar.cc | 208 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); in ShowContextMenuForViewImpl() local 209 gfx::Point temp_pt(p.x() - widget_bounds.x(), p.y() - widget_bounds.y()); in ShowContextMenuForViewImpl()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/controls/scrollbar/ |
H A D | scroll_bar.cc | 209 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); in ShowContextMenuForViewImpl() local 210 gfx::Point temp_pt(p.x() - widget_bounds.x(), p.y() - widget_bounds.y()); in ShowContextMenuForViewImpl()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/exo/ |
H A D | shell_surface.cc | 268 gfx::Rect widget_bounds = widget_->GetWindowBoundsInScreen(); in OnSetParent() local 269 gfx::Rect new_widget_bounds(origin_, widget_bounds.size()); in OnSetParent() 270 if (new_widget_bounds != widget_bounds) { in OnSetParent()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/exo/ |
H A D | shell_surface.cc | 299 gfx::Rect widget_bounds = widget_->GetWindowBoundsInScreen(); in OnSetParent() local 300 gfx::Rect new_widget_bounds(origin_, widget_bounds.size()); in OnSetParent() 301 if (new_widget_bounds != widget_bounds) { in OnSetParent()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/login/ui/ |
H A D | lock_contents_view_unittest.cc | 179 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); in TEST_F() local 181 (widget_bounds.width() - auth_view->GetPreferredSize().width()) / 2; in TEST_F() 202 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); in TEST_F() local 204 (widget_bounds.width() - auth_view->GetPreferredSize().width()) / 2; in TEST_F() 642 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); in TEST_F() local 644 EXPECT_EQ(gfx::Rect(widget_bounds.top_right() - in TEST_F() 671 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); in TEST_F() local 673 EXPECT_EQ(gfx::Rect(widget_bounds.top_right() - in TEST_F() 693 gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); in TEST_F() local 707 EXPECT_GE(widget_bounds.right() - in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/system/power/ |
H A D | power_button_controller.cc | 77 gfx::Rect widget_bounds = in CreateMenuWidget() local 79 menu_widget->SetBounds(widget_bounds); in CreateMenuWidget()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/frame/ |
H A D | browser_view.h | 761 void TryNotifyWindowBoundsChanged(const gfx::Rect& widget_bounds);
|
H A D | browser_view.cc | 1615 void BrowserView::TryNotifyWindowBoundsChanged(const gfx::Rect& widget_bounds) { in TryNotifyWindowBoundsChanged() argument 1616 if (interactive_resize_in_progress_ || last_widget_bounds_ == widget_bounds) in TryNotifyWindowBoundsChanged() 1619 last_widget_bounds_ = widget_bounds; in TryNotifyWindowBoundsChanged()
|