Commit Graph

11 Commits

Author SHA1 Message Date
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
7ea822125b Bug 1048752. Part 9: Remove nsCaret.h from nsDisplayList.h. r=tn
I got tired of slow build turnarounds every time I modified nsCaret.h.

--HG--
extra : rebase_source : 0c4598c4881ab8de0a636b08c70fb801bb912247
2014-08-06 17:19:25 +12:00
Ting-Yu Lin
f6297bc01f Bug 1016184 - Part 3b: Revise touch caret visibility logic. f=pchang, r=ehsan
* Refactor UpdateTouchCaret() into smaller functions.
* Update touch caret in PresShell::DidDoReflow() and
  PresShell::UnsuppressAndInvalidate() if needed.
2014-07-27 00:15:00 +02:00
Ting-Yu Lin
f42a1a8202 Bug 1016184 - Part 3a: Fix typos and minor style changes. r=ehsan
Also group the private section together, and remove the protect section
since TouchCaret is a MOZ_FINAL class.
2014-07-27 00:13:00 +02:00
Morris Tseng
2ad09f0cd9 Bug 1023041 - Part 2: Generate correct event when dragging touch caret. r=roc 2014-08-04 00:24:00 -04:00
Ryan VanderMeulen
94be6c5efa Backed out 9 changesets (bug 1016184) for frequent OSX Gip timeouts.
Backed out changeset 0893f2ef4b9a (bug 1016184)
Backed out changeset 93587ce1162b (bug 1016184)
Backed out changeset a52c9d674927 (bug 1016184)
Backed out changeset ca2fd0f41a12 (bug 1016184)
Backed out changeset 84dacf014e39 (bug 1016184)
Backed out changeset 16854e321f23 (bug 1016184)
Backed out changeset 8acd5e707c83 (bug 1016184)
Backed out changeset d0513eae0c97 (bug 1016184)
Backed out changeset 0d03cd217c64 (bug 1016184)
2014-07-31 13:29:30 -04:00
Ting-Yu Lin
5fcaec2856 Bug 1016184 part 3b - Revise touch caret visibility logic. f=pchang, r=ehsan
* Refactor UpdateTouchCaret() into smaller functions.
* Update touch caret in PresShell::DidDoReflow() and
  PresShell::UnsuppressAndInvalidate() if needed.
2014-07-27 00:15:00 +02:00
Ting-Yu Lin
c388911523 Bug 1016184 part 3a - Fix typos and minor style changes. r=ehsan
Also group the private section together, and remove the protect section
since TouchCaret is a MOZ_FINAL class.
2014-07-27 00:13:00 +02:00
Benoit Jacob
919b379ff0 Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
Morris Tseng
508f746be3 Bug 987718 - Part 5: Add SelectionCarets; r=roc 2014-06-04 22:57:00 +02:00
Phoebe Chang
5413497932 Bug 924692 - Part 3: Add TouchCaret; r=roc, bugs 2014-06-03 15:08:45 +08:00