gecko-dev/widget/android/bindings
Emily Toop 02ade4a8a2 Bug 1462018 - Add API for taking screenshot of visible page.
Invert screen pixels in `nsWindow`.

Update `RequestScreenPixels` in `nsWindow` to accept a `GeckoResult` as an argument and save as a `GlobalRef`.
Update `RecvScreenPixels` in `nsWindow` in order to invert the image before sending over JNI rather than requiring callers to invert the image themselves.
Complete the `GeckoResult` if there is one in `RecvScreenPixels` instead of making a callback to the compositor.

Remove `RecvScreenPixels` from `GeckoSession` and `GeckoSession.Compositor`.
Move `RecvScreenPixels` and `getPixels` to `GeckoDisplay`
Rename `getPixels` to `capturePixels`

Return Bitmap from `RecvScreenPixels`.

Return `GeckoResult` from `capturePixels`.

Add doc comments to new methods and classes.
Update FennecNativeDriver to use `GeckoView` and `GeckoResult`.

Update API docs and Changelog

Add tests

Differential Revision: https://phabricator.services.mozilla.com/D21833

--HG--
extra : moz-landing-system : lando
2019-03-02 10:09:08 +00:00
..
AccessibilityEvent-classes.txt Bug 1499188 - Make accessibility entry input type an int in bundle message. r=jchen,Jamie 2018-10-16 16:43:16 +00:00
AndroidBuild-classes.txt Bug 1528665 - Remove GetAndroidSystemInfo sync IPC. r=geckoview-reviewers,mccr8,snorp 2019-02-19 21:19:14 +00:00
AndroidGraphics-classes.txt Bug 1462018 - Add API for taking screenshot of visible page. 2019-03-02 10:09:08 +00:00
AndroidInputType-classes.txt Bug 1499188 - Make accessibility entry input type an int in bundle message. r=jchen,Jamie 2018-10-16 16:43:16 +00:00
AndroidRect-classes.txt
InetAddress-classes.txt Bug 1529297 - Make GeckoWebExecutor.resolve() fail with UnknownHostException r=geckoview-reviewers,esawin 2019-02-22 14:23:37 +00:00
JavaBuiltins-classes.txt
JavaExceptions-classes.txt Bug 1462018 - Add API for taking screenshot of visible page. 2019-03-02 10:09:08 +00:00
KeyEvent-classes.txt
MediaCodec-classes.txt
MotionEvent-classes.txt
SurfaceTexture-classes.txt
ViewConfiguration-classes.txt
moz.build Bug 1462018 - Add API for taking screenshot of visible page. 2019-03-02 10:09:08 +00:00