Граф коммитов

190 Коммитов

Автор SHA1 Сообщение Дата
Kevin Sawicki 24bcf6ac16 Add initial cookie changed event support 2016-09-29 09:16:29 -07:00
Cheng Zhao 458c4dd129 Merge branch 'support-chromium-sandbox' of https://github.com/tarruda/electron into tarruda-support-chromium-sandbox 2016-09-27 20:02:23 +08:00
Thiago de Arruda 72154b64ed Embed setup bundle for preload scripts in sandboxed renderers.
Add a gyp target that creates a browserify bundle starting with
`lib/sandboxed_renderer/init.js`, which is embedded into the executable using
the `atom_js2c` target.

The goal of this bundle is to provide a very basic environment for preload
scripts where a `require` function is available.
2016-09-27 06:01:47 -03:00
Thiago de Arruda 0f7652dc85 Move code that defines ipcRenderer methods into another file. 2016-09-27 06:01:46 -03:00
Thiago de Arruda c8629019f5 Expose atom_api_renderer_ipc module API 2016-09-27 06:01:46 -03:00
Thiago de Arruda a7b6332ed0 Add atom::AtomSandboxedRendererClient class 2016-09-27 06:01:46 -03:00
deepak1556 ed465208a2 renderer: add content settings class for managing storage 2016-09-21 21:47:30 +05:30
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 9714348260 Merge pull request #6941 from deepak1556/blob_data_patch
protocol: provide blob uuid with uploadData
2016-09-16 17:01:15 +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
Cheng Zhao 41df037f64 Show dummy view under offscreen mode 2016-08-04 15:35:08 +09:00
Cheng Zhao 921aaf9aa3 Move osr related files to atom/browser/osr 2016-08-03 13:05:47 +09:00
Heilig Benedek 4088f0eb33 remove unneeded windows specific things 2016-08-02 12:57:23 +02:00
gellert 6abf7475b8 cleaning up osr pt1 2016-07-29 14:50:27 +02:00
gellert 8090278708 breaks down osr api to separate files 2016-07-25 19:44:44 +02:00
gellert 96e1ba9c14 gpu acclereted osr added 2016-07-25 19:44:44 +02:00
Heilig Benedek 5371921f8a speed(up) bump 2016-07-25 19:44:44 +02:00
Heilig Benedek 4a0f0063a0 speedup base 2016-07-25 19:44:44 +02:00
Cheng Zhao 1c9421bc89 Use ArrayBuffer.isView to detect Buffer and ArrayBuffer 2016-07-25 16:39:09 +09:00
haad 2757046e71 Add isTypedArray to Electron exports 2016-07-23 11:30:14 +01:00
Kevin Sawicki d8eb8f4007 Sort filenames 2016-07-13 14:18:41 -07:00
Kevin Sawicki 7877fa7c0a Add webContents.isFocused() 2016-07-13 14:16:56 -07:00
Cheng Zhao 7848608198 Replace DialogScope with UnresponsiveSuppressor
The latter is global-wide.
2016-07-11 15:29:03 +09:00
Kevin Sawicki 2faf00dc19 Only use default accelerator in Windows/Linux app menu 2016-07-07 11:50:19 -07:00
Kevin Sawicki cf480f8e17 Set default app window icon on Linux 2016-07-06 11:47:21 -07:00
Cheng Zhao 13c668f22b mac: Implement webContents.startDrag 2016-07-03 12:26:43 +09:00
Kevin Sawicki 25b2724ab9 Add menu item role defaults 2016-06-22 13:09:48 -07:00
Cheng Zhao 9aa7291627 linux: Implement win.disable/enable/isEnabled() API 2016-06-20 11:16:41 +09:00
Kevin Sawicki 3aecb11094 Extract Event clas to own file 2016-06-16 09:51:54 -07:00
Kevin Sawicki 7f9fa92e2d Add chrome.webNavigation stubs 2016-06-16 09:46:26 -07: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
Jessica Lord f121f46a24 Merge branch 'master' into chrome-storage-sync 2016-06-09 16:35:00 -07:00
Jessica Lord 41d6ddd588 Add storage file 2016-06-09 14:14:14 -07:00
Kevin Sawicki 84960af793 Add initial chrome.i18n.getMessage API 2016-06-09 13:57:08 -07:00
Cheng Zhao 0646f6ea9e Implement Relaunch on Windows 2016-06-02 19:49:36 +09:00
Cheng Zhao a3f39e9d0b Implement Relaunch on Linux 2016-06-02 16:54:21 +09:00
Cheng Zhao 060829da64 Separate implementations of RelauncherMain and RelauncherSynchronizeWithParent 2016-06-02 09:09:32 +09:00
Cheng Zhao 6df18956cd Get ready to make relauncher cross-platform 2016-06-01 22:04:20 +09:00
Cheng Zhao 7b3ba739bf Import chrome/browser/mac/relauncher.{cc,h} 2016-06-01 16:26:08 +09:00
deepak1556 db4dc4757a move bluetooth_chooser to atom/browser/lib 2016-06-01 11:43:39 +05:30
deepak1556 a70749e80a browser: implement bluetooth chooser interface 2016-06-01 11:43:39 +05:30
Cheng Zhao 49d9446cce Implement a simple content script injector 2016-05-27 10:29:57 +09:00
Cheng Zhao 4fb9e20c33 Add API to set render process preferences 2016-05-27 08:51:02 +09:00
cdaringe 32073fa079
🎨 Support non-native promises 2016-05-25 10:11:18 -06:00
Cheng Zhao 5f6c468f0f Handle keyboard events for WebContents that do not have owner window 2016-05-18 13:57:48 +09:00
Cheng Zhao 49ac160ff7 Move createIDWeakMap to v8Util 2016-05-11 19:30:06 +09:00
Cheng Zhao a077355d70 Turn api::IDWeakMap into api::KeyWeakMap<T> 2016-05-11 18:21:35 +09:00
Cheng Zhao c708ae8eb5 Remove IDWeakMap 2016-05-11 15:51:22 +09:00