Commit Graph

14 Commits

Author SHA1 Message Date
Jonathan Kew
b211ed7ac5 Bug 1077515 - part 4 - Add writing-mode to the reply to the NS_QUERY_SELECTED_TEXT event. r=roc 2014-11-22 14:39:03 +00:00
Masayuki Nakano
bf3703d87b Bug 1061810 ContentEventHandler::SetRangeFromFlatTextOffset() should use nsRange::SetStart(nsINode*, int32_t) instead of nsRange::SetStart(nsIDOMNode*, int32_t) for avoiding the unnecessary QI r=smaug 2014-09-05 14:27:12 +09:00
Carsten "Tomcat" Book
856ee1953a Backed out changeset 53a069425e00 (bug 1061810) for XPCShell Test failures/crashes 2014-09-04 13:54:14 +02:00
Masayuki Nakano
816cc8407b Bug 1061810 ContentEventHandler::SetRangeFromFlatTextOffset() should use nsRange::SetStart(nsINode*, int32_t) instead of nsRange::SetStart(nsIDOMNode*, int32_t) because the security check sometims fails and we can void the unnecessary QI r=smaug 2014-09-04 18:49:24 +09:00
Robert O'Callahan
2489dc1f01 Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.

--HG--
extra : rebase_source : cc618ef60e707e1360644340a2648de389383da0
2014-08-06 17:19:27 +12:00
Robert O'Callahan
b4ed20d441 Bug 1048752. Part 14: Split GetGeometry into a static and a non-static version. r=tn
GetGeometry is used in two different ways. Sometimes it's used to get
information about a particular caret. Sometimes it's used to get
information about a particular selection that's not associated with
a caret. Splitting GetGeometry into a non-static version for the former
and a static version for the latter makes this more clear. Also it saves
code since for the latter version we don't have to get an nsCaret first.

--HG--
extra : rebase_source : b7730dac56b308a82b79b175749234c9a92b6f59
2014-08-06 17:19:26 +12:00
Masayuki Nakano
444fbd2caa Bug 1043182 Removed and inserted text length which are notified by CharacterDataWillChange() and CharacterDataChanged() should be converted to the length with native new lines in IMEContentObserver r=smaug 2014-07-31 13:38:01 +09:00
Steven Michaud
b8044236fc Bug 995603 - Ensure mouse-enter/exit events are sent to plugins as appropriate. r=mstange,masayuki 2014-04-30 11:55:40 -05:00
Masayuki Nakano
0b61f81cc1 Bug 998188 part.3 Sort out offset/length variable names in ContentEventHandler r=smaug 2014-04-26 08:52:13 +09:00
Masayuki Nakano
faf695194a Bug 998188 part.2 ContentEventHandler should support 2 modes, native line break mode and XP line break mode r=smaug 2014-04-26 08:52:12 +09:00
Masayuki Nakano
67b49e2809 Bug 998188 part.1 Add test for this crash on debug build r=ehsan 2014-04-26 08:52:12 +09:00
Jim Chen
dfe3a809e7 Bug 932370 - Fix signed/unsigned comparison warning; r=bustage on a CLOSED TREE
--HG--
extra : amend_source : 67b412ef5447b5a554ab0f2e00b39db33accd04b
2014-03-11 12:24:03 -04:00
Jim Chen
5c7588c95e Bug 932370 - Properly measure offsets for deleted BR nodes; r=masayuki 2014-03-11 12:04:33 -04:00
Masayuki Nakano
7419257b87 Bug 981226 Rename nsContentEventHandler to mozilla::ContentEventHandler (and clean up it) r=smaug
--HG--
rename : dom/events/nsContentEventHandler.cpp => dom/events/ContentEventHandler.cpp
rename : dom/events/nsContentEventHandler.h => dom/events/ContentEventHandler.h
2014-03-11 14:08:02 +09:00