| Index: content/browser/renderer_host/dip_util.h
|
| diff --git a/content/browser/renderer_host/dip_util.h b/content/browser/renderer_host/dip_util.h
|
| index aea4c34b52c738ee208f2f2ab7bafadd09bfe22f..a7e1876ec797810254c6d56a944b649a39c29680 100644
|
| --- a/content/browser/renderer_host/dip_util.h
|
| +++ b/content/browser/renderer_host/dip_util.h
|
| @@ -24,18 +24,20 @@ CONTENT_EXPORT ui::ScaleFactor GetScaleFactorForView(
|
|
|
| // Utility functions that convert point/size/rect between DIP and pixel
|
| // coordinate system.
|
| -CONTENT_EXPORT gfx::Point ConvertPointToDIP(const RenderWidgetHostView* view,
|
| - const gfx::Point& point_in_pixel);
|
| -CONTENT_EXPORT gfx::Size ConvertSizeToDIP(const RenderWidgetHostView* view,
|
| - const gfx::Size& size_in_pixel);
|
| -CONTENT_EXPORT gfx::Rect ConvertRectToDIP(const RenderWidgetHostView* view,
|
| - const gfx::Rect& rect_in_pixel);
|
| -CONTENT_EXPORT gfx::Point ConvertPointToPixel(const RenderWidgetHostView* view,
|
| - const gfx::Point& point_in_dip);
|
| -CONTENT_EXPORT gfx::Size ConvertSizeToPixel(const RenderWidgetHostView* view,
|
| - const gfx::Size& size_in_dip);
|
| -CONTENT_EXPORT gfx::Rect ConvertRectToPixel(const RenderWidgetHostView* view,
|
| - const gfx::Rect& rect_in_dip);
|
| +CONTENT_EXPORT gfx::Point ConvertViewPointToDIP(
|
| + const RenderWidgetHostView* view, const gfx::Point& point_in_pixel);
|
| +CONTENT_EXPORT gfx::Size ConvertViewSizeToPixel(
|
| + const RenderWidgetHostView* view, const gfx::Size& size_in_dip);
|
| +CONTENT_EXPORT gfx::Rect ConvertViewRectToPixel(
|
| + const RenderWidgetHostView* view, const gfx::Rect& rect_in_dip);
|
| +
|
| +CONTENT_EXPORT gfx::Size ConvertSizeToDIP(
|
| + float scale_factor, const gfx::Size& size_in_pixel);
|
| +CONTENT_EXPORT gfx::Rect ConvertRectToDIP(
|
| + float scale_factor, const gfx::Rect& rect_in_pixel);
|
| +CONTENT_EXPORT gfx::Rect ConvertRectToPixel(
|
| + float scale_factor, const gfx::Rect& rect_in_dip);
|
| +
|
| } // namespace content
|
|
|
| #endif // CONTENT_BROWSER_RENDERER_HOST_DIP_UTIL_H_
|
|
|