Commit Graph

876 Commits

Author SHA1 Message Date
Jan de Mooij
61c36ee986 Bug 1177825 - Remove JSVAL_* constants. r=evilpie 2015-06-29 18:36:44 -07:00
Kartikaya Gupta
e8768b5c0a Bug 1177247 - Prevent HandlePossibleViewportChange from clobbering a restored scroll position from forward/back navigation. r=botond
When the mochitest docshell/test/test_bug590573.html is run with APZ enabled,
it fails because the HandlePossibleViewportChange code clobbers the scroll
position after it has been restored by the session history code. Instead of
using the default 0,0 as the initial scroll position we now pick up the
pre-existing scroll position and use that.
2015-06-25 23:54:25 -07:00
Kartikaya Gupta
0e89355f25 Bug 1139155 - Add a mechanism to know when the APZ is done processing. r=botond 2015-06-19 22:51:35 -04:00
Kartikaya Gupta
66035b2086 Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-06-19 08:25:41 -04:00
Masayuki Nakano
df1ecd1af8 Bug 1175442 Make nsContentUtils::SendKeyEvent() take nsIWidget* rather than nsCOMPtr<nsIWidget> r=smaug 2015-06-18 13:41:28 +09:00
Kartikaya Gupta
f4c7f40d56 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
df17113b89 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
c6369a1422 Bug 1055557 - Move storage of ZoomConstraints from RemoteContentController to APZCTreeManager. r=botond 2015-06-17 12:32:41 -04:00
Masayuki Nakano
d421a17ada Bug 1175383 TabChild should store PuppetWidget as is rather than as nsIWidget r=smaug 2015-06-17 17:44:50 +09:00
Kartikaya Gupta
7699230ac7 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
8cd41536e9 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
e2e33e1957 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
8e0d7e75c5 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
b9201d6d43 Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats 2015-06-08 16:01:26 -04:00
Kartikaya Gupta
93f272c174 Back out 3 csets from bug 1125325 for introducing bug 1173224. r=me 2015-06-10 15:55:34 -04:00
David Parks
67c72084cc 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
53244f3c1b Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
Carsten "Tomcat" Book
e5270e7b6c 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
9103641e44 Bug 1163572 - Override ChromeProcessController::RequestContentRepaint to detect root-frame updates. r=botond 2015-05-28 06:54:00 +02:00
Botond Ballo
9ef3843c18 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 2015-05-27 16:56:08 -04:00
Botond Ballo
d7bfb48ec3 Bug 1167882 - Move a couple of static helpers functions higher up in TabChild.cpp. r=kats 2015-05-27 16:54:23 -04:00
Trevor Saunders
a5c55ae6ad bug 1167295 - manage PDocAccessible with PBrowser instead of PContent r=smaug 2015-05-29 10:15:26 -04:00
Kan-Ru Chen
0a1daafdfa 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
3033c1e2bd Bug 1164406 - Exclude the scrollbars from the composition bounds in TabChild::HandleCalculateViewportChange() when appropriate. r=kats 2015-05-22 15:53:32 -04:00
Ryan VanderMeulen
ecdd625f1a Merge inbound to m-c. a=merge 2015-05-22 14:02:47 -04:00
Cervantes Yu
a5bfba878f Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307). 2015-05-19 14:31:25 +08:00
Kartikaya Gupta
233ca347d8 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
9ec5af61da 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
93b42a9fee Bug 1154231 - Part 1. Use LRU to manage remote layers. r=mattwoodrow 2015-05-22 07:08:20 +08:00
Carsten "Tomcat" Book
f5f5b9ee8f Backed out changeset 4d2839eea957 (bug 970307) 2015-05-19 11:44:27 +02:00
Cervantes Yu
3898d7c9f0 Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307). 2015-05-19 14:31:25 +08:00
Phil Ringnalda
881f3ba8cc 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
580eb72be7 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 23:11:44 -04:00
David Anderson
93351f8ffa Backout changeset e5d045d49b40 for bustage on an a=CLOSED TREE 2015-05-17 21:46:30 -04:00
David Anderson
dd781641e4 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 20:44:43 -04:00
Maksim Lebedev
105fbf0346 Bug 1162009 - Add TOUCH_CANCEL sending on e10s. r=kats 2015-05-14 08:16:00 -04:00
Phil Ringnalda
aaca0423eb 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
82d5bac578 Bug 1154231 - Part 2. Use LRU to manage remote layers. r=mattwoodrow 2015-05-16 08:43:39 +08:00
Maksim Lebedev
e0f61be15a Bug 1137555 - Add implementation of PuppetWidget::GetMaxTouchPoints(). r=smaug, r=jimm 2015-05-08 03:29:00 +02:00
Bill McCloskey
31852ebd7e Bug 803783 - Send message manager results via structured clone (r=bent) 2015-05-11 17:19:10 -07:00
Mike Conley
6bdfb3cdcd Bug 1136478 - Fire pagehide / pageshow events in content after swapping remote frame loaders. r=smaug. 2015-05-07 11:43:40 -04:00
Kartikaya Gupta
09504ce74e 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
74563ea4c9 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
a90c5be53e Bug 1156875 - patch 1 - URL.createObjectURL leaks in JS sandbox, r=bholley 2015-05-07 08:05:43 +01:00
Andrew McCreight
aeff7c99ee Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrea Marchesini
673d23aeff Bug 1157248 - TabChild should initialize ServiceWorkerManager before starting the first loading, r=nsm 2015-04-24 00:44:24 +02:00
Mike Conley
8ec919ba36 Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug. 2015-04-22 10:58:33 -04:00
Carsten "Tomcat" Book
b7b7100fa7 Backed out changeset 8ed8157d26a2 (bug 1096093) 2015-04-23 17:18:22 +02:00
Mike Conley
a34f07ea71 Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug. 2015-04-22 10:58:33 -04:00
Nicolas Silva
51e181888b 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