electron/lib/browser
Shelley Vohr bfcce8aa27
refactor: pass MessageBox params as a struct (#18732)
Historically, we've been passing in all MessageBox parameters individually, which makes augmenting or improving MessageBox functionality challenging because to change or add even one argument requires a huge cascade of argument changes that leaves room for errors.

For other file dialog related APIs, we use a struct (DialogSettings), and so this PR takes a similar approach and refactors MessageBox parameters into a struct (MessageBoxSettings) which we then use to simplify argument passing and which will enable us to more quickly iterate and improve upon functionality in the future.
2019-06-14 08:26:25 -07:00
..
api refactor: pass MessageBox params as a struct (#18732) 2019-06-14 08:26:25 -07:00
chrome-extension.js refactor: simplify content script injection (#18532) 2019-06-04 16:07:34 -07:00
crash-reporter-init.js fix: use crashpad on Windows (#18483) 2019-06-13 15:42:21 +09:00
default-menu.ts refactor: make shell.OpenExternal async (#17135) 2019-05-03 13:53:45 -07:00
desktop-capturer.js refactor: add emitCustomEvent() helper (#17960) 2019-05-01 09:07:57 -04:00
devtools.js refactor: remove menu-will-close / setTimeout workaround (#18582) 2019-06-03 16:48:01 -05:00
guest-view-manager.js fix: set nativeWindowOpen when sandboxed (#18273) 2019-05-27 02:44:54 +02:00
guest-window-manager.js fix: set nativeWindowOpen when sandboxed (#18273) 2019-05-27 02:44:54 +02:00
init.ts refactor: remove electron.asar and embed JS in binary (#18577) 2019-06-03 17:03:59 -07:00
ipc-main-internal-utils.ts refactor: use ipcMainUtils.invokeInWebContents / ipcRendererUtils.handle helpers for Chrome APIs (#17417) 2019-03-26 11:38:35 +09:00
ipc-main-internal.ts
navigation-controller.js fix: do not mark navigations interupted with same-document navigations as aborted (#18109) 2019-05-03 16:19:50 -07:00
objects-registry.js fix: maintain a ref count for objects sent over remote (#17464) 2019-04-16 16:08:11 -04:00
rpc-server.js refactor: add emitCustomEvent() helper (#17960) 2019-05-01 09:07:57 -04:00
utils.ts refactor: allow requiring modules with no side effects (#17496) 2019-04-30 09:46:08 +09:00