InRegionScroller.h [plain text]
#ifndef InRegionScroller_h
#define InRegionScroller_h
#include "BlackBerryGlobal.h"
#include <BlackBerryPlatformMisc.h>
#include <BlackBerryPlatformPrimitives.h>
#include <interaction/ScrollViewBase.h>
namespace BlackBerry {
namespace WebKit {
class InRegionScrollerPrivate;
class TouchEventHandler;
class WebPagePrivate;
class SelectionHandler;
class BLACKBERRY_EXPORT InRegionScroller {
public:
InRegionScroller(WebPagePrivate*);
~InRegionScroller();
bool setDocumentScrollPositionCompositingThread(unsigned camouflagedLayer, const Platform::IntPoint& documentScrollPosition);
bool setDocumentScrollPositionWebKitThread(unsigned camouflagedLayer, const Platform::IntPoint& documentScrollPosition,
bool acceleratedScrolling, Platform::ScrollViewBase::ScrollTarget);
private:
friend class WebPagePrivate;
friend class TouchEventHandler;
friend class SelectionHandler;
InRegionScrollerPrivate *d;
DISABLE_COPY(InRegionScroller)
};
}
}
#endif