Birunthan Mohanathas
a8939590de
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
Robert O'Callahan
68954a66d8
Bug 1143575. Route ImageCompositeNotifications to ImageContainers. r=nical
...
For frame statistics to work properly, we have to notify an ImageContainer
when it has been composited. This requires a few changes, which have
been lumped together in this patch:
-- Create PImageContainer and ImageContainerParent/ImageContainerChild.
-- Add mFrameID and mProducerID everywhere we're passing around images.
-- Route composition notifications from the compositor back to
ImageContainerChild.
--HG--
extra : commitid : 7atVkOgdEhG
extra : rebase_source : caaba6a708ed267368df44609fb047abde9c3ca1
2015-07-06 15:02:26 +12:00
Kartikaya Gupta
bd05613425
Bug 1055557 - Move storage of ZoomConstraints from RemoteContentController to APZCTreeManager. r=botond
2015-06-17 12:32:41 -04:00
David Anderson
b2eb29a9c5
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-06-04 16:51:10 -04:00
Ehsan Akhgari
883849ee32
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
Kartikaya Gupta
ed6d55e8d9
Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond
2015-03-19 06:33:33 -04:00
Kartikaya Gupta
2ccb1ce2ad
Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
...
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Kartikaya Gupta
934d955071
Bug 1134493 - Ensure we don't set the force-empty-hit-region flag when a subdocument has mozpasspointerevents. r=botond
2015-02-25 13:36:19 -05:00
Kartikaya Gupta
7fd26daa4a
Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond
2015-02-16 21:30:02 -05:00
Kartikaya Gupta
4ea12e1645
Bug 1125422 - Populate the ContainerLayer flag to force events to be dispatched to content. r=roc
2015-02-10 16:28:07 -05:00
Kartikaya Gupta
b35a751abd
Bug 1130535 - Remove codepath that does an APZ untransform on events in RenderFrameParent. r=dvander,botond CLOSED TREE
...
--HG--
extra : amend_source : 5a48b8a406f9b916b9ee2ef9d79a0519964cfffc
2015-02-06 13:46:46 -08:00
Kartikaya Gupta
2af5e47ca3
Bug 1129526
- Make the RenderFrameParent put focus on the correct OOP child before delivering a click event to it. r=botond
2015-02-05 14:41:50 -05:00
David Anderson
636a716c5b
Rename ContentReceivedTouch to ContentReceivedInputBlock. (bug 1013432 part 3, r=kats)
...
--HG--
extra : rebase_source : ee0d05d4774fac9fb34297953e90e61f1d979d5d
2014-12-09 02:35:12 -08:00
Kartikaya Gupta
911702f6c3
Bug 918288 - Add code to TabChild to dispatch the SetTargetAPZC notification. r=roc,botond
2014-11-21 21:36:25 -05:00
Sotaro Ikeda
148067068a
Bug 1085655 - Improve TabChild::InitRenderingState() r=bent
2014-11-16 10:23:22 -08:00
Kartikaya Gupta
fe23988edf
Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond
2014-10-24 13:29:30 -04:00
Kartikaya Gupta
6857449a63
Bug 1068268 - Remove unnecessary forward-declare. r=botond
2014-09-20 22:27:17 -04:00
Matt Woodrow
db134e8fe5
Bug 936690 - Remove nsIContentView and nsIContentViewManager. r=roc
2014-08-27 10:56:24 +12:00
Matt Woodrow
c2d79a26ff
Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
...
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Botond Ballo
e36c402f21
Bug 1007728 - Avoid calling APZCTreeManager::UpdatePanZoomControllerTree() on repeat transactions. r=kats,BenWa
...
--HG--
extra : rebase_source : 470498aae39f2f297cd181372413b197e5c71821
2014-05-30 18:52:43 -04:00
Matt Woodrow
b61c593824
Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical
2014-05-29 09:42:14 +12:00
Botond Ballo
c205d40a5c
Bug 998025 - Ignore touch events when in an overscrolled state. r=kats
...
--HG--
extra : rebase_source : c7b6928915d589773aa536cf002c70c9e26fd371
2014-05-22 14:49:43 -04:00
Botond Ballo
535bbba72d
Bug 961289 - Assign sequence numbers to paints on the client side and forward them to the compositor. r=BenWa,kats
...
--HG--
extra : source : d5331eaed1c789ac0248e8710a7b4a167ae349b6
2014-05-06 17:26:13 -04:00
Olli Pettay
cbcf60df5e
Bug 1003041 - Merge PRenderFrame() and InitRenderFrame() to avoid extra sync child->parent messaging. r=billm
2014-05-08 16:04:00 +02:00
Kartikaya Gupta
7580a2719b
Bug 981800 - Kill the three-parameter version of ReceiveInputEvent since it is redundant. r=botond
2014-03-10 17:59:46 -04:00
Bill McCloskey
b6859762c2
Bug 919878 - Fix abort in graphics code if content process shuts down quickly (r=mattwoodrow)
2014-01-15 13:10:39 -08:00
Kartikaya Gupta
570d06ad25
Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond
2014-01-06 13:26:44 -05:00
Kartikaya Gupta
0ea9aefa0c
Bug 950487 - Remove unnecessary UpdateCompositionBounds function on APZC. r=Cwiiis
2013-12-17 14:25:57 -05:00
Kartikaya Gupta
0b8bb93d3e
Bug 949132 - Use the FrameMetrics flag on the layers update to update APZC scroll offset instead of tracking it in widget code. r=Cwiiis
2013-12-16 12:04:46 -05:00
Matt Woodrow
0b806c9170
Bug 913503 - Update windowed plugin positions before we schedule a composite with OMTC. r=roc
2013-12-16 18:38:42 +13:00
Benoit Girard
930470f9c7
Backout 08eaaed722ef for regression bug 942788.
...
--HG--
extra : rebase_source : d01d1b2e31aea02d6c9ae7ed5fb8393e2419abef
2013-11-25 15:12:20 -05:00
Benoit Girard
f4dd83fcdd
Bug 917416 - Make RenderFrameParent opaque to lower b2g memory usage. r=mattwoodrow
2013-11-15 16:48:15 +00:00
Ed Morley
7de91970da
Backed out changeset 998d2d5e743d (bug 919878) on suspicion of causing shutdown hangs on OS X
2013-11-20 12:32:52 +00:00
Ryan VanderMeulen
7c7b6a11fe
Merge inbound to m-c.
2013-11-19 20:43:15 -05:00
Bill McCloskey
c530571717
Bug 919878 - Improve failure handling for TabChild::InitRenderingState (r=mattwoodrow)
2013-11-19 13:20:28 -08:00
Botond Ballo
774451c530
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Robert O'Callahan
f994dec6df
Bug 919144. Part 9: Move FrameLayerBuilder::ContainerParameters to mozilla::ContainerLayerParameters. r=mattwoodrow
...
This is to avoid having to #include FrameLayerBuilder.h in nsLayoutUtils.h in the next patch.
--HG--
extra : rebase_source : 5f3c3ae2785267949766ae094414781133d4ce44
2013-09-27 18:01:16 +12:00
Kartikaya Gupta
9e421b8c64
Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond
2013-11-14 12:35:41 -05:00
Kartikaya Gupta
769fa270c3
Bug 937688 - Get the guid from ReceiveInputEvent and use it in the callback to ContentReceivedTouch. r=botond
2013-11-13 13:20:31 -05:00
Kartikaya Gupta
c8cb03f12d
Bug 937688 - Pass the presShellId and viewId from TabChild to RenderFrameParent when requesting a zoom. r=botond
2013-11-13 13:20:30 -05:00
Kartikaya Gupta
e08ba777b1
Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
...
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-10-30 17:06:15 -04:00
Masayuki Nakano
84078f9904
Bug 920377 part.26 Get rid of nsInputEvent r=roc
2013-10-01 16:23:02 +09:00
Kartikaya Gupta
fd30fdc1ca
Bug 885023 - Convert mFrameMetrics.mZoom to a CSSToScreenScale. r=BenWa,k17e
...
The mFrameMetrics.mZoom was previously a "resolution-independent" zoom,
which meant it had to always be multiplied by the CalculateIntrinsicScale()
value to be useful. This patch converts it to a "resolution-dependent" zoom,
and includes the intrinsic scale multiplier already. This means it needs
to be updated if either the viewport or composition bounds (which determine
the intrinsic scale) change, but there are only a few places where this
happens and it makes the rest of the code cleaner.
2013-08-26 09:50:30 -04:00
Botond Ballo
f3c2ea43d5
Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats
2013-08-08 15:56:08 -04:00
Kan-Ru Chen (陳侃如)
41345e7739
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Kartikaya Gupta
2c0ffd470e
Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Botond Ballo
e1a8133ba6
Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats
2013-07-11 10:43:35 -04:00
David Zbarsky
bd69568121
Bug 885804: Renaming in js/layout/ipc r=roc
2013-07-08 11:48:39 -04:00
Benoit Girard
9270c725b9
Bug 888622 - Root layer isn't always ContainerLayer, remove incorrect cast. r=kats
...
--HG--
extra : rebase_source : c3948e30b6fd05c896e1a773e520b8eecfdd05af
2013-07-02 00:17:23 -04:00
Kartikaya Gupta
fa6e557e9e
Bug 880676 - Correct the composition bounds to be in screen coordinates rather than layer coordinates. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00