Граф коммитов

872 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 4bc0549972 Bug 1175442 Make nsContentUtils::SendKeyEvent() take nsIWidget* rather than nsCOMPtr<nsIWidget> r=smaug 2015-06-18 13:41:28 +09:00
Kartikaya Gupta d216c84c8b Bug 1055557 - Ensure the right presShell resolution is used in ApplyCallbackTransform for fennec-apz scenarios. r=botond 2015-06-17 12:34:42 -04:00
Kartikaya Gupta 49c13c1c35 Bug 1055557 - Add a ZoomConstraintsClient class to manage pushing zoom constraints updates to the APZ code. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-17 12:32:42 -04:00
Kartikaya Gupta bd05613425 Bug 1055557 - Move storage of ZoomConstraints from RemoteContentController to APZCTreeManager. r=botond 2015-06-17 12:32:41 -04:00
Masayuki Nakano e4779ba1cf Bug 1175383 TabChild should store PuppetWidget as is rather than as nsIWidget r=smaug 2015-06-17 17:44:50 +09:00
Kartikaya Gupta 815a3d5741 Bug 1163572 - Modify UpdateSubFrame to automatically figure out the nsIContent from the scrollId. r=botond 2015-06-15 14:39:06 -04:00
Kartikaya Gupta 171ee5bc2c Bug 1163572 - Have ChromeProcessController also handle root-frame repaint requests. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-15 14:39:06 -04:00
Kartikaya Gupta ba0013b256 Bug 1163572 - Modify UpdateRootFrame to automatically compute the nsIContent* and nsIPresShell* from the metrics. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-15 14:39:06 -04:00
David Parks c485e27130 Bug 1125325 - Make TabParent/TabChild UpdateDimensions messages aware of the display scale. r=kats
When connecting a lowdpi external monitor on hidpi mac, TabChild gets an
UpdateDimensions call, followed by a UIResolutionChanged call.  After
the UpdateDimensions call, the content process is in an incorrect state
where it has the dimensions of the new display and scale of the old one.
After the UIResolutionChanged message, the values are again consistent.
In the interim, reflow resizes layers based on the incorrect (old) scale
and subsequently uses those incorrect values when the new scale comes
in.  This patch normalizes the message parameters by dividing by scale
(the result is what OS X calls point coordinates) so that this doesn't happen.
2015-06-07 22:39:28 -07:00
Botond Ballo 4958aa7c1b Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
--HG--
extra : rebase_source : a082680d842dd182d899f637200ce911cc3c480d
extra : source : 8b67f0b8dc96cebe9a58356708b23bebd8532134
2015-06-08 16:01:26 -04:00
Kartikaya Gupta eb7580bebc Back out 3 csets from bug 1125325 for introducing bug 1173224. r=me 2015-06-10 15:55:34 -04:00
David Parks f412d3f7b6 Bug 1125325 - Make TabParent/TabChild UpdateDimensions messages aware of the display scale. r=kats
When connecting a lowdpi external monitor on hidpi mac, TabChild gets an
UpdateDimensions call, followed by a UIResolutionChanged call.  After
the UpdateDimensions call, the content process is in an incorrect state
where it has the dimensions of the new display and scale of the old one.
After the UIResolutionChanged message, the values are again consistent.
In the interim, reflow resizes layers based on the incorrect (old) scale
and subsequently uses those incorrect values when the new scale comes
in.  This patch normalizes the message parameters by dividing by scale
(the result is what OS X calls point coordinates) so that this doesn't happen.
2015-06-07 22:39:28 -07:00
David Anderson b2eb29a9c5 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
Carsten "Tomcat" Book 4542803729 Backed out changeset 99011d150a1d (bug 1163572) for b2g ics debug bustage on a CLOSED TREE 2015-06-01 13:03:30 +02:00
Danilo Cesar Lemes de Paula a96537264b Bug 1163572 - Override ChromeProcessController::RequestContentRepaint to detect root-frame updates. r=botond
--HG--
extra : rebase_source : ce40f9e8eb5f4ace49cccef266ebe3ea562c9c5a
2015-05-28 06:54:00 +02:00
Botond Ballo 814888dc93 Bug 1167882 - Use the display size (includes scrollbar areas) rather than the root composition bounds (excludes scrollbar areas) to calculate the intrinsic scale. r=kats
--HG--
extra : source : e35552b1a17a8998c73e32af7b3fb396a64dfed4
2015-05-27 16:56:08 -04:00
Botond Ballo 12b68431b3 Bug 1167882 - Move a couple of static helpers functions higher up in TabChild.cpp. r=kats
--HG--
extra : source : 64a695e2eb0b915cf845c88f1e5f5b6a9616519c
2015-05-27 16:54:23 -04:00
Trevor Saunders 7b3ae0b25b bug 1167295 - manage PDocAccessible with PBrowser instead of PContent r=smaug 2015-05-29 10:15:26 -04:00
Kan-Ru Chen 3c3191345e Bug 1164763 - Avoid one extra IPC round-trip when compositor-lru-size == 0. r=mattwoodrow,billm 2015-05-28 12:19:11 +08:00
Botond Ballo f1732e694c Bug 1164406 - Exclude the scrollbars from the composition bounds in TabChild::HandleCalculateViewportChange() when appropriate. r=kats
--HG--
extra : rebase_source : f427fbf8b1a415bf3399ef3a5aa147b5eb67e638
extra : source : 570b18d12130867bed88baebbc3027b86ade8540
2015-05-22 15:53:32 -04:00
Ryan VanderMeulen 8f6f16604c Merge inbound to m-c. a=merge 2015-05-22 14:02:47 -04:00
Cervantes Yu 55152ad9d9 Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307). 2015-05-19 14:31:25 +08:00
Kartikaya Gupta b54dc47f24 Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
CLOSED TREE
2015-05-22 07:51:55 -04:00
Kartikaya Gupta 86ed888daa Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-05-22 06:42:08 -04:00
Kan-Ru Chen 3e9e269e92 Bug 1154231 - Part 1. Use LRU to manage remote layers. r=mattwoodrow 2015-05-22 07:08:20 +08:00
Carsten "Tomcat" Book 005c5ce415 Backed out changeset 4d2839eea957 (bug 970307) 2015-05-19 11:44:27 +02:00
Cervantes Yu a12ce249b1 Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307).
--HG--
extra : rebase_source : 829e80228e07440285383316d2c4fea017828529
2015-05-19 14:31:25 +08:00
Phil Ringnalda f7950798e0 Back out 530555a2d6d4 (bug 1162064) for debug b2g emulator assertions and failure to thrive
CLOSED TREE
2015-05-17 22:42:05 -07:00
David Anderson 4b20fa6b94 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 23:11:44 -04:00
David Anderson cadd78802e Backout changeset e5d045d49b40 for bustage on an a=CLOSED TREE 2015-05-17 21:46:30 -04:00
David Anderson 502eb5d3ca Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 20:44:43 -04:00
Maksim Lebedev 43ec4fa0cc Bug 1162009 - Add TOUCH_CANCEL sending on e10s. r=kats 2015-05-14 08:16:00 -04:00
Phil Ringnalda a5df436c2e Backed out 2 changesets (bug 1154231) for M-oth crashes
CLOSED TREE

Backed out changeset 5e8145eff457 (bug 1154231)
Backed out changeset 951fb8ed6f25 (bug 1154231)
2015-05-15 20:29:15 -07:00
Kan-Ru Chen 10fec84bca Bug 1154231 - Part 2. Use LRU to manage remote layers. r=mattwoodrow 2015-05-16 08:43:39 +08:00
Maksim Lebedev d0ef015683 Bug 1137555 - Add implementation of PuppetWidget::GetMaxTouchPoints(). r=smaug, r=jimm
--HG--
extra : rebase_source : 7460428da794e871de20cc5c23ca70c2d97141e6
2015-05-08 03:29:00 +02:00
Bill McCloskey 751027c648 Bug 803783 - Send message manager results via structured clone (r=bent) 2015-05-11 17:19:10 -07:00
Mike Conley 1f5e274f86 Bug 1136478 - Fire pagehide / pageshow events in content after swapping remote frame loaders. r=smaug.
--HG--
extra : rebase_source : fbe5ee7bb8aeac7edabb580bcab0254aebcbc1e0
2015-05-07 11:43:40 -04:00
Kartikaya Gupta b4ab8bcc68 Bug 1161215 - Don't fire spurious resize events to content when the size didn't actually change. r=smaug 2015-05-07 16:02:38 -04:00
Kartikaya Gupta e237a366e0 Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond 2015-05-07 14:44:03 -04:00
Andrea Marchesini 0d81eae126 Bug 1156875 - patch 1 - URL.createObjectURL leaks in JS sandbox, r=bholley 2015-05-07 08:05:43 +01:00
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrea Marchesini 99b4705cce Bug 1157248 - TabChild should initialize ServiceWorkerManager before starting the first loading, r=nsm 2015-04-24 00:44:24 +02:00
Mike Conley f83673f8f9 Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug.
--HG--
extra : rebase_source : ac3d5c25681356af06321bf4e2c8292fe88a3ade
2015-04-22 10:58:33 -04:00
Carsten "Tomcat" Book 3dd2fa2aaf Backed out changeset 8ed8157d26a2 (bug 1096093) 2015-04-23 17:18:22 +02:00
Mike Conley e21dde0949 Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug.
--HG--
extra : rebase_source : 2103f47a75612dc4f1b719f5913d6cc14be5fbf7
2015-04-22 10:58:33 -04:00
Nicolas Silva cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Kartikaya Gupta f4cd56dd21 Bug 1153023 - Convert TabParent::mChromeOffset to a LayoutDeviceIntPoint. r=billm 2015-04-21 10:33:56 -04:00
David Parks b9b2e989cc Bug 1060643 - Give content the opportunity to block chrome keyhandlers. r=smaug
If the content called preventDefault on a keyDown event then our default
system keyPress event handlers (e.g. the find-in-page search bar) should
not be wired to the PuppetWidget.

--HG--
extra : rebase_source : fc3347de8d7c5d280ac1a1e833153bb8e3ce451d
2015-04-13 23:01:05 -07:00
Bill McCloskey 9233d0ea6f Bug 1155224 - Add targetFrameLoader property to messages (r=smaug) 2015-04-20 23:32:59 -07:00
David Anderson e6b4160be1 Fix a potential null-deref in TabChild::HandlePossibleViewportChange. (bug 1156156, r=kats)
--HG--
extra : rebase_source : 8dd897458121121c77442901fb728a53fc912ef8
2015-04-20 11:16:55 -04:00