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

1031 Коммитов

Автор SHA1 Сообщение Дата
J. Ryan Stinnett a899dd1d54 Bug 1268688 - Start browser API for frames swapping to HTML. r=bz
MozReview-Commit-ID: 56lMg0b86Bp
2016-05-03 14:58:03 -05:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Wei-Cheng Pan daa8e38158 Bug 1259641 - Do not force reflow for all tabs when size mode changed. r=smaug
MozReview-Commit-ID: GoTCM60Hmlf

--HG--
extra : transplant_source : S%88%AD%A3%99%9Bk%D3%E4U%0302%82%87o3%28%FFK
2016-04-20 11:41:42 +08: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
Masayuki Nakano 07b6f24132 Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
MozReview-Commit-ID: 167PQWJDEHW

--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09: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
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
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Mike Conley 89939d58dc Bug 1254865 - Send disableglobalhistory state down to TabChild after construction asynchronously. r=smaug
disableglobalhistory is an attribute that we support on <xul:browser> that
can be used to signal to the underlying DocShell whether or not it should
record visits in global history.

This patch adds support for this attribute by detecting it at the time
that the TabParent is bound to the browser, and then sending the presence
of the attribute to the TabChild, which then sets the state in its DocShell.

MozReview-Commit-ID: 9miKtdotTho

--HG--
extra : rebase_source : 542fda3be4ae863dd780a02012e45d446310cf09
extra : source : 28e2799f016719e083c16d94f8cfd6a5d56a3650
2016-03-23 14:39:28 -04:00
Jeff Muizelaar aacbe16708 Bug 1242668 - Hold more references. r=sotaro
--HG--
extra : rebase_source : bc808856afacc93eb472f6a18ca2b791c8bfe7f0
2016-02-25 17:26:10 -05:00
David Anderson f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
David Anderson d6945e4086 Rename PCompositor to PCompositorBridge. (bug 1258479 part 1, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/PCompositor.ipdl => gfx/layers/ipc/PCompositorBridge.ipdl
2016-03-22 14:07:08 -04:00
Ehsan Akhgari 3482a3267c Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.

We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper.  That code is responsible for doing this work in the
single process case.
2016-03-18 11:13:20 -04:00
Blake Kaplan 8dbef1fbeb Bug 1253307 - Use a better function to load web handler apps in e10s. r=billm/mconley 2016-03-15 15:48:37 -07:00
Kartikaya Gupta 8792f6fbea Bug 1242690 - Ensure that mouse events have the callback transform applied. r=botond
MozReview-Commit-ID: 9V7xXPT8WHk
2016-03-10 18:25:48 -05:00
Kartikaya Gupta 6b0ece7075 Bug 1255054 - Try to do a repaint of the unsuppressed displayport after displayport suppression has ended. r=BenWa
MozReview-Commit-ID: 7JN4PHEEjUT
2016-03-09 16:56:54 -05:00
Yoshi Huang e8cb28ed02 Bug 1252811 - remove mIsInIsolatedMozBrowser from nsDocShell. r=smaug 2016-03-07 12:21:49 +08: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
Yoshi Huang ce8e69a274 Bug 1227861 - Add OriginAttributes getter/setter into nsIDocShell. r=smaug, sicking 2016-02-16 15:04:14 +08:00
J. Ryan Stinnett 764b9f1ffa Bug 1238160 - Set frame type on TabContext. r=billm,mayhemer
This change renames TabContext::IsBrowserElement to IsIsolatedMozBrowserElement.
Other methods that pass these values around also have name changes.

Adds TabContext::IsMozBrowserElement which is set by the frame loader for all
browser frames.  This is in contrast to its previous implementation, which has
since been renamed IsIsolatedMozBrowserElement, since it checks isolated state
in OriginAttributes.

TabContext methods related to browser elements (and their callers) are updated
to use IsIsolatedMozBrowserElement when check isolation / origins and
IsMozBrowserElement when checking frame types.

MozReview-Commit-ID: DDMZTkSn5yd
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett 777c113bb3 Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
David Anderson 0efa6917a2 Ensure that content processes recreate rendering devices. (bug 1245765 part 8, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
David Anderson c00e9a5d93 Handle device resets by recreating the compositor, rather than the compositor IPDL stack. (bug 1245765 part 7, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
David Anderson dd2df9d99a Remove some static_casting in CompositorParent. (bug 1245765 part 5, r=mattwoodrow) 2016-02-29 01:53:14 -05:00
David Anderson 569787dba9 Propagate D3D9 device resets to remote layers. (bug 1245765 part 2, r=mattwoodrow) 2016-02-29 01:53:12 -05:00
Kartikaya Gupta eb1055aff7 Bug 1249943 - Make test_basic_pan work on Fennec and Linux as well. r=botond
This patch convers the APZ:TransformEnd notification from a MessageManager message
to an observer notification so that it is more general and works on other platforms.

MozReview-Commit-ID: 8SSir828Ch7
2016-02-25 11:15:14 -05:00
Brendan Dahl 1e077c8a5f Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-23 17:10:00 +01:00
L. David Baron e73ad62be0 Back out changeset 027c6cc12078 (bug 1249943) for making test_basic_pan.html permafail (timeout) on Linux, on a CLOSED TREE. 2016-02-24 15:57:29 -08:00
Kartikaya Gupta 2e5e8ea0d9 Bug 1249943 - Make test_basic_pan work on Fennec and Linux as well. r=botond
This patch convers the APZ:TransformEnd notification from a MessageManager message
to an observer notification so that it is more general and works on other platforms.

MozReview-Commit-ID: 8SSir828Ch7
2016-02-24 13:19:45 -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
Nathan Froyd 69d27155df Bug 1247362 - move mAnonymousGlobalScope tracing into nsMessageManagerScriptExecutor; r=mccr8 2016-02-09 17:08:53 -05: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
Kartikaya Gupta 6f5c11bbbf Back out 3 csets from bug 1242690 for causing bug 1244549. r=backout
--HG--
extra : commitid : G7hFhHC4YDt
2016-01-31 14:44:58 -05:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Kartikaya Gupta eec655d1f0 Bug 1242690 - Ensure that mouse events have the callback transform applied. r=botond
--HG--
extra : commitid : IXh9rbTOf5R
2016-01-29 16:31:15 -05:00
Carsten "Tomcat" Book adbf945ebf merge mozilla-inbound to mozilla-central a=merge 2016-01-21 11:49:16 +01:00
Kate McKinley 6a757b6d5f Bug 1195881 - Contextual Identity working under e10s. r=tanvi r=sicking r=baku 2016-01-20 00:28:00 +01:00
Randall Barker 45a15ccb02 Bug 1231517 - part 3, Add ZoomToRect function to nsIWidget classes r=kats 2016-01-20 16:24:59 -08:00
Andrew McCreight 0b34e1b3cc Bug 1230385, part 2 - Use NS_WARNING in unimplemented TabChild methods. r=billm
At least some of these methods can be called from chrome JS, so
warn instead of having an inaccurate static analysis annotation
about code never being reached.
2016-01-08 12:40:26 -08:00
Phil Ringnalda 4929b34577 Back out 194d7968bf59 (bug 1195881) for e10s failures in browser_sessionStoreContainer.js 2016-01-07 20:28:38 -08:00
Kate McKinley 82579c5c6c Bug 1195881 - Pass userContext through NeckoParent and TabChild. r=tanvi, r=sicking 2016-01-07 10:51:04 -08:00
Andrea Marchesini 9b34c64d31 Bug 1235576 - Fix the indentation in dom/ipc, r=smaug 2016-01-05 09:59:30 +00:00
Makoto Kato 5b4d938e60 Bug 1208944 - Part 10-a. Call CallWindowProc when WidgetPluginEvent isn't handled by plugin. r=masayuki 2015-12-29 22:57:38 +09:00
Makoto Kato 7530d01116 Bug 1208944 - Part 5. Send PluginEvent to content process. r=jmathies 2015-12-29 22:57:38 +09:00
Sebastian Hengst e082884d78 Backed out 15 changesets (bug 1208944) for failing tests M(2,5) on OSX. r=backout
Backed out changeset c29de223de2f (bug 1208944)
Backed out changeset 3d99da255be1 (bug 1209844)
Backed out changeset 3c915942af38 (bug 1209844)
Backed out changeset 759b425b5503 (bug 1208944)
Backed out changeset bf73cf8f0fda (bug 1208944)
Backed out changeset 0e337d912b7d (bug 1208944)
Backed out changeset 31c47f2980b5 (bug 1208944)
Backed out changeset 3e0d70a6e809 (bug 1208944)
Backed out changeset 7685dcb63e5f (bug 1208944)
Backed out changeset 3c2b9372dd36 (bug 1208944)
Backed out changeset 18160d306493 (bug 1208944)
Backed out changeset 4974e397b655 (bug 1208944)
Backed out changeset fde7e439844d (bug 1208944)
Backed out changeset 4213a355fbdc (bug 1208944)
Backed out changeset 33cfddbbf5f2 (bug 1208944)
2015-12-29 17:42:02 +01:00
Makoto Kato b0adec59a2 Bug 1208944 - Part 10-a. Call CallWindowProc when WidgetPluginEvent isn't handled by plugin. r=masayuki 2015-12-29 22:57:38 +09:00
Makoto Kato 4ac6c97dcd Bug 1208944 - Part 5. Send PluginEvent to content process. r=jmathies 2015-12-29 22:57:38 +09:00
Carsten "Tomcat" Book 717016fa6e Merge mozilla-central to mozilla-inbound 2015-12-22 11:47:56 +01:00