pass on web_contents to properly handle devtools

This commit is contained in:
Heilig Benedek 2017-11-03 03:01:26 +01:00 committed by Cheng Zhao
parent 573f664899
commit 276e12ce71
5 changed files with 28 additions and 7 deletions

View file

@ -357,6 +357,12 @@ class WebContents : public mate::TrackableObject<WebContents>,
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;