webengine/osswebengine/WebKit/s60/webview/WebPageScrollHandler.cpp
branchRCL_3
changeset 70 8bfb9186a8b8
parent 62 c711bdda59f4
child 71 4bd5176e1bc8
equal deleted inserted replaced
67:4917f9bf7995 70:8bfb9186a8b8
   124 // The constructor that can contain code that might leave.
   124 // The constructor that can contain code that might leave.
   125 // -----------------------------------------------------------------------------
   125 // -----------------------------------------------------------------------------
   126 //
   126 //
   127 void WebPageScrollHandler::constructL()
   127 void WebPageScrollHandler::constructL()
   128     {
   128     {
   129         m_scrollTimer = CPeriodic::NewL(CActive::EPriorityUserInput - 1);
   129         m_scrollTimer = CPeriodic::NewL(CActive::EPriorityUserInput);
   130         m_pageOverviewScrollPeriodic = CPeriodic::NewL(CActive::EPriorityUserInput - 1);
   130         m_pageOverviewScrollPeriodic = CPeriodic::NewL(CActive::EPriorityUserInput);
   131         m_lastPosition = TPoint(0, 0);
   131         m_lastPosition = TPoint(0, 0);
   132         m_scrollbarDrawer = WebScrollbarDrawer::NewL();
   132         m_scrollbarDrawer = WebScrollbarDrawer::NewL();
   133         if(AknLayoutUtils::PenEnabled()) {
   133         if(AknLayoutUtils::PenEnabled()) {
   134             m_touchScrolling = true;
   134             m_touchScrolling = true;
   135             m_scrollDirectionState = ScrollDirectionUnassigned;
   135             m_scrollDirectionState = ScrollDirectionUnassigned;