fix osr window initial sizing

This commit is contained in:
Heilig Benedek 2017-05-11 23:48:14 +02:00
parent 1b1c663b32
commit 9f682ee36b
2 changed files with 13 additions and 0 deletions

View file

@ -183,6 +183,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
void SetFrameRate(int frame_rate);
int GetFrameRate() const;
void Invalidate();
gfx::Size GetSizeForNewRenderView(content::WebContents*) const override;
// Methods for zoom handling.
void SetZoomLevel(double level);