Commit Graph

548 Commits

Author SHA1 Message Date
Kan-Ru Chen
f8100451db 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
Valentin Gosu
656872593e Bug 1315302 - Remove signedPkg from origin attributes r=baku
MozReview-Commit-ID: L1xvRgeO6De

--HG--
extra : rebase_source : dee943054af499b6e3f0aca2801fa9414f5567be
2016-11-06 16:15:36 +01:00
Valentin Gosu
6f5671acdd Bug 1307467 - Remove code that preopens and sends application.zip fd (bug 835698) r=bagder,baku
MozReview-Commit-ID: 5nER54Dq3eI

--HG--
extra : rebase_source : b37998bcaa17741dd8dd4d5d547e39d6650359be
2016-10-21 00:09:07 +02:00
Phil Ringnalda
b6eec64324 Merge m-c to a CLOSED TREE m-i
MozReview-Commit-ID: 2JxLeQ8GYIX
2016-10-27 20:36:38 -07:00
Aaron Klotz
e6b863ac53 Bug 1309236: Move setting of MSAA ID to PDocAccessibleConstructor; r=tbsaunde
MozReview-Commit-ID: D5iFud9DiEh

--HG--
extra : rebase_source : d1a1ec17258e9be8023dd730593745d32a96cc0f
2016-10-27 13:16:24 -06:00
Neil Deakin
8ff837e37c Bug 1301673, properly handle disabled drag feedback image and failed drag feedbacks in content processes, r=tn 2016-10-19 15:01:39 -04:00
Valentin Gosu
f6de8cad91 Bug 1307491 - (Part 5) Remove support for per-app-offline in dom/ipc [nukeb2g] r=baku
MozReview-Commit-ID: 88aPx7K7OsC

--HG--
extra : rebase_source : 1b1eeed587600316a3cb10512cbd5f5182de3f2d
2016-10-17 03:59:05 +02:00
Xidorn Quan
52de92c14c Bug 1304692 - Make puppet widget get coordinate rounding from parent. r=smaug
MozReview-Commit-ID: A3ornUMDmt8
2016-09-27 16:37:07 +10:00
Samael Wang
ff785edf2c Bug 1276553 - Part 4: Implement frameloader level GroupedSHistory. r=smaug
MozReview-Commit-ID: E5hOVOPW0nl

--HG--
extra : rebase_source : 24b660929ee30869ef1d3294fea4dcae9bd9e8e4
2016-10-14 15:31:02 +08:00
David Anderson
2735c8bee7 Support tab-switching in the GPU process. (bug 1298507, r=billm) 2016-09-23 18:12:45 -07:00
Kartikaya Gupta
6d057a3060 Bug 1298173 - Push HandleTap from the GPU process back to the parent process before passing it on to the child process. r=dvander
Sending it back via the parent process ensures that it will take the same path
that regular touch events do, and so guarantees that the Tap event won't overtake
the touch events and get dispatched to content first.

MozReview-Commit-ID: 8TiHY2PFPvE
2016-09-21 10:26:33 -04:00
David Anderson
f2cfe86ef2 Recreate PLayerTransactions for TabChildren when the compositor restarts. (bug 1300936 part 4, r=mattwoodrow, r=billm)
--HG--
extra : rebase_source : ea92ecc5738e830a86f3b323d262f3537afe4534
2016-09-20 01:19:32 -07:00
Tooru Fujisawa
e933275fe8 Bug 92737 - Part 3: Open multiple tabs when multiple items are dropped on remote content area. r=enndeakin 2015-11-11 07:35:12 +09:00
Bill McCloskey
50c44c717c Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-09-16 20:35:11 -07:00
Jimmy Wang
ff4e05f90e Bug 1297539 - Add IPC message, PasteTransferable, to call PasteTransferable via a controller on the content process to handle the command content event, "pasteTransferable". New method nsContentUtils::IPCTransferableToTransferable since ContentParent::RecvSetClipboard and TabChild::RecvPasteTransferable both require the same setup to make a transferable. r=mrbkap
MozReview-Commit-ID: 3I443eBOPEO

--HG--
extra : rebase_source : 86dbafb500c68e9a1f9976a6016d4e42311a4de8
2016-08-30 21:30:45 -04:00
Sebastian Hengst
43c6737660 Backed out changeset 53295d9cc8ef (bug 1297539) for failing own test /browser_bug1297539.js. r=backout 2016-09-01 09:14:28 +02:00
Jimmy Wang
daac24680a Bug 1297539 - Add IPC message, PasteTransferable, to call PasteTransferable via a controller on the content process to handle the command content event, "pasteTransferable". New method nsContentUtils::IPCTransferableToTransferable since ContentParent::RecvSetClipboard and TabChild::RecvPasteTransferable both require the same setup to make a transferable. r=mrbkap
MozReview-Commit-ID: 3I443eBOPEO

--HG--
extra : rebase_source : 8cdd9d917685240c64155bd230405876c2c2258e
2016-08-30 21:30:45 -04:00
Wes Kocher
b38dbd1378 Backed out 2 changesets (bug 1279086) for causing painting issues a=backout
Backed out changeset b1c893387fdd (bug 1279086)
Backed out changeset 277c54118c8a (bug 1279086)
2016-08-22 16:00:34 -07:00
Bill McCloskey
3a7ee5574b Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-08-19 14:41:26 -07:00
Wes Kocher
3a31be9c17 Backed out 2 changesets (bug 1279086) for failures in browser_menu_item_01.js a=backout
Backed out changeset 00bb53b58e96 (bug 1279086)
Backed out changeset cff59fe2b933 (bug 1279086)
2016-08-19 12:31:55 -07:00
Bill McCloskey
3799faa926 Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-08-19 09:59:40 -07:00
Kartikaya Gupta
85fd233d34 Bug 1250024 - Fix touch-tap event coordinate transformations when a fullzoom is applied. r=botond
There were a couple of problems when delivering tap gestures to content with
full zoom applied. One was that the ConverToGecko function converted the coords
into "CSS pixel" space by using the web content's CSS-to-LD scale, but also
applied that on the translation from the chrome area. Moving that conversion
to later in the process (after the coords got passed through TabParent::
AdjustTapToChildWidget) corrected that issue.

The other problem was that bits of code in APZEventState and APZCCallbackHelper
were using the widget->GetDefaultScale() value as the CSS-to-LD scale, but that
omitted the full zoom value. Getting the CSS-to-LD scale from the presShell and
propagating that through corrected that issue.

MozReview-Commit-ID: KdrkdEZslHo
2016-07-29 14:44:29 -04:00
Andrea Marchesini
ddb0a1be85 Bug 1279503 - part 2 - moving BrowserConfiguration in the ContentChild::InitXPCOM, r=gabor 2016-07-11 00:28:13 +02:00
Andrea Marchesini
0e242f0ac7 Bug 1279503 - part 1 - removed a non-used variable in BrowserConfiguration, r=gabor 2016-07-11 00:28:10 +02:00
Jordan
f35a9b375c Bug 825294 - Add framework for datepicker widgets to input[type=date]. r=smaug
-Add framework for datepicker widgets
-Split date input preference from dom.experimental_forms to dom.forms.date
2016-06-20 15:55:00 +02:00
Cervantes Yu
3115f628a1 Bug 1272018 - Use shared memory to transfer drag image data. r=nical
MozReview-Commit-ID: K5r9LBQ1FO0
2016-06-15 13:49:13 +01:00
Mike Conley
f13dfb3a18 Bug 1278989 - Make parent outer window available on TabParent. r=mrbkap
MozReview-Commit-ID: 9nS1zQkGmu3

--HG--
extra : rebase_source : 29a22118d6670669b98ee4506ec1a2e4ed25521d
2016-04-27 15:40:36 -04:00
Makoto Kato
d8ef4deef4 Bug 1177943 - Part 5. Add IPC for e10s support. r=masayuki
Implement LookUpDictionary to PuppetWidget and PBrowser for e10s.

MozReview-Commit-ID: 44SrfuLJoCF
2016-04-26 17:18:04 +09:00
Blake Kaplan
bcf0609588 Bug 1267844 - fix bustage r=bustage 2016-05-17 15:56:52 -07:00
Blake Kaplan
75c1fabad5 Bug 1267844 - Make swapping render frames swap update observers too. r=mconley 2016-05-17 15:43:27 -07:00
Neil Deakin
405358d4b3 Bug 1101975, handle access keys in content process before menus, r=masayuki 2016-05-11 08:56:42 -04:00
Gabor Krizsanits
2585c3f697 Bug 1255138 - Window resize support from JS for e10s. r=mconley 2016-05-11 11:44:57 +02:00
Masayuki Nakano
b332dc9ff4 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

--HG--
extra : rebase_source : 8140456de278956d2d594e85c7b397ae366b4962
2016-04-19 20:09:37 +09:00
Kartikaya Gupta
f72cd76655 Bug 1250505 - Convert SynthesizeNativeTouchPoint and SynthesizeNativeTouchTap to take a LayoutDeviceIntPoint instead of a ScreenPoint. r=njn
MozReview-Commit-ID: EybGq9b1B8Z

--HG--
extra : rebase_source : defc16fc066a3a40480fa4c94f3a742a267344a8
2016-04-15 06:39:36 -04:00
Haik Aftandilian
50fdb00a05 Bug 1258925 - [e10s] Browser window is resized when click. r=gabor
Adds a new IPC message to the PBrowser protocol exposing
the number of tabs in the current window to the content
process. This allows the content process to reject window.resize*
calls in cases where there is more than one tab in the
window.

--HG--
extra : histedit_source : dfa6b7b71882a1583cbbe90c2a7327cb212ed15d
2016-04-14 14:03:00 -04:00
Gijs Kruitbosch
0385e66575 Bug 1236991 - part 1: allow forwarding label direction through nsITooltipTextProvider, r=enndeakin
MozReview-Commit-ID: 68LvgKvVXmX

--HG--
extra : rebase_source : 17a188bf47efc3ca78ae6440ab84e6c6e4c06964
extra : histedit_source : 9c545f513a3b6e61d0bdb8d4f5fb3dbad9b2bbaf
2016-04-12 21:47:25 +01:00
Henry Chang
ffee6a2e09 Bug 1260876 - Remove process switch code for signed package code (added by Bug 1186290). r=valentin. 2016-04-12 10:53:40 +08:00
Andrew McCreight
33947a1b40 Bug 1263235, part 1 - Move PBrowser::AsyncMessage's data argument last. r=smaug
This will reduce internal memory fragmentation for the IPC::Message used to make this call.
2016-04-09 06:50:59 -07:00
Mike Conley
b73d131e88 Bug 1251032 - Send RenderFrame info down to child in BrowserFrameOpenWindow. r=kanru
MozReview-Commit-ID: LsFr95rujEJ

--HG--
extra : rebase_source : 3589facedf84f6d46890de002a48207907e50476
2016-03-31 00:58:05 -04:00
Mike Conley
3b67a7e41b Bug 1251032 - Send RenderFrame info down to child in CreateWindow message. r=kanru
MozReview-Commit-ID: DcsLYEHY6pL

--HG--
extra : rebase_source : 38642586bd587d2603ae8f6d7f8a39c66a02f2c5
2016-03-29 14:32:41 -04:00
Kartikaya Gupta
0f4af98816 Bug 1252262 - Don't combine the client offset into the outer rect for the child process. r=jimm
MozReview-Commit-ID: BslkWk7ndkx
2016-03-08 14:14:43 -05:00
Jonathan Watt
a73bd8c354 Bug 1253094, part 1 - Stop using DebugOnly for class/struct members in dom/. r=baku
MozReview-Commit-ID: ErWZs9oV4WS
2016-02-26 15:52:06 +00:00
Brendan Dahl
1e077c8a5f Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-23 17:10:00 +01:00
Blake Kaplan
89b19e3239 Bug 1183915 - Put images dragged from content processes in the drag data in the parent. r=smaug 2016-02-23 16:31:29 -08:00
Alexandre Lissy
dcf3f71348 Bug 1249280 - Fix coordinates of APZ-detected gestures when crossing process boundaries. r=kats
MozReview-Commit-ID: 9xPcG9uERB0
2016-02-19 21:46:31 -05:00
Peter Van der Beken
1900a0608e Bug 1020199 - Make sure APZ works with nested oop iframe. r=kats, r=dvander.
--HG--
extra : rebase_source : be158c15f328b19be4e4189c1b755841caabcb10
2016-01-08 20:17:39 +01:00
Wes Kocher
ddcc30c564 Backed out changeset 4fa1296bd773 (bug 1104916) for win debug m(oth) permafails CLOSED TREE
--HG--
extra : commitid : HW3icAqLZUB
2016-02-05 11:42:55 -08:00
Brendan Dahl
b25b48552b Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-04 13:34:00 +01:00
Makoto Kato
ba11a89326 Bug 1243268 - Support ImmSetCandidateWindow(CFS_EXCLUDE) on plugin process. r=masayuki 2016-02-02 17:05:56 +09:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00