Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz

This commit is contained in:
Nicholas Cameron
2012-12-12 10:12:43 +13:00
parent b6d42ef5de
commit 6edbdb7f5a
27 changed files with 807 additions and 128 deletions

View File

@@ -93,6 +93,10 @@ public:
* This will always be a multiple of device pixels.
*/
virtual nsPoint GetScrollPosition() const = 0;
/**
* As GetScrollPosition(), but uses the top-right as origin for RTL frames.
*/
virtual nsPoint GetLogicalScrollPosition() const = 0;
/**
* Get the area that must contain the scroll position. Typically
* (but not always, e.g. for RTL content) x and y will be 0, and