Implement GetScreenInfo

This commit is contained in:
Kevin Sawicki 2016-12-19 17:23:41 -08:00 committed by Birunthan Mohanathas
parent 39ddeff5c3
commit d71f10c5a3
2 changed files with 12 additions and 0 deletions

View file

@ -207,6 +207,8 @@ class OffScreenRenderWidgetHostView
content::RenderWidgetHostImpl* render_widget_host() const
{ return render_widget_host_; }
NativeWindow* window() const { return native_window_; }
gfx::Size size() const { return size_; }
float scale_factor() const { return scale_factor_; }
private:
void SetupFrameRate(bool force);