Blake Kaplan
0bb2b116eb
Bug 1116478 - Open web content handlers in the proper tab in e10s. r=billm
...
--HG--
extra : rebase_source : 9ce04d3a3b30ecdcef4c4781639f0e5ea22d8b22
2015-12-03 15:04:28 -08:00
Nicholas Nethercote
1fb25d8609
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 08407e76083534ad39dd34d2535ec09c95e506db
2015-11-16 00:35:18 -08:00
Markus Stange
10286b74bb
Bug 1221913 - Make swiping work correctly in e10s mode even if APZ is off. r=kats
...
--HG--
extra : commitid : 6jMrb8f9Atw
extra : amend_source : 6cffb6ab209c3f55739ddb409b1a4d04d31a159a
2015-11-27 17:33:50 +01:00
Wes Kocher
c4f40f5dfc
Merge inbound to m-c a=merge
...
--HG--
extra : commitid : 8FO2ow49CX2
2015-11-16 17:20:42 -08:00
Alastor Wu
f49b90a02f
Bug 1222902 - Create log system for the AudioChannel. r=baku.
...
--HG--
extra : transplant_source : %BD%FF%8EH%08%97%3AC%C6%85%BC%F1%10%CB%07%AA%0E%90%85A
2015-11-10 18:32:00 +08:00
Henry
daec939f23
Bug 1178526 - Create docshell with packageId from TabContext. r=sicking.
2015-10-29 00:52:40 +08:00
George Wright
92df2e4ade
Bug 1098131 - Don't invalidate layers when simply changing SizeMode r=smaug,jimm
2015-11-09 21:38:21 -05:00
Sotaro Ikeda
944f1c5ca2
Bug 1189195 - Fix PContentPermissionRequest shutdown () r=fabrice
2015-11-08 16:55:08 -08:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Kartikaya Gupta
b4cf5cc4aa
Bug 1219898 - Remove use of gPreventMouseEvents in APZ event state-tracking code. r=botond
...
--HG--
extra : commitid : 3raJl95nr6q
2015-10-30 22:22:28 -04:00
Kartikaya Gupta
f1ad1eef4f
Bug 1219898 - Remove legacy handling of touch events for non-APZ e10s platforms. r=smaug
...
--HG--
extra : commitid : D4m5rpCAcq9
2015-10-30 22:20:58 -04:00
Benoit Girard
698006ddf9
Bug 1211612 - Add DragInputBlock for async scrollbars. r=kats
...
--HG--
extra : commitid : Grx9aF2UvH2
extra : rebase_source : ea2601a2a3ac2870383fa86d8e7bd90342424ce1
2015-10-26 16:06:49 -04:00
Olli Pettay
ff6d079981
Bug 1191724, ensure private browser flag is set on docshell early enough, r=fabrice
...
--HG--
extra : rebase_source : aa80029dd77e212c04ff7537dfc488c800384fce
2015-10-30 15:24:57 +02:00
Catalin Badea
bad419762d
Bug 1172870 - Part 1 - Move PBrowser::CreateWindow to PContent. r=smaug
2015-10-30 01:30:57 +02:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Victor Porof
9dc0ce6b1a
Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel
...
--HG--
rename : docshell/base/timeline/OTMTMarkerReceiver.h => docshell/base/timeline/MarkersStorage.h
2015-10-21 23:10:05 +02:00
Cervantes Yu
eabbe039ec
Bug 1215508: Fix the race in accessing the unopened IPC channels in TabChild::PreloadSlowThings(). r=khuey
2015-10-19 14:27:01 +08:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
David Rajchenbach-Teller
cbe8e23af4
Bug 1212244 - Same-process sendAsyncMessage can now throw instead of OOM. r=smaug
...
--HG--
extra : rebase_source : 50d89efacee7103452218782c92a53a7cf07dd9b
2015-10-07 12:42:43 +02:00
Benoit Girard
32e75119c1
Bug 1199885 - Part 9.5: Make the mouse events APZC aware. r=kats
...
--HG--
extra : commitid : KSO4Xg8RrF1
2015-09-28 14:44:37 -04:00
Jed Davis
f6824d8a0c
Bug 1204626 - Reparent PWebBrowserPersistDocument to PContent. r=billm
...
A reference to a document (and the act of saving it) can outlive the
browser tab it was originally loaded in, and this needs to be reflected
in IPC in order to avoid MsgRouteError crashes; see bug for more info.
Note that we still need to pass the PBrowser when starting persistence,
because that's the only handle the parent has on the top-level document;
see comments in this patch for more info.
Also makes TabChildBase::GetDocument public, because it's just a wrapper
around WebNavigation() which is already public, to avoid code duplication.
2015-09-21 14:54:00 +02:00
Nicholas Nethercote
f523d5c4ba
Bug 1207931 - Remove no-longer-needed SetBackgroundColor IPC message. r=mattwoodrow.
2015-09-24 19:03:33 -07:00
Neil Deakin
2b49676bd0
Bug 1168042, support accesskey redirecting to content process, r=masayuki
2015-09-18 08:19:13 -04:00
Masayuki Nakano
683794135c
Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
51d7268995
Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
52a7afe36c
Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab
Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug
2015-09-15 00:14:34 +09:00
Phil Ringnalda
b25d7ef2e4
Merge f-t to m-c, a=merge
2015-09-12 09:13:57 -07:00
Botond Ballo
b979ad25d3
Bug 1202312 - Use mozilla::Function for the ContentReceivedInputBlock callback. r=kats
...
--HG--
extra : source : d0d8d51c89955d70c72591b424e18790973e8805
2015-09-11 12:52:43 -04:00
Botond Ballo
976c25b63c
Bug 1202312 - Use mozilla::Function for the SetAllowedTouchBehavior callback. r=kats
...
--HG--
extra : source : 168244f8869806e0fb6b318a938e46b706972f94
2015-09-11 12:27:49 -04:00
Carsten "Tomcat" Book
a6cd041140
Merge mozilla-central to fx-team
2015-09-11 16:42:01 +02:00
Victor Porof
14ba9c7285
Bug 1200252 - Add marker for when the IPC request for a composite is sent to the compositor thread, r=jsantell,matt
2015-09-11 07:59:53 +02:00
Wes Kocher
3687626c35
Merge inbound to central, a=merge CLOSED TREE
2015-09-09 13:47:08 -07:00
Cervantes Yu
d988d4b966
Bug 1200504: Initialize the PresShell for about:blank after fork to fix the app launch performance regression. r=khuey
2015-09-09 18:04:59 +08:00
Nigel Babu
16e318c796
Backed out changeset 4d520d9c6b85 (bug 1200504) for Mulet mochitest and Refest bustage ON A CLOSED TREE
2015-09-09 12:07:39 +05:30
Cervantes Yu
10f1257e96
Bug 1200504: Initialize the PresShell for about:blank after fork to fix the app launch performance regression. r=khuey
2015-09-08 16:11:00 +08:00
Jim Mathies
f0f7a995e4
Bug 1199765 - Add support to TabParent for querying the active state of remote browsers. r=Mossop
2015-09-04 08:42:01 -05:00
Andrea Marchesini
896e177461
Bug 1201806 - part 1 - Remove OwningSerializedStructuredCloneBuffer and use StructuredCloneIPCHelper everywhere in IPC code, r=smaug
2015-09-09 08:10:32 +01:00
Andrea Marchesini
cd4473d62f
Bug 1203426 - Rename StructuredCloneIPCHelper to StructuredCloneData, r=smaug
...
--HG--
rename : dom/ipc/StructuredCloneIPCHelper.cpp => dom/ipc/StructuredCloneData.cpp
rename : dom/ipc/StructuredCloneIPCHelper.h => dom/ipc/StructuredCloneData.h
2015-09-10 21:50:58 +01:00
Andrea Marchesini
efd3b25c78
Bug 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug
...
--HG--
rename : dom/ipc/StructuredCloneUtils.cpp => dom/ipc/StructuredCloneIPCHelper.cpp
rename : dom/ipc/StructuredCloneUtils.h => dom/ipc/StructuredCloneIPCHelper.h
2015-09-02 17:20:30 +01:00
Masayuki Nakano
3394edcb4a
Bug 895274 part.83 Rename NS_DRAGDROP_EXIT to eDragExit r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
811d0fac7e
Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
90a5ee8540
Bug 895274 part.80 Rename NS_DRAGDROP_DRAG to eDrag r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
7b7a44a5ac
Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug
2015-09-02 15:08:01 +09:00
Markus Stange
da1faad800
Bug 1016035 - Add nsIWidget::ReportSwipeStart and call it after processing wheel events that can trigger swipes. r=kats
...
--HG--
extra : commitid : 7uuuyRZdrT5
extra : rebase_source : 063bdfde71bc50831f28e7ab48d868670ba5bfdc
2015-08-28 01:10:48 -04:00
Xidorn Quan
a8df2abe8c
Bug 1196163 part 2 - Send sizemode as part of UpdateDimensions message to TabChild. r=roc,smaug
...
--HG--
extra : source : 5286b311a8bd6da552ee806fba15224b1562a020
2015-08-29 11:12:41 +10:00
Masayuki Nakano
db00b74a82
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb
Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
717c415187
Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
ba5b3f3fe6
Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
d311a11cc1
Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug
2015-08-29 08:58:27 +09:00
Ryan VanderMeulen
402fae4a15
Merge inbound to m-c. a=merge
2015-08-28 08:48:42 -04:00
Cervantes Yu
3c09a9761d
Bug 1166207 - Load preload.js in the Nuwa process. r=khuey
...
--HG--
extra : rebase_source : 292c5e5dbee5fa49a78fd1997d97094ef2190143
2015-08-28 17:57:44 +08:00
Yoshi Huang
4347bb2318
Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley
2015-08-17 17:03:19 +08:00
Botond Ballo
6ca660b2c6
Bug 1177018 - Send mouse move events generated via nsIPresShell::SynthesizeMouseMove() to the child process through a different IPDL message than real mouse move events. r=smaug
...
This avoids a real event being dropped in favour of a synthesized event via IPDL compression, which is important because synthesized events don't generate 'mousemove' DOM events.
--HG--
extra : rebase_source : 57b771d2d7de686148a29b91b2b7bf514e541246
extra : source : 0becd45c08952628961dc9bdccb0e11dc5b6f910
2015-07-27 18:35:51 -04:00
Markus Stange
316505e2bd
Bug 1193062 - Only send a content response for wheel events that have also been processed by APZ. r=kats
...
--HG--
extra : commitid : FOt4Lwsp6xZ
extra : rebase_source : 1bea318e6274626c935e8a70317a412ac1f9037d
extra : histedit_source : c3cf20adf2358fb0e7a1295d624c3819fe8cd046
2015-08-12 15:15:49 -04:00
Markus Stange
7f81818f06
Bug 1193062 - Only send target confirmations for wheel events that were handled by APZ. r=kats
...
WidgetWheelEvents that are not handled by APZ include those used for zooming, and WHEEL_START / WHEEL_STOP.
--HG--
extra : commitid : DNoHIgXfFxy
extra : rebase_source : a847f31a1a45ecd30dc94600271fbb74fb82d279
extra : histedit_source : 5edbd6bfa4b9be7e8e34b8ce30583a0036e9f864
2015-08-04 15:38:18 -04:00
Bobby Holley
edfe287f26
Backed out 3 changesets (bug 1165272) for b2g sanity blocker.
2015-08-25 11:16:21 -07:00
Victor Porof
a79634e0d2
Bug 1050498 - Record compositing operations, r=jsantell,smaug,tromey
2015-08-25 08:51:58 +03:00
Yoshi Huang
12efacfa8c
Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley
2015-08-24 01:31:00 -04:00
Masayuki Nakano
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Benoit Girard
074eb08eb1
Bug 1186662 - Part 1: Add SuppressDisplayport painting and use it during tab switch. r=kats,mconley
...
--HG--
extra : commitid : 9fUfVIK8ikm
extra : rebase_source : e45570f97a25f965d2caf24f152da02efcf6495f
2015-08-19 17:08:41 -04:00
William Chen
3c9928ced9
Bug 1131470 - Part 1: Rename existing use of ScreenOrientation to ScreenOrientationInternal. r=baku
...
--HG--
extra : rebase_source : 72e978d48e8356da9e8c66adfa0a97983034aa5a
2015-08-18 14:55:09 -07:00
Mike Conley
77af80c31b
Bug 1141337 - Update nsIWebBrowserPersistable to allow subframe targeting for Save Frame As. r=jld
...
This alters nsIWebBrowserPersistable so that startPersistence takes an
outerWindowID. This allows us to target a particular subframe from
beneath an nsFrameLoader, which is useful when attempting to Save
Frame As a remote browser.
--HG--
extra : commitid : KWck2rfRjXw
extra : rebase_source : d2390a8cf1b830e4e1c0fa52574455fbc0b05c14
2015-08-06 10:44:16 -04:00
Gabor Krizsanits
34f596853a
Bug 1175940 - UIResolutionChanged should not trigger sync messages from content to chrome. r=mconley
2015-08-13 16:42:19 +02:00
Ehsan Akhgari
4db099dbd2
Bug 1191491 - Do not dispatch an audio-playback notification when swapping browsers; r=smaug
...
We send a pagehide event during swapping docshell frame loaders, and
before this patch we would not be able to differentiate this event with
the one that we send when navigating away from a page, so we would
incorrectly dispatch an audio-playback notification indicating that
audio playback has stopped. This patch adds a flag to the root docshell
when the frame loader swapping is in progress and disables the above
behavior when that flag is set.
2015-08-07 12:18:24 -04:00
Ryan VanderMeulen
568c3a360e
Merge b2g-inbound to m-c. a=merge
2015-08-06 15:37:49 -04:00
Alastor Wu
8cc29a2ef7
Bug 1186135 - change active flag per channel. r=ehsan
2015-08-05 10:47:10 +08:00
Birunthan Mohanathas
7315345693
Bug 1191100
- Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Jed Davis
f9cdea85fa
Bug 1101100 - Multiprocess-enable nsWebBrowserPersist. r=billm
...
The high-level overview is that the parts of nsWebBrowserPersist which
access the DOM have been factored out (as WebBrowserPersistLocalDocument)
and abstracted (nsIWebBrowserPersistDocument) such that they can be
implemented in the cross-process case using IPC.
2015-08-05 14:25:39 -07:00
Cervantes Yu
bd05affa1b
Bug 1155547, Part 1: Fix unified build breakage in adding new sources under dom/ipc/. r=khuey
...
--HG--
extra : rebase_source : 7163ce212ea61d7e834c2c3ce7afc0d33d6fb06d
2015-07-31 15:25:14 +08:00
Botond Ballo
fac300df40
Bug 1131359 - Port the double-tap-to-zoom functionality of BrowserElementPanning.js to C++. r=kats
...
--HG--
extra : rebase_source : d897a9ececcae556805fbe68e8a3b6cf6d8fbbab
2015-07-27 14:07:58 -04:00
Neil Deakin
ec562250fa
Bug 1176239, do tab navigation in the child when moving between the parent and child process, r=smaug
2015-07-23 10:04:15 -04:00
Masayuki Nakano
9906797f75
Bug 1185316 TabParent should flush pending IME notifications after child process handles all sending events r=smaug
2015-07-22 14:51:36 +09:00
Carsten "Tomcat" Book
d0ae08cfa2
Merge mozilla-central to mozilla-inbound
2015-07-21 17:04:09 +02:00
Kartikaya Gupta
ed365c4387
Bug 1178847 - Add a MobileViewportManager to manage setting the CSS viewport on B2G. r=botond,tn
...
The MobileViewportManager ("MVM") is responsible for setting the CSS viewport on
any of the following events:
- a page is painted for the first time (on the before-first-paint event)
- a meta-viewport tag is added (on the DOMMetaAdded event)
- the full-zoom is changed (on the FullZoomChanged event)
- if the window is resized (ResizeReflow gets called as part of normal layout
processing, and this will pick up a new CSS viewport from MVM)
If the CSS viewport changes or if it is the initial paint, the MVM additionally
calls SetResolutionAndScaleTo on the presShell to update the displayed zoom.
The APZ code in AsyncPanZoomController::NotifyLayersUpdated already has
corresponding code to accept this updated zoom when the CSS viewport changes.
2015-07-21 10:51:55 -04:00
Carsten "Tomcat" Book
3a1bcbf297
Backed out changeset f5ea755e3cb9 (bug 1176239) for test failures in browser_focusnavigation.js
2015-07-21 15:22:15 +02:00
Carsten "Tomcat" Book
214402e410
Backed out changeset 313ea7f814d3 (bug 1178847)
2015-07-21 08:34:57 +02:00
Neil Deakin
ccdcdc8cac
Bug 1176239, do tab navigation in the child when moving between the parent and child process, r=smaug
2015-07-20 08:59:50 -04:00
Kartikaya Gupta
86a7ae48ef
Bug 1178847 - Add a MobileViewportManager to manage setting the CSS viewport on B2G. r=botond,tn
...
The MobileViewportManager ("MVM") is responsible for setting the CSS viewport on
any of the following events:
- a page is painted for the first time (on the before-first-paint event)
- a meta-viewport tag is added (on the DOMMetaAdded event)
- the full-zoom is changed (on the FullZoomChanged event)
- if the window is resized (ResizeReflow gets called as part of normal layout
processing, and this will pick up a new CSS viewport from MVM)
If the CSS viewport changes or if it is the initial paint, the MVM additionally
calls SetResolutionAndScaleTo on the presShell to update the displayed zoom.
The APZ code in AsyncPanZoomController::NotifyLayersUpdated already has
corresponding code to accept this updated zoom when the CSS viewport changes.
2015-07-20 18:19:40 -04:00
Mike Conley
c86643f748
Bug 1114299 - Be more strict about which window chromeFlags we compute from content. r=smaug
...
We don't ever want to accept "private", "non-private", "remote" or "non-remote" from the
content process. We only let the parent decide when to open those types of windows.
--HG--
extra : commitid : 9MGeXNdb9US
extra : rebase_source : 41a4d9785bd667b84c255eda0ac7fedf44733736
extra : histedit_source : 698c707b68c60108e0631b775a98fb4e241c009b
2015-07-10 11:40:19 -04:00
Mike Conley
8461bab676
Bug 1114299 - Pass window features up from the content process via nsCString. r=smaug
...
The code that deals with the features is looking for char *, and we were going through
the hassle of converting that char * to a UTF16 string, and then back down to UTF8,
and then to char *. Really, we just need to send up a nsCString, which simplifies things.
--HG--
extra : commitid : HgzV7FFsQCv
extra : rebase_source : feabba83d86d732fbac5d1d26c6bf362928c0b9f
extra : histedit_source : 5a0cdbbbbd05632d2071de2ecc7771ed71abcbe2
2015-07-17 11:30:51 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Neil Deakin
eee10c99f2
Bug 1132518, make document navigation with F6/Shift+F6 work in e10s. This combines the document and tab navigation mechanisms together, r=smaug
2015-07-13 06:07:49 -04:00
Olli Pettay
5f834ddfb2
Bug 1182772, optimize ProcessGlobal out from CC graph (and also TabChild's EventListeners), r=mccr8
2015-07-11 16:45:49 +03:00
Andrea Marchesini
2ed65554e2
Bug 1113086 - AudioChannel policy in Browser API - patch 3 - right management of audiochannel-activity events in child processes, r=ehsan
2015-07-10 17:38:48 +01:00
Andrea Marchesini
db14826639
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
c07e36b612
Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
...
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book
877b20ca8c
Backed out changeset 768c8cd889e8 (bug 1113086)
2015-07-11 14:13:59 +02:00
Masayuki Nakano
500bdf163d
Bug 1176954 part.8 ContentCacheInParent::OnEventNeedingAckReceived() should log the event message r=smaug
2015-07-11 10:53:56 +09:00
Masayuki Nakano
0f0144595d
Bug 1176954 part.1 Child process should notify its parent process when it dispatches composition or selection event into the DOM tree r=smaug
2015-07-11 10:53:55 +09:00
Andrea Marchesini
abdac5b684
Bug 1113086 - AudioChannel policy in Browser API - patch 3 - right management of audiochannel-activity events in child processes, r=ehsan
2015-07-10 21:08:46 -04:00
Andrea Marchesini
3050bc370c
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 21:08:43 -04:00
Xidorn Quan
f23d866f51
Backed out 8 changesets (bug 1113086) for build bustage
...
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
--HG--
extra : histedit_source : d8dfd75d9dae36b7309ce78e3b4488faf57003da%2C48081711b7067191d8e4749fd3b572db59bc03f9
2015-07-11 10:55:59 +10:00
Andrea Marchesini
881cb6fc34
Bug 1113086 - AudioChannel policy in Browser API - patch 3 - right management of audiochannel-activity events in child processes, r=ehsan
2015-07-10 17:38:48 +01:00
Andrea Marchesini
bbb0a11f31
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-07-10 17:38:44 +01:00
Mike Conley
c964d3f5ae
Bug 1173219 - Return nsresults from TabParent::RecvCreateWindow to make opening windows more robust. r=billm
...
We were returning false from TabParent::RecvCreateWindow whenever anything went wrong.
Returning false in response to an IPC message results in the content process being
killed, which is a terrible user experience. With this patch, instead of returning
false, we more often return the nsresult of operations occurring within TabParent.
--HG--
extra : commitid : FVk1R6eSp5M
extra : rebase_source : 1f86739a7159205cb3467316d87e51cb113d9085
extra : amend_source : 151568149d4c59d67bb26facab6f54b90a2d3965
2015-06-29 14:37:57 -04:00
Masayuki Nakano
3e2c998faa
Bug 1053053 part.3 Notify child process's IMEStateManager of menu key event listener being installed r=smaug
2015-07-01 22:19:11 +09:00
Masayuki Nakano
3a23696fda
Bug 1053053 part.2 Notify child process's IMEStateManager of that it should stop manageing IME state r=smaug
2015-07-01 22:19:11 +09:00
Jan de Mooij
976586cb5f
Bug 1177825 - Remove JSVAL_* constants. r=evilpie
2015-06-29 18:36:44 -07:00
Kartikaya Gupta
cf0fe82755
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
0584aa026d
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
1d81392d69
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
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
Botond Ballo
899a1634f6
Bug 1152479 - In C++ APZ code, use nsContentUtils rather than nsIDOMWindowUtils to send key and mouse events. r=kats
...
--HG--
extra : source : c989db3f7a0a41682429a0febfa8c51f2bb99e7f
2015-04-15 03:09:46 -04:00
Botond Ballo
80b5170af7
Bug 1152479 - Do not use layout-related nsIDOMWindowUtils APIs from C++ APZ code. r=kats
...
--HG--
extra : rebase_source : 8fb4f75e5e50a1e29424d03b5c18236846a698df
extra : source : d017af70470603f970fde91c1515757e57e2d8ba
2015-04-14 16:44:59 -04:00
Botond Ballo
148a784118
Bug 1152479 - Extract the implementations of layout-related nsIDOMWindowUtils APIs used by APZ into nsLayoutUtils. r=ehsan
...
--HG--
extra : rebase_source : 175254c3f78cd06bf72e2a25da12eff7a174f87e
extra : source : 0bf92001a2f715b5c20aefc039c30e926b9789c0
2015-04-14 13:19:10 -04:00
David Anderson
c99aec898f
Fix APZ target confirmations arriving before dependent layer transactions. (bug 1154130, r=kats)
2015-04-14 12:24:32 -04:00
Kershaw Chang
e81771306d
Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey
...
--HG--
extra : rebase_source : dba5c4709942f8ad92fc6aa0ee76942247b08992
2015-04-13 21:08:00 -04:00
Kartikaya Gupta
19ef59aa9f
Bug 1146349 - Wire up native event synthesization in child processes. r=smaug
2015-04-14 11:36:36 -04:00
Botond Ballo
3628f147a2
Bug 1039818 - Do not allow an older APZ repaint request to clobber a newer pres shell resolution in Layout. r=kats
2015-04-10 19:34:23 -04:00
Olli Pettay
aad5b35ad2
Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
...
--HG--
extra : rebase_source : 070a9902f23d8b47e48ac0f972213815f8e4302c
2015-04-08 21:48:11 +03:00
Ryan VanderMeulen
1b034b250f
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
efdecf747e
Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
...
--HG--
extra : rebase_source : f0b1b0fa95dfa5fe16c09ebbc38618cf7c96654f
2015-04-08 18:30:03 +03:00
Ting-Yu Chou
2a1bd4156e
Bug 1121905 - Reorder frame loading sequence to send content process the URL earlier. r=kanru
...
--HG--
extra : rebase_source : 62c41ed097dad2de16915d294355efb45146d464
2015-04-07 10:56:10 +08:00
David Parks
3fe715e93a
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
7f4ac9ee96
Back out bug 1075670
2015-03-30 20:13:07 -07:00
Bill McCloskey
f2d972e4f2
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
9e2e275653
Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats
2015-03-25 12:20:20 -04:00
David Anderson
fba0c47c1f
Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats)
2015-03-22 00:42:26 -07:00
Ehsan Akhgari
883849ee32
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
bd98be2c55
Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond
2015-03-20 14:26:52 -04:00
Bill McCloskey
810adeb74f
Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug)
2015-03-19 06:43:46 -07:00
Kartikaya Gupta
ed6d55e8d9
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
24910d5fbd
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
4cfef838dd
Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug)
2015-03-18 16:09:27 -07:00
Botond Ballo
2eb9751320
Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
...
--HG--
extra : rebase_source : 18444e5f9304bbf9c2c14903be6aa4ebf8a08af3
extra : source : 60fe56e752d984a8d074af1bec1dfcd40a41e5f6
2015-03-06 18:07:59 -05:00
Botond Ballo
cda50e28d3
Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
...
--HG--
extra : rebase_source : bbdd433260c2e5244602275aa8516723f87d5740
extra : source : a2dbf7ec87c50f35a089470e39d6b4b448992e3d
2015-03-06 13:54:10 -05:00
Ryan VanderMeulen
3508f4aa52
Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures.
2015-03-13 13:42:57 -04:00
Bill McCloskey
5d4e83e61d
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
8d1fcc4892
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/ )
--HG--
extra : rebase_source : e100b6a2cbc00321d6d1083d12a99213e34d5f9d
2015-02-19 15:53:30 -08:00
David Zbarsky
4ce52c1ab4
Bug 1139258 - Use ScreenIntSize in PBrowser::Show/UpdateDimensions r=botond
2015-03-05 04:13:05 -05: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
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
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
Maksim Lebedev
4a533d3199
Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug
2015-02-24 22:20:00 -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
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
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
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
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 Parks
db7c1810a1
Bug 1075670 - Fix PuppetWidget calculations wrt client offset r=smaug
2015-02-04 04:00:28 -08:00
Botond Ballo
3d67dfb02e
Bug 1127066 - Implement ChromeProcessController::HandleLongTapUp(). r=kats
...
--HG--
extra : source : 5857a51daa23da0090b92467cc7fe5c23354b981
2015-02-09 18:20:15 -05:00
Botond Ballo
9fd2a6c742
Bug 1127066 - Extract an APZEventState class from TabChild. r=kats
...
--HG--
extra : source : fc54993e0c836ca01f3900072227938e8c4b938c
2015-02-09 14:05:18 -05:00
Botond Ballo
c059c52cea
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
286bd7e59d
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
a353f75418
Bug 1127066 - Fold APZCCallbackHelper::UpdateCallbackTransform() into ScrollFrame(). r=kats
...
--HG--
extra : source : 5b78d9e9ba84408c898d9e0ab55ae30f437792c8
2015-01-28 17:40:29 -05:00
Andrea Marchesini
78ecfc7b0d
Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm
2015-02-11 06:53:00 -05:00
Carsten "Tomcat" Book
4da2cda544
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
7ac33eb07e
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
43c27b90f0
Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE
2015-02-11 13:29:16 +01:00
Andrea Marchesini
8fb2e275d3
Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm
2015-02-11 10:10:23 +01:00
Nicholas Nethercote
242708cf72
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
e964974938
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
03a26ce028
Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
...
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
ee4cdf6a25
Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm
2015-02-06 23:31:33 +00:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Robert O'Callahan
7a165b59ca
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
6ce384ea6b
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
d34f0301b8
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 (陳侃如)
553114ff7f
Bug 1129311 - Don't use sNestedTabChildMap directly. r=smaug
2015-02-05 17:24:39 +08:00
David Zbarsky
58a982f86b
Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond
2015-02-01 17:27:31 -05:00
Botond Ballo
fe4c9e99d2
Bug 1005815 - Extract TabChild::FireSingleTapEvent and its helpers into APZCCallbackHelper. r=kats,smaug
2015-01-21 19:46:27 -05:00
Bill McCloskey
66061807e0
Bug 1123461 - Rename CpowIdHolder to CrossProcessCpowHolder (r=dvander)
2015-01-26 13:32:31 -08:00
Bill McCloskey
2f3d90830b
Bug 1123461 - Make a real interface for js/ipc (r=dvander)
2015-01-26 13:32:18 -08:00
Ehsan Akhgari
a61a347792
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
58957e76da
Bug 1123090 - Pass URLs loaded during CreateWindow to content process (r=bent)
2015-01-22 20:00:18 -08:00
Wes Kocher
c1bec44889
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
b8d4206b47
Bug 1123461 - Rename CpowIdHolder to CrossProcessCpowHolder (r=dvander)
2015-01-22 20:00:19 -08:00
Bill McCloskey
e535bf8aa7
Bug 1123461 - Make a real interface for js/ipc (r=dvander)
2015-01-22 20:00:19 -08:00
Bill McCloskey
72a8d36fb1
Bug 1123090 - Pass URLs loaded during CreateWindow to content process (r=bent)
2015-01-22 20:00:18 -08:00
Dimi Lee
a09be7bb0a
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
bb57d6e545
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
32ebc528f3
Bug 1122794 - Call SetResolutionAndScaleTo() instead of SetResolution() consistently in TabChild. r=kats
2015-01-16 18:49:42 -05:00
Botond Ballo
5864d447d5
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
98a481bdeb
Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats
2015-01-16 16:15:52 -05:00
Kyle Huey
7c82e6dd0a
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
Bill McCloskey
9abd6a3719
Bug 567058 - Stop using intr messages for window.open (r=bent)
2015-01-16 10:07:50 -08:00
Bill McCloskey
babe73ca74
Bug 567058 - Refactor b2g ProvideWindow to prepare for desktop changes (r=bent)
2015-01-16 10:06:56 -08:00
Ryan VanderMeulen
e0fc18abb8
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
294da091dd
Bug 567058 - Stop using intr messages for window.open (r=bent)
2015-01-12 20:36:42 -08:00
Bill McCloskey
bc4b2a086c
Bug 567058 - Refactor b2g ProvideWindow to prepare for desktop changes (r=bent)
2015-01-12 20:36:04 -08:00
Bill McCloskey
331965edcd
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
c4551483eb
Bug 1101029 - Overlay iframe on top of front-most app. r=roc, sicking
2015-01-09 09:55:18 +01:00
Botond Ballo
755b86ca3a
Bug 1076241 - Get rid of the nontransient async transform. r=kats
2014-12-19 18:53:05 -05:00
Phil Ringnalda
d5bc2e8a7c
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
29d9df892b
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
9085b13b1e
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
0de35ab99f
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
1b982fc3d7
Bug 970307: Part 3: Reinitialize modules after fork. r=fabrice
2014-12-18 17:01:33 +08:00
Ryan VanderMeulen
90f31ccf52
Merge inbound to m-c. a=merge
...
CLOSED TREE
2014-12-17 20:53:20 -05:00
Prabhjyot Singh Sodhi
74d83cd734
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
761ef8fd15
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
47e697b384
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é
13d9f723e5
Bug 1107259 - Remove the sync IPC getDPI() and getDefaultScale() during app startup. r=thinker
2014-12-12 09:50:46 -08:00
Josh Aas
f9e3926e19
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
550e972d13
Bug 1109694 - Fix more bad implicit constructors in DOM; r=baku
2014-12-10 17:49:09 -05:00