David Anderson
4462345acb
Fix vsync sometimes not firing after the GPU process crashes. (bug 1305628, r=mattwoodrow)
2016-09-30 01:23:52 -07:00
Kartikaya Gupta
6fbfa692d4
Bug 1300421 - Back out 4 csets from bug 1288760 for regressing event coordinate reporting. r=jfkthame
...
MozReview-Commit-ID: AJ2PkSfYCpv
2016-09-29 10:20:52 -04:00
Carsten "Tomcat" Book
4ed71bf7f1
Backed out changeset 9ce619a6dcae (bug 1305628) for crashes
2016-09-28 11:12:07 +02:00
David Anderson
ea8aeef0dc
Fix vsync sometimes not firing after the GPU process crashes. (bug 1305628, r=mattwoodrow)
2016-09-28 01:20:12 -07:00
Sebastian Hengst
efeabb71f6
Backed out changeset 7bcb0c169466 (bug 1305628) for crashing with mozilla::OffTheBooksMutex::Lock. r=backout
2016-09-27 23:21:47 +02:00
David Anderson
94192c0ea5
Fix vsync sometimes not firing after the GPU process crashes. (bug 1305628, r=mattwoodrow)
2016-09-27 13:15:55 -07:00
Matt Woodrow
2dabc216dc
Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280
2016-09-27 16:22:20 +13:00
David Anderson
f563a66c2a
Recreate widget compositors when the GPU process dies. (bug 1300936 part 2, r=mattwoodrow)
2016-09-20 01:16:03 -07:00
Tanuja Sawant
74ac00d328
Bug 1285940 - Remove code to disambiguate overloads that is no longer necessary. r=botond
...
MozReview-Commit-ID: 5fBkxmGP1Cr
2016-09-17 13:38:11 +05:30
Manish Goregaokar
49b3b83008
Bug 1300337 - Replace None_ variants from nsStyleConsts.h with None; r=heycam,TYLin
...
MozReview-Commit-ID: CxHzbEzjLxT
2016-09-04 00:16:58 +05:30
Michael Layzell
5f0e965456
Bug 1018486 - Part 3: Changes in widget/cocoa/, r=mstange
...
MozReview-Commit-ID: DhvanRhe9XE
2016-09-07 10:50:38 -04:00
Nicholas Nethercote
bdd3a20a7b
Bug 1296993 (part 8) - Streamline nsIWidget::CaptureMouse. r=mstange.
...
This patch does the following.
- Removes the return value, because none of the call sites check it.
- Removes the empty implementations from several nsIWidget instances, because
they can use the nsBaseWidget one.
2016-08-25 14:10:02 +10:00
Nicholas Nethercote
0b90da4f50
Bug 1296993 (part 5) - Streamline nsIWidget::SetWindow{ShadowStyle,TitlebarColor,Class}. r=mstange.
...
This patch does the following.
- Removes the return value, because none of the call sites check it.
- Removes the empty implementations from the android nsIWidget instance,
because it can use the nsBaseWidget one.
2016-08-25 13:43:27 +10:00
Nicholas Nethercote
e31e3f0c52
Bug 1296993 (part 4) - Streamline nsIWidget::PlaceBehind. r=mstange.
...
This patch does the following.
- Removes the return value, because none of the call sites check it.
- Removes the empty implementations from several nsIWidget instances, because
they can use the nsBaseWidget one.
2016-08-25 13:43:27 +10:00
Nicholas Nethercote
36a9b74cff
Bug 1296993 (part 2) - Streamline nsIWidget::Set{,Fake}Modal. r=mstange.
...
This patch does the following.
- Removes the return value, because none of the call sites check it.
- Removes the empty implementations from several nsIWidget instances, because
they can use the nsBaseWidget one.
2016-08-25 13:43:26 +10:00
Kan-Ru Chen
a9b19d0584
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Nicholas Nethercote
0f4ec1c554
Bug 1293596 (part 8) - Make nsIWidget::EnableDragDrop() infallible. r=jimm.
...
Its return value is only checked in one low-value assertion.
The patch also does the following.
- Removes the Android and GTK overloadings of EnableDragDrop(), which are
identical to the nsBaseWidget one.
- Streamlines the Windows implementation: fixes the indentation and takes
advantage of infallible |new|.
2016-08-22 09:16:50 +10:00
Nicholas Nethercote
ab7ae3b80d
Bug 1293596 (part 7) - Make nsIWidget::Destroy infallible. r=karlt.
2016-08-10 10:04:11 +10:00
Nicholas Nethercote
628ec722f3
Bug 1293596 (part 6) - Make nsIWidget::SetSizeMode() infallible. r=mstange,baku.
...
The only implementation of SetSizeMode() that can fail is the nsCocoaWindow
one, on an Objective C exception, which is unlikely and can be swallowed.
This allows some nsGlobalWindow functions to become infallible as well.
2016-08-22 09:15:49 +10:00
Nicholas Nethercote
c2cd6516c6
Bug 1293596 (part 5) - Tweak nsIWidget::MakeFullScreen{,WithNativeTransition}(). r=mstange.
...
They don't need to be NS_IMETHOD.
The patch also gives nsBaseWidget an InfallibleMakeFullScreen() function, which
avoids the need for some checks.
2016-08-19 09:27:28 +10:00
Nicholas Nethercote
f245c9eabc
Bug 1293596 (part 3) - Remove GetNonClientMargins. r=mstange.
...
It's dead code -- the only use is a recursive call within
nsWindow::GetNonClientMargins().
2016-08-19 09:03:13 +10:00
Nicholas Nethercote
8b8bd02a31
Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
...
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.
The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Nicholas Nethercote
437e516713
Bug 1293596 (part 1) - Don't use NS_IMETHOD for nsIWidget::AttachViewToTopLevel. r=karlt.
2016-08-10 10:04:08 +10:00
Jonathan Kew
58b971b3b1
Bug 1288760 patch 2.0 - Move nsBaseWidget::GetWidgetScreen() up to the nsIWidget interface, to make it usable from DOM Event code. r=emk
2016-08-18 08:31:22 +01:00
Igor
9c81c3c1ee
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
972b8460e2
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Kearwood (Kip) Gilbert
429c0c2603
Bug 1250244 - Part 7: Implement WebVR 1.0 API,r=bz
...
MozReview-Commit-ID: JTOmaWePlJq
2016-02-24 15:54:50 -08:00
Nicholas Nethercote
eb4f9a274e
Bug 1293603 (part 3) - Remove erroneous NS_METHOD uses in widget/. r=erahm.
...
All these occurrences are for methods declared with NS_IMETHOD, and so they
should be NS_IMETHODIMP instead of NS_METHOD.
2016-08-09 14:03:13 +10:00
Yura Zenevich
abb4eebf15
Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov
...
MozReview-Commit-ID: KKeywNi3fQb
2016-08-08 20:51:39 -04:00
Kartikaya Gupta
86f137f6be
Bug 1289435 - Extract a helper function to dispatch MultiTouchInput to APZ if applicable and then to Gecko. r=mstange
...
This also modifies the windows widget code to use this new helper function, as
it avoids an unnecessary round-trip where a MultiTouchInput gets converted to
a WidgetTouchEvent (in nsWindow.cpp) and then back to a MultiTouchInput (in
APZCTreeManager.cpp)
MozReview-Commit-ID: 1WGbfINTW6c
2016-08-03 12:06:58 -04:00
Kartikaya Gupta
0f3a01eaeb
Bug 1289435 - Ensure that the synthesized native touch events have sane timestamps. r=mstange
...
MozReview-Commit-ID: 6QxB7XBx7T7
2016-08-03 12:06:58 -04:00
Andi-Bogdan Postelnicu
2e75f49ded
Bug 1289792 - removed member variable mAPZResult and used a local one in Run(). r=vlad
...
MozReview-Commit-ID: JPkE1cSg4HP
2016-07-27 17:39:13 +03:00
Kartikaya Gupta
5b3d6a737f
Bug 1287576 - Update the touch-behavior notification code to behave like the set-target-apzc notification code. r=botond
...
In particular, this change uses the root frame of the touch target document,
so that the correct presShell resolution is used when doing the touch-action
hit test.
MozReview-Commit-ID: 2bra6PIRqkR
2016-07-25 20:35:03 -04:00
Kartikaya Gupta
b02e232728
Bug 1288187 - Extract a helper function to manage synthetic touch points for widgets that don't have more specific handling. r=botond
...
MozReview-Commit-ID: EFlHnN700vc
2016-07-25 17:33:09 -07:00
Ryan Hunt
c9a4056474
Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats
...
MozReview-Commit-ID: 7tO2kkTNFk2
2016-07-20 13:37:00 +02:00
Carsten "Tomcat" Book
a8c9d4892a
Backed out changeset 3119db384fcc (bug 1281575) for bustage
2016-07-21 06:26:58 +02:00
Ryan Hunt
c3d4a9136d
Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats
2016-07-20 13:37:00 +02:00
Bob Owen
87003f6f32
Bug 1252877 Part 2: On Windows capture an image for windowed plugins to be displayed during APZ scroll. r=jimm, r=mattwoodrow
...
MozReview-Commit-ID: ElE0GD3tLah
2016-07-18 09:54:02 +01:00
Jimmy Wang
4ee6b74170
Bug 1162050 - Remove instances of eLegacyDragGesture and draggesture. r=enn
...
MozReview-Commit-ID: 8kP1AY4peos
2016-05-27 14:32:59 -04:00
Carsten "Tomcat" Book
073a4fe5b9
Backed out changeset f8fe3acf2e78 (bug 1162050)
2016-07-11 11:18:48 +02:00
Jimmy Wang
079f2f0221
Bug 1162050 - Remove instances of eLegacyDragGesture and draggesture. r=enn
...
MozReview-Commit-ID: 8kP1AY4peos
2016-05-27 14:32:59 -04:00
David Anderson
add6c95120
Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm)
2016-07-01 01:15:16 -07:00
David Anderson
c70cd6b6e2
Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm)
2016-07-01 01:15:16 -07:00
David Anderson
020480eae5
Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm)
2016-07-01 01:15:16 -07:00
David Anderson
039e80e39c
Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
2016-07-01 01:15:16 -07:00
David Anderson
19ade82818
Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
2016-07-01 01:15:16 -07:00
Bill McCloskey
48fe44d618
Bug 1282153 - Remove retaining outparam to GetLayerManager (r=dvander)
2016-06-30 14:30:30 -07:00
Phil Ringnalda
89deea28e2
Back out 7 changesets (bug 1281998) for Windows Marionette crashes
...
Backed out changeset d806fac2c856 (bug 1281998)
Backed out changeset b8d4fedfd7eb (bug 1281998)
Backed out changeset a72929c0c3ec (bug 1281998)
Backed out changeset 74198f88fa37 (bug 1281998)
Backed out changeset 54a0e73f6906 (bug 1281998)
Backed out changeset 99d1da1293b7 (bug 1281998)
Backed out changeset a5a9585754b1 (bug 1281998)
2016-06-29 19:35:24 -07:00
David Anderson
eb66f8ed62
Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm)
2016-06-29 16:47:23 -04:00
David Anderson
27793b9f88
Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm)
2016-06-29 16:47:22 -04:00