Commit Graph

918 Commits

Author SHA1 Message Date
Bobby Holley
28a3efa072 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Victor Porof
334b8c8024 Bug 1050498 - Record compositing operations, r=jsantell,smaug,tromey 2015-08-25 08:51:58 +03:00
Yoshi Huang
25acbe867f Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Masayuki Nakano
d56a7cc348 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Benoit Girard
620f200e11 Bug 1186662 - Part 1: Add SuppressDisplayport painting and use it during tab switch. r=kats,mconley 2015-08-19 17:08:41 -04:00
William Chen
cb7d38cf1d Bug 1131470 - Part 1: Rename existing use of ScreenOrientation to ScreenOrientationInternal. r=baku 2015-08-18 14:55:09 -07:00
Mike Conley
cfd5c1fa5a 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.
2015-08-06 10:44:16 -04:00
Gabor Krizsanits
40f4b4b71c Bug 1175940 - UIResolutionChanged should not trigger sync messages from content to chrome. r=mconley 2015-08-13 16:42:19 +02:00
Ehsan Akhgari
380cdc7d57 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
64888c286f Merge b2g-inbound to m-c. a=merge 2015-08-06 15:37:49 -04:00
Alastor Wu
b8b1c3f9eb Bug 1186135 - change active flag per channel. r=ehsan 2015-08-05 10:47:10 +08:00
Birunthan Mohanathas
9b6236a10a 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
68210f3fab 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
0330438c51 Bug 1155547, Part 1: Fix unified build breakage in adding new sources under dom/ipc/. r=khuey 2015-07-31 15:25:14 +08:00
Botond Ballo
b70da53918 Bug 1131359 - Port the double-tap-to-zoom functionality of BrowserElementPanning.js to C++. r=kats 2015-07-27 14:07:58 -04:00
Neil Deakin
51962e079e 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
7155d8167a 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
cf59496914 Merge mozilla-central to mozilla-inbound 2015-07-21 17:04:09 +02:00
Kartikaya Gupta
04cafb7401 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
ebdbc83ad2 Backed out changeset f5ea755e3cb9 (bug 1176239) for test failures in browser_focusnavigation.js 2015-07-21 15:22:15 +02:00
Carsten "Tomcat" Book
1fa65384c1 Backed out changeset 313ea7f814d3 (bug 1178847) 2015-07-21 08:34:57 +02:00
Neil Deakin
c797d57c09 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
f2cce21d65 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
caba121b6c 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.
2015-07-10 11:40:19 -04:00
Mike Conley
ac8df6815f 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.
2015-07-17 11:30:51 -04:00
Birunthan Mohanathas
e52329c788 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
6b162d8330 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
ebd98e9199 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
0bc4f08925 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
bbfb9c4aa0 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
6a80a5a324 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe 2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book
14a729099c Backed out changeset 768c8cd889e8 (bug 1113086) 2015-07-11 14:13:59 +02:00
Masayuki Nakano
21b84a5198 Bug 1176954 part.8 ContentCacheInParent::OnEventNeedingAckReceived() should log the event message r=smaug 2015-07-11 10:53:56 +09:00
Masayuki Nakano
d297c99b0b 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
c71d5407bc 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
80b5f477f2 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 21:08:43 -04:00
Xidorn Quan
76a19944b1 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)
2015-07-11 10:55:59 +10:00
Andrea Marchesini
6dc8655fca 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
fbe5ce79eb Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Mike Conley
9e478221dd 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.
2015-06-29 14:37:57 -04:00
Masayuki Nakano
0aae336afc 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
52a95fd7ea 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
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