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
Nicolas Silva
00587681b3
Bug 1180688 - Detect whether the widget will be able to present frames with BasicCompositor on Mac. r=mstange
2015-07-13 16:46:48 +02:00
Xidorn Quan
4d7e632089
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
e81d16531c
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
fd84e932c3
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
Masayuki Nakano
851068ec93
Bug 1176954 part.7 IMENotification::TextChangeData should have a method to merge with another instance and IMENotification::MergeWith() should use it r=smaug
2015-07-11 10:53:56 +09:00
Masayuki Nakano
9f2c45ce07
Bug 1176954 part.6 IMEContentObserver should use IMENotification::TextChangeData r=smaug
2015-07-11 10:53:56 +09:00
Masayuki Nakano
8adbe2e819
Bug 1176954 part.5 IMENotification::TextChangeDataBase should have a state which indicates that it's not initialized r=smaug
2015-07-11 10:53:55 +09:00
Masayuki Nakano
e23b883be4
Bug 1176954 part.4 Define IMENotification::TextChangeDataBase and whose member names should be same as IMEContentObserver::TextChangeData's r=smaug
2015-07-11 10:53:55 +09:00
Masayuki Nakano
3317063a2b
Bug 1176954 part.3 Don't send selection change, text change nor composition update notification to IME from TabParent until all events sent to the child process is received by it r=smaug
2015-07-11 10:53:55 +09:00
Xidorn Quan
7705aa3262
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
Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Nathan Froyd
92a8124fef
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
Ryan VanderMeulen
7aba9d7002
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Jim Mathies
2f33700c28
Bug 1152326 - When processing plugin updates only update the visibility of the set of plugins associated with the same compositor. r=aklotz
2015-06-17 15:39:09 -05:00
Bob Owen
0c8fa845b6
Bug 1165903: For Windows NPAPI do window re-parenting in the chrome process to allow for sandboxing. r=jimm
2015-06-15 16:08:51 +01:00
Kartikaya Gupta
f8ae55b733
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
Jim Chen
226bc73215
bug 1112212 - Set flag in InputContext for IME-unaware webapps; r=masayuki
2015-06-16 19:02:39 -04:00
David Anderson
7fdcf3d5d4
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
e4bdc9d5b3
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-06-04 16:51:10 -04:00
Xidorn Quan
01217e1cdf
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
Michael Layzell
9eb3449703
Bug 1168219 - Make nsIWidget::Configuration::mChild a smart pointer. r=vlad
2015-05-25 14:45:00 -04:00
Masayuki Nakano
315a5e3351
Bug 1130935 part.6 Selection change notification should have selection range and writing mode information r=smaug
2015-05-15 10:18:08 +09:00
Lee Salzman
db27f83933
Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel
2015-05-13 11:54:17 +09:00
David Anderson
939778f3ee
Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats)
2015-05-12 01:26:01 -04:00
Kartikaya Gupta
b08c392edf
Bug 1162179 - Don't create APZCTreeManagers for windows which aren't multiprocess. r=dvander
2015-05-06 19:15:10 -04:00
Andrea Marchesini
b8630baa2d
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
David Anderson
10d2eaa0f9
Fix APZ target confirmations arriving before dependent layer transactions. (bug 1154130, r=kats)
2015-04-14 12:24:32 -04:00
Kartikaya Gupta
1d4cf8a4ec
Bug 1146349 - Wire up native event synthesization in child processes. r=smaug
2015-04-14 11:36:36 -04:00
Kartikaya Gupta
f8465229d0
Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug
2015-04-14 11:36:36 -04:00
Olli Pettay
e42357febc
Backout Bug 930793 because of talos regressions,r=backout
2015-04-13 19:02:27 +03:00
Olli Pettay
c1c812eafe
Bug 930793 - Remove favor performance mode, r=avih,roc
2015-04-12 23:08:55 +03:00
Mats Palmgren
fbe5abdf30
Bug 1149785 - Make nsIWidget::ClientToWindowSize use LayoutDeviceIntSize instead of the unit-less nsIntSize. r=roc
2015-03-31 22:09:03 +00:00
Mats Palmgren
073bd5f952
Bug 1149041 - Make nsIWidget::SizeConstraints use LayoutDeviceIntSize instead of unit-less nsIntSize. r=roc
2015-03-30 11:35:25 -04:00
Carsten "Tomcat" Book
8e43fcbf46
Backed out changeset 9534a3d38191 (bug 1149041)
2015-03-30 15:03:19 +02:00
Mats Palmgren
56c709e01b
Bug 1149041 - Make nsIWidget::SizeConstraints use LayoutDeviceIntSize instead of unit-less nsIntSize. r=roc
2015-03-30 10:37:34 +00:00
David Anderson
f1d7d6bcd5
Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats)
2015-03-24 15:00:52 -07:00
Kartikaya Gupta
43eb6f1601
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
Nicolas Silva
c53767a0a1
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
Nicolas Silva
e028df6dbb
Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt
2015-02-14 12:37:32 +01:00
dvander@alliedmods.net
cfaa1866d1
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
39604719c4
Bug 1110888 - Always do plugin IME in main process, even with e10s. r=masayuki,smaug
2015-02-20 10:37:02 -06:00
Carsten "Tomcat" Book
e490f29775
Backed out changeset d81339c7ac52 (bug 1128934)
2015-02-17 14:32:11 +01:00
David Zbarsky
fde118220b
Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond
2015-02-15 13:52:28 -05:00
Nicolas Silva
ff457ea683
Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt
2015-02-14 12:37:32 +01:00
Robert O'Callahan
332834fce3
Bug 1129774. Part 6: Remove aContext parameter from nsIWidget::CreateChild. r=jmathies
2015-02-05 18:38:47 +13:00
Robert O'Callahan
0021805640
Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
2015-02-05 20:35:25 +13:00
Robert O'Callahan
5511614551
Bug 1129774. Part 4: Remove aContext parameter from AttachViewToTopLevel. r=jmathies
2015-02-05 18:33:49 +13:00
Robert O'Callahan
e74a69e215
Bug 1129774. Remove unused nsBaseWidget::GetDeviceContext. r=jmathies
2015-02-05 17:03:32 +13:00