Bug 987314 - Move around a few things in AsyncPanZoomController.h. r=botond

This commit is contained in:
Kartikaya Gupta 2014-03-25 09:26:05 -04:00
parent 86f2de786f
commit cec4d1bf73

View File

@ -757,6 +757,7 @@ private:
friend class Axis;
friend class FlingAnimation;
/* The functions and members in this section are used to build a tree
* structure out of APZC instances. This tree can only be walked or
* manipulated while holding the lock in the associated APZCTreeManager
@ -804,6 +805,7 @@ private:
nsRefPtr<AsyncPanZoomController> mPrevSibling;
nsRefPtr<AsyncPanZoomController> mParent;
/* The functions and members in this section are used to maintain the
* area that this APZC instance is responsible for. This is used when
* hit-testing to see which APZC instance should handle touch events.
@ -830,9 +832,6 @@ public:
}
private:
/* Unique id assigned to each APZC. Used with ViewID to uniquely identify
* shared FrameMeterics used in progressive tile painting. */
const uint32_t mAPZCId;
/* This is the visible region of the layer that this APZC corresponds to, in
* that layer's screen pixels (the same coordinate system in which this APZC
* receives events in ReceiveInputEvent()). */
@ -843,6 +842,15 @@ private:
/* This is the CSS transform for this APZC's layer. */
gfx3DMatrix mCSSTransform;
/* The functions and members in this section are used for sharing the
* FrameMetrics across processes for the progressive tiling code.
*/
private:
/* Unique id assigned to each APZC. Used with ViewID to uniquely identify
* shared FrameMeterics used in progressive tile painting. */
const uint32_t mAPZCId;
ipc::SharedMemoryBasic* mSharedFrameMetricsBuffer;
CrossProcessMutex* mSharedLock;
/**