Commit graph

18 commits

Author SHA1 Message Date
Milan Burda
6f3c46cc7e refactor: move devtools from brightray to atom (#15234) 2018-10-19 15:50:30 +02:00
Samuel Attard
6be69048e6
fix: handle shortcuts by default if no WebPreferences object exists (#14766)
DevTools webcontents do not have webpreferences

Fixes #14685
2018-09-28 01:41:09 +10:00
Cheng Zhao
13334d023d fix: read ignoreMenuShortcuts per WebContents 2018-09-10 19:06:16 +09:00
Aleksei Kuzmin
7a4ca08a8d The Blink Rename 2017-08-15 16:19:20 +03:00
Birunthan Mohanathas
f20f87829b Add webContents.setIgnoreMenuShortcuts()
This allows you to disable application menu shortcut handling on a per
web contents basis.
2017-06-26 14:01:17 -07:00
Cheng Zhao
fc2d62d5cb Fix API changes of Chrome58 2017-04-27 16:34:52 +09:00
Kevin Sawicki
5eaae8136e Check that window is an EventDispatchingWindow 2016-07-28 08:48:56 -07:00
Kevin Sawicki
bd33961964 Give menu a chance to handle key event before window 2016-07-06 10:12:40 -07:00
Cheng Zhao
d3bf400d56 Use class extension to avoid type conversion 2016-06-19 20:16:19 +09:00
Kevin Sawicki
754c4654d4 Add back window check 2016-06-17 16:23:54 -07:00
Kevin Sawicki
13e554ab11 🎨 2016-06-17 11:32:56 -07:00
Kevin Sawicki
711c3abaeb Remove isKindOfClass check 2016-06-17 11:13:28 -07:00
Kevin Sawicki
0e65977a3c Use EventDispatchingWindow from brightray 2016-06-17 11:11:50 -07:00
Kevin Sawicki
3bc4f188ef Handle redispatch in devtools undocked windows 2016-06-17 10:27:53 -07:00
Kevin Sawicki
1e73d48198 🎨 2016-06-17 09:13:00 -07:00
Kevin Sawicki
02abda4be8 Use isKindOfClass 2016-06-17 09:13:00 -07:00
Kevin Sawicki
a2bbfea9e0 Redispatch events to handle native shortcuts 2016-06-17 09:12:59 -07:00
Cheng Zhao
5f6c468f0f Handle keyboard events for WebContents that do not have owner window 2016-05-18 13:57:48 +09:00