Cheng Zhao
ee28f4fc32
Handle v8::MicrotasksScope in the main process
2016-06-24 14:45:31 +09:00
Cheng Zhao
e2442fb052
Move converter for std::map to native_mate
2016-06-13 09:27:13 +09:00
Milan Burda
c89d8b19b6
Add optional requestHeaders argument to autoUpdater.setFeedURL + allow calling mulitple times
2016-06-12 12:46:16 +02:00
deepak1556
0e0235407b
fill net::URLRequest details on IO thread
2016-06-09 10:39:18 +05:30
Cheng Zhao
a92b4a6da4
Make |button| default to left button
...
This fixes the failing test of sendInputEvent.
2016-05-23 14:27:39 +09:00
Cheng Zhao
06800940ec
Fix cpplint warnings
2016-05-23 13:03:43 +09:00
Cheng Zhao
7ba391da7c
Update to API changes of Chrome 51
2016-05-23 10:59:39 +09:00
Cheng Zhao
adfd99f5f0
Convert to mate::Handle<NativeImage> instead of gfx::Image
2016-05-20 16:14:40 +09:00
Cheng Zhao
d3e359ab2d
No need for explicit type conversion
2016-05-14 22:50:05 +09:00
Cheng Zhao
7459581d13
Fix cpplint warnings
2016-05-14 22:40:18 +09:00
Paul Betts
19cba3ff85
Use doubles to represent memory size in bytes
2016-05-13 10:54:10 -07:00
Paul Betts
6f0057532a
Forgot scripts
2016-05-13 10:54:10 -07:00
Paul Betts
61e775c055
Write native_mate converters for WebCache::ResourceTypeStat and friends
2016-05-13 10:54:10 -07:00
Brian R. Bondy
8a2aebd03f
PermissionStatus constant update
2016-05-13 11:07:17 +09:00
Cheng Zhao
2c31d7c1e8
Revert "Generalize this mate converter for reuse."
...
This reverts commit 92606579d3
.
2016-05-05 17:26:31 +09:00
Cheng Zhao
3f2a25d07c
Merge pull request #5352 from CharlieHess/hands-on-hand-off
...
OS X Handoff Feature
2016-05-05 12:06:56 +09:00
Daniel Pham
a6f2d401fa
Follow object naming conventions for params in the 'context-menu' event
2016-05-04 10:41:10 -04:00
Daniel Pham
0fffbea79d
Add 'context-menu' event to 'WebContents'
2016-05-03 17:50:54 -04:00
Charlie Hess
88805ec7e2
Make the Linter happy.
2016-04-29 22:05:36 -07:00
Charlie Hess
92606579d3
Generalize this mate converter for reuse.
2016-04-29 17:32:25 -07:00
Cheng Zhao
06cf0406fe
Dereference remote objects with native code
...
Previously we rely on the v8util.setDestructor to dereference the remote
objects in JavaScript, however as documented in V8, it is forbidden to
call V8 APIs in object's destructor (e.g. the weak callback), and doing
so would result in crashs.
This commit removes the JavaScript setDestructor method, and avoids
doing the dereference work with V8.
2016-04-26 16:16:22 +09:00
deepak1556
ca756c3c24
session: allow providing permission to handle external protocols
2016-04-21 05:27:07 +05:30
Cheng Zhao
5fae63a2f5
Fix compilation errors on OS X
2016-03-10 17:06:21 +09:00
Paul Betts
4503aafe64
int32 => int32_t
2016-03-10 17:06:21 +09:00
Paul Betts
d2944c62a5
basictypes.h => macros.h
2016-03-10 17:06:21 +09:00
Cheng Zhao
2515425cd5
Remove duplicated keyboard code
2016-03-06 15:04:05 +09:00
Cheng Zhao
a21e095a59
Merge pull request #4515 from deepak1556/ipc_value_conversion_patch
...
ipc: allow passing date instances
2016-02-26 16:16:33 +08:00
Cheng Zhao
316e6850ae
Merge pull request #4592 from miniak/fix-url-request-converter-crash
...
Fix crash in mate::Converter<const net::URLRequest*>::ToV8
2016-02-25 21:11:43 +08:00
Robo
a1a17b7ee8
use v8::Object::Get
2016-02-25 11:21:21 +05:30
Milan Burda
d2b48b2aa7
Fix crash in mate::Converter<const net::URLRequest*>::ToV8
...
The net::URLRequest::url() method calls vector<GURL>::back(), which is undefined when the url_chain is empty
2016-02-24 14:01:26 +01:00
Robo
467870deb6
use builtin method
2016-02-24 16:30:23 +05:30
Robo
6fcc197db8
webview: api to get webcontents and associated host webcontents
2016-02-24 11:55:15 +05:30
Robo
367d12402a
ipc: allow passing date instances
2016-02-23 16:23:15 +05:30
Cheng Zhao
69f93a7528
Merge pull request #4223 from deepak1556/notification_disable_patch
...
session: add setPermissionRequestHandler api
2016-02-01 20:51:22 +08:00
Robo
45eada306f
add pointerlock permission type
2016-02-01 15:13:49 +05:30
Robo
db26dcaf4c
expose handler from session and remove permission-request event
2016-02-01 12:23:51 +05:30
Heilig Benedek
61e0219e91
Added documentation, restructured the files to fit better with electron's style and fixed a typo in keyboard_util's name.
2016-01-31 02:27:14 +01:00
Robo
2a278ceb8f
delegate to permission manager for other permissions
2016-01-30 16:49:18 +05:30
Robo
dc0151099c
session: provide uploadData with webrequest api when available
2016-01-27 18:39:40 +05:30
Robo
61004f0e46
fix cpplint warning
2015-12-21 19:16:02 +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
fed94aada0
Make the webRequest listener asynchronous
2015-12-12 00:09:03 +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
Robo
658accab94
fix pointer usage
2015-12-11 00:25:25 +05:30
Robo
13b5cab738
session: add webrequest api
2015-12-09 20:14:18 +05:30
deepak1556
940289639e
protocol: provide upload data when available
2015-12-09 20:10:57 +05:30
Cheng Zhao
73e7773d84
Update to API changes of Chrome 47
2015-12-07 19:56:23 +08:00
Cheng Zhao
1e7c8c9fda
It is fine to leak a V8 handle on exit
2015-12-03 16:33:57 +08:00
Cheng Zhao
e5358d405a
Make sure V8 Function passed to native code are destroyed on UI thread
2015-12-03 11:24:33 +08:00