remove GetSizeForNewRenderView
This commit is contained in:
parent
5c690ea46e
commit
8d1c17e036
2 changed files with 0 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue