зеркало из https://github.com/mozilla/pjs.git
Bug 494281 (trunk only) - Touch panning no longer works as of 5/20/2009. r=jmathies, sr=vladimir
This commit is contained in:
Родитель
6dd880563d
Коммит
1d882122a8
|
@ -76,11 +76,6 @@ nsWinGesture::nsWinGesture() :
|
|||
mPixelScrollOverflow = 0;
|
||||
}
|
||||
|
||||
nsWinGesture::~nsWinGesture()
|
||||
{
|
||||
ShutdownLibrary();
|
||||
}
|
||||
|
||||
/* Load and shutdown */
|
||||
|
||||
PRBool nsWinGesture::InitLibrary()
|
||||
|
@ -147,12 +142,6 @@ PRBool nsWinGesture::InitLibrary()
|
|||
#endif
|
||||
}
|
||||
|
||||
void nsWinGesture::ShutdownLibrary()
|
||||
{
|
||||
getGestureInfo = nsnull;
|
||||
beginPanningFeedback = nsnull;
|
||||
}
|
||||
|
||||
#define GCOUNT 5
|
||||
|
||||
PRBool nsWinGesture::InitWinGestureSupport(HWND hWnd)
|
||||
|
@ -598,4 +587,4 @@ nsWinGesture::PanDeltaToPixelScrollY(nsMouseScrollEvent& evt)
|
|||
return PR_TRUE;
|
||||
}
|
||||
return PR_FALSE;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -192,7 +192,6 @@ class nsWinGesture
|
|||
{
|
||||
public:
|
||||
nsWinGesture();
|
||||
~nsWinGesture();
|
||||
|
||||
public:
|
||||
PRBool InitWinGestureSupport(HWND hWnd);
|
||||
|
@ -247,7 +246,6 @@ private:
|
|||
|
||||
// Delay load info
|
||||
PRBool InitLibrary();
|
||||
void ShutdownLibrary();
|
||||
|
||||
static HMODULE sLibraryHandle;
|
||||
static const PRUnichar kGestureLibraryName[];
|
||||
|
|
Загрузка…
Ссылка в новой задаче