Changes

Jump to: navigation, search

Platform/GFX/APZ

1,052 bytes added, 17:54, 4 November 2013
Interactions with other components
** a reflow that causes a change in the dimensions of a scrollable layer (APZCTreeManager::UpdateCompositionBounds())
** a scrollTo performed by content (APZCTreeManager::UpdateScrollOffset())
** a request to zoom in to a rectangle (APZCTreeManager::ZoomToRect())
=== Gecko ===
The APZ interacts with Gecko through an interface called '''[https://mxr.mozilla.org/mozilla-central/source/gfx/layers/ipc/GeckoContentController.h GeckoContentController]'''. The implementation of this interface is provided by the widget code, and as such is different for each platform. It may even be different for different APZCs within one platform (for example, in the B2G browser, APZCs representing scrollable elements in content processes use the RemoteContentController implementation, while those representing scrollable elements in the parent process will use a different implementation (currently being developed in {{bug|912657}})). GeckoContentController allows the APZ to do the following: * request a repaint (GeckoContentController::RequestContentRepaint())* request handling of various gestures, such as single taps, double taps, and long taps (GeckoContentController::HandleSingleTap() etc.)* fire async scroll events (GeckoContentController::SendAsyncScrollDOMEvent())* schedule arbitrary actions to be performed on the Gecko thread (GeckoContentController::PostDelayedTask())
== Main APZ projects on the horizon ==
Confirm
85
edits

Navigation menu