Cheng Zhao
7bd9f2e5d0
Fix converting string to NSURL
2015-12-24 12:43:07 +08:00
Cheng Zhao
d3d8ab7c66
linux: Fix pressing Alt not toggling window menu bar
2015-12-24 11:43:14 +08:00
Cheng Zhao
a6074f89a3
Merge pull request #3900 from bbondy/theme-color
...
Theme color
2015-12-23 16:09:57 +08:00
Cheng Zhao
e90435e236
Remove visual artifacts of hidden-inset window
2015-12-23 12:38:11 +08:00
Brian R. Bondy
29b00ae0d6
Add tests for did-change-theme-color event
2015-12-22 23:05:03 -05:00
Cheng Zhao
79b507bda6
Merge pull request #3890 from jaanus/hidden-inset-fullscreen-fix
...
Fixes #2810 : correct look of hidden-inset windows in full screen.
2015-12-23 11:26:06 +08:00
Cheng Zhao
3e1edfc9d0
Cancel callback in OnComplete event
2015-12-23 10:20:59 +08:00
Brian R. Bondy
11b2015535
Add did-change-theme-color event to webview
2015-12-22 17:28:22 -05:00
jaanus
aa2f7aaf3a
Fixes #2810 : correct look of hidden-inset windows in full screen.
...
`hidden` and `hidden-inset` windows differ only by the hidden-inset window having a toolbar. Yet, the toolbar yields an incorrect look in fullscreen mode. So, we hide and recreate the toolbar for such windows when going to/from fullscreen.
There are some visible artifacts during the fullscreen animations, as the toolbar gets created and destroyed. When entering fullscreen, you see a toolbar that then disappears. When going back to normal window, you see the traffic light buttons jump around a little bit. Yet, this is definitely better than the current broken fullscreen look.
2015-12-22 20:31:55 +02:00
Cheng Zhao
c8c4381085
Cancel callback when URLRequest is destroyed
2015-12-22 23:35:23 +08:00
Cheng Zhao
c4931bb2d1
Merge pull request #3865 from deepak1556/visibility_api_patch
...
browser: fix document.hidden value
2015-12-22 19:04:23 +08:00
Robo
61004f0e46
fix cpplint warning
2015-12-21 19:16:02 +05:30
Robo
cc7040d75f
add test
2015-12-21 18:47:52 +05:30
Robo
ff51e4033a
browser: fix value of document.hidden
2015-12-21 17:43:46 +05:30
Robo
d162180196
add api to webview
2015-12-21 17:13:23 +05:30
Robo
39e615ed87
webContents: adding findInPage api
2015-12-21 17:09:56 +05:30
Cheng Zhao
144b73c267
Merge pull request #3877 from bbondy/master
...
Add media play events to webview
2015-12-21 18:22:30 +08:00
Cheng Zhao
fa8d251370
Merge pull request #3875 from deepak1556/history_navigation_patch
...
navigaton: handle history operations from renderer
2015-12-21 18:18:45 +08:00
Cheng Zhao
99a661e2d2
Code cleanup of browser_mac.mm
2015-12-21 10:52:49 +08:00
Cheng Zhao
8d094d99da
Merge pull request #3853 from jrehbein/fix-issue-3739-mac-dockshow
...
DockShow workaround for issue #3739
2015-12-21 10:38:52 +08:00
Brian R. Bondy
fed0c43970
Add media play events to webview
2015-12-19 22:37:51 -05:00
Robo
7b03ac6d61
navigaton: handle history operations from renderer
2015-12-20 01:23:47 +05:30
Cheng Zhao
bff2861311
Bump v0.36.1
2015-12-18 13:16:30 +08:00
Cheng Zhao
62c4a471d9
Merge pull request #3854 from deepak1556/browser_client_crash_patch
...
browser: check for rvh existence
2015-12-18 12:10:41 +08:00
Cheng Zhao
7d000807c5
Merge pull request #3849 from herrmannplatz/improvement/escape-url-openexternal
...
escape url string
2015-12-18 09:45:39 +08:00
Robo
836c13b330
browser: check for rvh existence
2015-12-18 04:45:32 +05:30
Jeff Rehbein
a39834740c
DockShow workaround
...
Implemented workaround in DockShow for TransformProcessType bugginess
based on discussion at http://stackoverflow.com/questions/7596643/
2015-12-17 14:00:04 -06:00
rehez
9eb797296c
escape url string
2015-12-17 16:23:30 +01:00
Cheng Zhao
353f08e477
Remove sync call in remote module
2015-12-17 22:03:16 +08:00
Cheng Zhao
0282d424bf
Pass opener ID in command line
2015-12-17 21:27:14 +08:00
Cheng Zhao
71303d4804
Fix context menu not working in devtools
2015-12-16 22:57:03 +08:00
Cheng Zhao
c6634b1ea5
Don't pump message loop when sending sync msg
...
In old days sending sync message to browser process requires pumping
message loop in the renderer process, but now in Chrome 47 it is not
true anymore. And even when we do it, the Send method may fail
sometimes, so this change seems to be required for the Chrome 47
upgrade.
2015-12-16 22:38:04 +08:00
Kevin Sawicki
67c0de36a3
📝 Add missing period
2015-12-15 16:47:19 -08:00
Kevin Sawicki
d44a9d1fcc
🎨 Remove parens
2015-12-15 16:46:53 -08:00
Kevin Sawicki
aedfd3bf0e
Add specs for companyName/submitURL being required
2015-12-15 16:44:38 -08:00
Kevin Sawicki
80e9631220
Use better signature match in deprecation message
2015-12-15 16:27:01 -08:00
Kevin Sawicki
524649797f
Make companyName and submitURL required options
2015-12-15 16:22:31 -08:00
Kevin Sawicki
dcc99dd5cb
Remove duplicate start calls
2015-12-15 16:10:04 -08:00
Cheng Zhao
d0962b1a93
Fix crash when passing empty path to addRecentDocument
2015-12-15 17:17:24 +08:00
Cheng Zhao
02e0c169a2
Merge pull request #3815 from bjrmatos/master
...
Add A5 Page Size to printToPDF
2015-12-15 16:55:17 +08:00
Cheng Zhao
8ddf4da9ad
Merge pull request #3809 from deepak1556/capture_page_api_patch
...
browser: dont lose coordinates in capturepage src rect
2015-12-15 15:33:02 +08:00
BJR Matos
86bf7341b7
Add A5 Page Size to printToPDF
2015-12-14 23:28:25 -05:00
Kevin Sawicki
d133553c6a
Remove unused ipc event handler
2015-12-14 16:58:32 -08:00
Kevin Sawicki
c5936a024d
Remove unneeded custom postMessage on window.opener
2015-12-14 16:54:26 -08:00
Kevin Sawicki
184b11be4c
Use id from source window when building proxy for event source
2015-12-14 16:47:33 -08:00
Kevin Sawicki
0ef0ce7345
Add comment about window.opener tweaks
2015-12-14 14:57:38 -08:00
Kevin Sawicki
574eec3e74
Make window.opener a BrowserWindowProxy
2015-12-14 14:55:48 -08:00
Robo
3c5e5053e3
browser: dont lose coordinates in capturepage src rect
2015-12-14 00:52:05 +05:30
Cheng Zhao
10cad5d9ec
Passing '' to fromPartiion should return default partition
2015-12-12 15:47:15 +08:00
Cheng Zhao
4d1e223044
Cleanup the cookies code
2015-12-12 15:33:51 +08:00
Cheng Zhao
9438d42322
Use generic function to handle events
2015-12-12 13:49:58 +08:00
Cheng Zhao
f976e1eda3
Add generic version for FillDetailsObject
2015-12-12 13:20:53 +08:00
Cheng Zhao
d3e723557e
spec: Add test cases for webRequest
2015-12-12 11:31:19 +08:00
Cheng Zhao
fed94aada0
Make the webRequest listener asynchronous
2015-12-12 00:09:03 +08:00
Cheng Zhao
d3c8363450
EventType can not be OR'ed
2015-12-11 21:22:23 +08:00
Cheng Zhao
15cc8164b8
Use lower case for getters
2015-12-11 21:21:02 +08:00
Cheng Zhao
67886cf513
Parse filters in API code
2015-12-11 21:14:13 +08:00
Cheng Zhao
79a627014c
Unify how listeners are handled
2015-12-11 21:02:44 +08:00
Cheng Zhao
9d406b695f
Simpily the code that fills |details|
2015-12-11 20:40:39 +08:00
Cheng Zhao
e295eb0de7
Fix memory leak
2015-12-11 20:11:59 +08:00
Cheng Zhao
467e3b25b2
EvenTypes => EventType
2015-12-11 20:11:22 +08:00
Cheng Zhao
62f4b25cf9
Allow passing null to webRequest
2015-12-11 19:13:56 +08:00
Cheng Zhao
98ba1a24db
Merge pull request #3640 from deepak1556/webrequest_api_patch
...
session: add webrequest api
2015-12-11 16:56:00 +08:00
Cheng Zhao
9495392a1a
Bump v0.36.0
2015-12-11 11:49:01 +08:00
Cheng Zhao
a6976b7d83
Merge pull request #3768 from atom/window-post-message-origin
...
Fix window.postMessage event.origin value
2015-12-11 11:18:37 +08:00
Kevin Sawicki
8401ece537
removeWindow -> remove
2015-12-10 17:22:05 -08:00
Kevin Sawicki
49ca7509c7
Reuse BrowserWindowProxy instances
2015-12-10 17:20:10 -08:00
Kevin Sawicki
9bc7c62588
Use source origin in window.postMessage event
2015-12-10 16:52:39 -08:00
Kevin Sawicki
afd736d9f9
Guard against null guest or embedder
...
Uncaught exceptions would occur when these were null and
the target origin was '*'
2015-12-10 15:51:15 -08:00
Robo
053c77d6f4
default session should be persistent
2015-12-11 00:27:15 +05:30
Robo
658accab94
fix pointer usage
2015-12-11 00:25:25 +05:30
Cheng Zhao
a05aa81570
Merge pull request #3701 from deepak1556/protocol_post_data_patch
...
protocol: provide upload data when available
2015-12-10 19:38:35 +08:00
Cheng Zhao
991c8b1aa6
Merge pull request #3733 from deepak1556/service_worker_scheme_patch
...
protocol: api to register schemes that can handle service worker
2015-12-10 19:29:51 +08:00
Cheng Zhao
b42695a0b5
win: Don't attach console for third party terms
...
Close #3692 .
2015-12-10 14:37:09 +08:00
Cheng Zhao
f4f4b9428d
Merge pull request #3750 from atom/fullscreen-menu-item
...
Don't add the "Enter Full Screen" menu item automatically
2015-12-10 11:54:26 +08:00
Cheng Zhao
c180607ef6
Merge pull request #3721 from atom/emit-process-exit-event-with-code
...
Emit process exit event with app exit code
2015-12-10 11:39:14 +08:00
Cheng Zhao
2d940b7df7
Don't add the "Enter Full Screen" menu item automatically
2015-12-10 11:27:41 +08:00
Cheng Zhao
388a18b265
Don't emit will-quit
event when calling app.exit
2015-12-10 11:22:55 +08:00
Kevin Sawicki
ea1479a651
Revert comment tweak
2015-12-09 18:20:53 -08:00
Kevin Sawicki
3e5caf7e54
Get exit code from within App::OnQuit
2015-12-09 18:19:51 -08:00
Kevin Sawicki
fc724b51e8
Move event forwarding back to init
2015-12-09 18:11:38 -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
Robo
461ee49988
fix response headers modification
2015-12-09 20:14:18 +05:30
Robo
c5b5bbbeb2
add documentation
2015-12-09 20:14:18 +05:30
Robo
29f32c5ec7
support filtering event with url regex
2015-12-09 20:14:18 +05:30
Robo
13b5cab738
session: add webrequest api
2015-12-09 20:14:18 +05:30
deepak1556
fbb5091f94
provide option to set content for POST request with url_fetcher
2015-12-09 20:10:57 +05:30
deepak1556
940289639e
protocol: provide upload data when available
2015-12-09 20:10:57 +05:30
Cheng Zhao
8aee0f52e9
Merge pull request #3715 from atom/do-not-edit-menu-template
...
Do not modify the specified menu template
2015-12-09 12:13:07 +08:00
Cheng Zhao
774ba2a235
Merge pull request #3706 from billyct/master
...
support an api with SetIgnoreMouseEvents for osx
2015-12-09 12:00:16 +08:00
Robo
855d49100f
protocol: api to register schemes that can handle service worker
2015-12-09 03:11:58 +05:30
Cheng Zhao
836a8b1794
Simplify the desktopCapturer code
2015-12-08 13:49:26 +08:00
Cheng Zhao
51368952a2
Remove deprecated API usages
2015-12-08 12:58:39 +08:00
Cheng Zhao
d458b24945
Add desktopCapturer to electron
2015-12-08 12:44:55 +08:00
Cheng Zhao
04f7ceab73
Merge branch 'master' into desktop-capture-api
2015-12-08 12:43:44 +08:00
Cheng Zhao
407e88cbad
Update brightray
2015-12-08 12:08:33 +08:00
Cheng Zhao
0f2f9b5543
No need to use CommandDispatcher
2015-12-08 11:20:07 +08:00
Cheng Zhao
e8b5a6dedf
Merge pull request #3718 from atom/chrome47-linux
...
Port Chrome47 on Linux
2015-12-08 10:14:27 +08:00
Cheng Zhao
e78a02806e
Make it safe to use sendSync
2015-12-08 10:07:47 +08:00