David Anderson
f2cfe86ef2
Recreate PLayerTransactions for TabChildren when the compositor restarts. (bug 1300936
part 4, r=mattwoodrow, r=billm)
...
--HG--
extra : rebase_source : ea92ecc5738e830a86f3b323d262f3537afe4534
2016-09-20 01:19:32 -07:00
George Wright
2e75d2e6ac
Bug 1297565 - Handle failure from calling CompositorBridgeChild::SendNotifyChildCreated() in RenderFrameParent::Init() r=mattwoodrow
2016-09-13 22:58:54 -04:00
Matt Woodrow
193414f9a8
Bug 1237102 - Make sure we don't generate invalidations for children of opacity:0 frames, even when plugins are present. r=tnikkel
2016-08-10 15:15:28 +12:00
Matt Woodrow
4c51824c83
Bug 1265468 - Invalidate all layers when dragging a tab to a new window. r=nical
...
--HG--
extra : rebase_source : 2369072fafc1754be09346cc2cd63fabee29d190
2016-05-26 18:40:07 +12:00
Sebastian Hengst
0d90f54a8b
Backed out changeset 4d417e2c21ff (bug 1265468) for asserting in LayerManagerComposite.cpp on OS X 10.10 debug with e10s. r=backout
2016-05-26 10:45:39 +02:00
Matt Woodrow
de6a18cca7
Bug 1265468 - Invalidate all layers when dragging a tab to a new window. r=nical
2016-05-26 18:40:07 +12:00
David Anderson
60ca648e99
Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow)
2016-05-23 00:27:57 -07:00
Wes Kocher
2299744a78
Backed out 5 changesets (bug 1274149) for intermittent failures in apz tests CLOSED TREE
...
Backed out changeset 1117598ac875 (bug 1274149)
Backed out changeset 540cb6d10745 (bug 1274149)
Backed out changeset 057223823e5d (bug 1274149)
Backed out changeset 9932689ab717 (bug 1274149)
Backed out changeset a22a53c503a6 (bug 1274149)
2016-05-23 13:01:22 -07:00
David Anderson
25f45d71ec
Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow)
2016-05-23 00:27:57 -07:00
Cameron McCormack
6f4ce86293
Bug 1261754 - Part 7: Move pointer-events from nsStyleVisibility to nsStyleUserInterface. r=dholbert
2016-04-12 15:52:41 +10:00
Mike Conley
5a773cf2c4
Bug 1251032 - Make it possible to assign a frameloader to RenderFrameParent after construction. r=kanru
...
MozReview-Commit-ID: 4a8fzR7Vpac
--HG--
extra : rebase_source : 8b8f8c2a89d251db0892552e0114908a91010dcf
2016-03-29 12:49:07 -04:00
Mike Conley
f7035af2c3
Bug 1251032 - Don't return layersId or textureFactoryIdentifier as outparams in RenderFrameParent constructor. r=kanru
...
MozReview-Commit-ID: JqcrHsNW25j
--HG--
extra : rebase_source : ce66521f0c7ea71aab4e9a968a11ace3c6fa027d
2016-03-29 12:42:05 -04:00
David Anderson
f3dc22db8d
Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
...
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
David Anderson
dd2df9d99a
Remove some static_casting in CompositorParent. (bug 1245765 part 5, r=mattwoodrow)
2016-02-29 01:53:14 -05:00
Peter Van der Beken
1900a0608e
Bug 1020199 - Make sure APZ works with nested oop iframe. r=kats, r=dvander.
...
--HG--
extra : rebase_source : be158c15f328b19be4e4189c1b755841caabcb10
2016-01-08 20:17:39 +01:00
Randall Barker
45a15ccb02
Bug 1231517 - part 3, Add ZoomToRect function to nsIWidget classes r=kats
2016-01-20 16:24:59 -08:00
Botond Ballo
65d984ff6f
Bug 1221371 - Remove unnecessary explicit copies of nsTArray. r=billm
...
--HG--
extra : source : e3ade121fe3a26db1e65cd6b91de29dfe8cc5a61
extra : intermediate-source : a09da6e0b017448d6e2b85eb4a6c08dba51999c7
2015-11-18 13:48:12 -05:00
Gijs Kruitbosch
a06294cced
Bug 1221947 - part 3: pass touch information to focus manager in RenderFrameParent, r=kats
...
--HG--
extra : commitid : 47acXgQvIIX
extra : rebase_source : 5cd19375c1bd6451e9cf80f6bae8dbf1de2b34be
extra : histedit_source : 50e6c9d203bde42a45812d352d60fa45987d8806
2015-11-16 14:03:35 +00:00
Kartikaya Gupta
8531f6e36c
Bug 898075 - Remove the mozbrowserasyncscroll event from Gecko. r=botond,kanru,sicking
...
--HG--
extra : commitid : 2hGYJD6eHff
2015-11-11 10:17:47 -05:00
Bill McCloskey
f8aa3d2562
Bug 1221371 - Switch chromium IPC code to use mozilla::Tuple (r=jld,cpearce,kats)
2015-11-09 10:21:11 -08:00
Matt Woodrow
8c47ae7506
Bug 1216288 - Disable warning when we don't build an active layer for RenderFrameParent within an opacity:0 subtree. r=roc
2015-11-03 16:49:22 +13:00
Nigel Babu
aa60675f7f
Backed out changeset 19e021ef5ba1 (bug 1216288)
2015-11-03 11:59:05 +05:30
Matt Woodrow
ffd079e640
Bug 1216288 - Disable warning when we don't build an active layer for RenderFrameParent within an opacity:0 subtree. r=roc
...
--HG--
extra : rebase_source : 9eade6266c0a1f6485e5b82ab0c0c5bc49f9a85c
2015-11-03 16:49:22 +13:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Benoit Girard
60376c4a70
Bug 1199885 - Part 12: Add StartScrollbarDrag IPC message. r=kats
...
--HG--
extra : commitid : 87IsjW2NpRX
2015-09-28 17:00:25 -04:00
sgiles
175c35c1b5
Bug 1206786 - Fix input routing on multi-process Android builds. r=kats
...
--HG--
extra : rebase_source : bdc1c020b2a788f6e920d225a32ebed5f1369e4c
2015-09-24 21:42:14 +01:00
Nicholas Nethercote
f523d5c4ba
Bug 1207931 - Remove no-longer-needed SetBackgroundColor IPC message. r=mattwoodrow.
2015-09-24 19:03:33 -07:00
Kartikaya Gupta
6efb2a41d1
Bug 1206904 - Work around APZ crashes when dealing with nested content processes. r=botond
...
--HG--
extra : commitid : 7i5joysqaKR
2015-09-25 13:54:11 -04:00
Kartikaya Gupta
8e26a393f7
Bug 1200778 - Make sure to update the APZCTreeManager associated with a RenderFrameParent when it is dragged to a new window. r=mstange
...
--HG--
extra : commitid : FMTbYClI5hX
2015-09-15 16:09:35 -04:00
Nicolas Silva
52abcdcfa5
Bug 1198674 - Null-check mFrameLoader before calling GetFrom in RenderFrameParent. r=sotaro
2015-09-10 10:43:04 +02:00
Nicolas Silva
41cd4bfb4b
Bug 1198674 - null-check mFrameLoader in RenderFrameParent. r=sotaro
2015-09-04 12:11:33 +02:00
Mike Conley
161ac0ee7a
Bug 1134252 - Don't crash the content process if RenderFrameParent is not constructed successfully. r=billm.
...
We were returning a nullptr from AllocPRenderFrameParent in TabParent, which causes
a killhard abort in the child. We suspect this is occurring because the TabParent
is attempting to kick off drawing in a tab that's already closed (so there is no
frame loader, which means we can't create a PRenderFrameParent). So now, we return
a PRenderFrameParent* even if constructing it was unsuccessful, and the child
destroys it once it confirms that there is an invalid layer ID associated with
the RenderFrame.
--HG--
extra : commitid : K7IDcpprjxI
extra : rebase_source : 9994cbe9a9a2a6216d189ccfe99a440f4db7b871
2015-07-21 17:34:36 -04:00
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
Cervantes Yu
5dfad47413
Bug 1180644: Fix crashes after enabling OOP on B2GDroid. r=snorp
2015-07-06 19:18:20 +08:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Kartikaya Gupta
1d81392d69
Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond
2015-06-19 08:25:41 -04:00
Kartikaya Gupta
bd05613425
Bug 1055557 - Move storage of ZoomConstraints from RemoteContentController to APZCTreeManager. r=botond
2015-06-17 12:32:41 -04:00
Botond Ballo
4958aa7c1b
Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
...
--HG--
extra : rebase_source : a082680d842dd182d899f637200ce911cc3c480d
extra : source : 8b67f0b8dc96cebe9a58356708b23bebd8532134
2015-06-08 16:01:26 -04:00
Kan-Ru Chen
5d6fe9dd7e
Bug 1172889 - Get current RenderFrameParent from TabParent directly. r=roc
2015-06-10 17:44:10 +08: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
Kartikaya Gupta
b54dc47f24
Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
...
CLOSED TREE
2015-05-22 07:51:55 -04:00
Kartikaya Gupta
86ed888daa
Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond
2015-05-22 06:42:08 -04:00
David Anderson
fba0c47c1f
Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats)
2015-03-22 00:42:26 -07: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
bd98be2c55
Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond
2015-03-20 14:26:52 -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
Kearwood (Kip) Gilbert
8d1fcc4892
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/ )
--HG--
extra : rebase_source : e100b6a2cbc00321d6d1083d12a99213e34d5f9d
2015-02-19 15:53:30 -08:00
Botond Ballo
6f8bf1747c
Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
...
--HG--
extra : rebase_source : f931503087e1a13725c9a3a398d49111e060e76e
2015-03-02 16:38:07 -05:00