fix a bug that caused a crash when using an offscreen window with detached devtools, related to autofill popups
This commit is contained in:
parent
5daaff91ea
commit
e39aacb30e
6 changed files with 31 additions and 8 deletions
|
@ -357,6 +357,12 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
void DevToolsFocused() override;
|
||||
void DevToolsOpened() override;
|
||||
void DevToolsClosed() override;
|
||||
|
||||
void ShowAutofillPopup(
|
||||
content::RenderFrameHost* frame_host,
|
||||
const gfx::RectF& bounds,
|
||||
const std::vector<base::string16>& values,
|
||||
const std::vector<base::string16>& labels);
|
||||
|
||||
private:
|
||||
AtomBrowserContext* GetBrowserContext() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue