Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Ehsan Akhgari
9c41eb5377
Bug 1178745 follow-up: Mark overridden ComputeScrollClip() methods as override
2015-07-05 21:26:51 -04:00
Markus Stange
33793d8676
Bug 1178745 - Add an nsIScrollableFrame API for getting the scroll clip. r=roc
2015-07-02 16:42:10 -04:00
Markus Stange
13dceaa237
Bug 990974 - Add a flag to ComputeFrameMetrics so that a different clip can be returned for the caret and non-caret content. r=roc
2015-07-02 13:42:34 -04:00
Markus Stange
5b6ca0437f
Bug 990974 - When using display ports, don't clip the painted contents to the content box clip. r=roc
...
Store the content box clip on mAncestorClip, and store a different clip for the caret on mAncestorClipForCaret.
In a future patch, those clips will be selectively applied to the right layers.
2015-07-03 14:06:15 -04:00
David Anderson
2511c6ca59
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
2015-06-21 12:27:31 -04:00
Markus Stange
3000f6c8eb
Back out bug 1148582 for static analysis bustage.
2015-07-01 01:20:59 -04:00
David Anderson
38a60e1411
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
2015-06-21 12:27:31 -04:00
Simon Montagu
149fd5095d
Bug 1113206: Make nsComboboxControlFrame and nsListControlFrame use logical coordinates and support vertical writing modes - patch by smontagu with additions by jfkthame. r=jfkthame,smontagu
2015-02-08 07:31:14 -08:00
David Anderson
f4ad77bc5b
Fix asynchronously scrolling containerful subframes. (bug 1148582 part 6.1, r=tn)
2015-06-02 16:34:46 -07:00
David Anderson
2c86ceb8e4
Clip async scrollframes based on the displaylist clip, not the composition bounds. (bug 1148582 part 4, r=tn)
2015-05-26 12:40:41 -07:00
David Anderson
fb219f8256
Move the APZ scroll frame clip onto FrameMetrics. (bug 1148582 part 3, r=mstange,tn)
2015-05-26 12:40:24 -07:00
David Anderson
6383725210
Use Maybe to communicate the APZ scrollframe clip. (bug 1148582 part 1, r=mstange)
2015-05-26 12:39:29 -07:00
Simon Montagu
a0cb8aabfb
Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn
2015-05-12 01:49:25 -07:00
Andrea Marchesini
f0aa02df0b
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
Timothy Nikkel
6d7e704cf4
Backout 3c3337ed60a1 (bug 1139306) for causing bug 1156918.
2015-04-21 15:09:48 -05:00
Simon Montagu
49ad339965
Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn
2015-04-21 11:32:01 +03:00
Markus Stange
df0f5cf6b2
Bug 1148022 - When frame metrics are attached to the container layer of the root scroll frame, make sure that its scroll frame is active. r=tn
2015-04-02 14:28:42 -04:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Kearwood (Kip) Gilbert
e20ff29bf9
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc
2015-03-25 11:40:31 -07:00
Wes Kocher
b24a6dd7bc
Backed out 2 changesets (bug 969250) on the other theory that it broke lots of tests, forcing a prolonged CLOSED TREE
...
Backed out changeset 3c1005c81e52 (bug 969250)
Backed out changeset 3ed9d5170d13 (bug 969250)
2015-03-25 14:46:47 -07:00
Kearwood (Kip) Gilbert
53c1d882e8
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc
2015-03-25 11:40:31 -07:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Botond Ballo
c2cac95e8c
Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
2015-03-06 18:07:59 -05:00
Carsten "Tomcat" Book
084dc455f3
Backed out changeset fdd33ef9606e (bug 969250) for m5 test failures
2015-03-11 10:33:52 +01:00
Kearwood (Kip) Gilbert
c1456fb0f3
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v5 Patch). r=roc
2015-03-03 17:40:00 +01:00
Kearwood (Kip) Gilbert
89a2c1a5a1
Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
...
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/ )
2015-02-19 15:53:30 -08:00
Kearwood (Kip) Gilbert
b8c03249f1
Bug 945584: Part 3 - Enable cancellation of OSX synthesized mousewheel scrolling events (v2 Patch),r=roc
...
- Mouse wheel events synthesized by OSX for momentum scrolling can now
be interrupted by DOM triggered and CSS scroll snapping triggered scroll
events for consistent behavior with the scrolling and fling gestures
in the APZC.
2014-02-04 14:54:22 +13:00
Ethan Lin
ec3b4c5c1e
Bug 1125750 - Check the overflow region direction to avoid unnecesary reflow for scrollable frame. r=dbaron
2015-02-08 18:57:00 +01:00
Kartikaya Gupta
1a4c543504
Bug 990907 - Don't add text-overflow markers while being actively scrolled by APZ. r=mstange,tn
2015-02-25 09:33:00 -05:00
Kartikaya Gupta
a47b517f92
Bug 990907 - Add a flag on nsIScrollableFrame to indicate if it is actively being scrolled by APZ. r=tn
2015-02-25 09:32:09 -05:00
Botond Ballo
70e324a117
Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn
2015-01-02 20:06:14 -05:00
Ehsan Akhgari
45e11ebec7
Bug 1118427 - Mark virtual overridden functions as MOZ_OVERRIDE in layout; r=roc
2015-01-07 10:07:36 -05:00
Mats Palmgren
6e2b90ea60
Bug 1116753 - Remove the nsIPresShell* param from remaining frame ctors that still have it. r=roc
2015-01-06 09:27:56 +00:00
David Anderson
aa28e5e029
Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn)
2014-12-17 15:37:28 -08:00
Jonathan Kew
17fce98a69
Bug 1108067 - Make nsIFrame::GetWritingMode virtual, and override it in nsViewportFrame, nsCanvasFrame and nsHTMLScrollFrame to make them adopt the writing mode of their contents. r=smontagu
2014-12-16 09:45:11 +00:00
Robert O'Callahan
ca28a22945
Bug 1080205. Part 1: Don't add clip rects to async-scrolled layers for root scrollframes, since the FrameMetrics to scroll those layers will be set on a ContainerLayer parent. r=tn
2014-10-28 17:34:58 +13:00
Benoit Girard
91881b27a7
Bug 961871 - Part 4: Fix budget calculation by adding Maybe prerenderer and animate. r=roc
2014-10-21 21:55:55 -04:00
Benoit Girard
a5472b2b25
Bug 961871 - Part 3: Implement will-change budgeting. r=roc
2014-10-21 21:54:32 -04:00
Benoit Girard
8ad6049025
Bug 961871 - Part 2: Refactor will-change scroll, pass through a nsDisplayListBuilder. r=mattwoodrow
2014-10-21 21:54:06 -04:00
Benoit Girard
ca08133d5c
Bug 961871 - Part 1: Refactor ScrollingActive. r=mattwoodrow
2014-10-21 21:53:38 -04:00
Kearwood (Kip) Gilbert
92f654786e
Bug 1010538 - Part 3 - Implement scroll-behavior CSS property. r=mstange
...
- Added SCROLL_SMOOTH_AUTO flag to nsIPresShell to enable selection of
scroll behavior through CSS.
- Updated Element and Window scrolling DOM methods to enable smooth scrolling
set through the scroll-behavior CSS property.
- Keyboard, scroll bar, mousewheel, and any other events that scroll smoothly
with the general.smoothScroll preference enabled will now scroll instantly
if the scroll frame has "scroll-behavior: instant" applied through CSS.
2014-09-15 12:30:03 -07:00
Timothy Nikkel
c1d8692b35
Bug 1076447. When building the display list for scrollbars and we have a display port just use the whole scrollbar rect as the dirty rect. r=mattwoodrow
...
When we have a display port the dirty rect for root scroll frames is going to be the display port already when it is passed in. The display port can contain a somewhat arbitrary area of the scroll frame, there is no reason is has to include the scrollbars, which are laid out at the desktop scrollport (and adjusted as necessary in the compositor).
As well as BuildDisplayListForChild, we need the dirty rect to be set for the creation of the nsDisplayWrapList or nsDisplayOwnLayer in AppendToTop.
2014-10-09 15:10:01 -05:00
Kartikaya Gupta
85de5eb65b
Bug 1078316 - Tweaks for root-frame overlay scrollbars so they don't oscillate while panning around. r=botond,tn
2014-10-08 22:56:38 -04:00
Mason Chang
f8946471c5
Bug 1056340 - Clip viewport fixed position overflow to scroll frame. r=roc
2014-09-23 09:44:00 -04:00
Kearwood (Kip) Gilbert
322449b9e8
Bug 1022825 - Implement Asynchronous Smooth Scrolling on Compositor Thread. r=kats
...
- Extended nsIScrollableFrame and nsGfxScrollFrame to return destination
of smooth scrolls which are to be animated on the compositor thread.
- Added apz.smooth_scroll_repaint_interval preference.
- Implemented AsyncPanZoomController::PanZoomState::SMOOTH_MSD_SCROLL state
and AsyncPanZoomController::SmoothScrollAnimation class to animate smooth
scroll animations on the compositor thread.
- Extended FrameMetrics to report requests for smooth scrolls to be animated
on the compositor thread and their corresponding destination positions.
- AsyncPanZoomController now checks FrameMetrics for requests to perform
smooth scrolling on the compositor thread. It will ensure that they
are cancelled as needed by mousewheel, touchpanel, keyboard, and
CSSOM-View instant scrolling DOM methods.
- The layout/generic/test/test_scroll_behavior.html mochitest has been
commented as depending on Bug 1062609 before being enabled for APZ.
2014-07-10 11:52:40 -07:00
Robert O'Callahan
5d6eae5feb
Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow
2014-08-31 15:29:24 +12:00
Phil Ringnalda
ef7af0d5d8
Backed out 3 changesets (bug 967844) for robopan bustage
...
Backed out changeset 6b53305f1c42 (bug 967844)
Backed out changeset dff3eb181f33 (bug 967844)
Backed out changeset 4d4b03442eaf (bug 967844)
2014-09-01 15:20:13 -07:00
Robert O'Callahan
6f95837ff0
Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow
2014-08-31 15:29:24 +12:00
Ehsan Akhgari
8bb87f8a27
Bug 1060985 - Fix more bad implicit constructors in layout; r=roc
2014-08-31 23:36:37 -04:00