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

163 Коммитов

Автор SHA1 Сообщение Дата
David Anderson 8a9daf3775 Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats) 2015-05-12 01:26:01 -04:00
Kartikaya Gupta 85f09c0ea6 Bug 1162179 - Don't create APZCTreeManagers for windows which aren't multiprocess. r=dvander 2015-05-06 19:15:10 -04:00
Anthony Tseng 6fe5a1137f Bug 1158425 - Rename _SYNTH event names. r=smaug
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Mason Chang c73d24b44c Bug 1155823 - Properly shutdown the CompositorVsyncDispatcher. r=kats 2015-04-29 08:48:31 -07:00
Milan Sreckovic 1266c84e30 Bug 1158284 - Utility in gfxPlatform to check for safe mode, lazier computation if we should accelerate and random cleanup of prefs usage. r=botond 2015-04-24 12:33:35 -07:00
Kartikaya Gupta f300e99712 Bug 1154739 - On desktop platforms, only enable APZ in e10s windows. r=dvander,mstange 2015-04-27 16:13:29 -04:00
Kartikaya Gupta 57b4bbe2ca Bug 1154739 - Rename flag to be more general. r=billm 2015-04-27 16:13:29 -04:00
Jim Mathies cf1973ae61 Bug 1156283 - Avoid shutdown observer race when shutting down gfx on Mac. r=roc 2015-04-21 05:24:21 -05:00
L. David Baron 477258dd0a Bug 1153570 - Remove AutoUseBasicLayerManager, which has been unused since 78b90e6c491b (bug 676241 part 3). r=mstange 2015-04-16 18:13:14 -07:00
Jim Mathies 27569381f4 Bug 1153939 - Avoid a race condition with setting nsBaseWidgets WidgetShutdownObserver widget pointer to null. Fixes a crash in nsBaseWidget::DestroyCompositor(). r=roc
--HG--
extra : rebase_source : 3b38830b93428aedc44c83278efe4667f77fd0ba
2015-04-16 10:16:04 -05:00
Nicolas Silva 165625d4bc Bug 1151644 - Don't disallow the basic compositor backend. r=jrmuizel 2015-04-16 07:57:00 +02: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
Kartikaya Gupta 19ef59aa9f Bug 1146349 - Wire up native event synthesization in child processes. r=smaug 2015-04-14 11:36:36 -04:00
Kartikaya Gupta 5cf2d407fd Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Bob Owen 283c8df550 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 cb846d13d3 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Bob Owen e4f543bb58 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 274c9d4c17 Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats)
--HG--
extra : rebase_source : ce0beebda151fdf5adf69e998465c684b193db75
2015-03-26 14:23:02 -07:00
Maksim Lebedev 9e2e275653 Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04: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 fdaed2c4d6 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 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
David Anderson acced07338 Add helper for applying async transforms to widget input events. (bug 1143567 part 1, r=kats)
--HG--
extra : rebase_source : 98eece05d50dee335273b874d9f42aad949c658d
2015-03-16 16:29:53 -07:00
Nicolas Silva a8b719ecbb Bug 1125848 - Backout because of crashes. r=me 2015-03-13 15:13:12 +01:00
Nicolas Silva 41031003e6 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Carsten "Tomcat" Book 722fe2fc5b Backed out changeset 622f0877bc3f (bug 1125848) for e10s bustage 2015-03-10 12:38:55 +01:00
Nicolas Silva fad35892a9 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Nicolas Silva 40d7c19d35 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 bbb91f19dc 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 124a6df323 Bug 1133426 - Care about new CompositorChild and CompositorParent re-creation. 2015-02-22 08:53:37 -08:00
David Anderson 8b68b8e3e8 Add weak reference support to nsBaseWidget. (bug 1133150, r=roc) 2015-02-17 22:27:53 -08:00
Botond Ballo 65a2a78c03 Bug 1127066 - Use (nsBaseWidget's) APZEventState in ChromeProcessController. r=kats
--HG--
extra : source : 65d5458b6f6af13ebaf424ccef87d4a0654646c4
2015-02-09 19:06:06 -05:00
Botond Ballo f17fd2d285 Bug 1127066 - Use APZEventState in nsBaseWidget. r=kats
--HG--
extra : source : 64a96018a0782e6aafc4215bb995136020ea1391
2015-02-06 19:45:23 -05:00
Botond Ballo 985154a7f1 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 c6a3af10a1 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 6193a8d9da 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 ddc075e4eb 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 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
Andrew McCreight d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Robert O'Callahan 276498a9e2 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 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
Robert O'Callahan 53f642c7da 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 282e59cd87 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 b20e0a44bf 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 477b9ab40e Bug 1129774. Remove unused nsBaseWidget::GetDeviceContext. r=jmathies
--HG--
extra : rebase_source : 7097d97d21abcb4107838c21ab62061b8273e453
2015-02-05 17:03:32 +13: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
Botond Ballo bf97c2533d 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 2c43a0247a Bug 1124452 - Store the widget in ChromeProcessController. r=kats
--HG--
extra : rebase_source : 007affed79a563eee52b25c21f8c1f8eda980542
2015-01-14 18:46:37 -05:00
Jim Mathies f93fc49262 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 21a997ff89 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 7c8119a5cf 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 23bb94d093 Bug 917322 part.19 Add nsITextInputProcessorCallback r=smaug+xyuan, sr=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano dd277f3277 Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug 2015-01-28 15:27:31 +09:00
Masayuki Nakano 8ef42d4816 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 2166723055 Bug 1113725. Rename VsyncDispatcher to CompositorVsyncDispatcher. r=kats 2014-12-19 12:52:42 -08:00
David Anderson e2f100731e 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 20f79754b3 Bug 1101974. Part 1: Create VsyncDispatcher at nsBaseWidget. r=roc 2014-12-18 08:30:05 -08:00
David Anderson 8226f0cd2e Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats) 2014-12-15 01:49:48 -08:00
David Anderson aa0028e4da Move APZC initialization into nsBaseWidget. (bug 1110540 part 1, r=kats) 2014-12-15 01:47:15 -08:00
Vladimir Vukicevic 54548bfc2b 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 fe464f5aa9 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 a323270a8b 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 8180f9229c 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