remove GetSizeForNewRenderView

This commit is contained in:
Heilig Benedek 2017-05-02 04:44:30 +02:00
parent 5c690ea46e
commit 8d1c17e036
2 changed files with 0 additions and 11 deletions

View file

@ -1642,16 +1642,6 @@ void WebContents::Invalidate() {
}
}
gfx::Size WebContents::GetSizeForNewRenderView(
content::WebContents* web_contents) const {
auto relay = NativeWindowRelay::FromWebContents(web_contents);
if (relay) {
return relay->window->GetSize();
}
return gfx::Size();
}
void WebContents::SetZoomLevel(double level) {
zoom_controller_->SetZoomLevel(level);
}

View file

@ -183,7 +183,6 @@ 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);