mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Add focus() and blur() for FakeWindow
This commit is contained in:
@@ -58,3 +58,7 @@ ipc.on 'ATOM_SHELL_GUEST_WINDOW_MANAGER_WINDOW_OPEN', (event, args...) ->
|
||||
ipc.on 'ATOM_SHELL_GUEST_WINDOW_MANAGER_WINDOW_CLOSE', (event, args...) ->
|
||||
guest = removeGuest args...
|
||||
guest.destroy()
|
||||
|
||||
ipc.on 'ATOM_SHELL_GUEST_WINDOW_MANAGER_WINDOW_METHOD', (event, guestId, method, args...) ->
|
||||
guest = BrowserWindow.windows.get guestId
|
||||
guest[method] args...
|
||||
|
||||
Reference in New Issue
Block a user