Heilig Benedek
29f30aa6ba
added checks for painting_ when setting the outputdevice to active state and removed show/hide from start/stoppainting since during testing they caused transparent frames to appear when a window was set to paint again after stopping
2016-08-05 12:30:47 +02:00
Cheng Zhao
8a33464d41
Merge pull request #6654 from electron/content-bounds
...
Add BrowserWindow.get/setContentBounds()
2016-08-05 17:23:24 +09:00
Cheng Zhao
a14b2c1cf8
Remove AtomBrowserContext::SetCookieableSchemes
...
The standard schemes are already stored, we don't have to duplicate the
list for every session.
2016-08-05 16:35:37 +09:00
Cheng Zhao
6cd1aa21af
Merge pull request #6708 from deepak1556/cookieable_schemes_patch
...
protocol: custom standard schemes should support cookies
2016-08-05 16:25:23 +09:00
Kevin Sawicki
52199a008d
Add initial setContentBounds method
2016-08-04 12:02:24 -07:00
Kevin Sawicki
48cc13d009
Add BrowserWindow.getClientBounds API
2016-08-04 09:58:35 -07:00
deepak1556
2aa1c9e556
register cookieable schemes with browser context
2016-08-04 12:17:30 +05:30
deepak1556
52431506ba
protocol: custom standard schemes should support cookies
2016-08-04 11:06:21 +05:30
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
gellert
ca16132268
renames to bytesPerPixel and use nullptr
2016-08-03 19:39:23 +02:00
Milan Burda
136f10c4e8
Remove unnecessary comment + respondsToSelector for isSwipeTrackingFromScrollEventsEnabled implementation
2016-08-03 15:46:39 +02:00
gellert
50485a28d3
fixes buffer size and adds pixel size to paint event
2016-08-03 13:28:19 +02:00
Cheng Zhao
5dabc47440
Remove the view-painted event
2016-08-03 16:20:55 +09:00
Cheng Zhao
1e4c83eb93
Cleanup atom_api_system_preferences_mac.mm
2016-08-03 16:13:51 +09:00
Cheng Zhao
322fb97d8d
Merge pull request #6686 from darkdh/swipe_prefs
...
Swipe back/forward should respect system preferences
2016-08-03 16:10:29 +09:00
Cheng Zhao
ea8ea1543f
Refactor osr_output_device
2016-08-03 13:06:38 +09:00
Cheng Zhao
9d8e510a55
Refactor the code in atom_api_web_contents
2016-08-03 13:06:34 +09:00
Cheng Zhao
921aaf9aa3
Move osr related files to atom/browser/osr
2016-08-03 13:05:47 +09:00
Anthony Tseng
e0c0e3e5f7
Add IsSwipeTrackingFromScrollEventsEnabled in system prefs
2016-08-03 10:27:56 +08:00
Cheng Zhao
b0e36ec93a
Revert unnecessary changes
2016-08-03 10:48:07 +09:00
gellert
8eed91d87a
Merge remote-tracking branch 'upstream/master' into speedup-gpu
2016-08-02 14:59:03 +02:00
Cheng Zhao
844f32aa36
Set prototype of constructor directly
2016-08-02 20:38:35 +09:00
Cheng Zhao
8c3232dc56
Every native class now gets a name
2016-08-02 19:28:12 +09:00
Cheng Zhao
cb19efe49c
Pass FunctionTemplate in BuildPrototype
2016-08-02 18:08:12 +09:00
Cheng Zhao
895b8b47ee
Save the prototype of EventEmitter
2016-08-02 18:07:58 +09:00
Cheng Zhao
8f62e79243
GetConstructor now returns FunctionTemplate
2016-08-02 17:20:58 +09:00
Cheng Zhao
8cd4612fe0
Get rid of Constructor class
2016-08-02 17:02:04 +09:00
Cheng Zhao
846ec5ba49
AttachAsUserData now can assume the existence of wrapper
2016-08-02 15:28:32 +09:00
Cheng Zhao
1505a46ed0
Do not rely on Constructor to call Init
...
This makes it deterministic when the JavaScript is initialized, which
can make our logic more clear.
2016-08-02 15:15:40 +09:00
Gabriel Handford
7bde92deb9
Add isVisible() to app.dock
2016-08-01 15:22:37 -07:00
gellert
56f5749675
adds transparency
2016-08-01 13:27:39 +02:00
Cheng Zhao
e1152ae96c
Remove usages of linked_ptr
...
It is no longer needed since we now have move semantic.
2016-08-01 20:26:06 +09:00
Cheng Zhao
ffed3e9c0c
Move the code to native
2016-08-01 20:11:17 +09:00
gellert
439ad94afe
Merge remote-tracking branch 'upstream/master' into speedup-gpu
2016-08-01 12:00:34 +02:00
Heilig Benedek
bc9adcd5ca
fix toBUFFER naming issue and cursor-changed parameter order
2016-08-01 02:17:49 +02:00
Heilig Benedek
bc7c5c567c
fix toBUFFER naming issue and cursor-changed parameter order
2016-08-01 02:13:31 +02:00
Heilig Benedek
0098d5bca7
Hide when not painting + cursor event fix
2016-07-31 18:40:35 +02:00
gellert
35ee99265e
adds tests for osr
2016-07-31 17:10:53 +02:00
gellert
5525ac36b8
does linting
2016-07-31 12:19:56 +02:00
Heilig Benedek
f3b723c9fa
Send some more data with the cursor-changed event
2016-07-31 05:24:54 +02:00
Heilig Benedek
3e7ff466cd
Merge branch 'speedup-gpu' of https://github.com/MaxWhere/electron into speedup-gpu
2016-07-31 05:12:34 +02:00
Heilig Benedek
3a1285aeac
Send some more data with the cursor-changed event
2016-07-31 05:11:56 +02:00
gellert
f60d791fa8
adds docs for osr
2016-07-31 00:22:34 +02:00
gellert
916063f370
handles destroyed renderer process
2016-07-30 21:25:49 +02:00
gellert
6486d80f87
api impl + cleanups + stability improvements
2016-07-30 15:40:16 +02:00
Heilig Benedek
70656dc991
revert framesubscription
2016-07-29 19:54:35 +02:00
gellert
6abf7475b8
cleaning up osr pt1
2016-07-29 14:50:27 +02:00