Paul Frazee
3068d7a43e
Make note about sync webview calls in docs
2017-04-20 14:02:41 -05:00
Kevin Sawicki
dc8b43901b
Merge pull request #9108 from yuya-oc/add-macos-sheet-events
...
Add sheet-begin and sheet-end events to macOS BrowserWindow
2017-04-20 10:33:31 -07:00
Kevin Sawicki
6701a96216
Merge pull request #9211 from sindresorhus/patch-1
...
Add docs tip about testing Touch Bar usage
2017-04-18 12:10:45 -04:00
Hari Krishna Reddy Juturu
efca0a6e07
fixup! Adding cookie flush store api
2017-04-18 09:05:13 -07:00
Hari Krishna Reddy Juturu
19709a50e9
Adding cookie flush store api
2017-04-18 09:05:13 -07:00
Samuel Attard
11c7c107a9
add iconPosition property to touch bar buttons
2017-04-18 08:56:39 -07:00
Ryohei Ikegami
8dff29185b
Merge branch 'master' into native-window-open
2017-04-18 21:59:22 +09:00
Sindre Sorhus
39caa6ad23
📝 Add docs tip about testing Touch Bar usage
...
Disclosure: I made it.
Most devs don't have the new MacBook with Touch Bar, but would like to support it. I think it would be useful to point out how to easily develop and test Touch Bar usage in Electron apps.
[ci skip]
2017-04-17 14:39:37 +07:00
Yuya Ochiai
75184046f6
Add events to manage sheets of macOS BrowserWindow
2017-04-15 16:26:45 +09:00
Birunthan Mohanathas
e7d71000ee
Fix missing warning icon with dialog.showMessageBox() on macOS
...
Fixes #9183 .
2017-04-14 19:27:25 +03:00
Birunthan Mohanathas
000aedf2e7
Avoid insecure nodeIntegration in example
2017-04-13 01:27:31 +03:00
Birunthan Mohanathas
06fcf2c19d
Add support for BrowserView autoresizing
2017-04-13 01:27:31 +03:00
Birunthan Mohanathas
8b9f7e5b00
Implement initial, experimental BrowserView API
...
Right now, `<webview>` is the only way to embed additional content in a
`BrowserWindow`. Unfortunately `<webview>` suffers from a [number of
problems](https://github.com/electron/electron/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20label%3Awebview%20 ).
To make matters worse, many of these are upstream Chromium bugs instead
of Electron-specific bugs.
For us at [Figma](https://www.figma.com ), the main issue is very slow
performance.
Despite the upstream improvements to `<webview>` through the OOPIF work, it is
probable that there will continue to be `<webview>`-specific bugs in the
future.
Therefore, this introduces a `<webview>` alternative to called `BrowserView`,
which...
- is a thin wrapper around `api::WebContents` (so bugs in `BrowserView` will
likely also be bugs in `BrowserWindow` web contents)
- is instantiated in the main process like `BrowserWindow` (and unlike
`<webview>`, which lives in the DOM of a `BrowserWindow` web contents)
- needs to be added to a `BrowserWindow` to display something on the screen
This implements the most basic API. The API is expected to evolve and change in
the near future and has consequently been marked as experimental. Please do not
use this API in production unless you are prepared to deal with breaking
changes.
In the future, we will want to change the API to support multiple
`BrowserView`s per window. We will also want to consider z-ordering
auto-resizing, and possibly even nested views.
2017-04-13 01:27:27 +03:00
Kevin Sawicki
b2761ab7dc
Merge pull request #9157 from electron/cifratila/remove-unused-dll
...
#9128 : Removed unused dll from distribution.
2017-04-11 08:52:20 -07:00
Kevin Sawicki
0caa35d33c
Merge pull request #9155 from Hum4n01d/master
...
Add information about dragging not working with Dev tools open
2017-04-10 08:18:09 -07:00
Kevin Sawicki
676f02e001
Tweak GitHub spelling
2017-04-10 08:17:55 -07:00
Kevin Sawicki
3ec7900e6e
Merge pull request #9154 from miniak/fix-api-docs
...
Fix api docs
2017-04-10 08:16:54 -07:00
Catalin Fratila
d3953f7280
#9128 : Removed unused dll from distribution.
2017-04-10 16:41:16 +02:00
Hum4n01d
0ce983363b
Add information about dragging not working with Dev tools open
2017-04-09 23:05:56 -07:00
Milan Burda
fa0de5c2b4
Define filter argument type for WebRequest methods
2017-04-10 02:18:36 +02:00
Milan Burda
8f46137fda
Fix session.setPermissionRequestHandler webContents argument type
2017-04-10 02:12:15 +02:00
Kevin Sawicki
b7b7f28c5a
Link properties to class docs
2017-04-08 18:50:55 -07:00
Kevin Sawicki
931290bc59
Merge pull request #9125 from electron/fix-chrome-upgrade-link
...
Fix link to the Upgrading Chrome doc
2017-04-06 08:46:25 -07:00
Vadim Macagon
95e782d26c
Fix link to the Upgrading Chrome doc
2017-04-06 16:04:19 +10:00
Tasuku Uno
59fe7d3dbb
📝 Fix document of MimeTypedBuffer Object
...
[ci skip]
2017-04-06 11:38:59 +09:00
Kevin Sawicki
414540bfcb
Support passing escape item to TouchBar constructor
2017-04-04 12:50:41 -07:00
Kevin Sawicki
b24b4212c5
Make escape item a property instead of setter
2017-04-04 12:50:41 -07:00
Samuel Attard
60cc862031
Make everything pointer like
2017-04-04 12:50:41 -07:00
Samuel Attard
4d6b0fc01b
Add a method to set the escape identifier on the touch bar
2017-04-04 12:50:41 -07:00
Kevin Sawicki
3e9014c371
Merge pull request #9099 from electron/certificate-trust
...
macOS: Add certificate trust API
2017-04-04 11:17:09 -07:00
Kevin Sawicki
2e32525e8f
Make browser window optional
2017-04-04 10:49:10 -07:00
Kevin Sawicki
af40a60937
Merge pull request #9072 from p-jackson/patch-1
...
Document passing null to Menu.setApplicationMenu
2017-04-04 08:42:08 -07:00
joshaber
146e1ed3ce
Don't pass the result through
...
It's meaningless on macOS, at least.
2017-04-04 09:21:15 -04:00
Ryohei Ikegami
61fa8693d2
Merge branch 'master' into native-window-open
2017-04-04 20:54:37 +09:00
Milan Burda
568454525d
Use point / size / rectangle structures consistently in API docs
2017-04-04 08:31:09 +02:00
Philip Jackson
6169ccd1e2
📝 Document that setApplicationMenu(null) has no effect on macOS
2017-04-04 18:00:20 +12:00
joshaber
e2bda3ca0f
Use an options object for most of the params
2017-04-03 21:33:21 -04:00
joshaber
da1b0aab3e
Flesh out some docs
2017-04-03 15:39:45 -04:00
Samuel Attard
f757912f90
Add missing finalUpdate prop
2017-04-01 12:11:34 +11:00
Kevin Sawicki
6d516fbae3
Move normalizeAccessKeys docs to right method
2017-03-31 15:08:03 -07:00
Thiago de Arruda
f0d447cd68
Pass uploadToServer
to windows crash reporter
2017-03-31 13:46:30 -03:00
Philip Jackson
1c80102218
📝 Document passing null to Menu.setApplicationMenu
...
[ci skip]
2017-03-31 16:42:03 +13:00
Kevin Sawicki
740de02d6c
builds -> Support
2017-03-30 14:36:52 -07:00
Kevin Sawicki
5b4f715d2e
Add test page to check for proprietary codecs
2017-03-30 14:36:52 -07:00
Kevin Sawicki
a2588c1fd9
Merge pull request #9052 from tonyganch/native_tabs
...
Native tabs on macOS
2017-03-30 14:02:19 -07:00
Kevin Sawicki
6f27d466a5
Move tabbingIdentifier out of webPreferences list
2017-03-30 13:49:00 -07:00
Kevin Sawicki
4001ba038e
Add descriptions for each segmentStyle
2017-03-30 12:36:20 -07:00
Kevin Sawicki
f805bbee9b
Merge pull request #9062 from electron/stringify-headers-in-net-module
...
Fix net module to accept non-string header values
2017-03-30 12:35:53 -07:00
Zeke Sikelianos
f0e7a84627
Merge pull request #9065 from electron/roles
...
Improve docs for MenuItem Roles
2017-03-30 12:28:14 -07:00
Thiago de Arruda
b3cf00a19a
Fix net module to accept non-string header values
...
This is required to be compatible with node.js http module.
2017-03-30 16:01:40 -03:00
Kevin Sawicki
3100463117
Merge pull request #8917 from bcomnes/patch-1
...
Clarify remote require of relative modules
2017-03-30 12:00:47 -07:00
Kevin Sawicki
55bf2239df
Remove spaces around brackets
2017-03-30 11:58:09 -07:00
Zeke Sikelianos
d5bc8990fc
link to roles list from Menu doc
2017-03-30 11:08:12 -07:00
Zeke Sikelianos
b24be19fac
tighten up formatting of menu example
2017-03-30 11:07:59 -07:00
Zeke Sikelianos
d779ecf674
create a linkable heading for MenuItem roles
2017-03-30 11:07:25 -07:00
Colin Eberhardt
bed32682b7
Clarification of the chromium sandbox support
2017-03-30 10:47:14 +01:00
Kevin Sawicki
57edc28b0d
Merge pull request #8880 from mst128256/2814
...
Default menu items for 'Edit' and 'Window' #2814
2017-03-29 12:31:58 -07:00
Tony Ganch
a7565f0d57
Enable native tabs on macOS
2017-03-29 13:51:39 +02:00
deepak1556
8db1eacd1c
[skip ci] add docs
2017-03-28 18:46:21 +05:30
Ryohei Ikegami
87565f4c84
Simplify example code
2017-03-28 19:50:45 +09:00
Ryohei Ikegami
e885e33b75
Fix choise -> choice
2017-03-28 19:50:00 +09:00
Kevin Sawicki
ad5a48d255
Merge pull request #8983 from electron/sandbox-initial-documentation
...
Add initial documentation for `sandbox` option.
2017-03-27 10:16:24 -07:00
Kevin Sawicki
870dcb9071
Remove old sandbox option in list and mark as experimental
2017-03-27 10:14:47 -07:00
Kevin Sawicki
f979bbf9d3
Merge pull request #8897 from electron/versioning-doc
...
update versioning doc
2017-03-27 09:54:11 -07:00
Kevin Sawicki
10dc08b39b
Merge pull request #9006 from electron/fix-thumbnailSize-doc
...
fix docs for thumbnailSize
2017-03-27 09:10:40 -07:00
Samuel Attard
168c47bf10
Update web-contents.md
2017-03-25 18:27:43 +11:00
Samuel Attard
b62f1fd022
Add missing return type on executeJavaScript
2017-03-25 14:59:48 +11:00
Samuel Attard
a80148aa29
Add missing property types on the process docs
2017-03-25 14:51:23 +11:00
Samuel Attard
aa5c778ca2
Generic doc fixes
2017-03-25 12:37:07 +11:00
Hari Juturu
d95114016d
V8 dev resources ( #9008 )
...
* Adding V8 documentation links
* Removing extra space
* use electron markdown conventions
* cross-link v8 and chromium dev docs
* fix v8 link
2017-03-24 15:40:23 -07:00
Zeke Sikelianos
095df457b2
fix docs for thumbnailSize
2017-03-24 11:14:43 -07:00
mst128256
9e471d8f1c
Added specs
2017-03-24 12:14:08 +01:00
Thiago de Arruda
437f1192d9
Add initial documentation for sandbox
option.
2017-03-23 21:42:25 -03:00
Felix Rieseberg
d5c4ad5e2c
📝 Improve notification docs
2017-03-23 14:12:35 -07:00
Cory Reed
a92f639b64
📝 Add note regarding dynamic addition/removal of menu items.
...
Closes #8928 .
[ci skip]
2017-03-23 11:57:44 -07:00
Ryohei Ikegami
6f9dbd4e04
Merge branch 'master' into native-window-open
2017-03-24 00:11:43 +09:00
Zeke Sikelianos
360d2b45f4
document resources for tracking chromium development
2017-03-22 22:59:11 -07:00
Zeke Sikelianos
d22910f554
mention tilde
2017-03-22 16:13:24 -07:00
Cheng Zhao
71c3e97e81
Fix docs lint warnings
2017-03-20 12:52:46 -07:00
Cheng Zhao
940d77b9a0
Fix typos and adjust sentences
2017-03-20 12:52:46 -07:00
Cheng Zhao
033aa16e04
test: Node integration in web workers
2017-03-20 12:52:46 -07:00
Cheng Zhao
ab83aa0bfd
docs: Multithreading
2017-03-20 12:52:46 -07:00
Kevin Sawicki
253caf35ab
Merge pull request #8955 from babanesma/feat/new-clean-command
...
Feat/new clean command
2017-03-20 10:36:19 -07:00
Kevin Sawicki
2d638e5da7
Add option to clean.py to only remove dist and out dirs
2017-03-20 10:33:04 -07:00
Kevin Sawicki
6ded27f3a9
Merge pull request #8878 from TanninOne/patch-1
...
Update browser-window.md
2017-03-20 10:14:23 -07:00
Kevin Sawicki
caae03f954
Use rendered language in both ready-to-show docs
2017-03-20 10:13:45 -07:00
Ryohei Ikegami
c3c67f78c1
Improve docs on window.open
2017-03-19 20:33:22 +09:00
Ryohei Ikegami
88f062958f
Fix option doc
2017-03-19 20:21:03 +09:00
Ryohei Ikegami
2c21d3b3fa
Fix JavaScript in docs
2017-03-19 20:09:52 +09:00
Ryohei Ikegami
afdf52b053
Add docs for useNativeWindowOpen
2017-03-19 18:37:38 +09:00
Adham Saad
8060b0966f
🐛 #8919 - fix typo
2017-03-17 20:47:20 +02:00
Adham Saad
487a195320
🐛 #8919 - add new command to the docs
2017-03-17 20:44:18 +02:00
Kevin Sawicki
6f047fd4b7
Mark touch bar apis with _Experimental_
2017-03-17 10:56:41 -07:00
Kevin Sawicki
3ae034deab
Change data -> format in clipboard docs
2017-03-17 09:57:17 -07:00
Kevin Sawicki
466c39ed19
Use icon for consistency with other touch bar APIs
2017-03-15 09:33:11 -07:00
Kevin Sawicki
87c219748d
Document more constructor options
2017-03-14 14:12:41 -07:00
Kevin Sawicki
2e0e4e69bb
Drop on prefix from property names
2017-03-14 14:02:48 -07:00
Bret Comnes
b67c81226c
fix linting
2017-03-14 10:48:44 -07:00
Samuel Attard
a55cddaa53
Add more options
2017-03-14 18:57:57 +11:00
Bret Comnes
85c48a2336
make main process example shorter
2017-03-13 17:20:11 -07:00
Bret Comnes
2276357f72
update with a tree
2017-03-13 17:18:23 -07:00
Bret Comnes
f82590b9ab
Wrap at 80
2017-03-13 15:48:42 -07:00
Bret Comnes
46af3cefec
Clarify remote require of relative modules
...
The docs for the `remote.require(module)` method were a little too terse for me to understand the behavior of relative module loading for `remote.require` and I had to run an experiment to understand the behavior (e.g. is the relative path relative to caller of `remote.require` or relative to some other path in the project related to the main process?). I think this is correct but someone please double check my understanding.
Adding an example and additional explanation should help clarify this. Feel free to edit the copy as needed.
2017-03-13 15:42:26 -07:00
Samuel Attard
cfb3798703
Add docs for TouchBarScrubbber
2017-03-13 11:00:25 +11:00
Zeke Sikelianos
582662e40f
fix markdown link
2017-03-10 09:03:04 -08:00
Zeke Sikelianos
7fefb75de5
update versioning doc
2017-03-10 08:08:23 -08:00
Samuel Attard
e6a66b6006
Add docs for segmented control touch bar item
2017-03-10 17:50:23 +11:00
Thiago de Arruda
e03e37e984
Pass uploadToServer
parameter to linux crash reporter
2017-03-09 17:23:52 -03:00
Kevin Sawicki
f19998ef4c
Add more default values
2017-03-09 10:26:44 -08:00
Kevin Sawicki
089bfd2cd2
Document nativeImage.addRepresentation(options)
2017-03-09 09:56:42 -08:00
Kevin Sawicki
783b5e84f4
Merge pull request #8866 from jkleinsc/master
...
Add WebRTCIPPolicy setting to webContents
2017-03-09 09:55:08 -08:00
mst128256
8aba640250
added default menu items for 'Edit' and 'Window' #2814
2017-03-09 16:01:33 +01:00
John Kleinschmidt
3c74404a3e
Updated docs.
2017-03-09 09:54:09 -05:00
TanninOne
410e80682a
Update browser-window.md
...
Notes that maximize will also show the window and that ready-to-show won't fire if the window is already being displayed. (See issue #8861 )
2017-03-09 15:41:31 +01:00
Kevin Sawicki
dcfab1b6a0
Link more touch bar params
2017-03-08 13:04:55 -08:00
John Kleinschmidt
950e3436c2
Removed webrtcippolicy attribute from webview
2017-03-08 13:52:04 -05:00
John Kleinschmidt
1c2a78a896
Add WebRTCIPPolicy setting to webContents and webview
...
Resolves #8777
Code to set and get the policy come from the muon framework code:
https://github.com/brave/muon/blob/master/atom/browser/api/atom_api_web_
contents.cc#L1324...L1343
2017-03-08 10:15:48 -05:00
Kevin Sawicki
6d5fbe6be2
Document scale factor option
2017-03-07 12:27:55 -08:00
Kevin Sawicki
bb8d42f1e1
Mark TouchBar as experimental
2017-03-07 09:42:45 -08:00
Samuel Attard
f97066511f
Capitalize type
2017-03-07 21:25:40 +11:00
João Moreno
5a4d9807ee
Update ses.resolveProxy
return type
...
As far as I'm aware, after using the `ses.resolveProxy` API, it seems to return a string in the shape of `PROXY foopy:80;SOCKS5 bar.com:1080`, not an object. Correct me if I'm wrong.
2017-03-07 11:21:51 +01:00
Kevin Sawicki
6bc464d4b0
Mention userGesture default
2017-03-06 10:51:48 -08:00
Kevin Sawicki
f549bda9fc
Merge pull request #8799 from nitsakh/baseURLForDataURL
...
Support base URL option to loadURL for data URLs
2017-03-06 10:25:53 -08:00
Kevin Sawicki
d26e4a4abf
Merge pull request #8800 from electron/https-website
...
Update website URLs to use HTTPS
2017-03-06 09:32:20 -08:00
Kevin Sawicki
cb66a769d4
Merge pull request #8795 from electron/rename-shortcuts-to-keyboard-shortcuts
...
Rename shortcuts to keyboard shortcuts
2017-03-06 09:30:55 -08:00
Kevin Sawicki
8b53ff3900
Merge pull request #8840 from Yarkhan/patch-1
...
Correcting typo
2017-03-06 09:27:38 -08:00
Kevin Sawicki
c7d3d48875
Merge pull request #8837 from rhysd/fix-touchbar-doc
...
Fix TouchBarSpacer class name in doc
2017-03-06 09:25:57 -08:00
Yarkhan
ef5c2bbded
Correcting typo
2017-03-05 20:40:18 -03:00
rhysd
c209b886bf
fix TouchBarSpacer class name in doc
2017-03-05 15:09:57 +09:00
Samuel Attard
f97ee56c9f
Add more explicit types to docs for TouchBar
2017-03-04 16:14:41 +11:00
Kevin Sawicki
2680ee9f8f
Add support for setting TouchBarLabel text color
2017-03-03 15:14:51 -08:00
Kevin Sawicki
fde310f50d
Mention it only effects 10.12.1 with touch bar
2017-03-03 14:04:55 -08:00
Kevin Sawicki
d9a8c15c69
Add clover to possible values
2017-03-03 14:00:39 -08:00
Kevin Sawicki
c349aeff80
Add initial touch bar specs
2017-03-03 14:00:39 -08:00
Kevin Sawicki
002369576f
Add initial touch bar docs
2017-03-03 14:00:39 -08:00
Samuel Attard
61949657f0
Some docs for touch bar
2017-03-03 14:00:38 -08:00
Zeke Sikelianos
ffc7a4c8a0
move platform labels to end of description for consistency
2017-03-02 13:57:04 -08:00
Zeke Sikelianos
23eecac288
document arguments for webview methods
2017-03-02 13:29:46 -08:00
Zeke Sikelianos
5ee7434a54
fix indentation of app.setLoginItemSettings arguments
2017-03-02 13:28:58 -08:00
Zeke Sikelianos
01423f79b3
denote webview process so linter will recognize it as an API
2017-03-02 13:27:04 -08:00
Nitish Sakhawalkar
370562b129
Moving data url test outside post navigation block. Trailing separator comment in the docs.
2017-03-02 12:14:18 -08:00
Nitish Sakhawalkar
e8c0813f46
Changes based on review.
2017-03-02 10:58:39 -08:00
Zeke Sikelianos
15bf7ed536
use https URLs for images
2017-02-28 21:24:31 -08:00
Zeke Sikelianos
69f0cb26e7
use https for all Electron website URLs
2017-02-28 21:19:55 -08:00
Nitish Sakhawalkar
879082b1a6
Issue #8735:Support base URL option to loadURL for data URLs
2017-02-28 16:49:03 -08:00
Zeke Sikelianos
8e7a26ec25
link to keyboard shortcuts from docs README
2017-02-28 08:44:28 -08:00
Zeke Sikelianos
61bce3ef39
rename shortcuts to keyboard-shortcuts for clarity
2017-02-28 08:44:12 -08:00
Zeke Sikelianos
5a173965ed
Merge pull request #8775 from electron/shortcuts
...
add a guide to keyboard shortcuts
2017-02-27 09:48:49 -08:00
Zeke Sikelianos
250c656aa7
lint
2017-02-27 09:34:35 -08:00
Kevin Sawicki
368da3300e
Merge pull request #8783 from thesbros/docs/blink-features-link
...
📝 Update link to Blink features.
2017-02-27 08:53:34 -08:00