refactor: mojofy autofill renderer->browser (#18760)

* re-implement renderer->browser calls with mojo

* lint

* fix: clean up after rebase

* lint

* fix: lazy load autofill drivers
This commit is contained in:
Heilig Benedek 2019-08-19 22:13:24 +02:00 committed by Shelley Vohr
parent 43e6d7fe88
commit b33558d822
14 changed files with 329 additions and 98 deletions

View file

@ -67,8 +67,8 @@ class AutofillAgent : public content::RenderFrameObserver,
void DoFocusChangeComplete();
const mojom::ElectronBrowserPtr& GetElectronBrowser();
mojom::ElectronBrowserPtr browser_ptr_;
const mojom::ElectronAutofillDriverAssociatedPtr& GetAutofillDriver();
mojom::ElectronAutofillDriverAssociatedPtr autofill_driver_;
// True when the last click was on the focused node.
bool focused_node_was_last_clicked_ = false;