Commit Graph

285 Commits

Author SHA1 Message Date
Makoto Kato
04efbe5905 Bug 1177943 - Part 2. Add cmd_lookUpDictionary content command. r=masayuki
To get selected word on contnet process, I create new contnet command to look up dictionary.  Then, call nsIWidget's method to show looking up dictionary.

About fetched length, see https://www.chromium.org/developers/design-documents/system-dictionary-pop-up-architecture for OSX 10.6's design

MozReview-Commit-ID: Ic2r6hboEEw
2016-05-02 11:41:20 +09:00
Neil Deakin
405358d4b3 Bug 1101975, handle access keys in content process before menus, r=masayuki 2016-05-11 08:56:42 -04:00
Masayuki Nakano
eb041d2df7 Bug 1257759 part.7 Add new internal events which represent key events on plugin r=smaug
If a plugin process posts native key events to the widget, it needs to check if the key combination is reserved by chrome because if it's reserved by chrome, the reserved shortcut key handler should be executed and the event shouldn't be handled by the focused plugin.

This patches add eKeyDownOnPlugin and eKeyUpOnPlugin.  nsXBLWindowKeyHandler will listen to them and handle them as normal keydown and keypress or keyup event.  Note that these events won't be fired on content in the default event group and won't be sent to the remote process.

MozReview-Commit-ID: H5OKPLtVdr6

--HG--
extra : rebase_source : c6852423e47c40e9953b72061262730f7cce35d7
2016-04-23 01:22:49 +09:00
Masayuki Nakano
cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Ting-Yu Lin
b8972c7eb9 Bug 1225412 Part 2 - Add support to dispatch toggle events to details element. r=smaug
Add ontoggle event handler, and dispatch toggle events to the details
element if the open attribute is added or changed. According to the
spec, if a new toggle event has been queued, previous toggle events
should be aborted.

MozReview-Commit-ID: EN6Jf5hVHHD

--HG--
extra : rebase_source : 35605e49950bb59a0eb6dca594c3ede465ff587d
2016-03-12 19:53:51 +08:00
Xidorn Quan
775aed278a Bug 743198 part 6 - Add unprefixed fullscreen events. r=smaug
--HG--
extra : source : cb096452899287cb35b51146d2f2ffc3dc26350f
2016-02-17 08:47:11 +08:00
Daniel Holbert
003c978aea Bug 1236979 part 1: Add event names & enums for webkit-prefixed transition & animation events. r=smaug 2016-01-31 00:01:17 -08:00
Daniel Holbert
2eb04f5120 backout bug 1236979 (changesets 2f4de652525e, d7136545a16e, f62e6638add1, f8b1e085b161) for xpcshell test failures 2016-02-01 21:57:38 -08:00
Daniel Holbert
ad2eec18b6 Bug 1236979 part 1: Add event names & enums for webkit-prefixed transition & animation events. r=smaug 2016-01-31 00:01:17 -08:00
Eugen Sawin
e8d1a957e9 Bug 1205649 - [2.4] Add AbsoluteDeviceOrientation DOM event for compass heading orientation data. r=smaug 2016-01-21 18:14:33 +01:00
Boris Zbarsky
9ecf8df931 Bug 1225188. Implement window.onstorage. r=smaug 2015-11-17 18:09:53 -05:00
William Chen
16cbe794df Bug 920734 - Part 1: Implement window.orientation and window.onorientationchange. r=baku
--HG--
extra : rebase_source : 1ca2e3a29733762d4bb2c335a0d6fcf5d7b03c0f
2015-10-23 21:37:28 -07:00
Masayuki Nakano
68ad962e5b Bug 1204439 part.2 NS_EVENT_MESSAGE() shouldn't take specific value for the event message r=smaug 2015-09-17 12:05:44 +09:00
Masayuki Nakano
586b87d254 Bug 1204439 part.1 Add NS_EVENT_MESSAGE_FIRST_LAST() into EventMessageList.h for defining e*EventFirst and e*EventLast r=smaug 2015-09-17 12:05:44 +09:00
Masayuki Nakano
e38280f51c Bug 895274 part.270 Add comment to explain the naming rules of EventMessage r=smaug 2015-09-15 00:14:38 +09:00
Masayuki Nakano
274522bb4d Bug 895274 part.269 Rename NS_SIMPLE_GESTURE_EVENT_START to eSimpleGestureEventFirst r=smaug 2015-09-15 00:14:38 +09:00
Masayuki Nakano
a32fa2bbf6 Bug 895274 part.268 Rename NS_SIMPLE_GESTURE_SWIPE_MAY_START to eSwipeGestureMayStart r=smaug 2015-09-15 00:14:38 +09:00
Masayuki Nakano
01d0c1e4f6 Bug 895274 part.267 Rename NS_SIMPLE_GESTURE_SWIPE_START to eSwipeGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
a56b1685be Bug 895274 part.266 Rename NS_SIMPLE_GESTURE_SWIPE_UPDATE to eSwipeGestureUpdate r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
4b0c36bc75 Bug 895274 part.265 Rename NS_SIMPLE_GESTURE_SWIPE_END to eSwipeGestureEnd r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
8589cee2fb Bug 895274 part.264 Rename NS_SIMPLE_GESTURE_SWIPE to eSwipeGesture r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
392c27e8be Bug 895274 part.263 Rename NS_SIMPLE_GESTURE_MAGNIFY_START to eMagnifyGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
ff1973548a Bug 895274 part.262 Rename NS_SIMPLE_GESTURE_MAGNIFY_UPDATE to eMagnifyGestureUpdate r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
4afa8d0be3 Bug 895274 part.261 Rename NS_SIMPLE_GESTURE_MAGNIFY to eMagnifyGesture r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
7336c96a8a Bug 895274 part.260 Rename NS_SIMPLE_GESTURE_ROTATE_START to eRotateGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano
d80c30a345 Bug 895274 part.259 Rename NS_SIMPLE_GESTURE_ROTATE_UPDATE to eRotateGestureUpdate r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
f0f85cbe58 Bug 895274 part.258 Rename NS_SIMPLE_GESTURE_ROTATE to eRotateGesture r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
e680fa88d1 Bug 895274 part.257 Rename NS_SIMPLE_GESTURE_TAP to eTapGesture r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
da4dac72e7 Bug 895274 part.256 Rename NS_SIMPLE_GESTURE_PRESSTAP to ePressTapGesture r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
59cfc059d4 Bug 895274 part.255 Rename NS_SIMPLE_GESTURE_EDGE_STARTED to eEdgeUIStarted r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
f6cd790808 Bug 895274 part.254 Rename NS_SIMPLE_GESTURE_EDGE_CANCELED to eEdgeUICanceled r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
02e3cd7659 Bug 895274 part.253 Rename NS_SIMPLE_GESTURE_EDGE_COMPLETED to eEdgeUICompleted r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
e11becb130 Bug 895274 part.252 Rename NS_TRANSITION_END to eTransitionEnd r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
9ed33d8f8f Bug 895274 part.251 Rename NS_TRANSITION_EVENT_START to eTransitionEventFirst r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
e5272d4a59 Bug 895274 part.250 Rename NS_AUDIO_COMPLETE to eAudioComplete r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
c105d8a320 Bug 895274 part.249 Rename NS_AUDIO_PROCESS to eAudioProcess r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
34f45b219c Bug 895274 part.248 Rename NS_WEBAUDIO_EVENT_START to eAudioEventFirst r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
f3b58916d4 Bug 895274 part.247 Rename NS_MESSAGE_EVENT_START to eMessageEventFirst r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
e8d203ebb7 Bug 895274 part.246 Rename NS_MESSAGE to eMessage r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
95e9124e8e Bug 895274 part.245 Rename NS_SHOW_EVENT to eShow r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
683794135c Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
52a7afe36c Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
995eafb620 Bug 895274 part.240 Rename NS_TOUCH_EVENT_START to eTouchEventFirst r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
baeb0daba5 Bug 895274 part.239 Rename NS_MEDIARECORDER_STOP to eMediaRecorderStop r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
056f5cb4c7 Bug 895274 part.238 Rename NS_MEDIARECORDER_WARNING to eMediaRecorderWarning r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
9917577ddc Bug 895274 part.237 Rename NS_MEDIARECORDER_DATAAVAILABLE to eMediaRecorderDataAvailable r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
34ddcf0539 Bug 895274 part.236 Rename NS_MEDIARECORDER_EVENT_START to eMediaRecorderEventFirst r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano
31ae17700c Bug 895274 part.235 Rename NS_SPEAKERMANAGER_EVENT_START to eSpeakerManagerEventFirst r=smaug 2015-09-15 00:14:34 +09:00