Commit Graph

2411 Commits

Author SHA1 Message Date
Wes Kocher
01e006a903 Merge inbound to m-c a=merge CLOSED TREE 2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
6541acdb04 Backed out 7 changesets (bug 1075670) for causing bug 1139010.
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)

CLOSED TREE
2015-03-03 18:44:56 -05:00
Mike Conley
ce76729963 Bug 1066812 - Set AbortOnError in the ContentProcess on initialization. r=billm.
This will cause the content process to take itself down in the event that it
loses communication with the parent process. This case is particularly
important for the case where the parent process crashes while the content
process is blocked or busy on the main thread, as the content process will
no longer continue to exist as a zombie process, but will shut down after
a short delay.

--HG--
extra : rebase_source : c34e11451f58252ad44b1e6e46b01a0b4253fec4
2015-02-13 14:10:56 -05:00
Anish
4063a569ed Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Daosheng Mu
73f4a67965 Bug 1133391 - Remove unused variables in TabParent::RecvDispatchAfterKeyboardEvent. r=smaug. 2015-03-02 14:31:40 -08:00
Botond Ballo
749210580d Bug 943537 - Fix bustage introduced by incorrect rebase across bug 1133492, to reopen a CLOSED TREE. r=bustage
--HG--
extra : rebase_source : 2cb963d066d439a39a4eb4c403452f18eaabdf3b
2015-03-02 17:03:07 -05:00
Botond Ballo
23539dce4e Bug 943537 - Handle modifiers on tap events in RemoteContentController and ChromeProcessController. r=kats,mbrubeck
--HG--
extra : rebase_source : 8fc78cab591b0da3622b57d9d351775fca529f6e
2015-03-02 16:41:02 -05:00
Botond Ballo
6f8bf1747c Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
--HG--
extra : rebase_source : f931503087e1a13725c9a3a398d49111e060e76e
2015-03-02 16:38:07 -05:00
Ryan VanderMeulen
2bb894faa2 Backed out changeset 3e9cc0ba5dfb (bug 1066812) for suspicion of causing B2G Nuwa mochitest crashes on a CLOSED TREE. 2015-03-02 11:58:12 -05:00
Mike Conley
66da6c097f Bug 1066812 - Set AbortOnError in the ContentProcess on initialization. r=billm.
This will cause the content process to take itself down in the event that it
loses communication with the parent process. This case is particularly
important for the case where the parent process crashes while the content
process is blocked or busy on the main thread, as the content process will
no longer continue to exist as a zombie process, but will shut down after
a short delay.

--HG--
extra : rebase_source : 52799d2cacdc72ca0c36200320b249961a3b638d
2015-02-13 14:10:56 -05:00
David Parks
8e3fdd1eb4 Bug 1075670 - Use previous function for calculating process offset. r=smaug
On B2G, the primary frame for tab content was not giving the correct process offset so we revert back to the mechanism we used to have in nsSubdocumentFrame.
2015-02-24 11:06:57 -08:00
David Parks
00002f7d3f Bug 1075670 - Fix PuppetWidget calculations wrt client offset. r=smaug
Change the PuppetWidget from defining screen coordinates from tab-content-relative to being based on actual screen geometry. PuppetWidgets can have position. In the parent process, the widget has a position and a separate client position (that includes OS window chrome... on Linux and Windows as others have no chrome). In the child process, the widget (non-origin) position, whose calculation compensates for the OS window decoration.
2015-02-04 04:00:28 -08:00
David Parks
31f835e4bf Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
David Parks
218f2707a8 Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome TopWindowRoot.  When the window is moved, the OS widget calls WindowMoved on its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos event.
2015-01-26 11:45:54 -08:00
Maksim Lebedev
4a533d3199 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Gabriele Svelto
1f8afa872a Bug 1119277 - Remove the process CPU priority parameter and simplify all the associated code. r=khuey, r=dhylands 2015-02-26 12:43:22 +01:00
sarvjeet
07d8696b14 Bug 995394: Removed parts of BrowserElementPanning.js that are only used when APZ is disabled and added that to a separte file BrowserElementPanningAPZDisabled.js r=botond, a=RyanVM
--HG--
extra : amend_source : 5806ad240ace17ce35008e307f89b825ed31d711
2015-02-25 13:33:21 -05:00
Wes Kocher
04a00867d2 Backed out 2 changesets (bug 995394) for m-dt orange on a CLOSED TREE
Backed out changeset a250f116b563 (bug 995394)
Backed out changeset da37f3c9b4ce (bug 995394)
2015-02-26 17:56:14 -08:00
sarvjeet
f8ac4ebec4 Bug 995394: Removed parts of BrowserElementPanning.js that are only used when APZ is disabled and added that to a separte file BrowserElementPanningAPZDisabled.js r=botond 2015-02-25 13:33:21 -05:00
Kartikaya Gupta
2ccb1ce2ad Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Olli Pettay
b894344adc Bug 1136322 - Optimize anon scopes from CC graph, r=mccr8
--HG--
extra : rebase_source : 00388706e9db93fd9995b848ad50a4231e978f88
2015-02-25 00:23:53 +02:00
Blake Kaplan
6c17217f08 Bug 1087646 - Add a test. r=smaug 2015-02-24 12:54:40 -08:00
Ryan VanderMeulen
ec8d7510c3 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
David Parks
2aebe17f86 Bug 1075670 - Use previous function for calculating process offset. r=smaug
On B2G, the primary frame for tab content was not giving the correct process offset so we revert back to the mechanism we used to have in nsSubdocumentFrame.
2015-02-23 13:23:27 -08:00
David Parks
0028da34fb Bug 1075670 - Fix PuppetWidget calculations wrt client offset. r=smaug
Change the PuppetWidget from defining screen coordinates from tab-content-relative to being based on actual screen geometry. PuppetWidgets can have position. In the parent process, the widget has a position and a separate client position (that includes OS window chrome... on Linux and Windows as others have no chrome). In the child process, the widget (non-origin) position, whose calculation compensates for the OS window decoration.
2015-02-04 04:00:28 -08:00
David Parks
72b5e35b57 Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
David Parks
5bb003d264 Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome TopWindowRoot. When the window is moved, the OS widget calls WindowMoved on its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos event.
2015-01-26 11:45:54 -08:00
André Reinald
70a296a23b Bug 1083344 - Tighten rules for Mac OS content process sandbox - "core part". r=smichaud
--HG--
extra : histedit_source : 3c904474c57dbf086365cc6b26a55c34b2b449ae
2015-02-18 14:10:27 +01: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
Bill McCloskey
989fdd3474 Bug 1133594 - Add support for message manager process scripts (r=smaug) 2015-02-19 17:13:02 -08:00
Bill McCloskey
e310fd9b2a Bug 1133594 - Hide nsFrameMessageManager::sChildProcessManager (r=smaug) 2015-02-19 17:12:38 -08:00
Bill McCloskey
3315a6def5 Bug 1133594 - Make a common base class for message manager script globals (r=smaug) 2015-02-19 17:12:11 -08:00
Bill McCloskey
ceab1ef58e Bug 1133594 - Rename nsFrameScriptExecutor to nsMessageManagerScriptExecutor (r=smaug) 2015-02-19 17:10:44 -08:00
Jim Mathies
57bcfa87be Bug 1132874 - Improve PPluginWidget shutdown logic. r=aklotz 2015-02-19 07:05:12 -06:00
Botond Ballo
847508c681 Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
Kartikaya Gupta
b26756534f Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice 2015-02-16 21:41:49 -05:00
Kartikaya Gupta
6ae0cb6aa4 Bug 1131695 - Extract a GetLayoutDeviceToCSSScale helper function in TabParent. r=fabrice 2015-02-16 21:41:48 -05:00
Ryan VanderMeulen
cd46520185 Merge inbound to m-c. a=merge 2015-02-17 14:24:51 -05:00
Gabriele Svelto
fafc282f1a Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats 2015-02-17 10:39:35 -05:00
David Parks
580efcfbe4 Bug 1130051 - Compress mousemove IPDL messages. r=kats
Compress mousemove IPDL messages so that they do not spam the content
process.
2015-02-13 15:34:04 -08:00
David Zbarsky
b3049cb81b Bug 1125040: Use LayoutDeviceIntPoint for GetChildProcessOffset r=botond 2015-02-15 13:52:28 -05:00
Wes Kocher
217a6cabe8 Backed out 2 changesets (bug 1131695) for mochitest-1 failures on a CLOSED TREE
Backed out changeset 13af514d6aea (bug 1131695)
Backed out changeset 6823625f2042 (bug 1131695)
2015-02-13 12:43:20 -08:00
Kartikaya Gupta
9a2e87d83e Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice 2015-02-13 14:33:09 -05:00
Kartikaya Gupta
00d889491c Bug 1131695 - Extract a GetLayoutDeviceToCSSScale helper function in TabParent. r=fabrice 2015-02-13 14:33:09 -05:00
Makoto Kato
d73239b1ac Bug 1121313 - Part 2. Don't generate composition event on child process if parent process doesn't send composition event by NotifyIME. r=masayuki 2015-02-17 11:30:55 +09:00
Carsten "Tomcat" Book
43d92156e1 Backed out changeset 516a170b8fda (bug 1131695) for android m4 perma failure on a CLOSED TREE 2015-02-17 09:28:52 +01:00
Carsten "Tomcat" Book
7871582fa7 Backed out changeset 969d634fe396 (bug 1131695) for android m4 perma failures on a CLOSED TREE 2015-02-17 09:27:25 +01:00
Nigel Babu
be38e0d9c8 Backed out changeset 456038b0bdb5 (bug 1121313) for M1,M2 bustage 2015-02-17 10:15:44 +05:30
Kartikaya Gupta
5c6f96cc56 Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice 2015-02-16 21:41:49 -05:00
Kartikaya Gupta
053ada6777 Bug 1131695 - Extract a GetLayoutDeviceToCSSScale helper function in TabParent. r=fabrice 2015-02-16 21:41:48 -05:00