Nicholas Nethercote
d6e3e8a5a8
Bug 1228125 (part 2) - Remove nsIWidget::GetScreenBoundsUntyped(). r=botond.
...
--HG--
extra : rebase_source : 46118bfc0152322cfdf8a82913c8b056a3f53bdc
2015-11-25 20:55:34 -08:00
Nicholas Nethercote
e60696c015
Bug 1228125 (part 1) - Remove nsIWidget::GetBoundsUntyped(). r=botond.
...
This requires adding a new overloading of LayoutDevicePixel::ToAppUnits and a
new PixelCastJustification: LayoutDeviceIsParentLayerForRCDRSF.
--HG--
extra : rebase_source : b6d044619918818815b40c1173aa4e0551db28a1
2015-11-25 20:32:47 -08:00
Nicholas Nethercote
52b3d826da
Bug 1225007 (part 1, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
...
--HG--
extra : rebase_source : e4b3bb36c18822557f7724a58979eddd9d8cac62
2015-11-19 14:10:38 +11:00
Phil Ringnalda
87802cdbad
Backed out 2 changesets (bug 1225007) for frequent OS X "Shouldn't return empty rect" assertion failures, a=backout
...
Backed out changeset c5b352c74b35 (bug 1225007)
Backed out changeset 8a513c70ce7c (bug 1225007)
2015-11-19 20:55:26 -08:00
Nicholas Nethercote
ce671f3678
Bug 1225007 (part 1, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
...
--HG--
extra : rebase_source : ea132cb4a6eda3553682114f3a1a280acfaf0aa3
2015-11-19 14:10:38 +11:00
Tooru Fujisawa
6350ec15bd
Bug 1224790 - Use SetFakeModal instead of SetModal for non-modal window opened by modal window. r=smaug, mstange
...
--HG--
extra : rebase_source : e7f6009ecadf0347f916b95c51e7223855cc6294
2015-11-18 20:12:26 +09:00
Nicholas Nethercote
26b0d282a5
Backout 52ba24123046 and 66768d6a50fa (bug 1225007) for causing lots of test assertions on Mac. CLOSED TREE
2015-11-17 17:02:39 -08:00
Nicholas Nethercote
eb12a384c0
Bug 1225007 (part 1) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
...
--HG--
extra : rebase_source : ad3466d05e476ebf65affdde3fca52494e1327cb
2015-11-15 21:37:52 -08:00
Matt Brubeck
0954e27b0a
Bug 431620 - Remove unused function GetToggledKeyState [r=roc]
2015-11-16 16:06:41 -08:00
Nicholas Nethercote
1615245145
Bug 1224482 (part 5) - Avoid excessive mozilla:: prefixes in nsIWidget and its subclasses. r=kats.
...
A couple of typedefs make things a lot nicer.
--HG--
extra : rebase_source : ca9f02e31301601af1b0f975c5c111945af4d5e7
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
e48ef7f5e0
Bug 1224482 (part 4) - Make GetClientSize() return a LayoutDeviceIntSize. r=kats.
...
--HG--
extra : rebase_source : 6364076d0924ed1cd5a952ffa1fcb0543c05c0f7
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
f38ebf7649
Bug 1224482 (part 3) - Replace GetClientOffsetUntyped() with GetClientOffset(). r=kats.
...
The patch also changes nsMenuPopupFrame::mLastClientOffset to
LayoutDeviceIntPoint.
--HG--
extra : rebase_source : d7c0784efd332e382db3f2857c8f43eabc1c807c
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
7a746a27ea
Bug 1224482 (part 2) - Replace GetNaturalBoundsUntyped() with GetNaturalBounds(). r=kats.
...
--HG--
extra : rebase_source : 912780c975c0bd0d66596b287077b0ab1fcb6d9f
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
369f54f3a3
Bug 1224482 (part 1) - Tweak typed/untyped versions of Get{,Client,Screen}Bounds(). r=kats.
...
In nsIWidget, GetBoundsUntyped(), GetClientBoundsUntyped() and
GetScreenBoundsUntyped() are currently the primary implementations, and the
untyped versions are defined on top of them. This patch flips that around.
--HG--
extra : rebase_source : 15b2f08f90bf4d1e209c6cb885f6a6e3b8db6708
2015-11-12 16:04:52 -08:00
Nicholas Nethercote
f1b954f437
Bug 1224403 (part 12) - Remove WidgetToScreenOffsetUntyped(). r=kats.
...
There are few enough calls now that using WidgetToScreenOffset() +
ToUnknownPoint() is a better approach.
--HG--
extra : rebase_source : 18ec6677f6416b02069a646b6f45dcfaa4045671
2015-11-12 15:37:18 -08:00
Nicholas Nethercote
9c6cbed1d0
Bug 1224403 (part 9) - Remove GetRestoredBoundsUntyped(). r=kats.
...
The typed version can be used everywhere without difficulty.
--HG--
extra : rebase_source : 841d7202126e8be16f47ed2c14c4ec20fe101b28
2015-11-12 05:43:01 -08:00
Nicholas Nethercote
ab29eab5df
Bug 1224403 (part 5) - Make OnDefaultButtonLoaded() return/take a LayoutDeviceIntMargin. r=kats.
...
--HG--
extra : rebase_source : e12b1703343cc95b52b4a20bd56a3790def99325
2015-11-12 04:34:29 -08:00
Nicholas Nethercote
e2fe66176b
Bug 1224403 (part 4) - Make {Get,Set}NonClientMargins() return/take a LayoutDeviceIntMargin. r=kats.
...
This required adding {To,From}UnknownMargin().
--HG--
extra : rebase_source : de7e8f56604825bcc1babe5e05a8f8623a402cad
2015-11-11 23:05:04 -08:00
Nicholas Nethercote
7922110bde
Bug 1224403 (part 2) - Split GetClientOffset() into typed and untyped versions. r=kats.
...
--HG--
extra : rebase_source : 5197f42325d36313ad8c6178baaabcf6f7df532c
2015-11-11 19:56:06 -08:00
Nicholas Nethercote
ff5231e6d2
Bug 1224403 (part 1) - Make Configuration::mBounds a LayoutDeviceIntRect. r=kats.
...
--HG--
extra : rebase_source : a0ae2779dfd9bc10730c8b38bc082453845daa1f
2015-11-10 16:27:26 -08:00
Botond Ballo
a592a77364
Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
...
--HG--
extra : rebase_source : 1cab46638599d8c4e6183c42a6fa9d41702392cb
extra : source : cabc28a2200b9b4e5e137d331ee5b86b3c09f065
2015-11-06 22:13:40 -05:00
Nicholas Nethercote
ad0dd8414a
Bug 1223310
(part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Botond Ballo
5bf85e9f9d
Bug 1220923 - Make nsIntRegion a typedef for IntRegionTyped<UnknownUnits>. r=nical
...
--HG--
extra : source : 1f371f014048ed4c3c25095233fea927311a7e23
2015-11-04 11:49:49 -05:00
Xidorn Quan
c62bff4099
Bug 1206468 - Remove unused internal appearance value -moz-mac-unified-toolbar. r=mstange
...
--HG--
extra : source : adbf31ddaea4d289f6a6a226a112f73cd3d8391f
2015-10-23 19:51:34 +11: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
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -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
Lee Salzman
4fbc44de5a
Bug 1205045 - remove GTK calls from compositor thread. r=jmuizelaar
2015-09-15 16:46:39 -04:00
Jim Mathies
416c99cb91
Bug 1137944 - Simplify the api associated with hiding e10s plugin widgets. r=roc
2015-09-03 10:01:33 -05:00
Markus Stange
da1faad800
Bug 1016035 - Add nsIWidget::ReportSwipeStart and call it after processing wheel events that can trigger swipes. r=kats
...
--HG--
extra : commitid : 7uuuyRZdrT5
extra : rebase_source : 063bdfde71bc50831f28e7ab48d868670ba5bfdc
2015-08-28 01:10:48 -04:00
Xidorn Quan
f46a93871a
Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc
...
--HG--
extra : source : cf438b9cb26ae512f792f075e4e22537ad6a38a7
2015-08-29 11:12:41 +10:00
Bob Owen
61331f3269
Bug 1182411 Part 2: Change winless popup surrogate to have its parent set in the chrome process. r=jimm
...
The creation of the surrogate native window in the child NPAPI process was
failing when then sandbox was at low integrity, because the parent is from the
chrome process, so at medium integrity.
Instead of making an IPC call to get the parent, we now create the window upfront
and send it in an IPC message to be parented in the chrome process.
This is done with asynchronous messaging.
2015-08-12 16:00:26 +01:00
Masayuki Nakano
9f892563ed
Bug 1192156 Separate IME specific structs, classes and enums from nsIWidget.h to IMEData.h r=roc
...
--HG--
rename : widget/nsIWidget.h => widget/IMEData.h
2015-08-09 00:47:19 +09:00
Masayuki Nakano
a2baa83320
Bug 1184986 NOTIFY_IME_OF_POSITION_CHANGE should be put off until all sending events are recieved by child process r=smaug
2015-07-22 14:15:06 +09:00
Masayuki Nakano
9d9bd4c975
Bug 1184449 part.1 IMENotifiation::SelectionChangeData should store selected string r=smaug
2015-07-22 12:40:32 +09:00
George Wright
f12a9fe441
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
Masayuki Nakano
786aba3aee
Bug 1184004 part.1 Give a name to each struct in IMENotification r=smaug
2015-07-17 13:30:01 +09:00
Masayuki Nakano
4d9802aec0
Bug 1176955 part.2 NOTIFY_IME_OF_SELECTION should have a flag which indicates if it's caused by a selection event r=smaug
2015-07-17 11:25:00 +09: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
Nicolas Silva
1669cfdfef
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
de00198603
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.
--HG--
extra : source : 54a8b3b7351af89049825598891fd3a1f98d18af
2015-07-13 20:44:36 +10:00
Xidorn Quan
10e83b5fc9
Bug 1160014 part 0 - Avoid explicitly mentioning DOM Fullscreen concept in widget part. r=roc
...
--HG--
extra : source : 6651318bdcd66daa7f3fff2dc53373ecae4761f1
2015-07-13 20:44:36 +10:00
Nigel Babu
64f3815bd7
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
09355c0e38
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
373659f7f5
Bug 1176954 part.6 IMEContentObserver should use IMENotification::TextChangeData r=smaug
2015-07-11 10:53:56 +09:00
Masayuki Nakano
b5c03e059a
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
c1fdc81cac
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
69720d0ea0
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
09d4d46e81
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.
--HG--
extra : source : a64f71ea9ceb37acbbfc4e4023880fb244daa738
2015-07-11 10:08:59 +10:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Nathan Froyd
974d8120f2
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
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
Jim Mathies
a0edcafb63
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
dce35c582d
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
49c13c1c35
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
ada45abfc5
bug 1112212 - Set flag in InputContext for IME-unaware webapps; r=masayuki
2015-06-16 19:02:39 -04:00
David Anderson
46807997bc
Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey)
...
--HG--
extra : rebase_source : f750028018bc04eddf31a1e3810e013b1d8f1631
2015-06-04 14:19:06 -07: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
Xidorn Quan
571b237a91
Bug 1105939 part 6 - Add a method to nsIWidget for widget to distinguish between fullscreen mode and DOM fullscreen. r=roc
...
--HG--
extra : source : 9a40e94d9ddb089bf09ac110333080ec8f84835a
2015-06-04 13:49:34 +12:00
Michael Layzell
3f98e94e29
Bug 1168219 - Make nsIWidget::Configuration::mChild a smart pointer. r=vlad
2015-05-25 14:45:00 -04:00
Masayuki Nakano
ee32a82c8d
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
e38cad0b37
Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel
2015-05-13 11:54:17 +09:00
David Anderson
8a9daf3775
Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats)
2015-05-12 01:26:01 -04:00
Kartikaya Gupta
85f09c0ea6
Bug 1162179 - Don't create APZCTreeManagers for windows which aren't multiprocess. r=dvander
2015-05-06 19:15:10 -04:00
Andrea Marchesini
ade2831035
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
c99aec898f
Fix APZ target confirmations arriving before dependent layer transactions. (bug 1154130, r=kats)
2015-04-14 12:24:32 -04:00
Kartikaya Gupta
19ef59aa9f
Bug 1146349 - Wire up native event synthesization in child processes. r=smaug
2015-04-14 11:36:36 -04:00
Kartikaya Gupta
5cf2d407fd
Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug
2015-04-14 11:36:36 -04:00
Olli Pettay
c3dca4be1e
Backout Bug 930793 because of talos regressions,r=backout
...
--HG--
extra : rebase_source : bf5d4de1b80e114d3e2172a205bf850f68019d38
2015-04-13 19:02:27 +03:00
Olli Pettay
eb314fb48f
Bug 930793 - Remove favor performance mode, r=avih,roc
...
--HG--
extra : rebase_source : a112b660baa240afd5f0022cd869c96b59418789
2015-04-12 23:08:55 +03:00
Mats Palmgren
2fa6fbc270
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
5b0f58f5ef
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
191c9180a5
Backed out changeset 9534a3d38191 (bug 1149041)
2015-03-30 15:03:19 +02:00
Mats Palmgren
2e8393adc7
Bug 1149041 - Make nsIWidget::SizeConstraints use LayoutDeviceIntSize instead of unit-less nsIntSize. r=roc
2015-03-30 10:37:34 +00:00
David Anderson
d5f5272884
Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats)
2015-03-24 15:00:52 -07:00
Kartikaya Gupta
fdaed2c4d6
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
40d7c19d35
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
999b7333fe
Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt
2015-02-14 12:37:32 +01:00
dvander@alliedmods.net
bbb91f19dc
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
68e8327d5b
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
4ae7286acb
Backed out changeset d81339c7ac52 (bug 1128934)
2015-02-17 14:32:11 +01:00
David Zbarsky
e63a6defd2
Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond
2015-02-15 13:52:28 -05:00
Nicolas Silva
b930f4e186
Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt
2015-02-14 12:37:32 +01:00
Robert O'Callahan
276498a9e2
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
7a165b59ca
Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
...
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Robert O'Callahan
53f642c7da
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
477b9ab40e
Bug 1129774. Remove unused nsBaseWidget::GetDeviceContext. r=jmathies
...
--HG--
extra : rebase_source : 7097d97d21abcb4107838c21ab62061b8273e453
2015-02-05 17:03:32 +13:00
Markus Stange
2f12e52126
Bug 1045213 - Add nsITheme::ThemeGeometryTypeForWidget. r=roc
2015-02-04 17:25:18 -05:00
David Zbarsky
c73ec42d2d
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Jim Mathies
f93fc49262
Bug 1095754 - Add platform widget support for providing widget identifiers used in remote widget tracking and hookl this up on gtk and Windows. r=roc
2015-01-29 13:41:57 -06:00
Jim Mathies
d5d37f938c
Bug 1095754 - Miscellaneous code cleanup nits found along the way. r=me
2015-01-29 13:41:57 -06:00
Jim Mathies
aa597c8906
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
Jim Mathies
d353a0d5c1
Bug 1095754 - Add nsPluginFrame support for e10s specific plugin configuration data. r=roc
2015-01-29 13:41:55 -06:00
Jim Mathies
21a997ff89
Bug 1095754 - Provide a way to track and access native plugin widgets so they can be accessed from global scope. r=aklotz
2015-01-29 13:41:53 -06:00
Masayuki Nakano
8ef42d4816
Bug 917322 part.1 Create mozilla::widget::TextEventDispatcher class r=smaug, sr=smaug
...
--HG--
rename : dom/base/CompositionStringSynthesizer.cpp => widget/TextEventDispatcher.cpp
rename : dom/base/CompositionStringSynthesizer.h => widget/TextEventDispatcher.h
2015-01-28 15:27:30 +09:00
Ehsan Akhgari
466b4b59b6
Bug 1122988 - Mark nsIWidget::mLastChild/mPrevSibling as non-owning; r=roc
2015-01-22 23:18:26 -05:00
Bill McCloskey
c37452fa59
Bug 1051842 - Remove DOS line endings
2015-01-21 20:35:17 -08:00
David Parks
569529da16
Bug 1051842 - Part 2 - crash in -[ChildView keyDown:]. r=masayuki
...
In e10s, each nsFocusManger (main/chrome and content/tab) operates on its own content tree with its own InputContext. They also communicate their InputContexts with the OS widget (nsChildView on mac, nsWindow on Windows). Prior to this patch, the OS widgets didn't distinguish between main and content InputContexts. When GetInputContext was called on the OS widget, it would return whatever InputContext it had set last. This patch distinguishes between InputContexts in the widget.
2014-08-27 22:06:41 -07:00
Masatoshi Kimura
9656ec51c3
Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo
2015-01-21 22:35:19 +09:00
Bill McCloskey
f129f1c9a3
Bug 1051842 - Backout e1dd58a149d2 (bug 1051842) due to bug 1122208
2015-01-20 14:03:33 -08:00
Kartikaya Gupta
d8cde2ed0d
Bug 1121430 - Back out 4 csets from bug 1112212 for breaking backspace on Android. r=backout
2015-01-15 10:52:05 -05:00
David Parks
7eb1cc02ff
Bug 1051842 - Part 2 - crash in -[ChildView keyDown:]. r=masayuki
...
In e10s, each nsFocusManger (main/chrome and content/tab) operates on its own content tree with its own InputContext. They also communicate their InputContexts with the OS widget (nsChildView on mac, nsWindow on Windows). Prior to this patch, the OS widgets didn't distinguish between main and content InputContexts. When GetInputContext was called on the OS widget, it would return whatever InputContext it had set last. This patch distinguishes between InputContexts in the widget.
2014-08-27 22:06:41 -07:00
Benoit Girard
9b8c2dc37d
Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange
2015-01-14 17:24:09 -05:00
Jim Chen
3817965035
bug 1112212 - Set flag in InputContext for IME-unaware webapps; r=masayuki
2015-01-10 12:41:57 -05:00
Mason Chang
2166723055
Bug 1113725
. Rename VsyncDispatcher to CompositorVsyncDispatcher. r=kats
2014-12-19 12:52:42 -08:00
Mason Chang
20f79754b3
Bug 1101974. Part 1: Create VsyncDispatcher at nsBaseWidget. r=roc
2014-12-18 08:30:05 -08:00
Vladimir Vukicevic
54548bfc2b
Bug 1036597 - extend widget's MakeFullScreen method to take an optional nsIScreen indicating the target; r=karlt
2014-07-09 12:29:28 -07:00
Jim Mathies
abf9ba034f
Bug 669200 - On the child side implement a suitable nsIWidget wrapper for PPluginWidget based on PuppetWidget. r=billm
2014-11-12 14:59:20 -06:00
Jim Mathies
a323270a8b
Bug 669200 - Various widget changes to support two new types of plugin widget. r=roc
2014-11-12 14:59:19 -06:00
Masayuki Nakano
04082d22be
Bug 1083067 part.4 Use IMEContext::MaybeEditable() instead of nsGtkIMModule::IsEditable() r=m_kato
2014-11-10 18:07:43 +09:00
Markus Stange
1c0e700dea
Bug 1018845 - Make the fullscreen button easier to see on dark backgrounds. r=roc
2014-11-03 22:14:10 -05:00
Jonathan Watt
e3b677cbfd
Bug 1082553 - Remove a few unnecessary nsRenderingContext includes and forward declarations. r=Bas
2014-10-16 10:51:13 +01:00
Masayuki Nakano
1cc2ff10cb
Bug 1065835 part.6 Remove NOTIFY_IME_OF_CURSOR_POS_CHANGED and nsGtkIMModule should handle NOTIFY_IME_OF_SELECTION_CHANGE instead r=smaug+ehsan+karlt
2014-09-26 09:05:13 +09:00
Markus Stange
9035319790
Bug 944836 - Build a draggable region for the window based on the -moz-window-dragging property. r=roc
2014-09-18 10:52:27 +02:00
Masayuki Nakano
b8d7961d53
Bug 1059680 Make NOTIFY_IME_OF_MOUSE_BUTTON_EVENT e10s aware r=smaug
2014-09-11 22:46:17 +09:00
Masayuki Nakano
93cf48640e
Bug 826657 part.2 Implement NOTIFY_IME_OF_MOUSE_BUTTON_EVENT in XP part r=smaug+ehsan
2014-08-29 19:08:43 +09:00
Masayuki Nakano
5a1e63fec0
Bug 1052286 nsTextStore::SetInputContext() should handle password state as editable state r=jimm
2014-08-14 17:58:15 +09:00
Ehsan Akhgari
3ade5dd202
Bug 1048241 - Fix more bad implicit constructors in widget; r=roc
2014-08-05 09:38:21 -04:00
Jonathan Watt
1ac56ed5ef
Bug 991640 - Get rid of nsIWidget::GetThebesSurface and a bunch of Thebes backed gfxContexts. r=mattwoodrow
2014-06-10 07:02:21 +01:00
Jim Mathies
e88a91f7f4
Bug 1003943 - Properly update widget cursors when the mouse passes between remote frames. r=smaug
2014-05-27 20:12:29 -05:00
Masatoshi Kimura
e96ea0a9d1
Bug 1005619 - Part 1: Add nsIWidget::GetRestoredBounds(). r=roc
2014-05-20 16:32:17 +09:00
Bill McCloskey
204c0f3633
Bug 993714 - [e10s] Cache native key bindings in tests (r=masayuki,sr=roc)
2014-04-21 13:40:09 -07:00
Jim Chen
8e3a90b7bf
Bug 984463 - Update GeckoEditableListener constants to match IMEMessage constants. r=masayuki
2014-03-21 13:44:59 -04:00
Neil Deakin
382114ad8c
Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn
2014-03-19 12:48:08 -04:00
Masayuki Nakano
0ae5a1bafc
Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud
2014-03-14 22:13:31 +09:00
Masayuki Nakano
b51ee921de
Bug 978023 part.3 Rename nsIMEStateManager to mozilla::IMEStateManager r=smaug
...
--HG--
rename : dom/events/nsIMEStateManager.cpp => dom/events/IMEStateManager.cpp
rename : dom/events/nsIMEStateManager.h => dom/events/IMEStateManager.h
2014-03-08 10:20:07 +09:00
Makoto Kato
094de05309
Bug 968647 - Part 1. Add position change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Makoto Kato
564414b6a0
Backed out changeset d06ee3f1e9a3 (bug 968647)
2014-03-03 11:53:43 +09:00
Makoto Kato
9857fbb5f0
Bug 968647 - Part 1. Add postion change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Carsten "Tomcat" Book
3aa46dfe4f
Backed out changeset e670f691e2b9 (bug 968647) for mochitest test bustage on OS X on a CLOSED TREE
2014-02-28 09:30:34 +01:00
Makoto Kato
062ff17d11
Bug 968647 - Part 1. Add postion change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Masayuki Nakano
4fac2c03ae
Bug 961704 part.2 Add an option to nsIMEUpdatePreference which prevents to be notified selection/text changes caused by composition r=smaug
2014-02-26 09:48:02 +09:00
Masayuki Nakano
e173e98fbd
Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc
2014-02-18 09:00:15 +09:00
Olli Pettay
ab4411fee4
Backout Bug 930793 - Remove favor performance mode (we have still racy b2g tests), a=backout
...
--HG--
extra : rebase_source : 6f6de1cbf54670d63b74c44ca0134ed9c5354d2b
2014-01-30 21:35:44 -08:00
Nick Lebedev
cd5f69c3b6
Bug 822898. Add maxTouchPoints attribute to navigator. r=romaxa,smaug
...
--HG--
extra : rebase_source : e3f84cb38ee2a0c75bf775027c8a59e4f9e64908
2014-01-28 08:09:34 -08:00
Makoto Kato
95d1734bbb
Bug 960877 - Part 2. Remove mWantHints from nsIMEUpdatePreference. r=masayuki
2014-01-29 18:32:35 +09:00
Makoto Kato
4e744b9599
Bug 960877 - Part 1. Add helper method to nsIMEUpdatePreference. r=masayuki
2014-01-29 18:31:57 +09:00
Benoit Jacob
61df69f208
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Masayuki Nakano
a3dc900949
Bug 835262 Add an option making nsTextStateManager keep alive even while our process is deactive r=smaug+emk
2014-01-18 12:27:14 +09:00
Olli Pettay
124795557f
Bug 930793 - Remove favor performance mode, r=roc,avih
...
--HG--
extra : rebase_source : e936e5b02dc2e613816fb6f97f9af5a303dc6f6d
2014-01-16 16:09:08 +02:00
Makoto Kato
1eaa8a3e12
Bug 935821 - Part 1. Notify IME Compostion to widget. r=masayuki
2013-11-07 09:11:11 +09:00
Birunthan Mohanathas
d05644b6b3
Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
...
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Markus Stange
3b7de5fbc9
Bug 888615 - [Australis] Add a drawtitle attribute for XUL root elements. When drawtitle="true" is set, even drawintitlebar windows will have a window title. r=roc, r=smichaud
2013-12-17 17:11:13 +01:00
Jim Mathies
195cafc7e6
Bug 941774 - Base widget implementation. r=roc
2013-12-14 14:40:56 -06:00
Nicholas Cameron
9bfee51338
Bug 946958 part 4. Tidy up interaction with widgets. r=kats
2013-12-09 14:40:59 +13:00
Phil Ringnalda
74b2dea823
Backed out 7 changesets (bug 946958, bug 865033)
...
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
93ca5b4477
Bug 946958 part 4. Tidy up interaction with widgets. r=kats
2013-12-09 14:40:59 +13:00
Markus Stange
c5d89cc8ca
Bug 886999 - Lock the GL context before compositing on the compositor thread or before calling setView or update on the main thread. r=mattwoodrow
2013-10-09 10:39:23 -04:00
Markus Stange
14e8e85cab
Bug 914437 - Don't composite windows that are not open. r=mattwoodrow
2013-10-09 10:39:22 -04:00