Searched refs:applied_widget_rect_ (Results 1 – 1 of 1) sorted by relevance
183 gfx::Rect applied_widget_rect() const { return applied_widget_rect_; } in applied_widget_rect()214 gfx::Rect applied_widget_rect_; member in content::RenderWidget::ScreenMetricsEmulator272 applied_widget_rect_.set_size(gfx::Size(params_.viewSize)); in Apply()273 if (!applied_widget_rect_.width()) in Apply()274 applied_widget_rect_.set_width(original_size_.width()); in Apply()275 if (!applied_widget_rect_.height()) in Apply()276 applied_widget_rect_.set_height(original_size_.height()); in Apply()282 static_cast<float>(applied_widget_rect_.width()) / original_width; in Apply()284 static_cast<float>(applied_widget_rect_.height()) / original_height; in Apply()290 (original_size_.width() - scale_ * applied_widget_rect_.width()) / 2); in Apply()[all …]