Kevin Sawicki
3041fcc79e
Add spec for BrowserWindow.setContentBounds
2016-08-04 12:34:09 -07:00
Kevin Sawicki
01f95c149a
Doc BrowserWindow.setContentBounds
2016-08-04 12:15:29 -07:00
Kevin Sawicki
7bca105e15
Set max size on window constraints
2016-08-04 12:14:23 -07:00
Kevin Sawicki
7ae9c7616d
Use empty origin when only adjusting size
2016-08-04 12:10:01 -07:00
Kevin Sawicki
52199a008d
Add initial setContentBounds method
2016-08-04 12:02:24 -07:00
Kevin Sawicki
5681ee5220
Use current content position when adjusting content size
2016-08-04 11:41:32 -07:00
Kevin Sawicki
a190495df3
Use bounds for converting window/content sizes
2016-08-04 11:27:27 -07:00
Kevin Sawicki
4751f971e2
Use View::GetBoundsInScreen to compute content bounds
2016-08-04 09:58:36 -07:00
Kevin Sawicki
4f90abce23
Set bounds size to content size
2016-08-04 09:58:36 -07:00
Kevin Sawicki
a868bffd73
Document BrowserWindow.getContentBounds()
2016-08-04 09:58:36 -07:00
Kevin Sawicki
79eee0fdf1
Assert after size through getContentBounds() API
2016-08-04 09:58:35 -07:00
Kevin Sawicki
48cc13d009
Add BrowserWindow.getClientBounds API
2016-08-04 09:58:35 -07:00
Cheng Zhao
cdfbeb1a0a
Merge pull request #6726 from MaxWhere/dummy-view-fix
...
Omits setMouseDownCanMoveWindow call for OffScreenView
2016-08-04 22:07:30 +09:00
gellert
0bb5dabf99
omits setMouseDownCanMoveWindow call for OffScreenView
2016-08-04 12:00:35 +02:00
Cheng Zhao
7624958cf2
Merge pull request #6723 from electron/dummy-view
...
Show a dummy view in the offscreen window
2016-08-04 17:04:32 +09:00
Cheng Zhao
c0c7b81aed
Fix building on Linux
2016-08-04 16:43:30 +09:00
Cheng Zhao
31d8e1b9c9
Also show the text on Windows and Linux
2016-08-04 16:36:01 +09:00
Cheng Zhao
41df037f64
Show dummy view under offscreen mode
2016-08-04 15:35:08 +09:00
Cheng Zhao
64334fd40b
Pass SkBitmap directly
2016-08-04 13:22:19 +09:00
Cheng Zhao
530fcc8de1
Pass OnPaint callback in constructor
...
This can catch the paint events happened before onload event.
2016-08-04 13:03:24 +09:00
Cheng Zhao
32d9382417
Merge pull request #6713 from MaxWhere/offscreen-rendering-fixes
...
Fixes buffer size in offscreen mode
2016-08-04 13:00:54 +09:00
Heilig Benedek
1b0af6f6f1
removed bpp (it can be calculated)
...
fixed buffer size calculation (we actually send the whole image, not just the dirty part)
removed the unnecessary resets and const
now we use Copy instead of New
2016-08-04 05:18:27 +02:00
Cheng Zhao
01d3f76f92
Merge pull request #6718 from electron/coverage
...
Add JavaScript code coverage reporting
2016-08-04 10:59:54 +09:00
Cheng Zhao
4a5a4729b4
Merge pull request #6720 from deepak1556/extension_scheme_patch
...
browser: register extension scheme as web safe scheme
2016-08-04 10:51:48 +09:00
Cheng Zhao
6e63ea7d91
Merge pull request #6719 from electron/is-destroyed-public
...
Mark isDestroyed as public on BrowserWindow/WebContents
2016-08-04 10:49:01 +09:00
Cheng Zhao
f9a3ed10b8
Merge pull request #6714 from sairoutine/jpdocs
...
Add: japanese build-instructions-osx.md
2016-08-04 10:26:00 +09:00
Cheng Zhao
28cb0c7f6b
Merge pull request #6709 from saghul/uv-fixes
...
A couple of small libuv related fixes
2016-08-04 10:09:58 +09:00
Cheng Zhao
361161df0a
Merge pull request #6711 from miniak/cleanup
...
isSwipeTrackingFromScrollEventsEnabled cleanup
2016-08-04 10:09:39 +09:00
Kevin Sawicki
1ee244c1b2
Upgrade to electabul@0.0.4
2016-08-03 16:37:53 -07:00
Kevin Sawicki
e1eef5f7ca
Upgrade to electabul@0.0.3
2016-08-03 16:23:40 -07:00
Kevin Sawicki
a665cf1935
Remove unused spec modules
2016-08-03 16:23:40 -07:00
Kevin Sawicki
ad07a20d9a
Use electabul to instrument and report coverage
2016-08-03 16:23:39 -07:00
Kevin Sawicki
2c0de93f06
Use once when calling done callback
2016-08-03 16:23:39 -07:00
Kevin Sawicki
0ebe142b2f
Close windows instead of destroying them
2016-08-03 16:23:39 -07:00
Kevin Sawicki
cce6be1900
Only prevent unload the first time it is attempted
2016-08-03 16:23:39 -07:00
Kevin Sawicki
916920844e
Use once instead of on
2016-08-03 16:23:39 -07:00
Kevin Sawicki
60e60d86d1
Send coverage from chrome extension iframe
2016-08-03 16:23:39 -07:00
Kevin Sawicki
9aec425ea8
Save dev tools coverage when available
2016-08-03 16:23:39 -07:00
Kevin Sawicki
e034bd05d3
Save type in coverage filename
2016-08-03 16:23:39 -07:00
Kevin Sawicki
88dc281242
Use web contents id when pid is unavailable
2016-08-03 16:23:38 -07:00
Kevin Sawicki
eaa567dd86
Ignore windows with no URLs
2016-08-03 16:23:38 -07:00
Kevin Sawicki
016faacf86
Save coverage on beforeunload event
2016-08-03 16:23:38 -07:00
Kevin Sawicki
300bf24241
Save coverage data when browser windows are destroyed
2016-08-03 16:23:38 -07:00
Kevin Sawicki
9299921ee9
Delete output lib folder before instrumenting
2016-08-03 16:23:38 -07:00
Kevin Sawicki
491f69df80
Add ability to run tests with coverage report
2016-08-03 16:23:38 -07:00
Kevin Sawicki
e17e195479
Add run script to generate instrumented code coverage .asar
2016-08-03 16:23:38 -07:00
Kevin Sawicki
5b5d51ecf4
Add helper to instrument electron.asar
2016-08-03 16:23:38 -07:00
Kevin Sawicki
afdff69482
Add initial code coverage reporting
2016-08-03 16:23:37 -07:00
deepak1556
835891b373
browser: register extension scheme as web safe scheme
2016-08-04 04:30:25 +05:30
Kevin Sawicki
05ab7d39ad
Mark isDestroyed as public on BrowserWindow/WebContents
2016-08-03 14:58:22 -07:00