Commit Graph

32 Commits

Author SHA1 Message Date
Morris Tseng
969de71304 Bug 1088559 - Also dispatch NotifyAsyncPanZoomStarted/NotifyAsyncPanZoomStopped to nsDocShell's child. r=roc 2014-10-29 02:03:00 -04:00
Morris Tseng
4adb27481c Bug 1088552 - Change downPoint and movePoint from canvasframe's coordinate to rootframe's coordinate. r=roc 2014-10-28 18:25:00 -04:00
Ting-Yu Lin
91fc19cc0d Bug 1087190 - Add debug log to SelectionCarets. f=mtseng, f=pchang, r=roc 2014-10-29 01:16:00 +01:00
Morris Tseng
35aef0a458 Bug 1074736 - Consider multiple range selection in selection caret. r=roc 2014-10-23 19:49:00 +02:00
Ryan VanderMeulen
8c1e5ba605 Backed out changesets 94c5f5317e4b, f43962d6b41e, and 6e0a13090cd8 (bug 1074736) for various carat-related Marionette failures.
--HG--
extra : rebase_source : e26c24158df6cc8198ca57f505028a1f82aa7264
2014-10-27 15:39:44 -04:00
Morris Tseng
547c9ef4f3 Bug 1074736 - Consider multiple range selection in selection caret. r=roc 2014-10-23 19:49:00 +02:00
Carsten "Tomcat" Book
5ae144eb2d Backed out changeset b1ab04e807c3 (bug 1074736) 2014-10-24 14:45:59 +02:00
Morris Tseng
b62eca1a88 Bug 1074736 - Consider multiple range selection in selection caret. r=roc 2014-10-23 19:49:00 +02:00
peter chang
c84a9648d2 Bug 1068461 - Locate the text frames from viewport frame to select word, r=roc 2014-10-15 10:43:29 +08:00
Morris Tseng
5ce2796711 Bug 1062735 - Part 4: Support non-editable fields for selection carets. r=roc 2014-10-16 23:17:00 +02:00
Morris Tseng
baa99c95bf Bug 1062735 - Part 3: Change ReduceRectToVerticalEdge to 1 css pixel instead of 1 app unit. r=roc 2014-09-28 23:50:00 +02:00
Morris Tseng
a1fbd6c605 Bug 1062735 - Part 2: Add a preference to control non-editable fields support. r=roc 2014-09-28 23:49:00 +02:00
Morris Tseng
f281c69426 Bug 1062735 - Part 1: Remove GetHintForPosition. r=roc 2014-09-28 23:48:00 +02:00
pchang
5b6f9bba1a Bug 1067243 - Refine the selection reason matching logic to toggle the visibility of selection carets. r=roc 2014-09-26 15:14:35 +08:00
peter chang
dc90ce6554 Bug 1020801 - Notify the ScrollViewChange DOM event when APZ starts/stops to change the transform. r=ehsan 2014-09-23 06:37:00 -04:00
Ting-Yu Lin
b98446503e Bug 1065244 - Part 2 - Refactor event point on frame logic for SelectionCarets. f=mtseng, r=roc 2014-09-15 02:57:00 +02:00
Ting-Yu Lin
88ac0a85b6 Bug 1065244 - Part 1 - Add GetRectRelativeToFrame to nsLayoutUtils. f=mtseng, r=roc 2014-09-15 17:07:00 +02:00
Ting-Yu Lin
75ae3bce11 Bug 1057256 - Part 2 - Add null pointer check for touch and selection carets. r=roc
TouchCaret::IsDisplayable() contains more null pointer check. It covers
what's original there in TouchCaret::HandleEvent().
2014-08-25 02:50:00 +02:00
Ting-Yu Lin
9b08fc1098 Bug 1057256 - Part 1 - Remove NS_ENSURE_TRUE in SelectionCarets.cpp. r=roc
Remove NS_ENSURE_TRUE and NS_ENSURE_TRUE_VOID since they are deprecated,
and we do not need to print log in plain null pointer check.
2014-08-25 02:50:00 +02:00
Morris Tseng
88bb1d737c Bug 1056457 - Remove batch changes in selection carets. r=roc 2014-08-20 20:23:00 +02:00
Robert O'Callahan
70c695fa57 Bug 1048752. Part 24: Rename and deCOM Set/GetCaretVisible. r=tn
--HG--
extra : rebase_source : 04249e9b22a62b8f2952515fa48f4ba3227e235e
2014-08-06 17:19:29 +12:00
Robert O'Callahan
9780343dd6 Bug 1048752. Part 17: Rename Get/SetCaretDOMSelection to Get/SetSelection. r=tn
The forward declaration of Selection in nsCaret.h will be used in later patches.

--HG--
extra : rebase_source : d1b749adac983c04d3365bb6bfb76a50101beeb5
2014-08-06 17:19:27 +12:00
Robert O'Callahan
ae6a16193a 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
922821fdc8 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
Morris Tseng
1c2fa9e9d0 Bug 1050095 - Prevent drag event when calling SelectionCarets::SelectWord(). r=roc 2014-08-06 23:08:00 -04:00
Morris Tseng
7d8540531d Bug 1046498 - Constrain frame to anchor subtree when dragging selection caret. r=roc 2014-08-06 01:55:00 -04:00
Morris Tseng
a59488b63d Bug 1023041 - Part 1: Rename SetMouseDownState to SetDragState. r=roc 2014-08-04 00:26:00 -04:00
Morris Tseng
0ab1acf337 Bug 987040 - Part 2: Add a flag indicate whether CollectClientRects should flush layout or not. r=ehsan 2014-07-23 23:06:00 +02:00
Morris Tseng
8837e8ec54 Bug 1026431 - Determine tilt mode by next character of startFrame and previous character of endFrame. r=roc 2014-07-15 22:44:00 +02:00
Morris Tseng
ed4b9091e8 Bug 1024966 - Check mResultContent before using it. r=roc 2014-07-09 02:21:00 +02:00
Morris Tseng
c7a843c3cd Bug 864595 - Provide a option which indicate to that offsets outside the frame box are allowed. [r=roc] 2014-06-27 13:58:57 -07:00
Morris Tseng
508f746be3 Bug 987718 - Part 5: Add SelectionCarets; r=roc 2014-06-04 22:57:00 +02:00