refactor: simplify content script injection (#18532)

This commit is contained in:
Jeremy Apthorp
2019-06-04 16:07:34 -07:00
committed by GitHub
parent f80601da16
commit ed5fb4a720
17 changed files with 63 additions and 407 deletions

View File

@@ -31,9 +31,6 @@ declare namespace NodeJS {
log: NodeJS.WriteStream['write'];
activateUvLoop(): void;
// Additional methods
getRenderProcessPreferences(): Array<Electron.RendererProcessPreference> | null;
// Additional events
once(event: 'document-start', listener: () => any): this;
once(event: 'document-end', listener: () => any): this;
@@ -121,4 +118,4 @@ interface ResizeObserverEntry {
* Element's content rect when ResizeObserverCallback is invoked.
*/
readonly contentRect: DOMRectReadOnly;
}
}