Nicholas Nethercote
8bc855b22d
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.
--HG--
extra : rebase_source : 85d54185f63d2c138ee3f3e0e0bfe3b5e805a981
2016-08-22 09:15:49 +10:00
Nicholas Nethercote
3fda0deee8
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
8f79833e36
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
67af4817e9
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
8e6f32c5b4
Bug 1293596 (part 1) - Don't use NS_IMETHOD for nsIWidget::AttachViewToTopLevel. r=karlt.
2016-08-10 10:04:08 +10:00
Jonathan Kew
0a3cede058
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
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
a57972337d
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Kearwood (Kip) Gilbert
434f167559
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
735fccd3ce
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.
--HG--
extra : rebase_source : 50b0c0f46cab6a13cc27ad48fb24503b9a491463
2016-08-09 14:03:13 +10:00
Yura Zenevich
7d6abb5975
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
713c58caee
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
ebadfda552
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
edffc3c8ec
Bug 1289792 - removed member variable mAPZResult and used a local one in Run(). r=vlad
...
MozReview-Commit-ID: JPkE1cSg4HP
--HG--
extra : rebase_source : 8d66dda7390b1d88763f9eb1ad49c542a2c247ca
2016-07-27 17:39:13 +03:00
Kartikaya Gupta
166816e4b0
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
d8e85035dd
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
5c1e3a17b8
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
5b86ab83e3
Backed out changeset 3119db384fcc (bug 1281575) for bustage
2016-07-21 06:26:58 +02:00
Ryan Hunt
de1e16b8e9
Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats
2016-07-20 13:37:00 +02:00
Bob Owen
25fe73cb68
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
af06755ad8
Bug 1162050 - Remove instances of eLegacyDragGesture and draggesture. r=enn
...
MozReview-Commit-ID: 8kP1AY4peos
--HG--
extra : rebase_source : 0f64e55770c2b9cfd9737f8da53111bad007dca6
2016-05-27 14:32:59 -04:00
Carsten "Tomcat" Book
d2e362e983
Backed out changeset f8fe3acf2e78 (bug 1162050)
2016-07-11 11:18:48 +02:00
Jimmy Wang
209f78f925
Bug 1162050 - Remove instances of eLegacyDragGesture and draggesture. r=enn
...
MozReview-Commit-ID: 8kP1AY4peos
--HG--
extra : transplant_source : XY2kY%87%AE%2A%C8%E8MV%86L%22%0B%21%5C%90%1B
2016-05-27 14:32:59 -04:00
David Anderson
97a92d5d5e
Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm)
2016-07-01 01:15:16 -07:00
David Anderson
6562af780a
Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm)
2016-07-01 01:15:16 -07:00
David Anderson
f0edea202e
Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm)
2016-07-01 01:15:16 -07:00
David Anderson
56c221c4a6
Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
...
--HG--
rename : widget/CompositorWidget.cpp => widget/InProcessCompositorWidget.cpp
2016-07-01 01:15:16 -07:00
David Anderson
3f0ea0572d
Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
...
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
2016-07-01 01:15:16 -07:00
Bill McCloskey
b8ababd5ee
Bug 1282153 - Remove retaining outparam to GetLayerManager (r=dvander)
2016-06-30 14:30:30 -07:00
Phil Ringnalda
0d0d24bccc
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)
--HG--
rename : widget/CompositorWidget.cpp => widget/CompositorWidgetProxy.cpp
rename : widget/CompositorWidget.h => widget/CompositorWidgetProxy.h
rename : widget/windows/WinCompositorWidget.cpp => widget/windows/WinCompositorWidgetProxy.cpp
rename : widget/windows/WinCompositorWidget.h => widget/windows/WinCompositorWidgetProxy.h
2016-06-29 19:35:24 -07:00
David Anderson
4853817add
Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm)
...
--HG--
extra : rebase_source : 66e23a6efd766341a97ab46f1c52b368f145d849
2016-06-29 16:47:23 -04:00
David Anderson
358a567c70
Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm)
...
--HG--
extra : rebase_source : 881a2fac4447de3f1aeae3f34f21f9e76a79e0a3
2016-06-29 16:47:22 -04:00
David Anderson
80600779fc
Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm)
...
--HG--
extra : rebase_source : ff35830b0ca727e03366ebcd9cf069d7772de591
2016-06-29 16:47:22 -04:00
David Anderson
b4551c49b7
Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
...
--HG--
rename : widget/CompositorWidget.cpp => widget/InProcessCompositorWidget.cpp
extra : rebase_source : d885b1ec9c30e8c5558c31c6caadfc645e7ed567
2016-06-29 16:47:22 -04:00
David Anderson
804c1ee06f
Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
...
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
extra : rebase_source : 8ecf59ad6039f0d0d2a51008aef53ef37aa2ce0e
2016-06-29 16:47:22 -04:00
David Anderson
6c0ba47595
Don't leave temporary dangling nsWindow references to CompositorBridgeParent. (bug 1282343 part 1, r=mattwoodrow,kats)
2016-06-28 14:53:21 -07:00
David Anderson
b32d76868e
Use IntSize in CompositorBridgeParent's constructor. (bug 1282347, r=kats)
2016-06-27 17:05:34 -07:00
Daniel Holbert
caa9d85a69
Bug 1279608: Move nsBaseWidget.cpp's PRTimeToSeconds and kAccessibilityLastRunDatePref definitions inside the same #ifdef guard where their usages are. r=jimm
...
MozReview-Commit-ID: 5RAdy4RCDOQ
--HG--
extra : rebase_source : 3480879aecfa6b023005912329a6748f9a39f58e
2016-06-10 13:04:31 -07:00
Nicolas Silva
6e53af5d81
Bug 1264365 - Disable hardware acceleration for small popup widgets. r=dvander
2016-04-21 12:20:31 +02:00
Jonathan Kew
8b962d49c7
Bug 1278818 - Convert window coordinates to desktop pixels before passing to ScreenForRect. r=emk
2016-06-10 17:37:15 +01:00
Kartikaya Gupta
4131eaf041
Bug 1273137 - Add the missing main-thread target confirmation for drag blocks. r=rbarker
...
This patch also cleans up some inconsistencies in the conditions under which the
main thread would respond to wheel and mouse events. With this patch applied, the
main-thread notifications are only sent if the input block id is nonzero, which
indicates the APZ actually processed the input event and added it to an input
block.
MozReview-Commit-ID: GBlgj6whi5T
--HG--
extra : rebase_source : 01cbbe8b90208a8dc5ab81ab9bdbd39d3bc8ee7a
2016-06-07 11:07:55 -04:00
Jim Mathies
f40dcc79b5
Bug 1277882 - Disable e10s on Linux when recent accessibility use is detected. r=felipe
...
MozReview-Commit-ID: 6RTPJedwwzh
2016-06-05 07:59:38 -05:00
Masayuki Nakano
e67330e0b4
Bug 1275906 part.1 Rename NOTIFY_IME_OF_COMPOSITION_UPDATE to NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED r=m_kato
...
It's not clear to me what NOTIFY_IME_OF_COMPOSITION_UPDATE means only from the name. For making the name clearer, this patch renames it to NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED and add some explanation to the definition.
MozReview-Commit-ID: 8ySYCNJ1Ytz
--HG--
extra : rebase_source : 3331b8f48e8b460c7f9b088064dcda9488f3403c
2016-05-31 11:39:15 +09:00
David Anderson
ecf249bd9a
Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow)
2016-05-23 00:27:01 -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
ba1f071a23
Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow)
2016-05-23 00:27:01 -07:00
David Anderson
c2a116cdd6
Hide top-level CompositorBridgeParents behind a new API. (bug 1272472 part 4, r=mattwoodrow,kats,gwagner)
2016-05-17 22:33:22 -07:00
David Anderson
bb2cbc24f4
Remove nsBaseWidget::NewCompositorBridgeParent. (bug 1272472 part 1, r=kats)
2016-05-17 22:33:21 -07:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Kyle Huey
44cee0989e
Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00