| Index: ui/display/screen.h
|
| diff --git a/ui/display/screen.h b/ui/display/screen.h
|
| index 79a0035d2565e9aa4b27d5723591ecd4397f403b..82eea60d397887f754e250034912682f40433d56 100644
|
| --- a/ui/display/screen.h
|
| +++ b/ui/display/screen.h
|
| @@ -88,6 +88,9 @@ class DISPLAY_EXPORT Screen {
|
| virtual gfx::Rect DIPToScreenRectInWindow(gfx::NativeView view,
|
| const gfx::Rect& dip_rect) const;
|
|
|
| + // Emulates the device scale factor for unit test environment.
|
| + virtual void SetDeviceScaleFactorForTest(float scale_factor) {};
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(Screen);
|
| };
|
|
|