ali.ibrahim
fcaf9cb031
Some code cleaning.
2016-10-12 14:54:19 +02:00
ali.ibrahim
f7525d7877
Adding support for POST requests.
2016-10-12 14:54:18 +02:00
ali.ibrahim
2b3b41d5f9
Implementing authentication callback.
2016-10-12 14:54:18 +02:00
ali.ibrahim
2d9d4af98d
Implementing URLRequest API, getting response body.
2016-10-12 14:54:17 +02:00
ali.ibrahim
81eab9887b
Adding URLResponse to emit response events, implementing status code.
2016-10-12 14:54:16 +02:00
ali.ibrahim
7521aeea09
Implement URLRequest::Delegate, handle thread sync.
2016-10-12 14:54:15 +02:00
ali.ibrahim
e8d4abe78f
Adding net module and URLRequest class.
2016-10-12 14:54:15 +02:00
Kevin Sawicki
c8189046fe
Emit color-changed event on Windows
2016-10-11 13:15:27 -07:00
Kevin Sawicki
1978b39337
Remove duplicate colors
2016-10-11 13:15:27 -07:00
Kevin Sawicki
663f8f4b54
Add systemPreferences.getColor on Windows
2016-10-11 13:15:26 -07:00
Kevin Sawicki
9b0a32f62c
Add ToRGBHex color helper
2016-10-11 13:15:26 -07:00
Cheng Zhao
4ae190dab9
Merge pull request #7549 from electron/about-panel-options
...
Support setting about panel options
2016-10-11 20:18:23 +09:00
Kevin Sawicki
7de6a06acf
Support setting about panel options
2016-10-10 13:30:58 -07:00
Kevin Sawicki
38281f3364
Implement SysColorChangeListener directly on Windows
2016-10-10 10:43:09 -07:00
Kevin Sawicki
25bcc2dd0d
🎨
2016-10-10 10:43:09 -07:00
Kevin Sawicki
af27c62b07
Doc inverted-color-scheme-changed event
2016-10-10 10:43:08 -07:00
Kevin Sawicki
8b16b82ce9
Add inverted-color-scheme-changed event
2016-10-10 10:43:08 -07:00
Kevin Sawicki
7b49d94e9f
Add systemPreferences.isInvertedColorScheme API
2016-10-10 10:43:08 -07:00
Cheng Zhao
91591f37e6
Merge pull request #7500 from electron/store-crashes-in-configured-temp-dir
...
Store crash reports in configured temp dir
2016-10-10 10:19:02 +09:00
Kevin Sawicki
c37740273f
Add linux guard for SetGlobalAppName call
2016-10-07 13:44:54 -07:00
deepak1556
12fb9f1f18
media: set the application name for audio streams shown in external apps
2016-10-07 16:15:30 +05:30
Kevin Sawicki
30c6ca6751
Only call UTF8ToUTF16 on Windows
2016-10-06 09:14:16 -07:00
Michael Vasseur
c811188e22
Updated required code to handle missing additional features for popup windows
2016-10-04 14:38:32 +09:00
Kevin Sawicki
8abe8fe01d
Remove unneeded locker and handle scope
2016-09-29 09:16:35 -07:00
Kevin Sawicki
77b35ba7ab
Use separate session for cookies change event test
2016-09-29 09:16:35 -07:00
Kevin Sawicki
19c7ee0932
Use scoped_refptr for cookie delegate
2016-09-29 09:16:35 -07:00
Kevin Sawicki
24bcf6ac16
Add initial cookie changed event support
2016-09-29 09:16:29 -07:00
Cheng Zhao
de76bf5f63
Merge pull request #7296 from adammeyer/custom-window-level
...
Allow custom window level when sending window to top
2016-09-28 19:18:12 +08:00
Thiago de Arruda
a64978b812
Use the routing id on api::WebContents::GetID
...
The sandbox option allows multiple webContents in one renderer process, so using
the only the renderer id to identify WebContents instances is no longer an
option.
WebContents::GetID now returns a 64-bit integer, which is composed of both the
process id(high 32), and the RenderViewHost routing id(low 32). Also add a
`GetProcessID` that retrieves the renderer process id, a requirement in some of
our javascript code.
2016-09-27 06:01:47 -03:00
Thiago de Arruda
06cc9a44fe
Add support for native chromium popups on sandboxed renderers.
...
- Allow `api::Window` instances to be created from existing `api::WebContents`.
- Override `WebContentsCreated` and `AddNewContents` to wrap renderer-created
`content::WebContents` into `api::WebContents`.
- For `content::WebContents` that should be displayed in new windows, pass the
wrapped `api::WebContents` object to window manager.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
0b3b29938f
Allow api::WebContents to fully wrap an existing content::WebContents.
...
- Add an overload to `WebContents::CreateFrom` that accepts a type parameter. If
type is `REMOTE`, initialization is the same as before(a thin wrapper). If
not, the `api::WebContents` will be fully initialized, as if it was created by
`api::WebContents::Create`.
- Move common initialization code to `InitWithSessionAndOptions`.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
1b1541fe1a
Decouple api::Window initialization from api::WebContents construction.
2016-09-27 06:01:46 -03:00
adammeyer
783d47f78b
custom window level as string
2016-09-21 22:49:06 -04:00
adammeyer
fbb3a288ec
Allow custom window level when sending window to top
2016-09-21 13:35:59 -04:00
Cheng Zhao
30a6b597a5
Merge pull request #7239 from darkdh/6873
...
Emit scroll-touch-edge event instead of changing the behavior of scrollll-touch-begin/end
2016-09-20 14:51:10 +09:00
Cheng Zhao
e3e450613d
Merge pull request #7157 from Mossop/moveguest
...
Allow moving a webcontents to a different webview
2016-09-20 14:28:42 +09:00
Samuel Attard
456f102cdc
Fix k typo
2016-09-20 02:42:41 +10:00
Samuel Attard
1454510549
Alphabetical method ordering
2016-09-20 02:41:26 +10:00
Samuel Attard
5dd5dbb3d8
Add a systemPreferences API method to fetch the system ColorizationColor
...
This is useful for automatical app theming
* Fetches the color from the registry
* Returns an empty string if the fetch fails (a falsey value)
2016-09-20 02:41:26 +10:00
Cheng Zhao
26004f1a66
Merge pull request #7241 from miniak/crashed-killed
...
Add killed argument for webContents.on("crashed") and app.on("gpu-process-crashed") events
2016-09-19 16:02:52 +09:00
Cheng Zhao
a260647b4f
Merge pull request #7062 from MaxWhere/osr-sizing-fix
...
Offscreen invalidate and sizing fix
2016-09-19 15:38:11 +09:00
Milan Burda
8567f79e67
Add killed argument for webContents.on("crashed") and app.on("gpu-process-crashed") events
2016-09-17 17:02:36 -07:00
Anthony Tseng
269a87b26f
Emit scroll-touch-edge event instead of changing the behavior of scroll-touch-begin/end
...
fix #6873
2016-09-17 22:50:10 +08:00
gellert
b4c220613f
adds invalidate method and proper resizing
2016-09-16 23:27:11 +02:00
Kevin Sawicki
0c3ad527e3
initialize -> require
2016-09-16 13:09:06 -07:00
Kevin Sawicki
577394442b
power-monitor -> powerMonitor
2016-09-16 09:58:27 -07:00
Cheng Zhao
da677b683b
Merge pull request #7163 from MaxWhere/frame-sub-scale-fix
...
Frame subscriber improvements
2016-09-16 21:24:53 +09:00
deepak1556
e7f1265b64
add save-to-disk disposition for new-window event
2016-09-16 16:30:26 +05:30
deepak1556
94faaf7d58
provide a default file name for downloads
2016-09-16 16:02:57 +05:30
gellert
64e53a17bd
reverts subscriber api
2016-09-16 11:18:15 +02:00
Cheng Zhao
9714348260
Merge pull request #6941 from deepak1556/blob_data_patch
...
protocol: provide blob uuid with uploadData
2016-09-16 17:01:15 +09:00
Cheng Zhao
fbac635687
Only emit finalUpdate found-in-page events
...
Since Chrome 53 all meaningful results of found-in-page are finalUpdate.
2016-09-14 16:23:01 +09:00
Cheng Zhao
5708e86a05
Fix API change of findInPage API
2016-09-14 16:23:00 +09:00
Cheng Zhao
6d8f900916
Fix building on Windows
2016-09-14 16:22:43 +09:00
Cheng Zhao
f28e8d7168
Fix API changes of Chrome 53
2016-09-14 16:22:43 +09:00
Cheng Zhao
4eba8094d4
Merge pull request #7096 from minggo/add-option-to-disable-devtools
...
add option to disable devtools
2016-09-13 16:01:56 +09:00
gellert
2435f1b660
lint fix
2016-09-09 23:50:01 +02:00
gellert
d3dc66e308
adds scale factor check and simplifies frame subscription
2016-09-09 23:17:17 +02:00
Dave Townsend
313b2faa3c
Add a guestinstance attribute to webviews reflecting their current guest
...
instance ID and allowing moving a guest instance to a new webview.
2016-09-09 10:32:05 -07:00
Cheng Zhao
b6079ff90b
Merge pull request #7053 from electron/launch-from-notification
...
Send notification info to app.ready, on macOS
2016-09-09 20:01:39 +09:00
Kevin Sawicki
224d3aef3e
Mark detach option for 2.0 removal
2016-09-08 09:05:49 -07:00
minggo
3fdc99c3c6
change the option name to devTools
2016-09-07 10:16:52 +08:00
minggo
7d712b77ba
remove duplicate comment
2016-09-07 09:43:06 +08:00
minggo
91fb85947d
WebContents::InspectElement and WebContents::InspenctServiceWorker return immediately if DevTools is disabled
2016-09-06 17:53:42 +08:00
minggo
baa55caf83
remove unneeded whitespace
2016-09-06 11:48:48 +08:00
minggo
19f6811312
initialize disable_devtools_
2016-09-06 11:08:50 +08:00
minggo
1f1180f857
use webPreferences to disable devtools
2016-09-05 18:25:57 +08:00
minggo
0d7e7be748
add option to disable devtools
2016-09-05 16:27:56 +08:00
Cheng Zhao
14f625d61b
Merge pull request #6826 from enlight/set-jump-list
...
Extend the custom Jump List API provided by Electron
2016-09-01 15:35:21 +09:00
deepak1556
7b85ca0301
create helper class to read blob data
2016-09-01 08:52:44 +05:30
Vadim Macagon
c64294cf60
Extend the custom Jump List API
...
Add `app.getJumpListSettings()` and `app.setJumpList(callback)` that
make it possible to fully customize the Jump List of an Electron app.
It is now possible to:
- Add tasks to the standard `Tasks` category.
- Add separators to the standard `Tasks` category.
- Add custom categories containing tasks and file links.
- Add system managed Recent/Frequent categories.
- Remove the custom Jump List.
2016-09-01 09:56:14 +07:00
Charlie Hess
af9e010162
Send notification userInfo to app.ready, on macOS.
...
Check if the user launched the app from a notification and send the notification args across if so.
2016-08-31 17:17:44 -07:00
deepak1556
5cbc8d5c71
fix ambiguous constructor call
2016-09-01 01:01:52 +05:30
deepak1556
d2e40d4fc1
update api to work on public url and uuid
2016-09-01 01:01:52 +05:30
deepak1556
0fb2339e3d
session: api to retrieve blob data from uuid
2016-09-01 01:01:52 +05:30
Cheng Zhao
ee1571e556
Revert "exit tab fullscreen on destroy"
2016-08-30 17:08:51 +09:00
Cheng Zhao
b5dec9990e
Merge pull request #7003 from brave/exit-tab-fullscreen
...
exit tab fullscreen on destroy
2016-08-29 16:36:44 +09:00
bridiver
4532114965
exit tab fullscreen on destroy
2016-08-26 15:52:15 -07:00
Kevin Sawicki
6285500cdc
Sort includes alphabetically
2016-08-26 15:30:02 -07:00
Kevin Sawicki
7a0129bbc7
Correct misspelling of destroy in method name
2016-08-25 12:28:57 -07:00
Kevin Sawicki
21de91d6e2
Don't open dev tools if already initialized
2016-08-23 15:26:13 -07:00
Kevin Sawicki
463b3de199
Use correct GetToplevelWindow signature
2016-08-23 10:12:55 -07:00
Kevin Sawicki
dd5ee28b2f
Access window through native view
2016-08-23 09:51:54 -07:00
Kevin Sawicki
0485e9eb36
🎨 Go back to single line declaration
2016-08-22 16:26:31 -07:00
Kevin Sawicki
ad3dc3766e
Default network values to 0.0
2016-08-22 14:19:09 -07:00
Mark Wylde
c55b1e87ed
Fix spelling mistake from registred to registered
2016-08-20 14:25:13 +01:00
Cheng Zhao
06d2dfe119
Merge pull request #6788 from electron/felix-progress-enum
...
Use enum to declare ProgressState
2016-08-18 14:35:00 +09:00
Cheng Zhao
56d17a1449
Merge pull request #6829 from electron/fix-thumbar-buttons-vanishing
...
Save the thumbar buttons when setting them to restore later
2016-08-18 14:34:26 +09:00
Cheng Zhao
8f9a0100e3
Certificate data is now a string
2016-08-17 20:48:09 +09:00
Kevin Sawicki
0755349e70
Ensure hidden windows don't have focused webContents
2016-08-15 14:13:24 -07:00
Samuel Attard
2fa7aa3c71
Save the thumbar buttons when setting them
...
Then restore the buttons when restoring the taskbar icon
2016-08-13 01:55:42 +10:00
Samuel Attard
5b07e8dd5b
Send isMainFrame as argument to did-navigate-in-page event
2016-08-12 01:27:50 +10:00
Felix Rieseberg
8b85ee8a20
🔧 Use enum to declare ProgressState
...
As recommended in #6768 , this commit adds an enum for progress states for windows.
2016-08-10 08:56:26 -07:00
Cheng Zhao
6cd99ebf6b
Merge pull request #6752 from lgalabru/feature/macos-native-notifications
...
Send events as native macOS notifications
2016-08-09 21:34:52 +09:00
Cheng Zhao
81244c2221
Merge pull request #6768 from electron/felix-set-progress
...
Enable mode indication for setProgressBar
2016-08-09 20:58:07 +09:00
Ludovic Galabru
a5351407c5
Fixing indentation
2016-08-09 05:57:02 -04:00
Felix Rieseberg
73c91dae9e
🔧 Enable mode indication for setProgressBar
...
This commit enables setting a mode for the setProgressBar method.
Old behavior is kept intact, usage is entirely optional.
2016-08-08 15:52:20 -07:00
Milan Burda
a6125c538e
Add BrowserWindow.prototype.setThumbnailToolTip
2016-08-08 12:05:47 +02:00
Ludovic Galabru
38cc56efee
🍎 Send events as native macOS notifications
2016-08-06 14:54:07 +02:00
Cheng Zhao
5eeadb0ad4
Merge pull request #6737 from MaxWhere/setpainting-fix
...
Fix for transparent frames when offscreen window restarted painting
2016-08-05 20:47:35 +09:00
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
8c4ebdc88e
Emit NativeImage objects in paint event
2016-08-05 17:40:42 +09: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
Kevin Sawicki
5982e3a75e
Fix typo in comment
2016-07-28 15:48:01 -07:00
Kevin Sawicki
bd2ce5327c
Return early when render widget host view is null
2016-07-28 15:47:52 -07:00
Heilig Benedek
7b61c5c9d0
removed some junk and added offscreen webcontents type
2016-07-28 12:10:56 +02:00
Heilig Benedek
0dbe4bc417
api base
2016-07-28 01:58:23 +02:00
gellert
f90e62a7a5
apply fixes
2016-07-27 19:59:01 +02:00
gellert
6e1db86a77
fixes software output device rendering
2016-07-27 19:44:41 +02:00
Heilig Benedek
221714e141
added onpaint to software path
2016-07-27 19:19:53 +02:00
Heilig Benedek
da5c95710f
software bump
2016-07-27 18:24:58 +02:00
Heilig Benedek
a39bb35744
use electron nativewindow
2016-07-27 14:36:22 +02:00
Cheng Zhao
b8bafbc5a3
Merge pull request #6620 from electron/tray-highlight-toggle
...
Add option to always highlight the tray icon
2016-07-27 10:49:38 +09:00
Kevin Sawicki
c4e743d207
Add TODO to deprecate boolean param
2016-07-26 14:18:15 -07:00
Kevin Sawicki
8e1de88512
Correct typo in variable name
2016-07-26 14:17:41 -07:00
Kevin Sawicki
b2f9cce297
Add option to always highlight the tray icon
2016-07-26 13:51:43 -07:00
Kevin Sawicki
bde432b64d
Add webContents.copyImageAt
2016-07-26 12:06:11 -07:00
gellert
8392ece321
updates impl to newer version of chromium
2016-07-26 16:52:43 +02:00
gellert
9d83ce1676
resolves
2016-07-25 21:09:49 +02:00
gellert
8fb7872b84
removes logs and adds webcontentsview init
2016-07-25 19:58:21 +02:00
gellert
0ad0c79202
adds beginframe scheduling
2016-07-25 19:58:14 +02:00
gellert
96e1ba9c14
gpu acclereted osr added
2016-07-25 19:44:44 +02:00
Heilig Benedek
4a0f0063a0
speedup base
2016-07-25 19:44:44 +02:00
gellert
6eba509d53
removes logs and adds webcontentsview init
2016-07-25 15:55:00 +02:00
Cheng Zhao
fd8cc63ca9
Merge pull request #6558 from deepak1556/session_proxy_patch
...
session: add proxyBypassRules option to setProxy api
2016-07-25 16:03:50 +09:00
Cheng Zhao
c497765dea
Merge pull request #6524 from liusy182/painted-event-6426
...
add "view-painted" event to WebContent.
2016-07-25 16:02:50 +09:00
gellert
81be0bc123
adds beginframe scheduling
2016-07-22 13:55:58 +02:00
Cheng Zhao
f6f7b41f0a
Fix compilation error after merge
2016-07-21 06:03:38 -06:00
Cheng Zhao
b57665330c
Merge branch 'master' into chrome52
2016-07-21 05:34:36 -06:00
deepak1556
aa6d79a3d8
session: add proxyBypassRules option to setProxy api
2016-07-21 10:14:54 +05:30
gellert
50dc71d1c2
gpu acclereted osr added
2016-07-18 16:16:23 +02:00
liusi
d335d7d706
add "view-painted" event to WebContent.
2016-07-18 14:54:52 +08:00
Cheng Zhao
4d46189928
Fix cpplint warnings
2016-07-15 22:47:40 +09:00
liusi
154daa8d6a
make Session::ClearStorageData's callback optional
2016-07-15 14:13:56 +08:00
Cheng Zhao
d186a01815
Merge pull request #6497 from electron/windows-thumbnail
...
Add setThumbnailClip API on Windows
2016-07-15 10:18:39 +09:00
Cheng Zhao
5db758297f
Merge pull request #6486 from MarshallOfSound/master
...
Add a getFeedURL API for the autoUpdater
2016-07-15 10:02:05 +09:00
Cheng Zhao
16e43a7f15
Merge pull request #6490 from wilsonpage/add-drop-text-support
...
Add support for dropped text in osx
2016-07-15 09:12:35 +09:00
Kevin Sawicki
ccee3e1fc2
Document setThumbnailClip
2016-07-14 15:54:57 -07:00
Kevin Sawicki
86218fe773
win: Add setThumbnailClip window API
2016-07-14 15:50:31 -07:00
Wilson Page
90f8a7e828
Add support for dropped text in osx
2016-07-14 18:25:58 +01:00
Samuel Attard
fa7526202b
Remove unnecessary method
2016-07-15 00:13:04 +12:00
Samuel Attard
51687e1bc9
Add the getFeedURL API for macOS and Windows
2016-07-15 00:04:48 +12:00
Cheng Zhao
ba887dbde7
Merge pull request #6482 from deepak1556/webcontents_navigation_obs_patch
...
webcontents: replace deprecated navigation observers
2016-07-14 12:57:26 +09:00
Cheng Zhao
21a2feaf23
Merge pull request #6480 from electron/webcontents-focus
...
Execute role-based menu items on focused web contents
2016-07-14 12:47:07 +09:00
deepak1556
c8bf6edcc6
webcontents: replace deprecated navigation observers
2016-07-14 06:47:38 +05:30
Kevin Sawicki
7877fa7c0a
Add webContents.isFocused()
2016-07-13 14:16:56 -07:00
Cheng Zhao
6db75a3458
Fix building on Linux
2016-07-13 12:23:14 +09:00
Cheng Zhao
e213e09c3e
Add options to session.fromPartition
2016-07-13 12:23:14 +09:00
Cheng Zhao
00804e5f98
Move the ability to create BrowserContext to embedder
2016-07-13 12:23:14 +09:00
Cheng Zhao
400bb8d0f3
Hide in_memory parameter in native interface
2016-07-13 12:23:14 +09:00
Cheng Zhao
06a41cedab
Move check of isReady to native code
2016-07-13 12:23:14 +09:00
Cheng Zhao
4ebb83e999
Move the warning of registerStandardSchemes to native code
2016-07-13 12:23:14 +09:00
Cheng Zhao
24c60019b7
Create AtomCertVerifier on IO thread
2016-07-13 12:05:57 +09:00
Kevin Sawicki
af907163a2
Enable LoginItemSettings converter on all platforms
2016-07-12 09:10:47 -07:00
Kevin Sawicki
64f9c6a1d7
Add get/setLoginItemSettings on all platforms
2016-07-12 09:10:47 -07:00
Cheng Zhao
5a604f8e79
Destroy the native tray in next tick
2016-07-12 14:23:38 +09:00
Kevin Sawicki
131bff48ea
IsAccessibilitySupportEnabled -> isAccessibilitySupportEnabled
2016-07-11 14:44:32 -07:00
Kevin Sawicki
34f7ddec9f
Update API to isAccessibilitySupportEnabled
2016-07-11 14:32:14 -07:00
Kevin Sawicki
fc36ac8c1b
Add API for accessibility state and changes
2016-07-11 14:04:56 -07:00
Cheng Zhao
8269e7b1ef
Suppress unresponsive event when showing menu
2016-07-11 15:31:24 +09:00
Haojian Wu
4ac4dacffe
Some manual change to for-ranged loop.
...
Use "const auto&" where possible.
2016-07-10 15:57:51 +02:00
Haojian Wu
55b3f1936f
Modernize to C++11: Use for-range loop.
2016-07-10 13:33:15 +02:00
Haojian Wu
04f9d35312
Modernize to C++11: Use auto
key to improve code readability and maintainability.
2016-07-10 13:11:47 +02:00
Haojian Wu
fab02809c6
Modernize to C++11: NULL => nullptr.
...
No functional change.
2016-07-10 11:57:04 +02:00
Cheng Zhao
627028e3a0
Clear protocol handlers on exit
2016-07-09 17:02:55 +09:00
Cheng Zhao
6e81c55880
Merge pull request #6385 from electron/only-use-role-accelerator-in-app-menu
...
Only use default role accelerator in app menu
2016-07-08 11:22:21 +09:00
Cheng Zhao
5713e0599b
Merge pull request #6375 from electron/login-item
...
Add login item API
2016-07-08 10:39:20 +09:00
Kevin Sawicki
2633c2f735
Add was prefix to current launch settings
2016-07-07 16:29:58 -07:00
Kevin Sawicki
c100300764
Update API to get/setLoginItemSettings
2016-07-07 16:29:09 -07:00
Kevin Sawicki
e4906f2d87
Add back getCurrentActivityType
2016-07-07 14:29:43 -07:00
Cheng Zhao
6381f44f26
mac: Pass useDefaultAccelerator to getAcceleratorForCommandId
2016-07-07 11:50:19 -07:00
Kevin Sawicki
60ab71a706
Combine launch and current status login item APIs
2016-07-06 13:57:46 -07:00
Kevin Sawicki
c5610b2186
Add API to add/remove app as login item
2016-07-06 13:26:16 -07:00
Kevin Sawicki
b55f55cfc4
Add app.getLoginItemStatus API
2016-07-06 13:17:39 -07:00
Kevin Sawicki
98a97a52ea
Add getLoginItemLaunchStatus API
2016-07-06 12:49:08 -07:00
Kevin Sawicki
07ccb6af2b
🎨
2016-07-06 09:42:43 -07:00
Kevin Sawicki
b900ff93e4
Make OnCapturePageDone static
2016-07-06 09:32:58 -07:00
Kevin Sawicki
4a4a8528ea
Fix linter warnings
2016-07-06 09:21:29 -07:00
Kevin Sawicki
12dddae2ca
Remove unused callback
2016-07-06 09:21:28 -07:00
Kevin Sawicki
f7b72f0948
Move capturePage to WebContents
2016-07-06 09:21:28 -07:00
Heilig Benedek
74120493fd
Merge pull request #12 from electron/master
...
update as upstream
2016-07-06 14:12:24 +02:00
Heilig Benedek
6fb6b93003
speedup base
2016-07-05 21:33:22 +02:00
Cheng Zhao
d0719e9b4b
Fix cpplint warnings
2016-07-04 19:19:20 +09:00
Cheng Zhao
0a6bb9c36a
Fix crash when creating protocol module
2016-07-04 15:32:43 +09:00
Cheng Zhao
1ba3907038
Update to API changes of Chrome 52
2016-07-04 15:32:43 +09:00
Cheng Zhao
23582cc9d3
Reduce the scope of ScopedNestableTaskAllower
2016-07-03 15:30:27 +09:00
Cheng Zhao
fa468a529b
Support dragging multiple files
2016-07-03 13:58:31 +09:00
Cheng Zhao
13c668f22b
mac: Implement webContents.startDrag
2016-07-03 12:26:43 +09:00
Cheng Zhao
e76ec92812
Set window icon before showing window
2016-07-02 16:16:47 +09:00
Cheng Zhao
cb00d3cfb3
mac: Implement app.setBadgeCount
2016-07-01 17:39:26 +09:00
Jonas Schwabe
b22ce93477
Implement libunity launcher badge counter to be set via electron, fixes #4193
2016-06-29 20:22:17 +02:00
Kevin Sawicki
8c52279531
Tweak cookie set failure message and add spec
2016-06-29 08:53:52 -07:00
Cheng Zhao
e1ad64013e
Cleanup code of beginFrameSubscription
2016-06-26 11:46:40 +09:00
Cheng Zhao
3d2ad0080d
Merge pull request #6164 from MaxWhere/master
...
beginFrameSubscription bugfix and improvement
2016-06-26 02:39:59 +00:00
Heilig Benedek
5118def724
damaged -> dirty rename, fixed misc issues, changed signature, updated docs and added tests
2016-06-25 18:23:40 +02:00
Cheng Zhao
ed6213e951
Do not emit did-fail-load for canceled requests
2016-06-23 20:32:19 +09:00
Milan Burda
c243cf0c0f
Add BrowserWindow.prototype.setContentProtection(enable)
2016-06-22 10:40:33 +02:00
Cheng Zhao
6f9c4766fc
Fix usages of global BrowserContext in App::ImportCertificate
2016-06-22 16:10:36 +09:00
Cheng Zhao
01bc8305f8
Add ses.getUserAgent()/setUserAgent(...) APIs
2016-06-22 15:57:51 +09:00
Cheng Zhao
8d08e215b2
Add "event" parameter for "click" handler of MenuItem
2016-06-22 11:22:14 +09:00
Cheng Zhao
e6327fb015
Add EventEmitter::CreateEventFromFlags
2016-06-22 11:00:45 +09:00
Heilig Benedek
3c92825e2a
Fix init list order
2016-06-21 14:32:22 +02:00