Chromium Code Reviews| Index: ui/display/display_util.h |
| diff --git a/ui/display/display_util.h b/ui/display/display_util.h |
| index f8c0bd241074b21ad3662810e0f5d6d8fd808b26..8d159b8a6e8df0488471cfe6f83312d4767ac704 100644 |
| --- a/ui/display/display_util.h |
| +++ b/ui/display/display_util.h |
| @@ -14,6 +14,11 @@ namespace ui { |
| // be ignored. |
| DISPLAY_EXPORT bool IsDisplaySizeBlackListed(const gfx::Size& physical_size); |
| +// Returns the device scale factor for the specific monitor and mode. |
|
oshima
2014/04/09 23:35:29
// Returns the desired device scale factor for the
Jun Mukai
2014/04/09 23:50:17
Done.
|
| +DISPLAY_EXPORT float GetScaleFactor( |
| + const gfx::Size& physical_size, |
|
oshima
2014/04/09 23:35:29
physical_size_in_mm
Jun Mukai
2014/04/09 23:50:17
Done.
|
| + const gfx::Size& screen_size); |
|
oshima
2014/04/09 23:35:29
screen_size_in_pixels
Jun Mukai
2014/04/09 23:50:17
Done.
|
| + |
| } // namespace ui |
| #endif // UI_DISPLAY_DISPLAY_UTIL_H_ |