gecko-dev/widget/android
Jim Chen e559b260ee Bug 1137567 - Make nsWindow for Android use TextEventDispatcher; r=esawin r=rbarker r=masayuki r=snorp
Bug 1137567 - 1. Allow dispatching key events during composition; r=esawin

We potentially dispatch key events during composition to provide
compatibility for pages that only listen to key events.

Bug 1137567 - 2. Allow keyboard events in DispatchInputEvent when not on APZ thread; r=rbarker

We use nsIWidget::DispatchInputEvent to dispatch our keyboard events on
the Gecko thread, which on Android is not the APZ controller thread. We
should allow these events to pass instead of crashing.

Bug 1137567 - 3. Add GeckoEditableSupport class to support TextEventDispatcher; r=masayuki

Add a separate GeckoEditableSupport class, which implements
TextEventDispatcherListener and uses TextEventDispatcher for IME
operations. The new class is entirely separate from nsWindow to allow it
to be independently used in content processes as well.

Most of the code is copied from nsWindow::GeckoViewSupport, and adapted
to use TextEventDispatcher.

Bug 1137567 - 4. Make nsWindow::WindowPtr available for outside classes; r=snorp

Make nsWindow::WindowPtr available not just for classes inside nsWindow
but for outside classes as well. Also, add support for RefPtr native
objects to nsWindow::NativePtr.

Bug 1137567 - 5. Use GeckoEditableSupport in nsWindow; r=esawin

Use the new GeckoEditableSupport class in nsWindow to replace the
previous code in nsWindow::GeckoViewSupport. GeckoEditable native
methods now go to GeckoEditableSupport instead of GeckoViewSupport.

Several native methods in GeckoEditable are changed from
dispatchTo="proxy" to dispatchTo="gecko", because we no longer need the
special nsWindow::WindowEvent wrapper for our native calls.

Bug 1137567 - 6. Use pushPrefEnv in test_assign_event_data.html; r=masayuki

setAndObserveCompositionPref in test_assign_event_data.html does not
invoke the callback if the pref is already set. This patch changes it to
use SpecialPowers.pushPrefEnv so the callback is always invoked.
2017-03-01 15:29:30 -05:00
..
bindings
fennec
jni Bug 1328115 - 3. Check for exceptions when finding Java class; r=snorp 2017-01-09 14:10:24 -05:00
ANRReporter.cpp Bug 1340928 (part 16) - Clean up profiler env var handling. r=mstange. 2017-02-23 14:26:46 +11:00
ANRReporter.h
AndroidAlerts.cpp
AndroidAlerts.h
AndroidBridge.cpp Bug 1334728 - 2. Require string value for dispatch event type; r=snorp 2017-02-01 17:35:45 -05:00
AndroidBridge.h Bug 1333590 - 6. Remove GeckoEventListener and NativeEventListener; r=snorp r=sebastian 2017-02-01 17:35:45 -05:00
AndroidBridgeUtilities.h
AndroidCompositorWidget.cpp Bug 1329362 - part 2, Add accessor functions for EGLNativeWindowType, ANativeWindow, and EGLSurface to AndroidCompositorWidget r=dvander,kats 2017-01-27 09:32:24 -08:00
AndroidCompositorWidget.h Bug 1329362 - part 2, Add accessor functions for EGLNativeWindowType, ANativeWindow, and EGLSurface to AndroidCompositorWidget r=dvander,kats 2017-01-27 09:32:24 -08:00
AndroidContentController.cpp
AndroidContentController.h
AndroidDirectTexture.h
AndroidGraphicBuffer.h
AndroidJNI.cpp
AndroidJNIWrapper.cpp
AndroidJNIWrapper.h
AndroidJavaWrappers.cpp
AndroidJavaWrappers.h
AndroidUiThread.cpp Bug 1331055 - Ensure the Android UI nsThread has been initialized before making it accessible. r=jchen 2017-01-17 18:47:20 -08:00
AndroidUiThread.h Bug 1328747 - Make Android UI nsThread and MessageLoop creation asynchronous r=froydnj 2017-01-11 09:42:29 -08:00
EventDispatcher.cpp Bug 1337427 - Add MOZ_MUST_USE to GCVector bool returns, r=woof! 2017-02-07 16:13:04 -08:00
EventDispatcher.h Bug 1322576 - [5.3] Make GeckoView settings accessible through nsIAndroidView. r=jchen 2017-02-22 14:57:42 +01:00
GeckoBatteryManager.h
GeckoEditableSupport.cpp Bug 1137567 - Make nsWindow for Android use TextEventDispatcher; r=esawin r=rbarker r=masayuki r=snorp 2017-03-01 15:29:30 -05:00
GeckoEditableSupport.h Bug 1137567 - Make nsWindow for Android use TextEventDispatcher; r=esawin r=rbarker r=masayuki r=snorp 2017-03-01 15:29:30 -05:00
GeckoNetworkManager.h
GeckoScreenOrientation.h
GeneratedJNINatives.h Bug 1333590 - 6. Remove GeckoEventListener and NativeEventListener; r=snorp r=sebastian 2017-02-01 17:35:45 -05:00
GeneratedJNIWrappers.cpp Bug 1333590 - 6. Remove GeckoEventListener and NativeEventListener; r=snorp r=sebastian 2017-02-01 17:35:45 -05:00
GeneratedJNIWrappers.h Bug 1137567 - Make nsWindow for Android use TextEventDispatcher; r=esawin r=rbarker r=masayuki r=snorp 2017-03-01 15:29:30 -05:00
GfxInfo.cpp
GfxInfo.h
PrefsHelper.h
moz.build Bug 1137567 - Make nsWindow for Android use TextEventDispatcher; r=esawin r=rbarker r=masayuki r=snorp 2017-03-01 15:29:30 -05:00
nsAndroidProtocolHandler.cpp
nsAndroidProtocolHandler.h
nsAppShell.cpp Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter 2017-02-16 00:45:15 +05:30
nsAppShell.h
nsClipboard.cpp
nsClipboard.h
nsDeviceContextAndroid.cpp Bug 1331820 - Fix misuse of NS_NewNativeLocalFile in widget/android/. r=blassey 2017-01-21 15:43:41 +09:00
nsDeviceContextAndroid.h
nsIAndroidBridge.idl Bug 1337325 - Remove unused zoom and scroll code from browser.js r=kats 2017-02-12 13:33:42 +01:00
nsIdleServiceAndroid.cpp
nsIdleServiceAndroid.h
nsLookAndFeel.cpp
nsLookAndFeel.h
nsPrintOptionsAndroid.cpp
nsPrintOptionsAndroid.h
nsScreenManagerAndroid.cpp
nsScreenManagerAndroid.h
nsWidgetFactory.cpp
nsWindow.cpp Bug 1137567 - Make nsWindow for Android use TextEventDispatcher; r=esawin r=rbarker r=masayuki r=snorp 2017-03-01 15:29:30 -05:00
nsWindow.h Bug 1137567 - Make nsWindow for Android use TextEventDispatcher; r=esawin r=rbarker r=masayuki r=snorp 2017-03-01 15:29:30 -05:00