Cheng Zhao
0550a4a9b8
Fix crash when emitting render-view-deleted event
2017-08-29 17:46:46 +09:00
Cheng Zhao
4febbec102
Fix crash when switching menus in menubar
2017-08-29 14:19:23 +09:00
Cheng Zhao
b2f3625eaa
Fix deprecated node::MakeCallback call
2017-08-29 14:19:23 +09:00
Ales Pergl
a7bae32527
Re-enabled debug mode
2017-08-29 14:19:19 +09:00
Zeke Sikelianos
c6918966c2
Merge pull request #10214 from psh0628/contextisolation-sandbox-fix
...
fix contextIsolation issue while webPreference sandbox is on
2017-08-28 21:20:04 -07:00
Shohei YOSHIDA
55f2b524e7
Close window in order from newer one on macOS
...
A parent window is not closed if a child modal window still exists.
So a child window should be closed before parent window closed.
2017-08-28 13:56:05 +09:00
Ivan Mir
75b2915fee
Change the parameter name for consistency
2017-08-27 11:53:25 -03:00
sungpark
65eb4e1994
fix compile error
2017-08-24 14:31:25 -07:00
Ivan Mir
6717f0d2bb
Add accessibility setter to the app
2017-08-24 11:22:28 -03:00
Samuel Attard
7ecac42214
Merge pull request #10232 from electron/drag-browser-view
...
Add -webkit-app-region support to BrowserView
2017-08-24 10:30:56 +10:00
Felix Rieseberg
fdfbf3abfa
🔧 Respect the header
2017-08-23 17:26:18 -07:00
Felix Rieseberg
a44c2d5dcc
🔧 Extend interface
2017-08-23 16:10:31 -07:00
sungpark
f984bd2ff5
use spaces instead of hard tabs for indentation and add the supported modules as a sub-list
2017-08-23 10:52:02 -07:00
sungpark
bf07c5aebd
fix contextIsolation issue while webPreference sandbox is on
...
contextIsolation didn't work while sandbox is on. The fix is contextIsolation picked up while sandbox on
2017-08-23 10:52:02 -07:00
Siyuan Liu
5cb58cd42f
use nullptr instead of nullptr_t()
2017-08-23 09:30:58 +08:00
Felix Rieseberg
cd5cd25f74
🔪 Bonus colon
2017-08-22 11:14:21 -07:00
Michael Kaylan
b4428e7e41
🍎 Add macOS native tab methods to window API
2017-08-21 23:24:30 -04:00
Cheng Zhao
565ece6986
Merge pull request #10308 from electron/native-view
...
Add WebContents.getNativeView() API
2017-08-22 09:19:27 +09:00
Felix Rieseberg
f0680587fa
🔧 Linter fascism
2017-08-21 16:52:59 -07:00
Charlie Hess
f17bd040ad
Merge pull request #10293 from electron/notification-sounds
...
Add support for soundName in main process notifications
2017-08-21 16:15:47 -07:00
Charlie Hess
db081d95d5
Review CommentZ.
2017-08-21 13:53:50 -07:00
Cheng Zhao
2c1984b6ed
Add WebContents.getNativeView API
2017-08-21 19:50:12 +09:00
Cheng Zhao
70fd42808e
Fix build on Linux
2017-08-21 17:42:45 +09:00
Cheng Zhao
19323c88f9
win: Fix "thickFrame: false" not working for normal window
2017-08-21 17:21:59 +09:00
Siyuan Liu
eeb2e58ad8
return null when theme color is not found
2017-08-20 22:48:13 +08:00
Ivan Mir
94dd068e15
Special attribute for macOS accessibility #7206
...
In the linked issue we were discussing that Electron apps are inaccessible unless VoiceOver is enabled. While it's a working solution for users with vision impairment, all other users and apps that require accessibility can't interact with Electron-based software because they don't keep VoiceOver running.
I suggest adding `AXManualAccessibility` for programmatically enabling it in Electron apps. The reason for a new attribute is that `AXEnhancedUserInterface` is already reserved by VoiceOver.
Adding this attribute will allow both Electron developers and 3rd party developers to enable and disable accessibility from their code by calling `accessibilitySetValue:forAttribute:` on the application.
It will be also possible to create a small utility app to switch accessibility in Electron-based apps until there's a native UI solution (like the accessibility settings page in Chrome).
2017-08-19 17:18:12 -03:00
Charlie Hess
2b9b186fd1
Rename soundName → sound.
2017-08-17 17:28:14 -07:00
Charlie Hess
0cfae1cc2b
Plumb in the macOS soundName property for notifications.
2017-08-17 13:31:20 -07:00
Cheng Zhao
9c552644d8
Fix compilation on mac
2017-08-17 16:47:12 +09:00
Cheng Zhao
ecff620528
Merge pull request #10081 from renaesop/master
...
Add a callback option to `webContents.print`
2017-08-17 15:56:02 +09:00
Cheng Zhao
f908678e8e
Merge pull request #10183 from andens/mouse_forward
...
Mouse forward functionality on Windows
2017-08-17 15:54:22 +09:00
Andreas Flöjt
d4bbd7c7ab
Add example of using mouse forwarding.
2017-08-16 03:28:52 +02:00
Andreas Flöjt
814702f5b8
Cleanup potential mouse forwarding resources when window is destroyed.
2017-08-16 03:28:07 +02:00
Felix Rieseberg
6191e6e787
🔧 Implement feedback
2017-08-15 16:14:58 -07:00
Michael Kaylan
7741a0e6ad
🍎 Add roles for macOS native tab menu items
...
Fixes #9086 , #10064 .
2017-08-15 11:30:39 -04:00
Catalin Fratila
60b363fa3b
Fixing Windows tray icon content menu - based on chrome/browser/ui/views/status_icons/status_icon_win.cc
2017-08-15 16:19:23 +03:00
Kevin Sawicki
9d2aa6f1c7
Upgrade to node 8.2.0
2017-08-15 16:19:23 +03:00
Ales Pergl
9f8f95f4c9
Lock pixels before calling SkBitmap::getPixels
and copy bitmap row-wise in case (stride != width)
2017-08-15 16:19:23 +03:00
deepak1556
778772710a
intialize WebTextCheckClient https://codereview.chromium.org/2791753003
2017-08-15 16:19:22 +03:00
Gellert Hegyi
6ab0a8a287
removes unused autoresizelock from osrrwhv
2017-08-15 16:19:22 +03:00
Gellert Hegyi
1d10654a22
fixes bitmap to canvas conversion
2017-08-15 16:19:22 +03:00
Gellert Hegyi
76d46ce509
adds compositor resize lock client implementation
2017-08-15 16:19:22 +03:00
Gellert Hegyi
ca4a6e4692
fixes offscreen rendering on macos
2017-08-15 16:19:22 +03:00
Kevin Sawicki
9945fc5148
Don't destroy menu delegate until OnMenuClosed fires
2017-08-15 16:19:21 +03:00
Kevin Sawicki
34fff57646
Grant the devtools access to the extension origins
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
4fc2b3e642
Make download item drags look like bookmark
...
https://codereview.chromium.org/2750253002
2017-08-15 16:19:21 +03:00
Kevin Sawicki
4bb95acc2b
👕 Remove linter errors
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
c7cf844bcd
Update CHROME_VERSION_STRING
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
f4411889a9
Fix free memory calculation.
...
https://codereview.chromium.org/2558043007
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
627eb30409
The Blink Rename
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
b8b7d0ab1a
Rename methods in autofill
2017-08-15 16:19:21 +03:00
Kevin Sawicki
45db999593
Extend blink::WebTextCheckClient in atom::api::SpellCheckClient
2017-08-15 16:19:21 +03:00
Tony Ganch
4d9f309888
Fix HasServiceWorker check
...
Revert cb2014f9e8ae0283e5f20d4e2167be1592228887.
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
e2fe95894f
Require explicit selection of traits for LazyInstance
...
https://codereview.chromium.org/2733283002
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
e16e1e2854
Remove URLRequestJobFactory::IsHandledURL.
...
https://codereview.chromium.org/2783343002
2017-08-15 16:19:21 +03:00
Tony Ganch
90574160db
Replace x/y in WebMouseEvent with proper getters/setters
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
b997c2ffc1
Don't call deprecated copyPixelsTo
...
don't call deprecated copyPixelsTo
https://codereview.chromium.org/2812853002
stop using copyPixelsTo -- deprecated
https://codereview.chromium.org/2798413002
remove unused SkBitmap::copyPixelsTo
https://skia-review.googlesource.com/c/13171/
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
f824b1e9d4
Migrate base::TaskRunner from Closure to OnceClosure
...
Migrate base::TaskRunner from Closure to OnceClosure
https://codereview.chromium.org/2637843002
Pass Callback to TaskRunner by value and consume it on invocation (1)
https://codereview.chromium.org/2726523002
Replace base::get with std::get
https://codereview.chromium.org/2797133002
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
48821a6d2a
Fix compilation
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
d09cab2e21
Migrate base::TaskRunner from Closure to OnceClosure
...
Migrate base::TaskRunner from Closure to OnceClosure
https://codereview.chromium.org/2637843002
Pass Callback to TaskRunner by value and consume it on invocation (1)
https://codereview.chromium.org/2726523002
Replace base::get with std::get
https://codereview.chromium.org/2797133002
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
ffbb16e854
Adds a basic offline check to InstallableManager.
...
https://codereview.chromium.org/2751343002
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
30fafc2772
Fix CompositorResizeLock to do something.
...
https://codereview.chromium.org/2773433003
2017-08-15 16:19:21 +03:00
Aleksei Kuzmin
9b8a77f0d8
Adds the ability for WebContentsDelegate to decide if event should be updated
...
https://codereview.chromium.org/2775553002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
d322769de8
WebMouseEvent coordinates are now fractional & private
...
https://codereview.chromium.org/2782893002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
99e57f9072
Add display::GetDisplayNearestView
...
https://codereview.chromium.org/2751833004
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
6415f181ca
Downloads: Added transient flag to download item and download database
...
https://codereview.chromium.org/2720613002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
bd971b6371
Added last_access_time to DownloadItem and History DB
...
https://codereview.chromium.org/2705283003
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
0adc887b32
[downloads] Allow download target determination to indicate an error.
...
https://chromium-review.googlesource.com/c/465526/
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
bda5e4efcb
Moving LatencyInfo into a separate component.
...
https://codereview.chromium.org/2783973002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
cc350efbd8
Remove base::BinaryValue
...
https://codereview.chromium.org/2799093006
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
49fbb52b01
Add X509CertificateBytes which uses CRYPTO_BUFFER instead of macOS-native certificate types.
...
https://codereview.chromium.org/2746103003
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
3d700ee49f
Remove base::Value::CreateNullValue
...
https://codereview.chromium.org/2792573002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
c7f2e2731c
Allow content embedder to set a cursor for RenderWidgetHost
...
https://codereview.chromium.org/2808763009
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
1126719e7f
Separate ContentSettingsClient out from LocalFrameClient
...
https://codereview.chromium.org/2786673002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
a20f633272
Remove base::StringValue
...
https://codereview.chromium.org/2664753002
2017-08-15 16:19:20 +03:00
Aleksei Kuzmin
7a4ca08a8d
The Blink Rename
2017-08-15 16:19:20 +03:00
renaesop
6d16eb81d2
Add a callback option to webContents.print
2017-08-15 14:44:24 +08:00
Andreas Flöjt
3d33da7696
Make mouse forward option of setIgnoreMouseMessages and update documentation.
2017-08-14 20:21:00 +02:00
Andreas Flöjt
60c0bf1636
Set up legacy window subclass and mouse hook during setForwardMouseMessages.
...
As opposed to when a legacy window is created/destroyed. This enables forwarding on a per-window basis.
2017-08-14 18:12:55 +02:00
Zachary Flower
ba5fa2c8b1
Add support for simple (pre-Lion) fullscreen on Mac OS
2017-08-13 00:28:33 -06:00
Felix Rieseberg
b4bb00843b
🔧 Spaces for the Spacelord
2017-08-10 09:38:01 -07:00
Felix Rieseberg
d913b53fea
🔧 Handle offset BrowserView
2017-08-10 08:00:21 -07:00
Felix Rieseberg
47d652b5a2
🔧 Properly derive
2017-08-09 15:21:58 -07:00
Felix Rieseberg
7bfece1144
🔧 Make work with complex shapes
2017-08-09 15:21:58 -07:00
Felix Rieseberg
a55015d63d
🔧 Support older versions of macOS
2017-08-09 15:21:58 -07:00
Felix Rieseberg
a5dfb09037
🔧 Draggable (using the window’s regions)
2017-08-09 15:21:58 -07:00
Vanessa Yuen
b81aab9eae
Bump v1.7.6
2017-08-09 15:28:55 -04:00
Vladimir Vainer
39c46a9b75
added comment to mention sk_tools_utils::copy_to
2017-08-08 13:06:39 +03:00
Vladimir Vainer
e6abfa959a
Revert "Do not use deprecated deepCopyTo"
...
This reverts commit 517184b89b
.
2017-08-08 13:02:20 +03:00
John Kleinschmidt
3d5acdf682
Rollback debug mode changes
2017-08-07 15:54:44 -04:00
Cheng Zhao
eeca6fcb55
Revert "Fix window.opener being null when nativeWindowOpen is used"
2017-08-07 19:50:23 +09:00
Cheng Zhao
63d7aee1a6
Merge pull request #9961 from electron/fix-window-opener
...
Fix window.opener being null when nativeWindowOpen is used
2017-08-04 21:18:47 +09:00
Andreas Flöjt
0736de1e8d
Fix lint errors
2017-08-03 23:23:42 +02:00
Andreas Flöjt
a84fa0eecb
🏁 Add API to forward mouse messages.
...
As opposed to the existing setIgnoreMouseEvents this call makes Chromium aware of mouse movements, allowing the user to stop forwarding according to movements in the webpage.
2017-08-02 21:16:37 +02:00
Cheng Zhao
4e2cb549c7
Notify net error asyncronously
...
Notifying net error syncronously would result in crash.
2017-08-02 11:14:06 +09:00
Cheng Zhao
0ee2ab8a6e
Fix accessing empty vector in V8FunctionInvoker
2017-07-31 16:47:14 +09:00
Cheng Zhao
6ee95f9529
Fix crash when converting invalid image to JPEG
2017-07-31 15:48:54 +09:00
Cheng Zhao
a6c8329a68
Remove unneeded heap allocation
2017-07-31 15:45:59 +09:00
Cheng Zhao
a7035b08d5
Merge pull request #10070 from electron/fix-dbus-menu
...
Only update dbus menu when it has been changed
2017-07-31 10:42:08 +09:00
Cheng Zhao
5b7cf19ced
Merge pull request #10099 from electron/leak-node-environment
...
Leak the Node environment when context is released
2017-07-31 10:41:45 +09:00