trop[bot]
6978a722d4
docs: remove redundant IPC event sections ( #39173 )
...
* docs: use correct names for IPC events
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* docs: remove redundant IPC event sections
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-07-21 17:26:21 -07:00
trop[bot]
b68143a9be
docs: fix casing of _Deprecated_ ( #39167 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-07-20 13:23:26 +02:00
trop[bot]
0034868d6c
feat: allow headers to be sent with session.downloadURL() ( #38870 )
...
* feat: allow headers to be sent with session.downloadURL
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* Update shell/browser/api/electron_api_session.cc
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-07-05 16:31:25 -04:00
trop[bot]
2ba9860a5a
docs: clarify supported accelerator punctuation ( #38755 )
...
doc: clarify supported accelerator punctuation
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-06-13 14:42:34 -04:00
Erick Zhao
4779d565d2
docs: use local img for contents.adjustSelection api ( #38696 )
...
docs: use local img for contents.adjustSelection api (#38655 )
* docs: use local img for contents.adjustSelection api
* fixup
2023-06-08 13:42:38 -07:00
trop[bot]
7ddb80fbb1
chore: type check JS in docs ( #38585 )
2023-06-05 11:55:37 +02:00
trop[bot]
38d83cfefc
docs: fix SerialPort typing ( #38581 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-06-05 11:33:50 +02:00
trop[bot]
a546545a53
feat: add USB protected classes handler ( #38493 )
...
* feat: add USB protected classes handler
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* chore: apply review suggestions
Co-authored-by: Charles Kerr <charles@charleskerr.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* chore: update docs
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* chore: apply review suggestions
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
* update doc per suggestion
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2023-06-01 10:13:07 -04:00
trop[bot]
c9f7ebf821
docs: ensure app.md examples are runnable ( #38440 )
...
docs: ensure app.md examples are runnable
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-05-25 09:58:39 +02:00
trop[bot]
8ce23c425d
docs: fix typing of message box type value ( #38352 )
...
* docs: fix typing of dialog type value
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* test: add smoke tests
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* test: update test
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-05-23 13:17:32 +02:00
trop[bot]
15f4e8ef88
docs: disablewebsecurity on webview-tag can not be changed for an active session ( #38398 )
...
disablewebsecurity on webview-tag can not be changed for an active session
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Kilian Valkhof <kilian@kilianvalkhof.com >
2023-05-22 15:19:39 -04:00
Shelley Vohr
662fa261da
feat: support Mica/Acrylic on Windows ( #38357 )
2023-05-22 11:39:59 +02:00
trop[bot]
8ceb20c75c
docs: fix devtools-open-url ts definition ( #38353 )
...
docs: fix devtools-open-url ts definition
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-05-22 09:59:40 +02:00
trop[bot]
7910ace135
feat: surface more webContents text selection commands ( #38362 )
...
* feat: surface more text selection commands
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* refactor: use options argument
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* docs: correct for review
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-05-18 16:55:34 -04:00
trop[bot]
c9bea8b712
feat: add missing 'cursor-changed' type values ( #38363 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-05-18 12:15:31 -04:00
trop[bot]
ea6a8eea22
fix: unify BrowserWindow.isVisible() logic cross-platform ( #38314 )
...
fix: unify BrowserWindow.isVisible() logic cross-platform
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-05-16 11:15:41 -04:00
David Sanders
45a5827e09
chore: fix lint:js-in-markdown script ( #38300 )
...
chore: fix lint:js-in-markdown script (#38260 )
2023-05-15 19:26:58 -04:00
Shelley Vohr
319d77a4ee
docs: fix typing of session.setDevicePermissionHandler ( #38229 )
...
docs: fix typing of session.setDevicePermissionHandler
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-05-09 12:08:17 -04:00
Shelley Vohr
36d5706ea9
feat: net.resolveHost ( #38152 )
...
feat: net.resolveHost (#37853 )
Co-authored-by: Fedor Indutny <238531+indutny@users.noreply.github.com >
2023-05-08 09:46:11 +02:00
trop[bot]
abb86a7ea1
fix: webContents return type incorrect ( #38107 )
...
* fix: webContents type incorrect
Co-authored-by: Black-Hole1 <bh@bugs.cc >
* fix: ci failed
Co-authored-by: Black-Hole1 <bh@bugs.cc >
* fix: ci failed 2
Co-authored-by: Black-Hole1 <bh@bugs.cc >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Black-Hole1 <bh@bugs.cc >
2023-04-25 12:08:01 +02:00
trop[bot]
977a7eb1d0
docs: fix 'usb-device-added', 'usb-device-removed', 'usb-device-revoked' typings ( #38095 )
...
* Fix 'usb-device-added', 'usb-device-removed', 'usb-device-revoked' typings
Co-authored-by: Quang Lam <quang.lam@webcatalog.io >
* Add webContents
Co-authored-by: Quang Lam <quang.lam@webcatalog.io >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Quang Lam <quang.lam@webcatalog.io >
2023-04-24 09:43:32 -04:00
trop[bot]
9f2bef9a65
feat: add thermal states to powerMonitor ( #38028 )
...
* feat: add thermal states to powerMonitor
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
* update docs
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org >
2023-04-20 12:27:08 +02:00
trop[bot]
d0273d83ef
feat: add did-resign-active event on app ( #38018 )
...
feat: add did-resign-active event on app
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-04-20 12:25:17 +02:00
trop[bot]
0d82286a23
docs: update github.com links ( #37990 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2023-04-17 11:16:54 -04:00
trop[bot]
4553ec2a2a
docs: add note to win.setFullScreen(flag) ( #37997 )
...
docs: add note to win.setFullScreen(flag)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2023-04-17 11:13:48 -04:00
Fedor Indutny
6bfef67aae
feat: session.resolveHost ( #37690 )
...
* feat: session.resolveHost
Expose Chromium's host resolution API through the Session object.
* Update shell/browser/api/electron_api_session.cc
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
* address feedback
* fix tests
* address feedback
* Add options
* Update shell/browser/api/electron_api_session.cc
Co-authored-by: Cheng Zhao <github@zcbenz.com >
* Update shell/browser/net/resolve_host_function.cc
Co-authored-by: Cheng Zhao <github@zcbenz.com >
* lint
* return object
* add missing file
* fix crash
* handle scope
* links
---------
Co-authored-by: Fedor Indutny <indutny@signal.org >
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com >
Co-authored-by: Jeremy Rose <nornagon@nornagon.net >
Co-authored-by: Cheng Zhao <github@zcbenz.com >
2023-04-05 10:06:14 -04:00
Shelley Vohr
be32740991
docs: fix app.getPreferredSystemLanguages() return type ( #37821 )
...
docs: fix app.getPreferredSystemLanguages() return type
2023-04-05 09:31:53 -04:00
David Sanders
4415b7638a
chore: enforce consistent Markdown style for strong and emphasis ( #37787 )
2023-04-03 13:20:10 +02:00
David Sanders
75919e28b8
docs: add links to IPC event structures ( #37760 )
2023-03-30 10:13:21 -07:00
Jeremy Rose
ac58607605
docs: remove save-to-disk disposition ( #37758 )
2023-03-30 10:07:54 -07:00
David Sanders
48e13fde80
docs: update docs.microsoft.com links to learn.microsoft.com ( #37707 )
2023-03-29 12:16:44 +02:00
Will Anderson
2b9dae4b06
feat: add will-frame-navigate event ( #34418 )
...
* feat: add will-navigate-in-frame event to webContents
* docs: add documentation for webview will-frame-navigate event
* feat: Eliminate isInPlace argument from will-frame-navigate event
* fix: Fire will-frame-navigate before will-navigate
* feat: send will-frame-navigate with a WebFrameMain in the event details
* docs: Update WebContents docs for new API signature
* feat: Add custom event forwarding for <webview> will-frame-navigate
* fix: wrap WebFrameMain so it can be sent as an event
* test: update webContents and <webview> tests to match new signatures
* chore: undo unnecessary change
* fix: don't switch will-navigate to use EmitNavigationEventDetails
* test: clean up will-navigate and will-frame-navigate tests for <webview>
* chore: apply lint fixes
* chore: move GetRenderFrameHost helper into anonymous namespace
* docs: auto-generate WillFrameNavigateDetails rather than defining it manually
* test: Update <webview> tests to actually pass under new spec runner
* docs: Add section explaining relationship between various nav events
* test: Add some tests to ensure navigation event order doesn't silently change
* test: Always monitor all nav events to ensure unexpected ones don't fire
* test: Add test to verify in-page navigation event order
* feat: Change to new style where extra params are exposed as event props
* fix: Remove unused EmitNavigationEventDetails
* fix: Update tests to use new async helpers
* docs: Rename and reorder sections documenting navigation events
---------
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2023-03-28 10:55:41 -04:00
Jeremy Rose
fda8ea9277
feat: add protocol.handle ( #36674 )
2023-03-27 10:00:55 -07:00
John Kleinschmidt
6a6908c4c8
fix: allow cancelling of bluetooth requests ( #37601 )
...
* fix: allow cancelling of bluetooth requests
allows cancelling of bluetooth requests when no devices present
* docs: update docs to reflect how bluetooth works.
2023-03-27 09:31:15 -04:00
Erick Zhao
52481bc923
docs: update notifications tutorial ( #37602 )
...
* docs: update notifications tutorial
* delete unused assets
2023-03-21 21:40:43 -04:00
Erick Zhao
2ac9ff1f20
docs: change MSDN links to new Microsoft docs ( #37603 )
2023-03-21 11:39:19 -04:00
George Joseph
e0c348a2f8
feat: Allow usage of an absolute path for partitions used in a session ( #37604 )
...
* Allow an absolute path to be used for creating sessions
Allows an absolute path to be used for creating sessions
by adding the session.fromPath() API.
* Fixup! Clarify that an emptry string is not permitted as a parameter to fromPath()
2023-03-20 10:34:49 -04:00
David Sanders
64b39dce14
docs: update broken links ( #37610 )
2023-03-20 10:25:54 -04:00
Erick Zhao
095f9067a7
docs: delete synopsis.md ( #37580 )
...
* docs: delete synopsis.md
* remove code references to doc
2023-03-16 17:05:15 -07:00
Shelley Vohr
e480cb7103
docs: clarify open-url not preventable ( #37564 )
...
docs: clarify open-url not preventable
2023-03-14 14:17:28 +01:00
Shelley Vohr
8ee58e18fd
refactor: createThumbnailFromPath takes size not maxSize ( #37362 )
...
refactor: createThumbnailFromPath takes size not maxSize
2023-03-08 21:48:29 -05:00
Erick Zhao
f33bf2a271
docs: remove outdated ipc example ( #37523 )
2023-03-08 21:41:26 -05:00
Jeremy Rose
4e85bb921b
docs: remove misleading info from will-finish-launching docs ( #37514 )
2023-03-06 16:24:52 -08:00
Shelley Vohr
512e56baf7
feat: expose audio-state-changed on webContents ( #37366 )
...
feat: expose audio-state-changed on webContents
2023-03-06 17:00:24 +01:00
Calvin
c8f715f9a1
fix: Showing the about panel is async on all platforms ( #37440 )
...
* fix: about panel is a base::Value::Dict
* nix this test for a diff PR
* what if the about dialog was not blocking
* add this test back in
* document synchronicity
* github editor is a fan of spaces
2023-03-06 09:46:35 -05:00
Jeremy Rose
6bd9ee6988
feat: net.fetch() supports custom protocols ( #36606 )
2023-03-02 15:47:45 -08:00
Kevin Law
692876c737
docs(clipboard): fix an issue of demo code ( #37438 )
...
doc(clipboard): fix an issue of demo code
2023-03-02 12:24:59 +01:00
Theo Gravity
49df19214e
feat: add enableLocalEcho flag to setDisplayMediaRequestHandler() callback ( #37315 )
2023-03-01 11:37:19 +01:00
Jeremy Rose
3a5ae28c95
feat: expose initiator in navigation events ( #37085 )
2023-02-28 11:08:22 -08:00
Milan Burda
ed7b5c44a2
feat: add types to webRequest filter ( #30914 )
2023-02-27 11:16:59 -08:00