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:
parent
43e6d7fe88
commit
b33558d822
14 changed files with 329 additions and 98 deletions
|
@ -21,6 +21,11 @@ interface ElectronAutofillAgent {
|
|||
AcceptDataListSuggestion(mojo_base.mojom.String16 value);
|
||||
};
|
||||
|
||||
interface ElectronAutofillDriver {
|
||||
ShowAutofillPopup(gfx.mojom.RectF bounds, array<mojo_base.mojom.String16> values, array<mojo_base.mojom.String16> labels);
|
||||
HideAutofillPopup();
|
||||
};
|
||||
|
||||
struct DraggableRegion {
|
||||
bool draggable;
|
||||
gfx.mojom.Rect bounds;
|
||||
|
@ -71,8 +76,4 @@ interface ElectronBrowser {
|
|||
|
||||
[Sync]
|
||||
DoGetZoomLevel() => (double result);
|
||||
|
||||
// TODO: move these into a separate interface
|
||||
ShowAutofillPopup(gfx.mojom.RectF bounds, array<mojo_base.mojom.String16> values, array<mojo_base.mojom.String16> labels);
|
||||
HideAutofillPopup();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue