Commit Graph

1400 Commits

Author SHA1 Message Date
Kartikaya Gupta
8975e03aba Back out 4 csets from bug 1326421 because of various test failures. r=backout 2017-01-13 17:07:59 -05:00
Kartikaya Gupta
f2b699010f Bug 1326421 - Have content processes create WebRenderLayerManagers if and only if the compositor being used is WebRender. r=dvander
Also guard against a scenario where RecvDocShellIsActive gets called before
we have the layers id for the tab. Because we need to have the compositor
options (which requires knowing the layers id) before we can create the layer
manager, we need to avoid calling GetLayerManager() before we have the options.

MozReview-Commit-ID: 1MKdhvUJobD
2017-01-13 15:16:52 -05:00
Ryan Hunt
3987a44ddb Merge m-c to graphics 2017-01-13 10:14:22 -06:00
Phil Ringnalda
70771ea7b7 Merge m-i to m-c, a=merge 2017-01-24 18:53:29 -08:00
David Anderson
94fb0ef50b Ignore paints when a content device reset has not yet been acknowledged. (bug 1333329 part 3, r=rhunt) 2017-01-24 11:23:12 -08:00
Andrew McCreight
f3f21b71cd Bug 1331743 - Create CrossProcessCpowHolder even if there is no message manager. r=smaug
MozReview-Commit-ID: AtRfKQCHofe
2017-01-17 11:00:38 -08:00
Markus Stange
96258d1927 Bug 1331402 - Update plugins' clipRects when hiding a tab. r=jimm,mattwoodrow
In non-e10s, all tabs of a window would share one nsRootPresContext. When
switching tabs, the tab switch paint would trigger a call to
nsRootPresContext::ComputePluginGeometryUpdates, which would call
SetEmptyWidgetConfiguration on all registered nsPluginFrames, notably also
those inside the tab that was hidden.

With e10s, every tab has its own nsRootPresContext, and paints in one tab do
not trigger calls to nsRootPresContext::ComputePluginGeometryUpdates on the
root pres contexts of other tabs. So when painting the new tab, the registered
plugin frames in the old tab were not notified that they were now hidden.
This patch now does that in TabChild::MakeHidden.

MozReview-Commit-ID: LlW9dKKFqZE
2017-01-17 18:07:05 +01:00
Ryan VanderMeulen
8d1ee918ca Merge autoland to m-c. a=merge 2017-01-18 09:24:55 -05:00
Ben Kelly
84612f8a3b Bug 1331193 P2 Don't leave TabChild in inconsistent state if init fails. r=billm 2017-01-17 16:28:40 -08:00
Ben Kelly
49454d31c8 Bug 1331193 Make TabChild handle a nullptr mMessageManager. r=smaug 2017-01-17 16:28:39 -08:00
Kartikaya Gupta
7fad4e88c5 Bug 1330037 - Propagate the CompositorOptions over to TabChild and keep a copy there. r=dvander
MozReview-Commit-ID: IQSm5cHkW4z
2017-01-12 17:29:41 -05:00
Phil Ringnalda
0a5365affd Merge m-c to m-i 2017-01-16 14:50:05 -08:00
Phil Ringnalda
f9ce9768cb Merge m-i to m-c, a=merge 2017-01-16 13:18:17 -08:00
Kartikaya Gupta
f81bebe04a Bug 1331380 - Remove unused kDefaultViewportSize. r=botond
MozReview-Commit-ID: 80gkw0BUErW
2017-01-16 10:25:35 -05:00
Olli Pettay
471b8b0ac3 Bug 1330252, try to avoid flooding child process with repeated key events, r=masayuki 2017-01-16 11:29:37 +02:00
Kartikaya Gupta
9bd5398b27 Merge m-c to graphics
MozReview-Commit-ID: 74RpKOFNVx4
2017-01-05 09:28:19 -05:00
Kartikaya Gupta
70e5d37aaa Merge m-c to graphics
MozReview-Commit-ID: GuKJhfxDhij
2017-01-04 10:53:15 -05:00
Morris Tseng
565444eb81 Merge m-c to graphics. 2016-12-29 18:26:24 +08:00
Masayuki Nakano
9f497a91cb Bug 1332195 part.2 Fix some nits of event handlers in TabChild, TabParent and PuppetWidget r=smaug
This patch fixes:

* some long lines
* some odd indent
* wrapping one line blocks with {}
* removing B2G specific block

in event handlers in TabChild, TabParent and PuppetWidget.

MozReview-Commit-ID: 6xMsNEDA5nv
2017-01-19 17:57:20 +09:00
Masayuki Nakano
409a8ad618 Bug 1332195 part.1 Event handlers in TabChild, TabParent and PuppetWidget should use "a" prefix for their arguments r=smaug
MozReview-Commit-ID: 2c7cbOigwfU
2017-01-19 17:27:15 +09:00
Botond Ballo
f846c3557d Bug 1326290 - Correct sequencing of layer transaction and StartAsyncScrollbarDrag messages. r=kats
In cases where a mouse click that starts a scrollbar drag is also what
layerizes the scroll frame, the StartAsyncScrollbarDrag message needs to
arrive after the layer transaction. This patch ensures it does.

MozReview-Commit-ID: A02qRb6yWxg
2017-01-04 13:42:36 -05:00
Kartikaya Gupta
10b17b0728 Merge m-c to graphics
MozReview-Commit-ID: EVRgJB0urSI
2016-12-27 09:33:52 -05:00
Kartikaya Gupta
3050106083 Merge m-c to graphics
MozReview-Commit-ID: 6XqNGxF5EiQ
2016-12-23 10:14:44 -05:00
Kartikaya Gupta
26f427122c Merge m-c to graphics
MozReview-Commit-ID: E0Sr26LKcZx
2016-12-21 10:16:15 -05:00
Ho-Pang
01ad6dda9d Bug 1299209 - Part 1: Passing PointerId when a new WidgetMouseEvent is created. h=sshih, r=smaug 2016-12-20 22:53:00 -05:00
Olli Pettay
3898f7d882 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8 2017-01-03 21:47:55 +02:00
Kartikaya Gupta
93a684c568 Merge m-c to graphics
MozReview-Commit-ID: D5tvjU423oT
2016-12-16 10:23:35 -05:00
Samael Wang
53bcab1c16 Bug 1323651 - Rename Partial/GroupedSessionHistory to Partial/GroupedSHistory. r=ehsan
MozReview-Commit-ID: G2GW4ZPIfH3
2016-12-22 16:06:50 +08:00
Tom Tromey
a4b717ab39 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs
2016-12-15 20:16:31 -07:00
Kartikaya Gupta
72176af814 Merge m-c to graphics
MozReview-Commit-ID: Cx7uECrZfsq
2016-12-09 15:23:01 -05:00
Kartikaya Gupta
17245d5f13 Merge m-c to graphics
MozReview-Commit-ID: KhxBqJbwxv8
2016-12-06 23:45:24 -05:00
Andrea Marchesini
46a9207d60 Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
sotaro
f218c79e98 Bug 1321183 - Deliver TextureFactoryIdentifier r=nical 2016-12-01 12:02:37 +09:00
sotaro
bce64e2754 Bug 1320628 - Fix background tab crash when e10s is enabled r=nical? 2016-11-30 11:59:14 +09:00
Sebastian Hengst
fc3db3338c Backed out changeset e9d8a75a0dcc (bug 1303096) for failing various tests on Android 4.3 debug (e.g. test_saveHeapSnapshot_e10s_01.html). r=backout 2017-02-05 10:26:28 +01:00
Brad Lassey
c50cf62b3a bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
Kartikaya Gupta
0d98900a4a Bug 1331509 - Always return the correct APZ state, since we should have it. r=dvander
MozReview-Commit-ID: CrLri2Qucj0
2017-01-17 15:52:46 -05:00
Kartikaya Gupta
7d46059207 Bug 1331509 - Extract the InitRenderingState function in TabChild and invoke it earlier from TabParent. r=dvander
MozReview-Commit-ID: 5nwvKLRYpx7
2017-01-17 15:52:45 -05:00
Kartikaya Gupta
4a5f3967a9 Bug 1331509 - Rearrange TabChild::RecvShow to make it a bit more obvious how InitRenderingState can be extracted. r=dvander
MozReview-Commit-ID: AnOnBd5Wqs9
2017-01-17 15:52:45 -05:00
Morris Tseng
876f0e708e Merge mozilla-central to graphics. 2016-11-28 10:46:02 +08:00
Aaron Klotz
d95a08fb8f Bug 1314707: Replace PDocAccessible::SendCOMProxy with new parameter to PDocAccessibleConstructor and async RecvParentCOMProxy call in child. Sending of a11y events from child to parent is now deferred until DocAccessibleChild::RecvParentCOMProxy is called; r=tbsaunde
MozReview-Commit-ID: DjxSfLJQtTu
2016-12-01 16:28:54 -07:00
Kartikaya Gupta
a22dff19b1 Merge m-c to graphics
MozReview-Commit-ID: E9vVT9ZNSAJ
2016-11-22 10:21:45 -05:00
Kartikaya Gupta
d4307a1607 Merge m-c to graphics
MozReview-Commit-ID: LrF5oQpIOhC
2016-11-18 11:39:22 -05:00
Jessica Jong
6cdf3f4c02 Bug 1309587 - PreventDefault() on suppressed/delayed key events that are sent back to parent. r=smaug 2016-11-21 06:55:00 -05:00
Ehsan Akhgari
3c90e541e0 Bug 1318210 - Remove nsIAppsService; r=baku 2016-11-17 10:41:36 -05:00
Kartikaya Gupta
e00de4af88 Merge m-c to graphics
MozReview-Commit-ID: 5qSWNo7gKJK
2016-11-17 10:13:36 -05:00
Ehsan Akhgari
245916c3cc Bug 1318209 - Remove mozIApplication; r=baku 2016-11-17 10:12:43 -05:00
Mozilla Graphics Team
1f923fd38d Bug 1317774 - Add non-gfx code needed to use WebRender in gecko. r=gfx
This completes the migration of code from the github branch to the graphics
project repo. At this point all webrender-related code should be disabled
unless --enable-webrender is provided in the mozconfig.

MozReview-Commit-ID: Dea8rxM6UPL
2016-11-16 08:54:51 -05:00
Tomislav Jurin
9ff3007b90 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Kan-Ru Chen
1b9dd22e2d Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00