Home
last modified time | relevance | path

Searched refs:GetScaleFactorForView (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/content/browser/renderer_host/
Ddip_util.cc20 float GetScaleFactorForView(const RenderWidgetHostView* view) { in GetScaleFactorForView() function
27 gfx::ScalePoint(point_in_pixel, 1.0f / GetScaleFactorForView(view))); in ConvertViewPointToDIP()
32 return ConvertSizeToPixel(GetScaleFactorForView(view), size_in_dip); in ConvertViewSizeToPixel()
37 return ConvertRectToPixel(GetScaleFactorForView(view), rect_in_dip); in ConvertViewRectToPixel()
Ddip_util.h21 CONTENT_EXPORT float GetScaleFactorForView(const RenderWidgetHostView* view);
Drender_widget_host_view_browsertest.cc770 GetScaleFactorForView(GetRenderWidgetHostView()); in ShouldContinueAfterTestURLLoad()
Drender_view_host_impl.cc1214 float scale = GetScaleFactorForView(GetView()); in OnStartDragging()
/external/chromium_org/content/browser/webui/
Dweb_ui_impl.cc102 return GetScaleFactorForView(web_contents_->GetRenderWidgetHostView()); in GetDeviceScaleFactor()