Commit Graph

416 Commits

Author SHA1 Message Date
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
David Anderson
54d6f14645 Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm) 2016-06-29 16:47:22 -04:00
David Anderson
bec1f2780f Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm) 2016-06-29 16:47:22 -04:00
David Anderson
4a6d8ea9f0 Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm) 2016-06-29 16:47:22 -04:00
David Anderson
26a5fabe36 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
52c16c9cb8 Use IntSize in CompositorBridgeParent's constructor. (bug 1282347, r=kats) 2016-06-27 17:05:34 -07:00
Daniel Holbert
ef28ca51e3 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
2016-06-10 13:04:31 -07:00
Nicolas Silva
cd8fc56b93 Bug 1264365 - Disable hardware acceleration for small popup widgets. r=dvander 2016-04-21 12:20:31 +02:00
Jonathan Kew
828b22bc51 Bug 1278818 - Convert window coordinates to desktop pixels before passing to ScreenForRect. r=emk 2016-06-10 17:37:15 +01:00
Kartikaya Gupta
1e79f9ac80 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
2016-06-07 11:07:55 -04:00
Jim Mathies
af6695752f 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
b911e5da2c 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
2016-05-31 11:39:15 +09:00
David Anderson
c8ee54571d Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow) 2016-05-23 00:27:01 -07:00
Wes Kocher
9a683a7c55 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
7e261ba517 Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow) 2016-05-23 00:27:01 -07:00
David Anderson
2f136d2412 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
ebbe1e4c23 Remove nsBaseWidget::NewCompositorBridgeParent. (bug 1272472 part 1, r=kats) 2016-05-17 22:33:21 -07:00
Kyle Huey
b972c94d0f Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey
7bfda7e22f Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
David Anderson
077636288b Move CompositorWidgetProxy inheritance out of nsIWidget. (bug 1264545 part 6, r=jimm) 2016-04-29 19:23:17 -04:00
David Anderson
01a9e0a8f0 Use CompositorWidgetProxy in place of nsIWidget in CompositorBridgeParent. (bug 1264545 part 5, r=jimm,kats) 2016-04-29 19:20:42 -04:00
Carsten "Tomcat" Book
a12183832c Backed out changeset 4bcb784492bb (bug 1268313) 2016-04-29 14:21:18 +02:00
Carsten "Tomcat" Book
aadd508ffe Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
David Anderson
d21a9823d4 Introduce gfxConfig, a manager for graphics feature settings. (bug 1254899 part 3, r=milan) 2016-04-28 21:52:54 -07:00
Kyle Huey
e62a0823c9 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey
4e4a58b922 Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Sebastian Hengst
07fab976d8 Backed out 13 changesets (bug 1254899) for test failure in browser_Troubleshoot.js. r=backout
Backed out changeset f749ee384012 (bug 1254899)
Backed out changeset 1d7eeee5a5c5 (bug 1254899)
Backed out changeset b5ab83af342c (bug 1254899)
Backed out changeset 993906e53329 (bug 1254899)
Backed out changeset e8abac801a51 (bug 1254899)
Backed out changeset e9c311c68e4a (bug 1254899)
Backed out changeset f8f3ae8c5cef (bug 1254899)
Backed out changeset d17f98a9918a (bug 1254899)
Backed out changeset 21c8a7ea2b93 (bug 1254899)
Backed out changeset 64e58f9625eb (bug 1254899)
Backed out changeset 2de214d5d1e0 (bug 1254899)
Backed out changeset f2056259d227 (bug 1254899)
Backed out changeset b805df0c8296 (bug 1254899)
2016-04-28 10:32:25 +02:00
David Anderson
da9884c741 Introduce gfxConfig, a manager for graphics feature settings. (bug 1254899 part 3, r=milan) 2016-04-27 22:54:25 -07:00
Kyle Huey
f3e34e67b3 Bug 1266595: Replace Chromium Task with Runnable. r=froydnj 2016-04-27 17:06:05 -07:00
Masayuki Nakano
bbce223b06 Bug 1257759 part.5 PluginInstanceChild should post received native key event to chrome process if the key combination may be a shortcut key r=jimm
When PluginInstanceChild receives native key events, it should post the events to the chrome process first for checking if the key combination is reserved.  However, posting all key events to the chrome process may make damage to the performance of text input.  Therefore, this patch starts to post a key event whose key combination may be a shortcut key.  However, for avoiding to shuffle the event order, it posts following key events until all posted key events are handled by the chrome process.

For receiving response from widget, this patch defines nsIKeyEventInPluginCallback.  It's specified by nsIWidget::OnWindowedPluginKeyEvent() for ensuring the caller will receive the reply.  Basically, the caller of nsIWidget::OnWindowedPluginKeyEvent() should reply to the child process.  However, if the widget is a PuppetWidget, it cannot return the result synchronously.  Therefore, PuppetWidget::OnWindowedPluginKeyEvent() returns NS_SUCCESS_EVENT_HANDLED_ASYNCHRONOUSLY and stores the callback to mKeyEventInPluginCallbacks.  Then, TabParent::HandledWindowedPluginKeyEvent() will call PuppetWidget::HandledWindowedPluginKeyEvent().

MozReview-Commit-ID: G6brOU26NwQ
2016-04-19 20:09:37 +09:00
Kartikaya Gupta
64db223738 Bug 1264161 - Ensure we null out APZ pointers to the widget when it gets destroyed. r=botond
MozReview-Commit-ID: HccKXqU3Z6H
2016-04-22 16:01:30 -04:00
Carsten "Tomcat" Book
2b57142de0 Backed out changeset b8372d58243b (bug 1264365) for android test bustage on a CLOSED TREE 2016-04-21 14:06:56 +02:00
Nicolas Silva
45523ea3fb Bug 1264365 - Disable hardware acceleration for small popup widgets. r=dvander 2016-04-21 12:20:31 +02:00
Jonathan Watt
5c3f5ca9f0 Bug 1265953, part 3 - Convert more widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 23:29:16 +01:00
Botond Ballo
255b5d9300 Bug 1260018 - Route drag events to APZ, so it can accurately detect the end of a drag. r=kats 2016-04-18 14:24:28 -04:00
Masayuki Nakano
99eab530eb Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR
2016-04-18 23:09:02 +09:00
Kartikaya Gupta
76d0349abb Bug 1263200 - Reset the APZ pointer in the base widget to null if the compositor creation fails. r=mstange
MozReview-Commit-ID: LH26TsWYrVx
2016-04-15 09:07:14 -04:00
Kartikaya Gupta
ebc6b999e7 Bug 1250505 - Convert SynthesizeNativeTouchPoint and SynthesizeNativeTouchTap to take a LayoutDeviceIntPoint instead of a ScreenPoint. r=njn
MozReview-Commit-ID: EybGq9b1B8Z
2016-04-15 06:39:36 -04:00
David Anderson
e65ca29f0b Remove drawWidgetAsOnScreen. (bug 1264393, r=mattwoodrow, webidl r=khuey) 2016-04-13 19:24:42 -04:00