Sotaro Ikeda
64eaf50f20
Bug 1187345 - Fix HwcComposer2D::mCompositorParent handling r=mwu
2015-07-24 11:28:28 -07:00
George Wright
86ff843ebf
Bug 1157941 - If the current PresShell is suppressed, paint the old one if it is available r=tn,Enn
2015-07-21 21:09:02 -04:00
David Anderson
a95f1bd843
Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow)
2015-07-16 15:18:05 -07:00
Birunthan Mohanathas
e52329c788
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
Xidorn Quan
2e8981657b
Bug 1160014 part 2 - Move some procedures in nsBaseWidget::MakeFullScreen to individual methods. r=roc
...
The two new methods will be reused by code in later patches.
2015-07-13 20:44:36 +10:00
Xidorn Quan
50ab569356
Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
...
This patch implements the code which is shared by all platforms for
fullscreen transition.
It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.
In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-13 20:44:36 +10:00
Xidorn Quan
8808558a82
Bug 1160014 part 0 - Avoid explicitly mentioning DOM Fullscreen concept in widget part. r=roc
2015-07-13 20:44:36 +10:00
Nigel Babu
6c7a32fd6c
Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
...
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Xidorn Quan
ca6c7c1ec6
Bug 1160014 part 2 - Move some procedures in nsBaseWidget::MakeFullScreen to individual methods. r=roc
...
The two new methods will be reused by code in later patches.
2015-07-11 10:08:59 +10:00
Xidorn Quan
523cefc73c
Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
...
This patch implements the code which is shared by all platforms for
fullscreen transition.
It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.
In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-11 10:08:59 +10:00
Nathan Froyd
46d6f38e68
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Kartikaya Gupta
df17113b89
Bug 1055557 - Add a ZoomConstraintsClient class to manage pushing zoom constraints updates to the APZ code. r=botond
...
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-17 12:32:42 -04:00
David Anderson
c2063bdde8
Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey)
2015-06-04 14:19:06 -07:00
David Anderson
53244f3c1b
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-06-04 16:51:10 -04:00
Xidorn Quan
2f5ac63dc4
Bug 1105939 part 6 - Add a method to nsIWidget for widget to distinguish between fullscreen mode and DOM fullscreen. r=roc
2015-06-04 13:49:34 +12:00
David Anderson
9811ede28c
Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats)
2015-05-12 01:26:01 -04:00
Kartikaya Gupta
d4a7c07498
Bug 1162179 - Don't create APZCTreeManagers for windows which aren't multiprocess. r=dvander
2015-05-06 19:15:10 -04:00
Milan Sreckovic
945381a8a2
Bug 1158284 - Utility in gfxPlatform to check for safe mode, lazier computation if we should accelerate and random cleanup of prefs usage. r=botond
2015-04-24 12:33:35 -07:00
Kartikaya Gupta
9e778de02e
Bug 1154739 - On desktop platforms, only enable APZ in e10s windows. r=dvander,mstange
2015-04-27 16:13:29 -04:00
Kartikaya Gupta
ea83c40350
Bug 1154739 - Rename flag to be more general. r=billm
2015-04-27 16:13:29 -04:00
L. David Baron
aa0d4caeeb
Bug 1153570 - Remove AutoUseBasicLayerManager, which has been unused since 78b90e6c491b (bug 676241 part 3). r=mstange
2015-04-16 18:13:14 -07:00
Jim Mathies
76b87440f3
Bug 1153939 - Avoid a race condition with setting nsBaseWidgets WidgetShutdownObserver widget pointer to null. Fixes a crash in nsBaseWidget::DestroyCompositor(). r=roc
2015-04-16 10:16:04 -05:00
David Anderson
d59b68a26d
Fix APZ target confirmations arriving before dependent layer transactions. (bug 1154130, r=kats)
2015-04-14 12:24:32 -04:00
Kartikaya Gupta
6ad67a2382
Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug
2015-04-14 11:36:36 -04:00
Nicolas Silva
f5f8474178
Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro
2015-03-09 18:43:39 +01:00
Mats Palmgren
b9fae4bb36
Bug 1149785 - Make nsIWidget::ClientToWindowSize use LayoutDeviceIntSize instead of the unit-less nsIntSize. r=roc
2015-03-31 22:09:03 +00:00
David Anderson
412129bebc
Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats)
2015-03-26 14:23:02 -07:00
Maksim Lebedev
2947df3cef
Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats
2015-03-25 12:20:20 -04:00
David Anderson
7bc98f302c
Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats)
2015-03-24 15:00:52 -07:00
Ehsan Akhgari
33bb32f549
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
0b2c448446
Bug 1144324 - Remove the codepaths that conditionally enable touch events based on touch the presence of touch listeners. r=smaug,jimm
2015-03-19 06:37:39 -04:00
Kartikaya Gupta
bda9d932e3
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
David Anderson
8b0dc9dfe9
Add helper for applying async transforms to widget input events. (bug 1143567 part 1, r=kats)
2015-03-16 16:29:53 -07:00
Nicolas Silva
deb935b392
Bug 1125848 - Backout because of crashes. r=me
2015-03-13 15:13:12 +01:00
Nicolas Silva
7b0e746bb3
Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro
2015-03-09 18:43:39 +01:00
Carsten "Tomcat" Book
cf1b7f571d
Backed out changeset 622f0877bc3f (bug 1125848) for e10s bustage
2015-03-10 12:38:55 +01:00
Nicolas Silva
efc17f7372
Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro
2015-03-09 18:43:39 +01:00
Nicolas Silva
7bed78ecdf
Bug 1125848 - Reduce the likelyhood of a CompositorParent being destroyed without the proper shutdown sequence. r=sotaro
2015-03-09 10:46:56 +01:00
dvander@alliedmods.net
70d90515b1
Factor out how APZ-aware events are dispatched from widgets. (bug 1126090 part 2, r=kats)
2015-03-06 14:26:59 -08:00
Steven Michaud
8d63013d20
Bug 1110888 - Always do plugin IME in main process, even with e10s. r=masayuki,smaug
2015-02-20 10:37:02 -06:00
David Anderson
2147691b41
Add weak reference support to nsBaseWidget. (bug 1133150, r=roc)
2015-02-17 22:27:53 -08:00
David Zbarsky
f180088d5f
Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond
2015-02-15 13:52:28 -05:00
Botond Ballo
5725e5dbc8
Bug 1127066 - Use APZEventState in nsBaseWidget. r=kats
...
--HG--
extra : source : 64a96018a0782e6aafc4215bb995136020ea1391
2015-02-06 19:45:23 -05:00
Botond Ballo
d6a3fd9f6d
Bug 1127066 - Implement proper sending of target-apzc notification and creation of displayport in the root process. r=kats
...
--HG--
extra : source : c9bb96ed11a96554006175b55e04f9feede60a04
2015-02-06 18:11:30 -05:00
Robert O'Callahan
b5425a3820
Bug 1129774. Part 6: Remove aContext parameter from nsIWidget::CreateChild. r=jmathies
...
--HG--
extra : rebase_source : cbe3decbca5f4a212a3ed6cbcd5132729a8b3cd3
2015-02-05 18:38:47 +13:00
Robert O'Callahan
45f4974998
Bug 1129774. Part 4: Remove aContext parameter from AttachViewToTopLevel. r=jmathies
...
--HG--
extra : rebase_source : e9fd43e7754223f469e2a97315c3d6bd1c6bbca3
2015-02-05 18:33:49 +13:00
Robert O'Callahan
378416b9f9
Bug 1129774. Part 3: Remove aContext parameter from BaseCreate and make it nonvirtual. r=jmathies
...
--HG--
extra : rebase_source : 9fd0a3e071b7d3ad273667f144889938bc5d9dc4
2015-02-05 18:18:30 +13:00
Robert O'Callahan
f9a2a3facd
Bug 1129774. Part 2: Remove nsBaseWidget::mContext. r=jmathies
...
--HG--
extra : rebase_source : ca7dcac5d203c2b41736cc58163a1f055593cf02
2015-02-05 17:54:45 +13:00
Robert O'Callahan
1a1501eb74
Bug 1129774. Remove unused nsBaseWidget::GetDeviceContext. r=jmathies
...
--HG--
extra : rebase_source : 7097d97d21abcb4107838c21ab62061b8273e453
2015-02-05 17:03:32 +13:00
Jim Mathies
d3c0a8cfc1
Bug 1095754 - Transfer bounds information from native plugin widgets to GTK socket widgets when the native plugin widget bounds update. r=roc
2015-01-29 13:41:57 -06:00