deepak1556
2d8286515d
expose api only on platforms using nss cert database
2016-04-19 11:29:24 +05:30
deepak1556
919be67cd2
remove --client-certificate flag
2016-04-18 22:26:37 +05:30
deepak1556
1240c83e40
set trust bits for CA certs
2016-04-18 21:05:33 +05:30
deepak1556
e81cec4058
app: api to import client certificate
2016-04-18 10:54:43 +05:30
Cheng Zhao
576b54320a
Fix compilation errors on Windows
2016-04-01 16:34:20 +09:00
deepak1556
e14c91771b
removed redundant delegation
2016-04-01 08:14:29 +05:30
deepak1556
e0fe478ae7
decide early on render initiated window creations
2016-04-01 08:14:29 +05:30
Felix Rieseberg
1231360b2f
⚡ Add API: RemoveAsDefaultProtocolHandler
2016-03-28 15:31:01 -07:00
Felix Rieseberg
d2567b0381
⚡ Add API: SetASDefaultProtocolHandler
...
This PR adds an API enabling Electron to set itself as the default
protocol handler for a custom porotocl on both oS X and Windows.
For details, please see `docs/app.md`.
Closes #4857
2016-03-23 22:12:17 -07:00
Cheng Zhao
5fae63a2f5
Fix compilation errors on OS X
2016-03-10 17:06:21 +09:00
Cheng Zhao
0e2ac2d802
Merge pull request #4646 from phamdaniel/dark-mode
...
Add API to check OSX's Dark theme
2016-03-07 09:53:03 +09:00
Daniel Pham
68b453770b
🍎 Rename 'isDarkModeEnabled' to 'isDarkMode'
2016-03-06 10:55:47 -05:00
Cheng Zhao
23b92ef9ec
Fix passing certificate to select-client-certificate's callback
2016-03-05 18:57:46 +09:00
Daniel Pham
63294892f0
Rename dark-mode-changed to platform-theme-changed
2016-03-03 23:58:58 -05:00
Daniel Pham
c4049cb393
🍎 Add 'dark-mode-changed' event to app api
2016-03-01 15:43:38 -05:00
Daniel Pham
eaac67ac60
🍎 Add 'isDarkModeEnabled' to app api
2016-03-01 13:12:21 -05:00
Simon Madine
f9efdc4435
🍎 Add Show to API for OS X
2016-01-30 22:30:38 +01:00
Simon Madine
6a643ec3c8
Only add Hide if OS_X is defined
2016-01-29 22:51:06 +01:00
Simon Madine
7a370ccd0f
🍎 Add 'Hide' to App API for OS X only
2016-01-29 16:09:54 +01:00
ragingwind
7229d2462a
Add app.dock.setIcon to change icon of dock
2016-01-24 08:30:14 +09:00
Eran Tiktin
83b36ce40b
Add API for checking if AeroGlass/DWM is enabled
...
Resolves #1020
2016-01-16 06:27:44 +02:00
Kevin Sawicki
3e5caf7e54
Get exit code from within App::OnQuit
2015-12-09 18:19:51 -08:00
Kevin Sawicki
92433be888
Include exit code with quit event
2015-12-09 18:09:59 -08:00
Kevin Sawicki
63c0095efb
Emit process exit event with app exit code
2015-12-09 14:40:53 -08:00
Cheng Zhao
1392873cbc
Add session.defaultSession and remove app.defaultSession
...
The latter has never been a public API, no need to keep it.
2015-11-19 21:03:42 +08:00
Cheng Zhao
9ca022c98a
docs: Update the certificate APIs
2015-11-18 11:35:26 +08:00
Cheng Zhao
e432abfb42
Add certificate-error event
2015-11-18 10:39:25 +08:00
Cheng Zhao
341341bf28
Rename select-certificate to select-client-certificate
2015-11-18 10:10:21 +08:00
Cheng Zhao
9a0dc3bfd7
Add Delegate for AtomBrowserClient
2015-11-18 10:07:03 +08:00
Cheng Zhao
24f573eceb
Merge pull request #3344 from deepak1556/certificate_verifier_api_patch
...
session: api to allow handling certificate verification
2015-11-17 18:53:35 +08:00
Cheng Zhao
d3caea91b0
Add paths from chrome_paths
2015-11-13 13:05:16 +08:00
Robo
bfaa50a79e
retrieve download directory using on linux
2015-11-13 07:44:05 +05:30
Robo
d072e61282
session: api to allow handling certificate verification
2015-11-13 01:27:30 +05:30
Cheng Zhao
863199348f
Make process.exit() quit gracefully
...
Instead of abrupting the whole program immediately, we should close all
windows and release all native resources gracefully on exit. This avoids
possible crashes.
Fix #3350 .
2015-11-06 20:25:20 +08:00
Cheng Zhao
9047f81835
win: Set app user model ID in one place
...
Fix #3297 .
Fix #2573 .
2015-11-03 15:09:31 +08:00
Robo
c969052f12
browser: handle flash context menu
2015-11-01 01:13:17 +05:30
Cheng Zhao
569e87035a
Also emit "login" on WebContents
2015-10-28 21:00:39 +08:00
Cheng Zhao
4eac6b31b1
Also pass "webContents" in "login" event
2015-10-28 20:23:18 +08:00
Cheng Zhao
131531219e
Pass auth_info and request in "login" event
2015-10-28 20:13:06 +08:00
Cheng Zhao
d05255179a
Add login event for "app" module
2015-10-28 19:54:59 +08:00
Cheng Zhao
6bfe06ec4e
Pass original argv in callback
2015-10-22 19:02:21 +08:00
Cheng Zhao
afc1fff792
Remove the need for ProcessSingletonStartupLock
2015-10-22 17:12:09 +08:00
Cheng Zhao
70e74d05e0
Revert "app.makeSingleInstance is not available on OS X"
...
This reverts commit bcb78ebc00
.
2015-10-22 17:03:18 +08:00
Cheng Zhao
f9d797d1ea
win: Fix compiler warning
2015-10-22 16:55:54 +08:00
Cheng Zhao
e14fd62f46
Correctly handle notification callback when shutting down
...
When returning false in the notification callback the ProcessSingleton
will assume current process is quitting, we should met its expectation.
2015-10-22 16:24:35 +08:00
Cheng Zhao
bcb78ebc00
app.makeSingleInstance is not available on OS X
2015-10-22 15:02:32 +08:00
Cheng Zhao
310954713f
Simplify the usage of singleton
2015-10-22 14:59:12 +08:00
Paul Betts
de66888051
Remove atom_process_singleton, just use the Chrome classes directly
2015-10-21 13:38:39 -07:00
Paul Betts
d020a7dc86
cpplinting
2015-10-21 13:17:56 -07:00
Paul Betts
938d68eb36
Move all the browser.cc code over to atom_api_app.cc
2015-10-21 13:04:50 -07:00