зеркало из https://github.com/mozilla/gecko-dev.git
Added ScrollTo method
This commit is contained in:
Родитель
4842ab2b19
Коммит
8282750246
|
@ -104,6 +104,13 @@ public:
|
|||
* @return current scrollbar selection
|
||||
*/
|
||||
virtual nsScrollPreference GetScrollPreference(void) = 0;
|
||||
|
||||
/**
|
||||
* Scroll the view to the given x,y, update's the scrollbar's thumb
|
||||
* positions and the view's offset. Clamps the values to be
|
||||
* legal. Updates the display based on aUpdateFlags.
|
||||
*/
|
||||
NS_IMETHOD ScrollTo(nscoord aX, nscoord aY, PRUint32 aUpdateFlags) = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче