Commit Graph

201 Commits

Author SHA1 Message Date
Kartikaya Gupta
9abfe48632 Bug 1146349 - Wire up native event synthesization in child processes. r=smaug 2015-04-14 11:36:36 -04:00
Kartikaya Gupta
6ad67a2382 Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Bob Owen
23750aee85 Bug 1149971 Part 2: Cet rid of kCurrentProcessId as it makes lots of static initializers. r=dvander 2015-04-01 13:59:20 +01:00
Nicolas Silva
f5f8474178 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Bob Owen
666e96adb9 Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
David Anderson
412129bebc Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats) 2015-03-26 14:23:02 -07:00
Maksim Lebedev
2947df3cef Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04:00
Ehsan Akhgari
33bb32f549 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
0b2c448446 Bug 1144324 - Remove the codepaths that conditionally enable touch events based on touch the presence of touch listeners. r=smaug,jimm 2015-03-19 06:37:39 -04:00
Kartikaya Gupta
bda9d932e3 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
David Anderson
8b0dc9dfe9 Add helper for applying async transforms to widget input events. (bug 1143567 part 1, r=kats) 2015-03-16 16:29:53 -07:00
Nicolas Silva
deb935b392 Bug 1125848 - Backout because of crashes. r=me 2015-03-13 15:13:12 +01:00
Nicolas Silva
7b0e746bb3 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Carsten "Tomcat" Book
cf1b7f571d Backed out changeset 622f0877bc3f (bug 1125848) for e10s bustage 2015-03-10 12:38:55 +01:00
Nicolas Silva
efc17f7372 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Nicolas Silva
7bed78ecdf Bug 1125848 - Reduce the likelyhood of a CompositorParent being destroyed without the proper shutdown sequence. r=sotaro 2015-03-09 10:46:56 +01:00
dvander@alliedmods.net
70d90515b1 Factor out how APZ-aware events are dispatched from widgets. (bug 1126090 part 2, r=kats) 2015-03-06 14:26:59 -08:00
Sotaro Ikeda
93b8bf86d8 Bug 1133426 - Care about new CompositorChild and CompositorParent re-creation. 2015-02-22 08:53:37 -08:00
David Anderson
2147691b41 Add weak reference support to nsBaseWidget. (bug 1133150, r=roc) 2015-02-17 22:27:53 -08:00
Botond Ballo
a3f5ee9fb5 Bug 1127066 - Use (nsBaseWidget's) APZEventState in ChromeProcessController. r=kats
--HG--
extra : source : 65d5458b6f6af13ebaf424ccef87d4a0654646c4
2015-02-09 19:06:06 -05:00
Botond Ballo
5725e5dbc8 Bug 1127066 - Use APZEventState in nsBaseWidget. r=kats
--HG--
extra : source : 64a96018a0782e6aafc4215bb995136020ea1391
2015-02-06 19:45:23 -05:00
Botond Ballo
d6a3fd9f6d Bug 1127066 - Implement proper sending of target-apzc notification and creation of displayport in the root process. r=kats
--HG--
extra : source : c9bb96ed11a96554006175b55e04f9feede60a04
2015-02-06 18:11:30 -05:00
Botond Ballo
cf0ac08b62 Bug 1127066 - Apply the APZ callback transform to touch events targeted to the root process. r=kats
--HG--
extra : source : 0df1683cb64100e03e4afd23a3d5e158788f082b
2015-02-04 12:52:18 -05:00
Botond Ballo
516cb8221c Bug 1125422 - Correctly determine whether a touch event was prevent-defaulted in the chrome process. r=kats 2015-02-10 16:28:07 -05:00
Kartikaya Gupta
837a435159 Bug 930939 - Switch the B2G controller thread from the main thread to the compositor thread. r=botond,mwu 2015-02-10 08:24:23 -05:00
Nicholas Nethercote
6ee3666899 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
Andrew McCreight
8413cc973c Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Robert O'Callahan
b5425a3820 Bug 1129774. Part 6: Remove aContext parameter from nsIWidget::CreateChild. r=jmathies
--HG--
extra : rebase_source : cbe3decbca5f4a212a3ed6cbcd5132729a8b3cd3
2015-02-05 18:38:47 +13:00
Robert O'Callahan
74edebf611 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
Robert O'Callahan
45f4974998 Bug 1129774. Part 4: Remove aContext parameter from AttachViewToTopLevel. r=jmathies
--HG--
extra : rebase_source : e9fd43e7754223f469e2a97315c3d6bd1c6bbca3
2015-02-05 18:33:49 +13:00
Robert O'Callahan
378416b9f9 Bug 1129774. Part 3: Remove aContext parameter from BaseCreate and make it nonvirtual. r=jmathies
--HG--
extra : rebase_source : 9fd0a3e071b7d3ad273667f144889938bc5d9dc4
2015-02-05 18:18:30 +13:00
Robert O'Callahan
f9a2a3facd Bug 1129774. Part 2: Remove nsBaseWidget::mContext. r=jmathies
--HG--
extra : rebase_source : ca7dcac5d203c2b41736cc58163a1f055593cf02
2015-02-05 17:54:45 +13:00
Robert O'Callahan
1a1501eb74 Bug 1129774. Remove unused nsBaseWidget::GetDeviceContext. r=jmathies
--HG--
extra : rebase_source : 7097d97d21abcb4107838c21ab62061b8273e453
2015-02-05 17:03:32 +13:00
Nicholas Nethercote
3629781b69 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
Botond Ballo
aced586846 Bug 1128527 - Only create an APZCTreeManager for widgets for toplevel and child windows. r=kats,Bas 2015-02-04 12:53:07 -05:00
Botond Ballo
b4c29b2836 Bug 1124452 - Store the widget in ChromeProcessController. r=kats
--HG--
extra : rebase_source : 007affed79a563eee52b25c21f8c1f8eda980542
2015-01-14 18:46:37 -05:00
Jim Mathies
cb85ff4a2b Bug 1095754 - Add platform widget support for providing widget identifiers used in remote widget tracking and hookl this up on gtk and Windows. r=roc 2015-01-29 13:41:57 -06:00
Jim Mathies
e5e145ed22 Bug 1095754 - Provide a way to track and access native plugin widgets so they can be accessed from global scope. r=aklotz 2015-01-29 13:41:53 -06:00
Jim Mathies
9ad8a70a71 Bug 1126164 - Avoid setting clip regions on plugin windows if the same clip region was already set. r=roc 2015-01-28 09:15:54 -06:00
Masayuki Nakano
b3a2564e22 Bug 917322 part.19 Add nsITextInputProcessorCallback r=smaug+xyuan, sr=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano
3a205a6e4e Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug 2015-01-28 15:27:31 +09:00
Masayuki Nakano
bc810e710e Bug 917322 part.1 Create mozilla::widget::TextEventDispatcher class r=smaug, sr=smaug
--HG--
rename : dom/base/CompositionStringSynthesizer.cpp => widget/TextEventDispatcher.cpp
rename : dom/base/CompositionStringSynthesizer.h => widget/TextEventDispatcher.h
2015-01-28 15:27:30 +09:00
Mason Chang
31ac06c046 Bug 1113725. Rename VsyncDispatcher to CompositorVsyncDispatcher. r=kats 2014-12-19 12:52:42 -08:00
David Anderson
f52f1d7e04 Handle in-process APZ events correctly on Windows. (bug 1111873 part 2, r=kats)
--HG--
extra : rebase_source : 8ca5156392705e3a1806fc6a15154dbaa380f438
2014-12-18 15:25:03 -08:00
Mason Chang
242ecd1c6c Bug 1101974. Part 1: Create VsyncDispatcher at nsBaseWidget. r=roc 2014-12-18 08:30:05 -08:00
David Anderson
d556e1e7b3 Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats) 2014-12-15 01:49:48 -08:00
David Anderson
104a98a38b Move APZC initialization into nsBaseWidget. (bug 1110540 part 1, r=kats) 2014-12-15 01:47:15 -08:00
Vladimir Vukicevic
ac4942d083 Bug 1036597 - extend widget's MakeFullScreen method to take an optional nsIScreen indicating the target; r=karlt 2014-07-09 12:29:28 -07:00
Boris Chiou
4b888d9c25 Bug 1096139 - Create websocket dynamically after we enable Layerscope. r=dglastonbury
We have to create the websocket if it doesn't exist after enabling
Layerscope. Therefore, we don't have to reboot the device anymore.

1. Remove the Init and DeInit in CreateCompositor and DestroyCompositor
   to prevent some unwanted deInits on the browser. (Our browser often
   calls DestroyCompositor)
2. Initize websocket only when we need it.
2014-11-20 02:00:00 +01:00
Jim Mathies
16fae775ad Bug 669200 - Various widget changes to support two new types of plugin widget. r=roc 2014-11-12 14:59:19 -06:00
Mason Chang
45545e98e0 Bug 1085696. Part 1 Move widget/xpwidget to /widget. r=roc
--HG--
rename : widget/xpwidgets/ContentHelper.cpp => widget/ContentHelper.cpp
rename : widget/xpwidgets/ContentHelper.h => widget/ContentHelper.h
rename : widget/xpwidgets/GfxDriverInfo.cpp => widget/GfxDriverInfo.cpp
rename : widget/xpwidgets/GfxDriverInfo.h => widget/GfxDriverInfo.h
rename : widget/xpwidgets/GfxInfoBase.cpp => widget/GfxInfoBase.cpp
rename : widget/xpwidgets/GfxInfoBase.h => widget/GfxInfoBase.h
rename : widget/xpwidgets/GfxInfoCollector.cpp => widget/GfxInfoCollector.cpp
rename : widget/xpwidgets/GfxInfoCollector.h => widget/GfxInfoCollector.h
rename : widget/xpwidgets/GfxInfoWebGL.cpp => widget/GfxInfoWebGL.cpp
rename : widget/xpwidgets/GfxInfoWebGL.h => widget/GfxInfoWebGL.h
rename : widget/xpwidgets/GfxInfoX11.cpp => widget/GfxInfoX11.cpp
rename : widget/xpwidgets/GfxInfoX11.h => widget/GfxInfoX11.h
rename : widget/xpwidgets/InputData.cpp => widget/InputData.cpp
rename : widget/xpwidgets/PuppetWidget.cpp => widget/PuppetWidget.cpp
rename : widget/xpwidgets/PuppetWidget.h => widget/PuppetWidget.h
rename : widget/xpwidgets/ScreenProxy.cpp => widget/ScreenProxy.cpp
rename : widget/xpwidgets/ScreenProxy.h => widget/ScreenProxy.h
rename : widget/shared/SharedWidgetUtils.cpp => widget/SharedWidgetUtils.cpp
rename : widget/xpwidgets/WidgetUtils.cpp => widget/WidgetUtils.cpp
rename : widget/xpwidgets/nsAppShellSingleton.h => widget/nsAppShellSingleton.h
rename : widget/xpwidgets/nsBaseAppShell.cpp => widget/nsBaseAppShell.cpp
rename : widget/xpwidgets/nsBaseAppShell.h => widget/nsBaseAppShell.h
rename : widget/xpwidgets/nsBaseClipboard.cpp => widget/nsBaseClipboard.cpp
rename : widget/xpwidgets/nsBaseClipboard.h => widget/nsBaseClipboard.h
rename : widget/xpwidgets/nsBaseDragService.cpp => widget/nsBaseDragService.cpp
rename : widget/xpwidgets/nsBaseDragService.h => widget/nsBaseDragService.h
rename : widget/xpwidgets/nsBaseFilePicker.cpp => widget/nsBaseFilePicker.cpp
rename : widget/xpwidgets/nsBaseFilePicker.h => widget/nsBaseFilePicker.h
rename : widget/xpwidgets/nsBaseScreen.cpp => widget/nsBaseScreen.cpp
rename : widget/xpwidgets/nsBaseScreen.h => widget/nsBaseScreen.h
rename : widget/xpwidgets/nsBaseWidget.cpp => widget/nsBaseWidget.cpp
rename : widget/xpwidgets/nsBaseWidget.h => widget/nsBaseWidget.h
rename : widget/xpwidgets/nsClipboardHelper.cpp => widget/nsClipboardHelper.cpp
rename : widget/xpwidgets/nsClipboardHelper.h => widget/nsClipboardHelper.h
rename : widget/xpwidgets/nsClipboardProxy.cpp => widget/nsClipboardProxy.cpp
rename : widget/xpwidgets/nsClipboardProxy.h => widget/nsClipboardProxy.h
rename : widget/xpwidgets/nsColorPickerProxy.cpp => widget/nsColorPickerProxy.cpp
rename : widget/xpwidgets/nsColorPickerProxy.h => widget/nsColorPickerProxy.h
rename : widget/xpwidgets/nsContentProcessWidgetFactory.cpp => widget/nsContentProcessWidgetFactory.cpp
rename : widget/xpwidgets/nsFilePickerProxy.cpp => widget/nsFilePickerProxy.cpp
rename : widget/xpwidgets/nsFilePickerProxy.h => widget/nsFilePickerProxy.h
rename : widget/xpwidgets/nsHTMLFormatConverter.cpp => widget/nsHTMLFormatConverter.cpp
rename : widget/xpwidgets/nsHTMLFormatConverter.h => widget/nsHTMLFormatConverter.h
rename : widget/xpwidgets/nsIWidgetListener.cpp => widget/nsIWidgetListener.cpp
rename : widget/xpwidgets/nsIdleService.cpp => widget/nsIdleService.cpp
rename : widget/xpwidgets/nsIdleService.h => widget/nsIdleService.h
rename : widget/xpwidgets/nsNativeTheme.cpp => widget/nsNativeTheme.cpp
rename : widget/xpwidgets/nsNativeTheme.h => widget/nsNativeTheme.h
rename : widget/xpwidgets/nsPrimitiveHelpers.cpp => widget/nsPrimitiveHelpers.cpp
rename : widget/xpwidgets/nsPrimitiveHelpers.h => widget/nsPrimitiveHelpers.h
rename : widget/xpwidgets/nsPrintOptionsImpl.cpp => widget/nsPrintOptionsImpl.cpp
rename : widget/xpwidgets/nsPrintOptionsImpl.h => widget/nsPrintOptionsImpl.h
rename : widget/xpwidgets/nsPrintSession.cpp => widget/nsPrintSession.cpp
rename : widget/xpwidgets/nsPrintSession.h => widget/nsPrintSession.h
rename : widget/xpwidgets/nsPrintSettingsImpl.cpp => widget/nsPrintSettingsImpl.cpp
rename : widget/xpwidgets/nsPrintSettingsImpl.h => widget/nsPrintSettingsImpl.h
rename : widget/xpwidgets/nsScreenManagerProxy.cpp => widget/nsScreenManagerProxy.cpp
rename : widget/xpwidgets/nsScreenManagerProxy.h => widget/nsScreenManagerProxy.h
rename : widget/xpwidgets/nsTransferable.cpp => widget/nsTransferable.cpp
rename : widget/xpwidgets/nsTransferable.h => widget/nsTransferable.h
rename : widget/xpwidgets/nsXPLookAndFeel.cpp => widget/nsXPLookAndFeel.cpp
rename : widget/xpwidgets/nsXPLookAndFeel.h => widget/nsXPLookAndFeel.h
2014-10-23 10:16:45 -07:00