Commit Graph

865 Commits

Author SHA1 Message Date
Olli Pettay
a369ea3eeb Bug 936092, initial DnD support for e10s, r=enndeakin,karlt 2015-04-08 21:48:11 +03:00
Ryan VanderMeulen
98d2277171 Backed out changesets 33d37539c4ab and 55524bdeb708 (bug 936092) for suspicion of causing e10s test_bug417418.html asserts on Linux.
CLOSED TREE
2015-04-08 13:52:21 -04:00
Olli Pettay
41380c199c Bug 936092, initial DnD support for e10s, r=enndeakin,karlt 2015-04-08 18:30:03 +03:00
Ting-Yu Chou
25df92a2d7 Bug 1121905 - Reorder frame loading sequence to send content process the URL earlier. r=kanru 2015-04-07 10:56:10 +08:00
David Parks
8de2397da1 Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-04-01 12:36:41 -07:00
Bill McCloskey
061f09ba1e Back out bug 1075670 2015-03-30 20:13:07 -07:00
Bill McCloskey
fcd90b7e73 Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-03-26 14:17:29 -07:00
Maksim Lebedev
2947df3cef Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04:00
David Anderson
049e818efb Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
Ehsan Akhgari
33bb32f549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Kartikaya Gupta
c318671429 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Bill McCloskey
e7aee957c0 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-19 06:43:46 -07:00
Kartikaya Gupta
bda9d932e3 Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
Phil Ringnalda
bc03d24e02 Backed out 3 changesets (bug 1126089) for ASan e10s bc1 failures and green-crashes
CLOSED TREE

Backed out changeset 9af9111e9c27 (bug 1126089)
Backed out changeset 288efd5e2ca0 (bug 1126089)
Backed out changeset 3bcebfd13538 (bug 1126089)
2015-03-18 21:51:34 -07:00
Bill McCloskey
d15acaca2d Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-18 16:09:27 -07:00
Botond Ballo
b7b1daa972 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
Botond Ballo
8d53c88caa Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats 2015-03-06 13:54:10 -05:00
Ryan VanderMeulen
a12c6d2dfc Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures. 2015-03-13 13:42:57 -04:00
Bill McCloskey
12af381a9e Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-13 08:24:20 -07:00
Kearwood (Kip) Gilbert
957ced20f0 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)
2015-02-19 15:53:30 -08:00
David Zbarsky
54eea5ad10 Bug 1139258 - Use ScreenIntSize in PBrowser::Show/UpdateDimensions r=botond 2015-03-05 04:13:05 -05:00
Ryan VanderMeulen
88718db0f7 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
Botond Ballo
8cfa4ebfb0 Bug 943537 - Fix bustage introduced by incorrect rebase across bug 1133492, to reopen a CLOSED TREE. r=bustage 2015-03-02 17:03:07 -05:00
Botond Ballo
cec8c47e17 Bug 943537 - Handle modifiers on tap events in RemoteContentController and ChromeProcessController. r=kats,mbrubeck 2015-03-02 16:41:02 -05:00
David Parks
765874f6fb 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
Maksim Lebedev
f389e8e2b3 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Kartikaya Gupta
b204ae6120 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
e5dc138581 Bug 1136322 - Optimize anon scopes from CC graph, r=mccr8 2015-02-25 00:23:53 +02:00
Ryan VanderMeulen
5ce7838926 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
5ba7cdfc47 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
Bill McCloskey
84d5b3e69e Bug 1133594 - Make a common base class for message manager script globals (r=smaug) 2015-02-19 17:12:11 -08:00
Bill McCloskey
37371d7209 Bug 1133594 - Rename nsFrameScriptExecutor to nsMessageManagerScriptExecutor (r=smaug) 2015-02-19 17:10:44 -08:00
Gabriele Svelto
648983dd11 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
51e2cb7da1 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 Parks
40a829791b Bug 1075670 - Fix PuppetWidget calculations wrt client offset r=smaug 2015-02-04 04:00:28 -08:00
Botond Ballo
898f44f6bb Bug 1127066 - Implement ChromeProcessController::HandleLongTapUp(). r=kats
--HG--
extra : source : 5857a51daa23da0090b92467cc7fe5c23354b981
2015-02-09 18:20:15 -05:00
Botond Ballo
3990a194be Bug 1127066 - Extract an APZEventState class from TabChild. r=kats
--HG--
extra : source : fc54993e0c836ca01f3900072227938e8c4b938c
2015-02-09 14:05:18 -05:00
Botond Ballo
2a72a77d84 Bug 1127066 - Extract SendSetTargetAPZCNotification and its helpers into APZCCallbackHelper. r=kats
--HG--
extra : source : 930454419509346f1002ea7486a128072688a921
2015-02-06 18:11:19 -05:00
Botond Ballo
412107100c Bug 1127066 - Extract a helper to apply the APZ callback transform to a touch event. r=kats
--HG--
extra : source : d938af56c1d8225d794f879a5771c9a17d6a402b
2015-02-05 18:02:27 -05:00
Botond Ballo
eaf4eff1d2 Bug 1127066 - Fold APZCCallbackHelper::UpdateCallbackTransform() into ScrollFrame(). r=kats
--HG--
extra : source : 5b78d9e9ba84408c898d9e0ab55ae30f437792c8
2015-01-28 17:40:29 -05:00
Andrea Marchesini
3557feb052 Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm 2015-02-11 06:53:00 -05:00
Carsten "Tomcat" Book
27cd4c3c96 Backed out 6 changesets (bug 1075670) for bustage on a CLOSED TREE
Backed out changeset 4d68750b4e28 (bug 1075670)
Backed out changeset 4d34eb58c46d (bug 1075670)
Backed out changeset d3ac4fd82311 (bug 1075670)
Backed out changeset 8b72b1201661 (bug 1075670)
Backed out changeset cd6cf15b27cc (bug 1075670)
Backed out changeset bf710daef92b (bug 1075670)
2015-02-11 16:03:06 +01:00
David Parks
7aa8617a05 Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
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
Carsten "Tomcat" Book
a0acb2cde4 Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE 2015-02-11 13:29:16 +01:00
Andrea Marchesini
937507217d Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm 2015-02-11 10:10:23 +01:00
Nicholas Nethercote
6ee3666899 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Olli Pettay
b7b3faa4e9 Bug 1124245, nsGlobalWindow::IsActive shouldn't depend on the state in nsFocusManager, r=Enn
--HG--
extra : rebase_source : 5fcd4611cc73651d9f7d1d498808847f26ff1d6b
2015-02-06 18:26:29 +02:00
Phil Ringnalda
8b344901ef Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
dff0b85534 Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm 2015-02-06 23:31:33 +00:00
Andrew McCreight
8413cc973c Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Robert O'Callahan
74edebf611 Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Jim Mathies
b27fb724f7 Bug 1129575 - In the PPluginWidget Create handler fail via return result vs. abort the child process when there's no parent window available. r=roc 2015-02-05 15:48:44 -06:00
Nicholas Nethercote
3629781b69 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Kan-Ru Chen (陳侃如)
8892028b83 Bug 1129311 - Don't use sNestedTabChildMap directly. r=smaug 2015-02-05 17:24:39 +08:00
David Zbarsky
1330fc1496 Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Botond Ballo
e06320456a Bug 1005815 - Extract TabChild::FireSingleTapEvent and its helpers into APZCCallbackHelper. r=kats,smaug 2015-01-21 19:46:27 -05:00
Bill McCloskey
144291b5ce Bug 1123461 - Rename CpowIdHolder to CrossProcessCpowHolder (r=dvander) 2015-01-26 13:32:31 -08:00
Bill McCloskey
411974faf9 Bug 1123461 - Make a real interface for js/ipc (r=dvander) 2015-01-26 13:32:18 -08:00
Ehsan Akhgari
ef8ceb114c Bug 1123016 - Clarify the ownership of DOMEventTargetHelper::mParentObject/mOwnerWindow; r=smaug
This patch converts DOMEventTargetHelper::mParentObject into an
nsWeakPtr, and adds fatal assertions to ensure that all future
nsIGlobalObject implementations support weak references.  It also marks
DOMEventTargetHelper::mOwnerWindow as a non-owning reference.
2015-01-23 08:37:37 -05:00
Bill McCloskey
927b599251 Bug 1123090 - Pass URLs loaded during CreateWindow to content process (r=bent) 2015-01-22 20:00:18 -08:00
Wes Kocher
604504d962 Backed out 3 changesets (bug 1123461, bug 1123090) for windows build bustage
Backed out changeset 2c442905d0af (bug 1123461)
Backed out changeset d7aa4c72ebab (bug 1123461)
Backed out changeset 8bb689ec8086 (bug 1123090)
2015-01-22 21:04:33 -08:00
Bill McCloskey
d4364ab812 Bug 1123461 - Rename CpowIdHolder to CrossProcessCpowHolder (r=dvander) 2015-01-22 20:00:19 -08:00
Bill McCloskey
72bdc7e0df Bug 1123461 - Make a real interface for js/ipc (r=dvander) 2015-01-22 20:00:19 -08:00
Bill McCloskey
4e9790d228 Bug 1123090 - Pass URLs loaded during CreateWindow to content process (r=bent) 2015-01-22 20:00:18 -08:00
Dimi Lee
1b2902b630 Bug 1105666 - [BrowserAPI] Add an API to indicate this iframe could receive NFC event. r=smaug, kanru, yoshi 2015-01-22 17:40:17 +08:00
George Wright
b86f5009bf Bug 1082127 - Implement TabChild::SetDimensions so that window.moveTo/resizeTo work with e10s r=smaug 2015-01-19 15:55:02 -05:00
Botond Ballo
eeb666d494 Bug 1122794 - Call SetResolutionAndScaleTo() instead of SetResolution() consistently in TabChild. r=kats 2015-01-16 18:49:42 -05:00
Botond Ballo
7f15a6e448 Bug 1120566 - Adjust points sent from APZ to Gecko for the 'scale-to-resolution' transform in APZCCallbackHelper::ApplyCallbackTransform. r=kats 2015-01-16 13:48:33 -05:00
Surabhi Anand
c2f9192a8a Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats 2015-01-16 16:15:52 -05:00
Kyle Huey
591c252165 Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Bill McCloskey
935f22f24f Bug 567058 - Stop using intr messages for window.open (r=bent) 2015-01-16 10:07:50 -08:00
Bill McCloskey
fa34421c96 Bug 567058 - Refactor b2g ProvideWindow to prepare for desktop changes (r=bent) 2015-01-16 10:06:56 -08:00
Ryan VanderMeulen
984772aeca Backed out changesets 6295dbaa06de, 66e037e5ff7d, and 4a1171cc4dac (bug 567058) for being the likely cause of the spike in e10s test_pluginstream_err.html crashes.
CLOSED TREE
2015-01-13 13:28:36 -05:00
Bill McCloskey
f47ead9c78 Bug 567058 - Stop using intr messages for window.open (r=bent) 2015-01-12 20:36:42 -08:00
Bill McCloskey
ff286d94dc Bug 567058 - Refactor b2g ProvideWindow to prepare for desktop changes (r=bent) 2015-01-12 20:36:04 -08:00
Bill McCloskey
e3e250b96d Bug 1103036 - Ensure __delete__ message from TabChild doesn't get sent after ActorDestroy (r=bent) 2015-01-06 21:42:00 -08:00
Fernando Jimenez Moreno
e7366b0d51 Bug 1101029 - Overlay iframe on top of front-most app. r=roc, sicking 2015-01-09 09:55:18 +01:00
Botond Ballo
2b83564d48 Bug 1076241 - Get rid of the nontransient async transform. r=kats 2014-12-19 18:53:05 -05:00
Phil Ringnalda
dee4a5a699 Back out 3 changesets (bug 1103036) for b2g xpcshell bustage
CLOSED TREE

Backed out changeset e6ab63938473 (bug 1103036)
Backed out changeset 900bb5fcdd36 (bug 1103036)
Backed out changeset bc53d85bc1b2 (bug 1103036)
2015-01-06 23:33:50 -08:00
Bill McCloskey
d4b49eda76 Bug 1103036 - Ensure __delete__ message from TabChild doesn't get sent after ActorDestroy (r=bent) 2015-01-06 21:42:00 -08:00
Leonid V. Fedorenchik
f7a220a203 Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats 2014-12-27 12:48:27 -05:00
Prabhjyot Singh Sodhi
78f5368e85 Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats 2014-12-18 19:33:18 -05:00
Chih-Kai (Patrick) Wang
f3034a9b45 Bug 970307: Part 3: Reinitialize modules after fork. r=fabrice 2014-12-18 17:01:33 +08:00
Ryan VanderMeulen
d2ebc2ac1b Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-17 20:53:20 -05:00
Prabhjyot Singh Sodhi
7ddff31846 Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats 2014-12-17 17:14:05 -05:00
Mike Conley
fc294b23df Bug 1111957 - Invalidate mDPI and mDefaultScale in TabChild when switching displays. r=fabrice.
Bug 1107259 made TabChild cache the display DPI and default scale more aggressively, and
we need to invalidate those caches when switching displays, otherwise we can get weird
scaling behaviours when switching between displays with different DPIs and scales.

--HG--
extra : rebase_source : cccbdae40113ae1a1b76d020ddc93e7b393fce61
extra : amend_source : d2664b4ea30342476e67da2a16315be4c1920abf
2014-12-16 11:25:15 -05:00
Kartikaya Gupta
432037c65e Bug 1083818 - Bypass the 10ms delay if the element being activated won't visually change. r=botond 2014-12-15 13:59:02 -05:00
Fabrice Desré
f12135dc84 Bug 1107259 - Remove the sync IPC getDPI() and getDefaultScale() during app startup. r=thinker 2014-12-12 09:50:46 -08:00
Josh Aas
6141b5290e Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending) 2014-12-11 08:44:07 -06:00
Ehsan Akhgari
3023408a90 Bug 1109694 - Fix more bad implicit constructors in DOM; r=baku 2014-12-10 17:49:09 -05:00
Nathan Froyd
9ccc8d82df Bug 1095543 - remove unnecessary nsInterfaceHashtable.h includes; r=ehsan 2014-11-07 08:52:43 -05:00
Neil Deakin
08bdf771e0 Bug 1060529, send the enabled state of child process commands to the parent on update, without the test, r=smaug,ehsan 2014-12-09 10:48:27 -05:00
David Anderson
97b4968185 Add support for mouse wheel transactions. (bug 1013432 part 6, r=kats)
--HG--
extra : rebase_source : 7230d0bac38e3faf3c7da2ecaf406b2e02f51146
2014-12-09 02:40:26 -08:00
David Anderson
3061888891 Rename ContentReceivedTouch to ContentReceivedInputBlock. (bug 1013432 part 3, r=kats)
--HG--
extra : rebase_source : ee0d05d4774fac9fb34297953e90e61f1d979d5d
2014-12-09 02:35:12 -08:00
Wes Kocher
4f38e5819e Backed out 2 changesets (bug 1060529) for introducing a new intermittent bc1 orange
Backed out changeset 5ddd9eb25925 (bug 1060529)
Backed out changeset d4f962fb38be (bug 1060529)
2014-12-08 16:40:55 -08:00
Neil Deakin
bf446d189e Bug 1060529, send the enabled state of child process commands to the parent on update, now with improved test, r=smaug,ehsan 2014-12-08 08:12:22 -05:00
Fabrice Desré
10b2fef7f6 Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Carsten "Tomcat" Book
398c852277 Backed out changeset fb224386bea8 (bug 1003848) for bustage on a CLOSED TREE 2014-12-03 16:43:15 +01:00
Fabrice Desré
b1bbbaf15b Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Neil Deakin
d7fab6a6dd Bug 1072342, propagate the window activation state down to child process windows, r=smaug,mstange 2014-11-27 08:28:26 -05:00