Surface synchronization: Implement auto-resize for OOPIF/BrowserPlugin

https://chromium-review.googlesource.com/c/chromium/src/+/753801
This commit is contained in:
deepak1556 2018-04-12 17:26:37 +05:30 committed by Samuel Attard
parent ea7e273a06
commit 3ad0639b2e
4 changed files with 28 additions and 17 deletions

View file

@ -337,6 +337,8 @@ class WebContents : public mate::TrackableObject<WebContents>,
const content::BluetoothChooser::EventHandler& handler) override;
content::JavaScriptDialogManager* GetJavaScriptDialogManager(
content::WebContents* source) override;
void ResizeDueToAutoResize(content::WebContents* web_contents,
const gfx::Size& new_size) override;
// content::WebContentsObserver:
void BeforeUnloadFired(const base::TimeTicks& proceed_time) override;