gecko-dev/dom/events
Masayuki Nakano 6e8192fd45 Bug 1425390 - part 1: Move some IME related members of EditorBase into TextComposition r=m_kato
EditorBase stores a text node, offset in it and length in it of composition
string directly.  However, this wastes memory space if user never uses IME
or user only sometimes uses IME.  Additionally, storing all data in
TextComposition is better than current design when other classes like
CompositionTransaction wants some information of both EditorBase and
TextComposition.

This patch moves those 3 members from EditorBase to TextComposition.

MozReview-Commit-ID: 4N7wmGGfxmt

--HG--
extra : rebase_source : bd7cb37fe9631b959ec21da40c20751fec269dca
2017-12-15 13:14:51 +09:00
..
crashtests Bug 1397711 - Null-check widget of keyboard event before invoking its PostHandleKeyEvent. r=masayuki 2017-09-07 22:07:34 +10:00
test Bug 1424633: Decide which frame to focus using the flattened tree. r=smaug 2017-12-16 00:39:13 +01:00
AnimationEvent.cpp Bug 1292063 - Part 1: Add Event.composed. r=smaug 2016-08-31 11:16:11 +08:00
AnimationEvent.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
AsyncEventDispatcher.cpp Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm 2017-07-26 16:13:35 +08:00
AsyncEventDispatcher.h Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
BeforeUnloadEvent.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
BeforeUnloadEvent.h
ClipboardEvent.cpp Bug 1313943 - Legacy event initializers should all do nothing during dispatch; r=bkelly 2016-11-01 17:19:59 +02:00
ClipboardEvent.h
CommandEvent.cpp Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
CommandEvent.h
CompositionEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
CompositionEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
ConstructibleEventTarget.cpp Bug 1379688 part 2. Make the EventTarget interface constructible. r=smaug 2017-11-20 13:59:22 -05:00
ConstructibleEventTarget.h Bug 1379688 part 2. Make the EventTarget interface constructible. r=smaug 2017-11-20 13:59:22 -05:00
ContentEventHandler.cpp Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio 2017-11-09 03:00:48 +01:00
ContentEventHandler.h Bug 1399626 - Part 5: Update ContentEventHandler to use the new nsIContentIterator::Init overload when possible, r=masayuki 2017-10-02 11:58:00 -04:00
CustomEvent.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
CustomEvent.h
DOMEventTargetHelper.cpp Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug 2017-11-09 10:44:47 -05:00
DOMEventTargetHelper.h Bug 1379688 part 2. Make the EventTarget interface constructible. r=smaug 2017-11-20 13:59:22 -05:00
DataTransfer.cpp Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj 2017-10-21 23:53:02 +09:00
DataTransfer.h Bug 1398883 - Disable the DataTransfer::Protected state for Firefox 57, r=baku 2017-09-13 11:45:48 -04:00
DataTransferItem.cpp Bug 1415081 - part 8 - Fix the use of NS_ReadInputStreamToString in DataTransferItem, r=smaug 2017-11-09 11:18:09 +01:00
DataTransferItem.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
DataTransferItemList.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
DataTransferItemList.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
DeviceMotionEvent.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
DeviceMotionEvent.h Bug 1287006 - Don't pass Nullable by value in various places, rather by const&. r=bz 2017-02-13 09:07:40 -08:00
DragEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
DragEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
Event.cpp Bug 691151. Remove Event.getPreventDefault. r=smaug 2017-11-15 12:23:58 -05:00
Event.h Bug 691151. Remove Event.getPreventDefault. r=smaug 2017-11-15 12:23:58 -05:00
EventDispatcher.cpp Bug 1409985 - Don't fire DOMEvent during StableState. r=smaug 2017-10-19 18:20:31 +08:00
EventDispatcher.h Bug 1409975 - Part 3: Fix event get-the-parent algorithm for a node. r=smaug 2017-12-04 16:06:40 +08:00
EventListenerManager.cpp Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug 2017-11-23 13:12:13 -05:00
EventListenerManager.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
EventListenerService.cpp Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj 2017-10-21 23:53:02 +09:00
EventListenerService.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
EventNameList.h Bug 1359017 - onmessageerror for WindowEventHandlers in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-13 05:59:06 +02:00
EventStateManager.cpp Bug 1424633: Decide which frame to focus using the flattened tree. r=smaug 2017-12-16 00:39:13 +01:00
EventStateManager.h Bug 1422626 - Remove redundant declarion of class EnterLeaveDispatcher. r=masayuki 2017-12-05 01:09:21 -05:00
EventStates.h Bug 1385478 - Part 2: Change Required/IsRequired() to look at NS_EVENT_STATE_REQUIRED instead. r=bz 2017-08-03 01:27:00 -04:00
EventTarget.cpp Bug 1379688 part 2. Make the EventTarget interface constructible. r=smaug 2017-11-20 13:59:22 -05:00
EventTarget.h Bug 1379688 part 2. Make the EventTarget interface constructible. r=smaug 2017-11-20 13:59:22 -05:00
FocusEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
FocusEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
IMEContentObserver.cpp Bug 1421758, IME handling shouldn't cross shadow boundaries, r=masayuki 2017-12-08 00:01:51 +02:00
IMEContentObserver.h Bug 1407943 - IMEContentObserver should use Selection instead of nsISelectionPrivate. r=masayuki 2017-10-12 18:11:09 +09:00
IMEStateManager.cpp Bug 1409113 - Add nsIPresShell::HasHandledUserInput() status to InputContext r=masayuki 2017-11-22 10:09:06 -06:00
IMEStateManager.h Bug 1396725 - IMEStateManager doesn't need to manage whether menu keyboard listener is installed in different process r=smaug 2017-09-07 11:46:08 +09:00
ImageCaptureError.cpp
ImageCaptureError.h
InputEvent.cpp Bug 1292063 - Part 1: Add Event.composed. r=smaug 2016-08-31 11:16:11 +08:00
InputEvent.h
InternalMutationEvent.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
JSEventHandler.cpp Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
JSEventHandler.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
KeyNameList.h Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly 2017-08-08 14:41:05 -07:00
KeyboardEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
KeyboardEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
MessageEvent.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
MessageEvent.h Bug 1311324 P2 Replace usage of ServiceWorkerMessageEvent with MessageEvent. r=bz 2017-03-09 20:50:13 -05:00
MouseEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
MouseEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
MouseScrollEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
MouseScrollEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
MutationEvent.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
MutationEvent.h
NotifyPaintEvent.cpp Bug 1302071 - Part 3: Remove flags parameter to NotifyInvalidation since it's unused. r=tnikkel 2017-02-17 11:50:58 +13:00
NotifyPaintEvent.h Bug 1302071 - Part 3: Remove flags parameter to NotifyInvalidation since it's unused. r=tnikkel 2017-02-17 11:50:58 +13:00
PaintRequest.cpp Bug 1302071 - Part 3: Remove flags parameter to NotifyInvalidation since it's unused. r=tnikkel 2017-02-17 11:50:58 +13:00
PaintRequest.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
PhysicalKeyCodeNameList.h
PointerEvent.cpp Bug 1292064 - [Pointer Event] Add digitizer/pen tangential (barrel) pressure and twist. r=smaug 2017-02-09 10:49:00 +08:00
PointerEvent.h Bug 1292064 - [Pointer Event] Add digitizer/pen tangential (barrel) pressure and twist. r=smaug 2017-02-09 10:49:00 +08:00
PointerEventHandler.cpp Bug 1400792 - Fire pointercancel when starting a dnd operation. r=smaug. 2017-09-18 18:41:36 +08:00
PointerEventHandler.h Bug 1400792 - Fire pointercancel when starting a dnd operation. r=smaug. 2017-09-18 18:41:36 +08:00
ScrollAreaEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
ScrollAreaEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
SimpleGestureEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
SimpleGestureEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
SpeechRecognitionError.cpp Bug 1292063 - Part 1: Add Event.composed. r=smaug 2016-08-31 11:16:11 +08:00
SpeechRecognitionError.h
StorageEvent.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
StorageEvent.h Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth 2017-02-19 22:16:48 -05:00
TextClause.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
TextClause.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
TextComposition.cpp Bug 1425390 - part 1: Move some IME related members of EditorBase into TextComposition r=m_kato 2017-12-15 13:14:51 +09:00
TextComposition.h Bug 1425390 - part 1: Move some IME related members of EditorBase into TextComposition r=m_kato 2017-12-15 13:14:51 +09:00
Touch.cpp Bug 1382499 - Enhance fingerprinting resistance for Touch API r=arthuredelstein,bz 2017-07-31 17:30:38 +08:00
Touch.h Bug 1382499 - Enhance fingerprinting resistance for Touch API r=arthuredelstein,bz 2017-07-31 17:30:38 +08:00
TouchEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
TouchEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
TransitionEvent.cpp Bug 1292063 - Part 1: Add Event.composed. r=smaug 2016-08-31 11:16:11 +08:00
TransitionEvent.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
UIEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
UIEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
VirtualKeyCodeList.h Bug 1297013 part.2 Implement some helper methods to log constants related to event handling r=smaug 2016-09-15 00:48:47 +09:00
WheelEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
WheelEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
WheelHandlingHelper.cpp Bug 143038 Make users can scroll contents horizontally with vertical wheel operation with a modifier r=smaug 2017-10-05 01:12:35 +09:00
WheelHandlingHelper.h Bug 143038 Make users can scroll contents horizontally with vertical wheel operation with a modifier r=smaug 2017-10-05 01:12:35 +09:00
XULCommandEvent.cpp Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug 2017-11-09 10:44:47 -05:00
XULCommandEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
moz.build Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
nsIEventListenerService.idl Bug 1402772 - Change nsIEventListenerChange::changedListenerNames to a count of a11y-affecting elements. r=smaug. 2017-09-25 16:38:04 +10:00